[01:10] hi all. does anyone have SSSD+AD working with cifs automount? i've got homefolder creation, sudo, ssh & login working but i've got 2 issues with autofs. #1: auto.smb is looking for /tmp/krb5cc_, while SSSD is writing the files as /tmp/krb5cc__, and #2: kerberos is failing for "smbclient -k" or auto.smb [02:40] :| [02:52] I wonder if i can just write the files using nandpro [02:53] woops [06:10] anyone know why mount would be assuming that my remote nfs is nfs4? [06:14] jetsaredim: NFS4 is the default, but it should fall back to v3 or v2 if necessary? [06:15] JanC: you'd think [06:15] unless you explicitly configure it as NFS4 probably [06:15] any reason why mount.nfs4 would just be a sym link to mount.nfs [06:16] because it's all the same code [06:16] i'm not sure what the ls color scheme is now a days but for some reason /sbin/moun.nfs is showing up as red background with white writing [06:17] are you mounting manually or in fstab? [06:17] manually [06:17] I just upgraded from 15.10 [06:17] re-running a mount command i've run hundreds of times [06:18] literally just "mount localmachine:/export /some/local/dir" [06:18] man nfs: "If the server does not support the requested version, the mount request fails. If this option is not specified, the client negotiates a suitable version with the server, trying version 4 first, version 3 second, and version 2 last." [06:21] one of the man pages says something like "mount knows nothing about nfs vs nfs4" and the "argument is constructed by mount.nfs" so the default behaviours are set in the mount.nfs code [06:24] jetsaredim: mount.nfs4 has been rolled into mount.nfs, so the symlink is there for compatibility with old scripts & utils. you also dont (maybe cant) use "nfs4" in /etc/fstab, just use "nfs" for any version, and drop a "vers=" or "nfsvers=" (they're equivalent) in the fstab options. [06:25] all this is in man pages mount, mount.nfs & nfs [06:27] yea [06:27] doesn't really add up [06:28] in what way? [06:28] hm [06:28] cos it's not falling back? [06:28] i think i figured out the source of my issue [06:29] nfs doesn't seem to be loaded in my kernel [06:33] now if only i could figure out why [06:34] you have nfs-common installed? === JanC is now known as Guest37928 === JanC_ is now known as JanC === athairus is now known as afkthairus [07:51] https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1117292 why would this happen when booting from a sha verified ubuntu-16.04-server-amd64.iso on a virtual system in vsphere 6? it's a 3 year old bug. [07:51] Launchpad bug 1117292 in usb-creator (Ubuntu) "'Unable to install busybox-initramfs' during a server installation" [Medium,In progress] [07:51] has nothing to do with usb-creator in my case. [08:41] Hey. I'm trying to configure OpenLDAP for Samba via this guide https://help.ubuntu.com/lts/serverguide/samba-ldap.html. When I run "sudo ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f samba_indices.ldif" I get this http://hastebin.com/raw/ucipudirif. Does anyone know what I'm missing? [08:42] I've tried asking in #samba and #openldap without any success. [08:48] in lxd, how can i make my uid=1000 on host have write access to the nfs share i shared into my container? i.e. have my uid=1000 in the container be able to write into the nfs share [08:50] i've tried adding the lxc.id_map settings into the profile of the container but after that the container fails to start [09:03] it looks like the nfs mount is written with nfs nobody uid 65534 like /proc and /sys in the lxd container [09:57] Hello I have problem accessing my ubuntu machine via SSH from windows machine, I did [09:57] 1. install the ssh server , sudo apt-get install openssh-server, turned firewall off [09:57] 2. from windows I use winSCP with SFTP option, I entered the IP address of the ubuntu machine, username and password login ubuntu, port 22. [09:57] It showed authentication banner "ubuntu 15",but it then stuck with 'authenticating with preentered-password,access denied'. Whats missing? [10:10] curmet, did you fill the password on the options before connecting? try clear that and have it asking for password interactively. [10:12] pulsar12 : I did, but still it prompt "access denied" although I fill it with the Ubuntu logon password [10:13] are you using pam? the username is on local passwd? can you login on normal ssh session? [10:15] curmet, the problem only happens with sftp? what about normal ssh? [10:17] pulsar12, what port that ssh uses? [10:17] 22? [10:18] is sftp installed / configured? [10:18] its the same as sftp [10:18] sftp is just a subsystem of ssh [10:18] JanC, I just installed openssh-server , with default configuration [10:19] actually, it's a separate program providing it, and it can be enabled/disabled [10:20] curmet: are you trying to log in with root? [10:20] pulsar12 , I tried sftp:// , ftps:// , ftp://ubuntuIP , but still no luck [10:20] JanC , yes , with root [10:21] thats should be the problem :) [10:21] you can't login as root with default config if I remember correctly [10:21] you have to change the setting on sshd_config [10:22] or better yet, don't log in as root [10:22] so I must create other user login? [10:22] there already should be another user? [10:23] but you could create a special one for that too [10:23] okay I'll try , it is not mentioned in the manual to not use root login XD [10:24] you should never use root except when you really need to [10:27] JanC, pulsar12 : thanks for the help , it can login now :D [10:27] is there a way so that I can use root login ? [10:27] also, if this is a server on the public internet, I suggest you use keys to log in instead of passwords [10:28] curmet: all the configuration options are in the sshd_config man file :) [10:28] curmet, check PermitRootLogin option on sshd_config [10:28] but again: seriously discouraged on the public internet === ogra_` is now known as ogra_ [10:48] i ended up configuring the lxd container to be privileged. now the nfs disk uid's are visibile without other configuration [11:50] anyone worked with duplicity? [11:50] no idea where to go, i have an emergency =/ [12:21] holms: I have some experience with it [12:41] andol: i hope privately is ok === Pici` is now known as Pici [12:53] anyone familiar with dupliclity/duply ? [13:53] Hello [13:53] Who knows a command line backup utility like timeshift? [14:17] zul: smb: arges: fwiw a piece-by-piece breakdown of some of my upcoming libvirt changes can be seen at https://git.launchpad.net/~libvirt-maintainers/ubuntu/+source/libvirt/log/?h=2016-04-28/yakkety [14:17] (from there i'm moving to one-big-commit change on top of debian) [14:17] hallyn: ok [14:17] i still want to switch to using upstream apparmor files (which i'll need ot quilt patch) [14:17] hallyn: ewww [14:18] and don't try running this yet [14:18] but as i'm dropping some compat scripts and enabling dtrace, thought i'd run it past y'all [14:18] hallyn, ack, you mean you will use upstream files but quilt patch them into our versions? [14:19] how many of our changes can we push into debian's packaging [14:19] for apparmor that is [14:19] smb: right [14:20] arges: you mean the policy files themselves? hopefully all. but all th debian/rules magic? i assume none [14:20] that's for our rather crazy cloud archive stuff which they wouldn't want to support [14:20] yea cause we use a special directory [14:20] yea [14:20] oh. [14:21] which special directory? [14:22] arges: you just mean debian/apparmor? [14:22] hallyn: yea [14:22] yeah, really when i think about it i'm not sure it's worth syncing apparmor [14:22] the delta will actually become more confusing, [14:22] true [14:22] since we'll end up with more patches needing to be refreshed on every merge [14:22] anyway I'll reveiw teh rest... still a ton of stuff to merge [14:22] so i'll leave that for now. maybe later. [14:23] agreed [14:23] all right - i'm hoping this afternoon i'll get to some testing. [14:27] arges, hallyn, the only problem with apparmor is that we cannot upstream our config as it is into Debian (or maybe we can now). But usually our apparmor was supporting more config options than it should (based on the version it claimed to be) [14:28] smb: what do you mean? i was figuring i'd send changes upstream to libvir@ m-l. [14:29] hallyn, I mean that our parser support some things which Debian's parser would not. Even if the version number of both apparmor packages were similar [14:30] hallyn, I was working on and off on a method to allow us to merge things. Unfortunately its a bit complicated and almost always something else came up and then I forgot where I was [14:32] smb: oh, yeah. so yeah i was figuring i'd end up writing a shell tool to do all of the policy manipulation at build time [14:32] i mean that's like 2 pages worth of debian/rules script right now [14:36] hallyn, Sounds like what I was at. Though I was doing a version number guess which we would be able to override. Then I talked to jj and was somewhat de-routed into trying to use the parser directly to figure things out, but then realized the parser is not part of the appmor-dev which the build depends on... [14:36] smb: yeah. so i think punting on this is best. bc as i said that piece of debdiff is actually veyr nicely compartmentalized [14:36] just its own set of files and dirs and one hunk of debian/rules - long, but just one hunk [14:37] Yeah, agreed === deadnull_ is now known as _deadnull === thedac is now known as dames [14:56] Hi === _deadnull is now known as deadnull_ === unreal is now known as unreal_ === unreal_ is now known as unreal [15:12] hallyn, to answer the "ask about ...migrate-xend..." question: should be safe to drop. The last release that had xend was Trusty. So we are good to let that go away [15:13] smb: excellent, thx === unreal_ is now known as unreal [15:14] i mean it's a very nice script and all :) [15:14] hallyn, Heh, no worries. I am glad to see that go as well :) === DalekSec_ is now known as DalekSec === cydizen_ is now known as cydizen === project0_ is now known as project0 === ShaRose_ is now known as ShaRose === manu is now known as Guest10460 === marlinc_ is now known as marlinc === cargonza_ is now known as cargonza === holms1 is now known as holms === arosales_ is now known as arosales === Expanse_ is now known as Expanse === profall_ is now known as profall === ggherdov`_ is now known as ggherdov` === justizin_ is now known as justizin [15:47] coreycb, jamespage: why can I find openvswitch-datapath-dkms on xenial? [15:49] oh, just reading https://javacruft.wordpress.com/2014/03/03/which-open-vswitch/ [16:14] anyone been working with duplicity? [16:14] will even pay for support [16:54] meh, xen tests failed [16:55] hallyn, not surprised me is :) [16:56] hallyn, I suspect its some additional config files which you have to beat into using the "right" bootloader and emulator paths [16:57] The only thing I wonder is how Debian would pass the tests... if they do not somehow skip them [16:58] eh seems more likely to be my fault [16:59] hallyn, not sure, I thought you work on the next version of libvirt, which was failing for me with the xen tests when I did that quick check when we wondered whether we go for 1.3.2 for Xenial [17:03] oh. right [17:03] i have frostvpn (http://www.frostvpn.com/ ). is it possible to implement openvpn on my ubuntu server, and replace route my internet traffic through my own server instead? [17:04] smb: i'll dig deeper in a bit [17:22] smb: should we perhaps be building --without-xen --with-libxl? [17:23] bc the libxl test succeeds, the xen test fails [17:24] hallyn, If I remember that right, in theory it sounds right but the tests will fail anyway [17:24] It was a bit of a mess but I think the xen tests are libxl too. [17:26] i don't know why VIR_TEST_DEBUG=2 isn't working [17:27] hallyn, there should be a patch of me fiddling with some configs... I would try to check which directory that is and whether there are probably new ones which do not use /usr/bin/qemu-system-i386 for emulator and /usr/lib/xen-4.6/boot/hvmloader [17:27] smb: oh, i think i dropped a patch, [17:27] the latter is os loader [17:27] hm, no, [17:27] smb: will do th [17:27] x [17:28] there is no /usr/lib/xen* [17:29] sounds like debian/patches/ubuntu/ubuntu-xend-probe.patch [17:29] no it was ubuntu/libxl-fix-test-data.patch [17:30] and changing ./tests/xlconfigdata/* [17:30] hallyn, ^ [17:31] where should hvmloader be? [17:31] /usr/lib/xen-4.6/boot/hvmloader [17:31] which package [17:32] xen-utils-4.6 I think... [17:33] so how did that ever work? that's in universe and until just now we couldn't build-dep on it [17:33] hallyn, But I think the main thing is that libxl gets the paths built-in somehow (and also fixes up some parts) [17:34] lemme retry my build from scratch === afkthairus is now known as athairus [17:35] maybe i had some remnants from a bad build [17:35] So we got this via the libxen-dev. If I did not mess up there should be a .pc file coming with the libxen-dev which has the paths, too [17:36] smb: i'll try a few more things and get back to you. thx for the tips [17:37] hallyn, ok... I might be offline by then. so email might work better for asynchronously syncing... [17:37] good night [17:39] not exactly to sleep but not working. :) but thanks [18:25] guys, is there any way to persist changes made with iproute2? [18:25] across reboots? [18:26] customnet init script with the appropriate iproute2 commands? [18:27] (there's probably better ways to do this, but a plain "save state of the ip stack" doesn't exist) [18:27] convert whatever you changed to a format for /etc/network/interfaces ? [18:27] what's more annoying is those iproute commands are lost after suspend/resume [18:29] Pici: that works if ifupdown isn't installed? [18:29] maswan: what's customnet? if I used a script it would be something in the rc.local file, seems cleaner [18:30] devster31: yeah, or that [18:31] but the most important part is that there's no native way [18:33] would sysfsutils work? using /sys/class/net/{interface name}/{thingie} to change individual parameters [18:34] the best way is if you can map it into /etc/network/interfaces rules [18:34] imho [18:35] even if it is strange stuff, post-up hooks etc can do lots of stuff [18:35] You can always just use an up command if the configuration makes sense to be bound to a single interface [18:36] the problem is that right now ifquery --list doesn't show any interfaces, so I was hesitant to use network/interfaces , but I guess that's the most tested way [18:42] Hi all. During install, how does ubuntu-server determine geolocation? === prince is now known as prince66 === prince66 is now known as prince [18:43] We acquired a netblock which was in arizona previously, and I had gone through other geolocation services to correct our location.. but ubuntu still picks arizona. [18:43] It this something contained locally in the iso, or is there somewhere else where I must update? [18:53] heh? ubuntu doesn't do geolocation [18:55] patdk-wk: http://geoip.ubuntu.com/lookup :D [18:55] oh? [18:55] is that his issue? sarnold will fix it for you :) [18:56] yeah there's some kind of geoclue thing.. dunno if it's used in the installer or not, but there's that thing anyway :) [18:56] !info geoclue-ubuntu-geoip [18:56] geoclue-ubuntu-geoip (source: ubuntu-geoip): Provide positioning for GeoClue via Ubuntu GeoIP services. In component main, is optional. Version 1.0.2+14.04.20131125-0ubuntu2 (xenial), package size 10 kB, installed size 78 kB [18:56] !maxmind [18:57] heh [18:57] I _think_ the installer use it for the country mirror selection (and maybe TZ) [18:57] That's suprisingly close, only 2.9 km off [18:57] mine is like 40miles off [18:58] it's even worse if I use my PI space [18:58] that is like registered on the other side of the country for some reason [18:59] oh, it just gives the generic, I dunno somewhere in the USA location [18:59] would think maxmind might atleast harvest whois data [18:59] but they appear to not do that [19:09] apparently my version of ubuntu doesnt have a log rotate script for nginx on /etc/logrotate.d/ ... should i manually set one up? [19:11] arooni: the logrotate snippet is normally shipped by the nginx-common package (checked on Trusty and Xenial) [19:46] smb: meh, that patch (ubuntu/libxl-fix-test-data.patch) really is a pain - it breaks tons of tests which hardcode checks for /usr/lib/xen/boot/hvmloader in xml. if we could get xen-utils-4.6 to put in a symlink that would be so much nicer [19:53] question; i've never run logrotate before for a given rails web app... the log *was* 6GB; in my settings i told logrotate to keep 30 days of log files; so logrotate ran succesfully; and then i had a 6GB production.log.1 file; i ran it again on a lark and now it seems like its compressing production.log.1 => production.log.1.gz .. when will if ever logrotate remove stuff > 30 days old? [20:05] yep, sarnold, lists me as phoenix [20:05] I had corrected my data with maxmind [20:18] hello folks. Can anyone point me to the apparmor patches ubuntu includes in its kernel (eg. for mount mediation?) [20:22] (I already answered sts in #ubuntu-kernel) === kantlive- is now known as kantlivelong === magicalChicken_ is now known as magicalChicken === semiosis_ is now known as semiosis === Lightsword_ is now known as Lightsword === j^2_ is now known as j^2 === tgm4883_ is now known as tgm4883 === rsalveti_ is now known as rsalveti === jeremy_carroll_ is now known as jeremy_carroll === Tribaal_ is now known as Tribaal [20:38] EmilienM, -dkms disappears at 14.04 [20:39] EmilienM, the 3.13 kernel was the first kernel that had sufficient in-tree support for ovs + openstack [20:39] excellent thx === wisur_ is now known as wisur === Metacity|uh-oh is now known as Metacity === sts is now known as Guest19932 [21:59] are there any major changes in /etc/network/interfaces for 16.04? [22:00] my 16.04 randomly fails to start interfaces [22:00] and also boottime is around 10minutes [22:02] nope [22:04] Aison: new 16.04 installs use systemd's default interface naming, iirc, which may be .. different .. from what you're accumsted to. [22:04] my interfaces file: http://pastebin.com/k5Mdpafi [22:04] in addition, there are 65 more bond0.X interfaces [22:04] I guess the bootscript simply collapse when starting so many interfaces [22:04] Aison: to get back to previous device names: ln -s /dev/null /mnt/etc/udev/rules.d/80-net-setup-link.rules [22:05] dasjoe, the interfaces are still named eth0, eth1, eth2, eth3 here, so I don't think that there is any change? [22:05] strange [22:06] if have no file "80-net-setup-link.rules" in my rules.d [22:07] ah, the devices are named by 70-persistent-net.rules here [22:08] hi can anyone tell me where the log for dmraid is (is it stored on the drives or in memory? I ask because I have an error which someone created a patch for (which I cant use ) that indicates the error occurs when the log is non empty (rebuild cant occur ) NOTE This bit of code is in redhat http://paste.debian.net/679050/ [22:09] Er, I have a wild /mnt there, it's /etc. Also, I link 80-net-setup-link.rules to /dev/null so the rules from /lib/udev/rules.d/80-net-setup-link.rules are not applied [22:09] ah, ok [22:12] for example, systemctl --failed says: [22:12] ● nfs-idmapd.service loaded failed failed NFSv4 ID-name mapping service [22:12] and [22:12] ● networking.service loaded failed failed Raise network interfaces [22:12] these two fails [22:23] is it somehow possible to define the order in network/interfaces? [22:24] so I would like to define some order [22:24] in which the interfaces are setup at boot [22:41] anyone know how to clear the dmraid log the one that shows up with the command dmraid -n? === Monthrect is now known as Piper-Off [23:23] I have a rather obtuse question... is there someway to modify sudoers in a way that `sudo su -c "some command"` will include the env of the user who runs it? [23:24] jamescarr: look for env_reset, env_keep in suoders(5) http://manpages.ubuntu.com/manpages/xenial/man5/sudoers.5.html [23:24] I can never find my way through that manpage but it sure feels like it should be possible [23:25] why "sudo su" instead of just sudo? [23:27] I'm pretty sure I saw a good reason for that once. I can't recall what it was now. [23:29] oh, perhaps to run the command as a different user [23:30] but I guess -u should be used instead [23:30] * mdeslaur shrugs [23:34] well in my case, it's a sudo -c command running in vagrant. The only way for me to change it is to push out a custom build to all of our engineers. would rather modify sudoers in the virtualbox instance instead :-) [23:34] thanks [23:35] env_keep looks on point === devil is now known as Guest7079