/srv/irclogs.ubuntu.com/2016/09/01/#ubuntu-server.txt

NitsugaHas anyone got systemd-networkd's DHCP sever working?00:43
NitsugaHere it doesn't seem to do anything, but it doesn't complain either.00:43
RoyKNitsuga: does systemd has a dhcp server? I usually just use isc-dhcp01:13
sarnoldit does01:13
NitsugaRoyK, there's a systemd-everythingd01:14
sarnoldsee dhcpserver in https://www.freedesktop.org/software/systemd/man/systemd.network.html01:14
patdk-lapthere is a systemd-emacs?01:17
patdk-lapor emacs-systemd?01:17
sarnoldNitsuga: oh by the way I think systemd happy continues on when it doesn't understand something01:19
sarnoldNitsuga: try systemd-analyze verify01:20
Nitsugasarnold, I introduced a typo on purpose and it didn't complain. Let's seeā€¦01:20
NitsugaThe systemd.network man page promises very uncomplicated routing with the DHCPServer= and IPMasquerade= options, but the latter doesn't work in Ubuntu either.01:21
NitsugaIt's missing a compile option.01:21
Nitsugasarnold, systemd-analyze verify returns nothing.01:23
sarnolddang01:23
RoyKpatdk-lap: there should be https://xkcd.com/378/01:29
=== Mobutils_ is now known as Mobutils
=== magicalChicken_ is now known as magicalChicken
=== petevg_ is now known as petevg
=== trochej is now known as madwizard
baptistemmhello, I'm looking for to script unattended upgrade using 'do-release-upgrade -f DistUpgradeViewNonInteractive'. In order to replace conffile with newest version I put a config file /etc/apt/apt.conf.d/local with 'Dpkg::Options { "--force-confdef"; "--force-confnew"; }'. However after the upgrade I find files *.dpkg-new08:02
baptistemmAm I forgetting something08:03
baptistemmI'm upgrading from 12.04 to 14.0408:03
fricklerjamespage: coreycb: neutron has just landed a patch that requires dhcp_release6, which was only added recently in dnsmasq 2.76, see https://review.openstack.org/301747. now that is fine for yakkety, but not for xenial, do you think it would be possible to just add the new utility back into dnsmasq for xenial?08:31
jamespagexnox, yikes - did the gpg switch likely kill things like add-apt-repository?08:45
xnoxjamespage, shouldn't.08:45
xnoxlet me test that one.08:45
jamespageWarning: apt-key output should not be parsed (stdout is not a terminal)08:46
jamespagegpg: no valid OpenPGP data found.08:46
xnoxhar har08:46
jamespagexnox, all of our yakkety branch builds for OpenStack and tripping on that today08:46
xnoxinteresting how that is not an autopkgtest....08:46
xnoxyeah, gnupg2 with the switch is in -proposed already.08:47
jamespagexnox, yah - we build with proposed enabled08:47
xnoxlet's see if i can fix that quickly.08:47
jamespagepls08:47
xnoxjamespage, good! =)08:47
baptistemmNo one has an hint for me ? (I can repeat my question if needed)08:56
=== pavlushka is now known as Guest42214
=== Guest42214 is now known as pavlushka
=== pavlushka is now known as Guest59036
baptistemmI'm doing an unattended upgrade from 12.04 to 14.04 using 'do-release-upgrade -f DistUpgradeViewNonInteractive'. In order to replace conffile with newest version I put a config file /etc/apt/apt.conf.d/local with 'Dpkg::Options { "--force-confdef"; "--force-confnew"; }'. However after the upgrade I find files *.dpkg-new09:49
baptistemmam I missing somethings09:49
=== pavlushka_ is now known as Guest56533
=== Guest56533 is now known as pavlushka
xnoxjamespage, off by chance do you know if autopkgtests allow enough internets for add-apt-repository to add launchpad ppas?10:06
* xnox is adding an autopkgtest to software-properties to make sure add-apt-repository doesn't break in the future10:06
jamespagexnox, i'd have to defer to pitti for that10:10
rbasakxnox: AFAIK, you can do that.10:17
xnoxyeay =)10:19
jamespagecoreycb, ddellav: fyi add-apt-repository is currently foobar on yakkety - xnox is working on a fix11:06
jamespageits blocking all yakkety branch builds atm11:06
jamespagecoreycb, ddellav: xenial builds are ok apart from barbican and trove11:06
xnoxjamespage, waiting for launchpad to crank it out.... https://launchpad.net/ubuntu/+source/software-properties/0.96.24.411:07
jamespagexnox, good oh - thanks for picking that up!11:07
xnoxjamespage, rmadison says new software-properties-common is in. could you retrigger/retest whatever was failing for you please?12:01
=== TodPunk_ is now known as TodPunk
=== JanC is now known as Guest23252
=== JanC_ is now known as JanC
jamespagexnox, ok so add-apt-repository looks ok now - but tripping over something sbuild-ish now13:03
jamespageFailed to sign dummy archive Release file.13:04
xnoxjamespage, right "sudo rm -rf /var/lib/sbuild/apt-keys" on the host13:06
xnoxwhich invokes sbuild13:06
xnoxjamespage, or alternatively the host should have up to date sbuild, and run sbuild-update -k13:06
xnoxjamespage, do you care about building things for before precise?13:07
jamespagexnox, no13:07
xnoxthen purge the apt-keys13:08
xnoxand don't ever call sbuild-update -k | --keygen13:09
=== pavlushka_ is now known as pavlushka
=== tikund is now known as tikun
jamespagexnox, hmm that's not working so well14:01
jamespageE: Local archive GPG signing key not found14:02
jamespageI: Please generate a key with 'sbuild-update --keygen'14:02
jamespagedo I have to twiddle a knob somewhere to allow that?14:02
xnoxjamespage, what is the version of sbuild on your host?14:03
xnoxwhat is the ubuntu release of the host?14:04
jamespagexnox, 0.69.0-2ubuntu1~ubuntu14.04.1~ppa20160714122814:04
xnoxi've backported sbuild from yakkety and run that on xenial....14:04
jamespageits a backport of the xenial version on trusty14:04
xnoxok.14:04
xnoxeither get a newer backport. or there are manual things you can run on the host to export a armored keypair.14:05
xnoxlet me test that combo here.14:05
xnoxor rebackport yakkety's sbuild....14:06
xnoxjamespage, you are not gonna upgrade the host to xenial just yet, are you?14:06
jamespagexnox, that's a bit more than I can do right now14:06
jamespageit hosts some other bits and pieces as well14:06
jamespageI can backport it14:06
xnoxjamespage, but NEWS file in sbuild claims that since 0.67.0 key generation is optional.14:07
xnoxjamespage, can i see the logs of what/where breaks for you?14:08
xnoxor access those systems, no?14:08
xnoxbackporting yakkety's sbuild is best option, i think.14:09
=== pavlushka_ is now known as Guest89318
=== Guest89318 is now known as pavlushka
jamespagexnox, apparently we where still runnng and older sbuild version14:48
jamespagenot sure why14:48
jamespagechecking now14:48
NetworkingPro anyone know a good server config management tool?16:13
JanCthe command line?  :)16:14
JanCalso: what do you actually want it to do?16:15
patdk-wkssh :)16:24
=== neoark is now known as Guest3396
lunaphyteyour brain?16:50
smoserrbasak, you have a dep8 test example you'd suggest me start from ?18:01
coreycbddellav, can you also include sahara 4.0.1 and ironic 5.1.2 in the mitaka SRU18:12
ddellavcoreycb sure18:13
coreycbddellav, thanks18:13
coreycbddellav, also for liberty can you pick up aodh 1.1.2, designate 1.0.2, ironic 4.2.5, manila 1.0.1, and sahara 3.0.2? (sorry if this went through twice, got disconnected)19:43
ddellavcoreycb i'll add it to the bug19:44
coreycbddellav, sound good19:44
=== Mobutils_ is now known as Mobutils
sarnoldrbasak: hey are you and nacc doing the git thing for multipath-tools? someone in #ubuntu-devel just proposed a patch, see 1231182 -- it got lost last time around...19:59
xnoxjamespage, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=82731520:26
ubottuDebian bug 827315 in src:sbuild "sbuild: Does not work with gnupg 2.x installed in the chroot" [Important,Fixed]20:26
xnox*soon* things will break =)20:26
xnoxor might. basically new enough sbuild is required.20:26
xnoxactually no, all has been fixed.20:28
mundus2018Can someone help me to get back into my system20:51
mundus2018I got locked out when trying to install openvpn20:52
mundus2018I can mount it20:52
RoyKmundus2018: was this after accidentially enabling ufw after forgetting to allow 22/tcp (or ssh) ?20:53
mundus2018Yeah I enabled ufw and didnt allow ssh20:54
mundus2018but is it on at reboot?20:54
RoyKmundus2018: ufw doesn't require a "save" argument - it just sticks20:54
RoyKmundus2018: what sort of machine is this?20:55
mundus2018like hardware or software?20:55
RoyKvm? physical?20:55
mundus2018phisical20:55
jelly<mundus2018> in /etc/default/ufw I changed /etc/default/ufw DEFAULT_FORWARD_POLICY="DROP" to DEFAULT_FORWARD_POLICY="ACCEPT"20:55
jellythat however doesn't say anything about INPUT and OUTPUT20:56
RoyKmundus2018: do you have KVM access to it or something?20:56
mundus2018its a kimsufi box20:56
jellyRoyK, he can boot a rescue image, and that's what he's doing right now20:56
RoyKwithin reach?20:56
RoyKjelly: ok20:57
jellythe rescue image provides some sort of remote access apparently20:57
mundus2018yeah20:57
jellythis is a common setup with cheap providers20:58
mundus2018this is essentially ovh20:58
jelly(hardware that has proper remote mgt is usually more expensive)20:58
jellymundus2018, you could chroot into the thing, see if you can disable the ufw service with service or systemctl command, then reboot21:00
mundus2018alright I can try that21:00
mundus2018im rebooting to see if something I did worked21:00
jellyif you're playing with cron jobs, you can also make one that does "iptables-save > /root/iptables-saved-temp" and look at that file afterwards21:01
mundus2018that will save the active config?21:01
jellythat would confirm whether it's iptables state that's keeping you locked out21:01
mundus2018ok21:01
jellysorry, "/sbin/iptables-save > /root/iptables-saved-temp"21:02
jellycron PATH does not contain /sbin by default21:02
mundus2018ok so reverting that stuff did not wor21:02
jellywhich error message do you get when you try to ssh into your system?21:03
mundus2018can I chroot and just do sudo ufw allow 22/tcp21:03
jellymaybe, I'm clueless about ufw21:04
jellyand you don't need "sudo" when you're already root21:04
mundus2018on putty, Network Error: Connection Timed Out21:04
jellyright, if ping works that does point to a local fw issue21:05
=== devixor is now known as Deva
=== Deva is now known as Devixor
mundus2018how can I pipe errors?21:13
mundus2018this is my rules  http://termbin.com/j62121:15
mundus2018Ill add -A ufw-user-input --dport 22 -j ACCEPT and hopefully that will work21:16
=== Malediction_ is now known as Malediction
RoyKmundus2018: 2>&1 | pastebinit21:20
mundus2018thanks21:21
RoyKmundus2018: there's no port 22 in that pastebin21:21
mundus2018yeah just added it21:21
mundus2018I added "-A ufw-user-input --dport 22 -j ACCEPT"21:22
RoyKusually ufw allow 22/tcp should do21:22
mundus2018I couldnt do that, it said erros with /dev/urandom21:23
RoyKit really shouldn't need /dev/urandom21:23
mundus2018so that didnt work21:25
mundus2018brb21:31
eatingthenighthey, how can I can create a FAT32 partion with sfdisk, I don't see an option for it when i run sfdisk -T21:38
eatingthenightops21:38
eatingthenightsorry21:38
eatingthenightblind, it's W95 FAT3221:38
tarpmaneatingthenight: normally I think you want 0x0c (W95 FAT32 (LBA))21:51
tarpmaneatingthenight: note of course that the partition type code is orthogonal to what filesystem you actually choose to format the partition with...21:51
rbasaksarnold: we're updating trees on request right now - we haven't cronned the importer yet.22:16
sarnoldaha22:17
renatosilvawill ubuntu server updates address ssl3 disabling?22:41
rbasakrenatosilva: try asking in #ubuntu-hardened, though most full time people are done for the day now so it might be worth asking tomorrow when there are more people about.22:49
sarnoldrenatosilva: I think we've only disabled ssl3 in xenial and yakkety22:49
renatosilvasarnold: why not all?22:49
sarnoldrenatosilva: likely because we don't want to break existing deployments22:50
renatosilvaso you people prefer instead keep a LTS server vulnerable to ssl3 attacks? weird!22:51
renatosilvaI would never knew the server I manage is vulnerable if I did not randomly found it, a pity that updating the system packages actually does not bring all important updates!22:53

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