/srv/irclogs.ubuntu.com/2018/06/25/#ubuntu-server.txt

=== havenstance1 is now known as havenstance
=== havenstance1 is now known as havenstance
=== havenstance1 is now known as havenstance
cpaelzergood morning04:39
=== ashleyd is now known as ashd
xnoxcpaelzer, -drive file=generic-2.qcow2,if=none,id=D21 -device nvme,drive=D21,serial=1233 -global nvme.physical_block_size=4096 -global pci.logical_block_size=409612:15
xnoxcpaelzer, gives me nvme drives, but still with 512 physical and logical sectors =(12:15
xnoxcpaelzer, how can I have 4k? =)12:15
xnoxcpaelzer, =) i think i'm just gonna patch qemu to bump 9 to 12, and recompile to get 4k by default =)12:21
cpaelzerhehe12:22
cpaelzerI haven't used 4k there yet, I would need to check docs and experiment as well12:22
cpaelzerxnox: not sure if that helps, but passing through full devices works with different blpock sizes12:29
cpaelzerbut I assume you want 4K on the qcow that is as file on a 4K device?12:30
xnoxhmmm... i was hoping to fake 4k inside qemu12:30
cpaelzeroh just faking12:31
cpaelzernot insisting on what really happens then?12:31
xnoxi have a bug report that grub-installer fails on 4k intel matrix raid and nvme12:31
xnoxin uefi mode12:31
xnoxi got uefi, i got nvme drives, i even have intel matrix raid inside the kvm, it's just the 4k is what is missing atm12:32
cpaelzerxnox: try a raw file instead of qcow and all tunables bumped up to 4k12:35
cpaelzerxnox: -device nvme,drive=drv0,serial=foo,opt_io_size=4096,min_io_size=4096,logical_block_size=4096,physical_block_size=409612:35
cpaelzerxnox: is that looking better from your installers POV then?12:39
xnoxcpaelzer, nope, i still get 512 in /sys/devices/*/queue/physical_block_size12:42
xnoxi fear it's not supported option for nvme =/12:42
cpaelzerit is listed in qemu-system-x86_64 -device nvme,help12:43
cpaelzerxnox: yeah my test system also only gets 512 on that :-/12:45
cpaelzerxnox: does it (for the bug) have to be nvme to the guest?12:49
cpaelzerxnox: yeah with virtio-blk I got 4k immediately12:53
cpaelzermust be with the device being set up as nvme12:53
cpaelzerbut since the arguments of nvme suggest they would work there this is odd12:53
cpaelzermaybe on nvme there are mor constraints (e.g. can not fake it)12:53
xnoxcpaelzer, looking at the code, i do not see it set that stuff up.12:59
cpaelzerso it might be really not avail for nvme yet13:00
xnoxcpaelzer, well. we don't know for sure. Let me try with virtio-blk i guess13:00
jamespagecoreycb: ok so I'm in dep hell13:52
jamespage python3-networking-bgpvpn : Depends: python3-django-horizon but it is not installable13:53
coreycbjamespage: ah.. yeah i think horizon is not fully py3 yet13:53
coreycbdosaboy: sorry i missed the meeting13:56
coreycbjamespage: i'll take a look at horizon now if you didn't start on it14:00
jamespagecoreycb: its blocking me so let me take it14:00
coreycbjamespage: ok14:00
=== hehehe is now known as Guest86752
=== Guest86752 is now known as hehehe
=== gogbog is now known as gogbog22
=== gogbog22 is now known as gogbog
Ussatso I am having a HELL of a time with this: I run logcheck thus: su -s /bin/bash -c "/usr/sbin/logcheck" logcheck16:14
Ussatand this is the output:  sort: cannot read: '/tmp/logcheck.luiR3D/logoutput/*': No such file or directory16:14
Ussatany idea why that error is being thrown ?16:15
UssatI know the file does not exist, but I am wondering what is telling it to look there ?16:15
avgtechieprobably something in the script /usr/sbin/logcheck16:35
UssatYea I found it......was going from a very old version to a new server new version...17:10
Ussatflags etc changed, but got it17:10
=== drkokandy_ is now known as drkokandy
runelind_qwill 16.04 ever get 4.15 kernel or will I have to upgrade to 18.04 for that?19:58
sarnoldrunelind_q: looks likeone is sitting in -proposed at the moment https://launchpad.net/ubuntu/+source/linux-hwe19:59
sarnoldmy guess is when the next 16.04.x point release is shipped20:00
nacci believe aug20:00
naccper the lts page20:00
nacc!hwe20:00
ubottuThe Ubuntu LTS enablement stacks provide newer kernel and X support for existing LTS releases, see https://wiki.ubuntu.com/Kernel/LTSEnablementStack20:00
runelind_qcool, don't see much of a reason to upgrade to 18.04 on my lxd box then.20:03
sarnolddefinitely wait on 18.04.1 if you're thinking of it20:03
runelind_qwell you have to wait for 18.04.1 anyways to upgrade-in-place, right?20:03
naccyou can force it20:04
nacciirc20:04
runelind_qmeh, I'm not too worried about it.20:05
runelind_qthis box just does lxd and I'm more worried about stability20:05
naccrunelind_q: yes, i wouldn't bother upgrading then20:06
runelind_qespecialy if 16.04 will eventually get 4.1520:08
runelind_q4.4->4.15 seems like a big jump though.20:09
naccrunelind_q: well, if you're on hwe, you will already be at 4.1320:09
naccif you're not on hwe, you will stay on 4.420:09
runelind_qhwe?20:10
runelind_qreading about it now20:11
runelind_qis hwe recommended?20:12
* runelind_q #yolo20:18
runelind_qcatch you on the flip side, I hope :)20:25
runelind_qnacc: 4.13.0-45-generic seems to work fine so far.20:47
naccrunelind_q: "recommended" is hard to say21:35
naccrunelind_q: if your hardware works great in 4.4, there's no particular reason to use HWE21:35
runelind_qnow you tell me ;p21:36
naccrunelind_q: HWE = HardWare Enablement stack21:36
runelind_qmakes sense I guess.21:37
JanCI guess the newer kernel might also be useful for other things, but you always risk that something breaks or gets worse too  :)21:42
runelind_qlike SSH going non-responsive :D21:42
naccJanC: yeah, in principle it does enable other "features", but the primary use-case is the hardware stack21:43
naccmost users are not aware of kernel features outside of the hardware support, tbh21:43
sarnold/dev/urandom is a thousand times faster21:44
naccheh21:45
sarnold13.4 MB/s on my xeon running 4.4 and 203 MB/s on my i7 laptop running 4.1521:46
runelind_qheh, interesting, SSH locks up to the LXD box itself, but not containers running on that box O.o21:52
keithzgHrmmm, weird, trying to set up Samba shares on a machine and I'm getting NT_STATUS_NO_SUCH_USER for a user that's most definitely a user account local to the samba server machine.22:52
keithzgIt's been so long since I've had any problems setting up samba!22:52
geniiSamba usernames are not neccessarily the same as local account usernames22:58
nacckeithzg: yeah, I think that is not finding your username in the AD?23:00
keithzgHrmm. Well if I'm *running* AD it sure isn't intentionally, heh23:01
nacckeithzg: samba can also act as the AD23:01
keithzgnacc: Sure; thing is, I'm at a loss for what the difference is, I just compared the smb.conf file from an entirely working server here at the office and it's likewise unchanged other than adding shares. So I would have assumed things to Just Work in the same way.23:03
nacckeithzg: ack, i honestly don't use samba at all, just spitballing :)23:03
keithzgnacc: Alas, I work in an office where 90% of people are running Windows, so it's a necessary evil . . .23:04
keithzgThis right now is part of my plan of slowly trying to change things over from "all computers have network shares that allow any guest users full control", heh23:05
sarnoldkeithzg: take a look at smbpasswd, hopefully that'll get you in the right direction for a username/password combo that works23:06
keithzgsarnold: Err but the problem is that I need to do more than just creating some new credentials that work, I need this to automatically work for all users that'd be valid on the machine itself :(23:08
keithzgIt's hard enough getting users to create one password and actually remember it!23:08
keithzgAnyways even trying to set it via smbpasswd I get NT_STATUS_ACCESS_DENIED23:09
Gobo708Hi All, simple but frustrating one... does anyone know how to change the hostname? I have tried setting local loopback in /etc/hosts first, to ensure this is not interfering. I have tried hostnamectl set-hostname newhostname, I have tried editing /etc/hostname23:09
Gobo708This is a  VM btw23:10
naccdpb1: --^ did the default setting change for cloud-config? https://ubuntuforums.org/showthread.php?t=2389098&page=2&s=d1d6765c0fda139a3be80b3f6fcdcfa723:10
Gobo708There is mention that you need to edit /etc/cloud/cloud.cfg and set preserve_hostname to true, but cloud.cfg states that this will prevent set hostname from working.... so *shrug*23:10
sarnoldGobo708: I haven't tried changing a hostname but fixing /etc/hosts and /etc/hostname then rebooting feels like it ought to have done the trick23:11
naccdpb1: s/config/init/ -- not great when a forum post suggests removal of cloud-init as the workaround23:11
keithzgYeah anytime I've needed to change a hostname, nothing more than /etc/hosts and /etc/hostname has been required.23:11
naccGobo708: do you actually have a cloud.cfg currently?23:11
sarnoldkeithzg: hrm in ten seconds of searching I didn't spot any docs online about using pam_unix in samba.. but instructions for the other way around, using pam_winbind for other services ..23:11
Gobo708from cloud.cfg #This will cause the set+update hostname module not to operate if (true)23:12
Gobo708I will try rebooting again, in case it may have worked23:12
Gobo708nacc, I think setting local loopback may have been interfering23:14
Gobo708nacc, with /etc/hosts set correcty, after reboot it stuck23:14
keithzgsarnold: Yeah, and the perplexing thing is I swear I didn't really do much at all to get this working on other servers before; I really thought it Just Worked by default, but it sure isn't on this one server! Admittedly the problem one is running 18.04---hopefully this isn't something I have to look forwards to when I finally upgrade the others!23:16
naccGobo708: ok23:18
Gobo708nacc, thanks for your time ;)23:19
=== oerheks_ is now known as oerheks
keithzgI'm finding it increasingly perplexing that the use-case of using standard PAM authentications for Samba seems so poorly documented . . .23:46
nacckeithzg: in his tz, ahasenack may be able to help23:51
sarnoldgiven the ntlm2 wireformat for authentication it may not really be feasible to use pam_unix23:53
keithzgsarnold: Tjat23:53
sarnoldyou might be stuck having to manage an AD thing23:53
keithzgerr, that's fair enough, but theoretically the samba password database should be able to sync with PAM.23:54
keithzgThat seems to be the modern solution to that. But I've yet to find any documentation of that officially, and all the unofficial documentation seems to be woefully out of date or incomplete itself.23:54
keithzgEx. apparently in 14.04 there was a package libpam-smbpass, but it sure doesn't seem to exist before *or* after trusty . . .23:56
sarnoldhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=79984023:59
ubottuDebian bug 799840 in src:samba "libpam-smbpass: installed libpam-smbpass break all local login" [Critical,Fixed]23:59

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