/srv/irclogs.ubuntu.com/2017/09/19/#ubuntu-server.txt

{bosco}ok00:19
d_kamHey guys.  Package installation question.  If I have ubuntu 16's nginx package installed, can I install nginx from another PPA ( EG, PhusionPassenger ) without issue? Or do I need to uninstall the standard nginx package first?00:57
sarnoldyou almost certainly need to uninstall the distro-provided package first unless the other packager has gone to lengths to make side-by-side install an option00:58
sarnoldyou could use apt-get download ... to grab the binary package, ar x the thing to get data.tar.* file, and tar tf that data.tar.* file to see what filenames it uses. if it uses 'standard' names, then you have to uninstall the distro one first.00:59
sarnoldif everything goes into /opt/phusionphun/nginx/ or something like that then you might be fine00:59
d_kamThanks sarnold01:03
d_kamAny idea when the standard nginx package is built against openssl 1.0.1, when the OS provides 1.0.2g?01:04
d_kamI want HTTP/2 which now requires ALPN, which requires nginx to be built with OpenSSL 1.0.2d(?)01:05
sarnoldthat's probably a "minimum version". 16.04 LTS ships with openssl 1.0.2g with a load of patches for security fixes, so it's probably new enough for the ALPN..01:20
sdezield_kam: if you get back, nginx in Xenial already supports HTTP/201:25
=== dkam is now known as d_kam
oskaressHey guys, when I want to add a new user to an existing group, shouldn't the command just be adduser $user $group --gecos <...> and then chpasswd on a new line to set the password?08:27
jamespageo/09:11
lordievaderoskaress: The way I add users to  a group is `sudo usermod -a -G <groups> <user>`.09:13
oskaresslordievader But I want to create the user and in the same command add it to an existing group, that is possible right?09:14
lordievaderoskaress: Yes, read the useradd man page: https://linux.die.net/man/8/useradd09:15
lordievader-G flag.09:15
oskaressThank you09:16
RoyKoskaress: try man useradd ;)09:52
Oskars_Is there any way to use adduser and create a user without creaing a group with the same name?13:01
andolOskars_: adduser --ingroup ExistingGroup NewUser13:06
Oskars_andol, Thank you, will try!13:06
=== giraffe is now known as Guest431
rbasakcpaelzer: re bug 1658469, I think the goal is still to enable HTTP/2 in apache2 in Xenial. It just needs figuring out the details.13:15
ubottubug 1658469 in apache2 (Ubuntu) "mod_http2 is not available under Apache 2.4.23 / Ubuntu 17.04 xenial" [Low,Triaged] https://launchpad.net/bugs/165846913:15
rbasaknacc: ^ that's right I think?13:15
coreycbjamespage: i'm going to get started on newton point releases today: https://bugs.launchpad.net/cloud-archive/+bug/171803313:18
ubottuLaunchpad bug 1718033 in Ubuntu Cloud Archive newton "[SRU] newton stable releases" [Medium,In progress]13:18
Oskars_andol, I don't get it, when I run it, it seems to work, says Adding new user <user> (1001) with group <group>, but when I run "grep <group> /etc/group" the new created user it not in the group which it earlier said he was added to...13:27
Oskars_is not* in the group13:28
andolOskars_: It wouldn't, as only secondary groups show up that way13:29
andolOskars_: Try `groups username`13:29
Oskars_andol, Ah I see.. 'groups <username>' worked, now I see it. Just got to figure out why I can't FTP in with the user now haha13:30
andolOskars_: If you look in /etc/passwd you will see that the GID of the primary group is listed as the fourth value.13:31
jamespagecoreycb: ack I was doing likewise on ceph 10.2.913:36
jamespageand and ovs updates13:36
Oskars_andol, Yeah they have the same GID so that looks correct13:36
coreycbjamespage: awesome13:36
cpaelzerrbasak: well I was following naccs last comment in there, but he will know and can correct my misunderstanding if it was one13:37
coreycbbeisner: neutron 2:8.4.0-0ubuntu5~cloud0 is ready to promote to mitaka-updates for bug 166841013:55
ubottubug 1668410 in neutron "[SRU] Infinite loop trying to delete deleted HA router" [Medium,In progress] https://launchpad.net/bugs/166841013:55
coreycbbeisner: jamespage: there are a few tempest smoke test regressions with the nova and libvirt in mitaka-proposed that i want to dig into before promoting them13:57
beisnercoreycb dosaboy ivoks - neutron is now in mitaka-updates re: https://bugs.launchpad.net/neutron/+bug/166841014:03
ubottuLaunchpad bug 1668410 in neutron "[SRU] Infinite loop trying to delete deleted HA router" [Medium,In progress]14:03
beisnerthx for validation on that coreycb14:04
coreycbbeisner: np, ty14:04
ivoksbeisner: coreycb thanks!14:04
Pinkamena_Don AWS machine, 16.04 server, I have uninstalled resolvconf. After updating contents of /etc/resolv.conf, it still gets overwritten on reboot, but there is no header about resolvconf doing it now, just the other lines. What else is modifying this file?14:14
ilivI'm installing Ubuntu Xenial 16.04.03 using server amd64 ISO installer and I ran into a problem creating RAID-10 out of 4 physical disks I have in this server. I created my "physical raid" devices, all identical to each other, utilizing all the 4 physical drives. I specify that there will be 4 active devices and 0 spares. When the installer attempts to actually create the RAID device, it says "Not enough RAID partitions available" and strangely "You14:17
iliv have 1 RAID partitions available but your configuraiton requires 4 partitions". I checked several guides online, including official Ubuntu Wiki and I seem to be doing everything correctly but, unfortunately, this error.14:17
sdezielPinkamena_D: it's a wild guess but maybe it could be cloud-init? I don't know if it normally interacts through resolvconf or not14:18
ilivI tried creating RAID1 using just 2 disks but it failed too displaying similar error message with the only difference in number of available vs required partitions.14:18
jamie_1anyone have any ideas why i cant get into my root when connected with ssh? I changed the setting in /etc/ssh/sshd_config to PermitRootLogin yes    and its still not letting me. I changed and saved and then did systemctl restart ssh.service and a full reboot14:18
ilivI don't really have any ideas what could be wrong14:19
ilivhere's a screenshot of the error message: https://i.imgur.com/SCbK6GX.png14:19
sdezieljamie_1: check in /var/log/auth.log, it should tell you why root is being denied14:20
jamie_1sdeziel: its just telling me ubuntu-server sudo: pam_unix(sudo:auth): auth could not identify password for [jamie]14:24
jamie_1i know my password is correct14:24
sdezieljamie_1: that is a log entry from sudo, not sshd. Try "grep sshd /var/log/auth.log"14:25
jamie_1sdeziel:  its just saying that it accepted my public key and opened a session for me14:27
sdezieljamie_1: can you share the line (you can obfuscate the IPs if you want) ?14:27
jamie_1sdeziel: their all local ip's right now so it doesnt matter https://pastebin.mozilla.org/903273014:29
jamie_1thats all it says even after my attempts to use sudo14:30
sdezieljamie_1: OK, " Accepted publickey for jamie" seems to indicate that you didn't  tell SSH to log as root (try "ssh root@192.168.1.15" ?)14:30
jamie_1sdeziel: one sec14:30
jamie_1sdeziel: https://pastebin.mozilla.org/903273114:32
jamie_1my bad wrong section XD14:32
sdeziel"Failed password for root"14:32
jamie_1sdeziel: i know its bad security but for sanity checking reasons i changed the root password to the same as my standard user and its not accepting the password14:33
sdezieljamie_1: you might want to try with SSH keys, those are secure and you can't typo them ;)14:34
jamie_1sdeziel: how would i add my rsa to root?14:35
jamie_1im used to just accessing as user and sudoing14:36
jamie_1i like to sudo and not touch the root directory14:36
jamie_1would i just do a cp /home/jamie/.ssh/authorized_keys /.ssh/authorized_keys14:38
sdezieljamie_1: there are many guides explaining that but the gist of it is: as jamie, escalate to root with "sudo -i", create the  the ssh dir in root's home with "mkdir -m 0700 ~/.ssh", put your *public* key in root's authorized_keys with "vim ~/.ssh/authorized_keys"14:38
jamie_1so yeah, create the directory and then move the key into there14:39
jamie_1thanks a bunch14:39
sdezieljamie_1: mostly, just make sure the perms/owner are right14:39
hehehehi14:44
heheheI am playing with xclip14:45
hehehexclip -o -sel clip > webpage.txt to get clipboard data into file - however it overwrites existing data14:45
smoserrbasak,14:45
smoser$ uvt-kvm create sm-a1 release=xenial14:45
smoseruvt-kvm: error: libvirt: internal error: qemu unexpectedly closed the monitor: 2017-09-19T14:45:45.076265Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected to /dev/pts/22 (label charserial0)14:45
smoserwarning: host doesn't support requested feature: CPUID.80000001H:ECX.svm [bit 2]14:45
smoser2017-09-19T14:45:45.115161Z qemu-system-x86_64: -vnc 127.0.0.1:0: Failed to start VNC server: Failed to listen on socket: Address already in use14:45
smoserdid you know this ?14:45
hehehecan xclip add data to a text file?14:45
heheheinstead of delete add14:46
cpaelzerI know smoser14:46
smoserhehehe, xclip -o -sel clip >> webpage.txt14:46
smoser'>>' is append14:46
smoseror in vi, open the file and type14:46
cpaelzersmoser: looking up the bug14:47
smoser:r! xclip -o -sel clip14:47
cpaelzersmoser: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/171744214:47
ubottuLaunchpad bug 1717442 in libvirt (Ubuntu) "VNC auto port allocation affected by daemon state" [Undecided,Incomplete]14:47
cpaelzersmoser: I ended up not being able to reproduce anymore14:47
cpaelzersmoser: maybe your case can help to change that14:47
* smoser hands cpaelzer the word diglett14:48
cpaelzersmoser: I saw it on xenial, but only on one machine14:48
cpaelzerthe workaround is easy thou14:48
cpaelzerok heading over to diggi14:48
cpaelzerwhich is unfortunate as diglett == horsea so it might still be system dependent14:48
jamie_1sdeziel: thanks a bunch, its working now14:48
jamie_1was having a hell of an time correcting postfix going back and forth between computers XD14:49
hehehesmoser: does not work yet14:49
hehehewith >>14:49
cpaelzerrharper: can I restart your rh-x1 guest?14:49
smoserhehehe, i don tknow. i dont use xclip (i use xsel for such things) . but 'some-command >> file' will most definitely write the standard output of 'some-command' to the end of 'file'14:50
naccrbasak: cpaelzer: was going to bring that up in standup today14:51
cpaelzernacc: the MIR on http214:51
cpaelzerok right place to do so14:51
nacccpaelzer: ack, i saw it got approved14:51
hehehesmoser: so xsel can take text from clipboard and do it?14:53
sdezieljamie_1: glad to hear that14:53
cpaelzersmoser: you have an a1 and an x114:53
cpaelzersmoser: unfortunately once the symptom was removed it was as unreproducible as the bug I linked14:54
cpaelzerhmm :-/14:54
cpaelzersmoser: the bug has my thoughts so far, but for now you are unblocked14:54
heheheinstalling xsel14:54
hehehesmoser: xsel -o -sel clip >> webpage.txt paste some garbabe14:57
hehehenot a text from clipboard14:57
heheheit writes own manual to a file14:58
hehehe:D14:58
rharpercpaelzer: yes14:59
cpaelzerthanks rharper14:59
nacchehehe: read `man xsel`, -sel isn't an option (at least in 17.10)15:00
hehehenacc: yes I read it15:04
heheheok maybe it will work now15:05
hehehety smoser works now15:07
naccrbasak: hrm, is insights a staic view? https://insights.ubuntu.com/2017/07/24/developing-ubuntu-using-git/ hasn't updated the top index15:09
rbasakI suspect it's a static view :-/15:10
rbasakWe might need to push updates to them manually each time.15:10
naccrbasak: yeah, I was hoping to linnk to it from the manpage15:11
naccrbasak: should i use your actual post instead for now?15:11
rbasaknacc: sure15:17
smosercpaelzer, thanks15:50
cpaelzeryw15:56
naccrbasak: just realized something, our --dl-cache handling probably needs adjusting to handle GIT_DIR (rather than assuming .git) ?18:27
oraqolhey all, is there a build of conjure-up that doesn't display the following error: lxd not found please install with sudo snap install lxd && lxd init and wait for this message to disappear?19:02
oraqolon 16.04?19:02
stokachuoraqol: yea you need to run `/snap/bin/lxd init --auto`19:04
stokachuhaving both deb lxd and snap lxd installed with a PATH preference to use deb lxd confuses things19:04
stokachui have a build going through QA now that'll make this much clearer19:04
oraqolok cool19:05
oraqolI'll try that now19:05
stokachuoraqol: best to just `apt remove lxd lxd-client` if you aren't using it19:05
stokachustgraber: ^ i thought the /snap/bin prefix was added to the environments PATH for xenial server installs?19:05
oraqolso its? sudo snap install conjure-up --classic; sudo snap install lxd; sudo lxd init --auto19:08
oraqolthen 'conjure-up' and it should work?19:09
stokachuoraqol: just /snap/bin/lxd init --auto19:09
stokachuoraqol: are you reimaging ?19:09
oraqolthe baremetal?  I did last night19:09
oraqolthis is a pretty clean install19:09
stokachuoraqol: do you already have a lxdbr0 interface?19:09
oraqolI do not, it's named br019:10
oraqolI'll rename the interface19:10
sdezielstokachu: sudo has /snap/bin last: secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"19:11
stokachuoraqol: that's ok you dont have to as long as br0 doesn't have ipv6 enabled19:11
stokachusdeziel: thanks, for some reason i thought it was first19:11
oraqolwill it auto-detect br0 and set it as the bridge?19:11
stokachuoraqol: if it's a bridge device and doesn't have ipv6 enabled it'll show up in the conjure-up list after you select localhost19:12
oraqolok cool19:13
oraqollemme try it19:13
oraqolbrb19:13
stokachuoraqol: make sure to ping me if it doesn't work19:13
stokachuso we can get it fixed19:13
stokachuor if you have any other issues19:13
lucidguyOk, using Mitaka, is it really necessary to setup ssh-keys between comuter nodes for resizing etc?19:20
oraqolstill getting the following: error: Unable to talk to LXD: Get http://unix.socket/1.0: dial unix /var/snap/lxd/common/lxd/unix.socket: connect: permission denied19:55
oraqolthese are my steps: sudo snap install conjure-up --classic; sudo snap install lxd; /snap/bin/lxd init --auto;19:56
lordcirth_workoraqol, and which step fails?19:56
lordcirth_workinit, I'd guess?19:57
oraqolhttps://pastebin.com/VXcpCY4n19:57
oraqolnetwork config ^19:57
oraqoland yes, at lxd init --auto19:57
stokachuoraqol: whats `ls -l /var/snap/lxd/common/lxd/unix.socket` show19:58
oraqolsrw-rw---- 1 root lxd 0 Sep 19 15:51 /var/snap/lxd/common/lxd/unix.socket19:58
stokachuoraqol: and what's `id` show?19:58
oraqoluid=1000(oraqol) gid=1000(oraqol) groups=1000(oraqol),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),113(lpadmin),128(sambashare)19:58
rbasaknacc: ah, yes.19:58
stokachuoraqol: you aren't in the lxd group19:59
oraqollxg group19:59
oraqolyup19:59
stokachuand your br0 doesn't seem to have any addresses19:59
stokachuoraqol: you could create lxdbr0 with `/snap/bin/lxc network create lxdbr0 ipv4.address=auto ipv4.nat=true ipv6.address=none ipv6.nat=false`20:00
oraqolI don't need the VMs to communicate with another physical network, just internal, but I want to be able to communicate with the eno1 netwok20:01
stokachuok20:01
oraqol'Expected 4 octets in 'None' after attempting to assign br0 as the network bridge in the conjure-up gui.  I imagine the wizard requires br0 to have an IP address in order to continue?20:07
oraqolpossible workaround, attach br0 to eno1 and apply it's ip settings to the bridge?20:08
stokachuoraqol: yes to both20:09
stokachuwe should have a better error for that though20:10
stokachuill file a bug20:10
oraqollooks like it's working!  Thanks guys!20:26
oraqolhmm looks like it's stuck on 'waiting for machine' in the deploy display.  Usually doesn't take this long, and it's not utilizing any of my 12 cores20:41
oraqol'Running step: 00_deploy-done.20:42
kus_ubuntui686hi, what ruby on rails applications are available on ubuntu?  I want to install something quick from apt to see if my setup is working properly20:53
sarnoldkus_ubuntui686: using apt-rdepends --reverse ruby-activerecord   gives me the strong impression that gitlab and redmine are the only real 'ruby on rails applications' that are packaged for ubuntu. and they look _HUGE_.20:56
trippehoh no, I can't reach the motd service from home ;)22:14
sarnoldtrippeh: thanks :)23:19
trippehI thought this was no more, but just got it in artful: E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Start. Current value: 25165824. (man 5 apt.conf)23:32
trippehoh my. I'm leaking mem23:33
trippehah ha my ansible fail, it was pushing a big hugepage sysctl config to this small vm23:36
trippeh<- smrt23:38
sarnold:)23:39
trippeh(unfortunately Transparent Huge Pages keeps causing us problems, so using good oldskool pre-allocated hugepages)23:43
trippehs/good/awful/23:44

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!