/srv/irclogs.ubuntu.com/2016/11/04/#ubuntu-server.txt

med_smoser, I00:33
med_smoser, I'm glad you finally got your cubswin:)00:33
med_for cirros and yourself.00:34
=== JanC_ is now known as JanC
smosermed_, https://git.launchpad.net/cirros/commit/?id=9a7c371ef329cf78f256d0a5a8f475d9c57f547700:58
smoser0.4 series will include a new password. i would never do something like that just for fun, as it definitely causes pain00:59
med_xlnt!!!00:59
smoserbut bug 1454144 seemed legit for people.00:59
ubottubug 1454144 in CirrOS "Default password should use alphanumeric chars" [Low,Fix committed] https://launchpad.net/bugs/145414400:59
sarnoldfun :)00:59
* med_ was actually using cirros when he posted above... validating some metadata service changes in openstack01:02
aroonihey everyone02:29
CodeMouse92I'm going a little crazy, and hoping someone can help. I am using Phabricator, and it's sending a POST request to somewhere else. That works fine with HTTP, but when it tries to do the same with the HTTPS URL (which I confirmed works and has a valid cert), it returns "HTTP 60" in head. What is going on?03:48
RoyKCodeMouse92: bhat's not really related to ubuntu - I guess the same issue should arise on other platforms as well04:27
CodeMouse92RoyK: Okay, well, I thought I'd ask somewhere where people knew this stuff well. Anyway, I'm just working around it for now.04:28
RoyKtry #Phabricator04:28
CodeMouse92RoyK: Was already there04:47
CodeMouse92Thanks for the help. Heading out04:48
=== devil is now known as Guest43423
sat_Hi, does anyone here have experience with LVM2 and dm-cache on 16.04?10:48
sat_I tried to set it up on 14.04 and it works with: ➜  ~ sudo lvconvert --type cache-pool --poolmetadata vgc/lvc_meta vgc/lvc10:48
sat_But the same thing on 16.04 complains about missing dm-cache kernel module10:48
sat_➜  ~ sudo lvconvert --type cache-pool --poolmetadata vgc/lvc_meta vgc/lvc modprobe: FATAL: Module dm-cache not found in directory /lib/modules/4.4.0-45-generic   /sbin/modprobe failed: 1   Failed to determine version of cache kernel module10:51
sat_And indeed the kernel module is nowhere in the system10:52
sat_nobody? ^^10:59
ducassesat_: (following up from #ubuntu) those modules are present on my install.11:01
ducassesat_: /lib/modules/4.8.0-26-generic/kernel/drivers/md/dm-cache.ko11:02
sat_ducasse: oh, you have a newer kernel11:02
ducassesat_: sorry, this is 16.10...11:03
sat_ls -l /lib/modules/*-generic/kernel/drivers/md/dm-cache.ko  zsh: no matches found: /lib/modules/*-generic/kernel/drivers/md/dm-cache.ko11:03
ducassesat_: let me check my 16.04 host...11:03
ducassesat_: /lib/modules/4.4.0-45-generic/kernel/drivers/md/dm-cache.ko11:04
ducassesat_: from linux-image-4.4.0-45-generic11:04
sat_damn... I know it should be there, but for some reason it's not11:04
ducassesat_: reinstall the package?11:05
sat_yeah, I'm trying that now (I think I already did that) and I definitely reinstalled -extras11:05
sat_oh, it's there now11:05
sat_very very strange11:06
sat_ducasse: thanks a lot!11:06
ducassesat_: np :)11:06
=== skylite_ is now known as skylite
=== Guest43423 is now known as devil_
=== Ussat is now known as BendOver2016
zioprotocoreycb: hey there ! the neutron namespace patch is merged :)13:33
zioprotocoreycb: I have seen the cherry picks13:33
zioprotoI dont they will not accept the cherry pick in MItaka13:33
zioprotobecause it is not security related13:34
zioprotoshould I refresh my ubuntu merge request ??13:34
zioprotoor you guys have this patch in the radar for a wider set of ubuntu ditributions ?13:35
zioprotobecause I can test only trusty/liberty13:35
ben911Hello, I am trying to install ubuntu server 16.04 on supermicro server (UEFI mode due to nvme drives not visible for legacy boot), booting a single drive works fine but I wish to configure everything with raid-1 like I used to do in the old MBR bootable machines.14:35
ben911For some reason I can only see the first nvme drive in the installer14:35
ben911cat /proc/partitions shows the other nvme device14:35
ben911I thought about trying to manually configure everything but the installer environment doesn't have any partition tools that I could find (fdisk/cfdisk/parted)14:35
ben911Any idea what's wrong with the installer and how come it sees only 1 drive?14:35
ben911Anyone around?14:50
zulcoreycb: yeah i got a better way of doing this14:55
coreycbzul, ok let me know what you are thinking14:55
coreycbzioproto, I figured I'd at least attempt to get the mitaka one merged. yes please refresh your merge request.14:55
zulcoreycb: its like having a template conf, generating the sample config and then using sed14:56
coreycbzioproto, I'll work on the mitaka and newton package updates to cherry pick the patch14:57
coreycbzul, so, using sed instead of patch?14:57
zulcoreycb: yeah14:58
ben911Has anyone ever encountered a case in which partman doesn't see one of the drives?14:58
ben911(during installation)14:58
coreycbzul, that seems just as fragile or even more fragile than using patch14:59
zulcoreycb: well no lemme show you14:59
coreycbzul, patching nova/common/config.py appears to be the right way to do this15:22
zioprotocoreycb: I reworked the patch for Liberty, compiling ubuntu packages just now15:22
coreycbzul, the only issue is that the defaults you set in that file appear to show up commented in the generated config15:23
zulcoreycb: yeah thats where the sed stuff comes in15:23
zulcoreycb: something like this as well paste.ubuntu.com/23425973/15:31
zulcoreycb: but you would still need the wrapper15:32
zulcoreycb: patching the sample configuration is juet crazy maintenance wise15:33
coreycbzul, that approach makes sense, although we may also need to patch nova/common/config.py for options not in the nova namespace15:39
coreycbnot sure what you mean by wrapper though15:39
zulcoreycb:small shell script modifies the nova.conf.sample basically15:39
ddellavzul coreycb you guys talking about upstream configs for nova?15:40
zulddellav: yes15:41
coreycbzul, ok let me know when you're done, curious to see it15:41
zulcoreycb: yep yep...15:42
coreycbzul, seems like the generator or apis should allow you to expose a config option though instead of leaving the default commented out15:42
ddellavzul me too. I could never figure out what to do for nova so I left it for last15:42
zulcoreycb: you should be able to, i guess no one has asked for it15:43
zulcoreycb: btw the virtio flag isnt needed anymore its default15:46
coreycbzul, ok15:46
zioprotocoreycb: https://code.launchpad.net/~zioproto/ubuntu/+source/neutron/+git/neutron/+merge/30945715:48
zioprotoI pushed the new patch for Liberty15:48
zioprotoreworked on the one that was merged upstream15:48
zioprotoI have to go, see you guys monday15:48
zioprotoWeekend is starting here in Europe :)15:48
coreycbzioproto, thanks!  little bit of a backlog on neutron srus right now but next week hopefully we can get newton and mitaka patches sru'd and then liberty.15:49
zioprotonoproblem15:52
zioprotoI have already patched packages in production15:52
zioprotoso I am running safe15:52
zioprotojust make sure you dont drop this patch at the next package upgrade15:52
zioprotoor my cloud will break :)15:53
zioprotonow I am really leaving ! have a good weekend everyone15:53
fuzzywuzzyWho should own /var/log/apache2 ?16:29
fuzzywuzzyIf I created a user, added them to adm and gave them SUDO why would they not be able to read apache2 logs?16:29
fuzzywuzzyOoooh, its www-data:www-data16:30
fuzzywuzzyWow... its quite in here16:37
sarnoldfuzzywuzzy: I think apache suffers from the same problem as https://www.ubuntu.com/usn/usn-3114-1/16:38
fuzzywuzzysarnold, What do you mean?16:47
fuzzywuzzysarnold, Does apache have the same vuln?16:47
sarnoldfuzzywuzzy: I can't recall now; but if apache is writing the logs as www-data:www-data then at least it can't overwrite important root-owned files16:48
tewardsarnold: erm, I think Apache handles file opening differently than nginx16:49
teward3114-1 was nginx-specific16:49
sarnoldteward: lets hope so :)16:49
tewardand specific to the way the packaging is permissions wise vs. how nginx handles files16:49
tewardsarnold: you should have a very *lengthy* email chain on this16:49
sarnoldteward: because it was lengthy is why I can't recall the details :)16:50
tewardsarnold: see the other channel for a 'poke'16:50
fuzzywuzzysarnold, so /var/log/apache2/ should be www-data:www-data?16:54
sarnoldfuzzywuzzy: yeah, I think so.16:55
fuzzywuzzySo should I add this non-root user to www-data too?16:55
fuzzywuzzyor just use sudo su to view the logs in apache216:56
sarnoldif you want them to have access to the web server too, yeah16:56
fuzzywuzzysarnold, Thanks I will do that17:02
fuzzywuzzyCan anyone recommend a good supported HID like Lynis for a very small install (2 servers)?17:04
genii!info lynis17:05
ubottulynis (source: lynis): security auditing tool for Unix based systems. In component universe, is optional. Version 2.3.2-1 (yakkety), package size 161 kB, installed size 1221 kB17:06
geniihm17:06
fuzzywuzzygenii, I'm looking for something commercially supported. Like Lynis enterprise.  Not the FOSS versions17:07
fuzzywuzzyOh dear, Stallman is gonna strike me down. =P17:07
geniifuzzywuzzy: I've never used it myself, but UpGuard seems to have solid reviews and has 3 tiers from free to enterprise17:13
fuzzywuzzygenii, Gracias I will check it out17:29
geniinp17:44
=== JanC is now known as Guest51811
=== JanC_ is now known as JanC
=== lionel_ is now known as lionel
=== JanC_ is now known as JanC
CodeMouse92Hey gang, if I have a duplicity server backup encrypted with GPG, is it enough to retain just the password for restoring to a fresh server if this one dies?22:26
CodeMouse92Or do I have to be concerned with storing the key somewhere>22:26

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