[00:42] <Secutor> How do you start/stop networking on 18.10 server using CLI?
[00:43] <Secutor> I'm using Netplan and the default networking services.
[00:51] <teward> Secutor: why would you want to *stop* the networking
[00:51] <teward> you can just reapply the net config with `sudo netplan apply` if you change it
[00:51] <teward> i'm not aware of any real "shut it off" functionality out of the box with netplan
[00:53] <mwhudson> yeah you have to stop networkd and then down the interfaces manually i think
[00:54] <Secutor>  I have a script and want to ensure that there is no incoming network traffic for a few moments to do some work then re-enable networking.
[00:56] <Secutor> I know I can install ifdown and some older tools but want to try to do things the more modern Ubuntu way if possible.
[01:11] <hyperlumic> ip link set eth0 down
[01:12] <hyperlumic> That'll just down the interface at the link layer. ip link set eth0 up to re-up it.
[03:02] <Secutor>  Thank you hyperlumic, that works.
[06:15] <cpaelzer> good morning
[09:40] <a_ok> I am trying to pin a package but man is the documentation confusing. Setting a high number in pin priority what does that do? "Pin: version 5.10*" will this match version 5.100?
[09:51] <rbasak> a_ok: a single package? Are you sure you don't just want to put a hold on the package? What are you actually trying to achieve?
[09:53] <a_ok> rbasak: I want to able to make sure a few packages are never upgraded to another major version. We use ansible to configure our servers so placing a file for each package is ideal
[09:55] <rbasak> a_ok: how do you define "major version"?
[09:57] <rbasak> a_ok: are you aware of Ubuntu's stable release update policy? See https://wiki.ubuntu.com/StableReleaseUpdates
[09:57] <rbasak> In general Ubuntu doesn't do major version updates in stable releases.
[09:57] <a_ok> rbasak: Sorry I meant semvers minor version. But patch version is ok
[09:57] <rbasak> Packages in the archive don't necessarily follow "semver" for the package version strings themselves.
[09:58] <rbasak> (though the general concept has been used in our ecosystem long before the semver people rediscovered it)
[09:58] <a_ok> rbasak: Not relevant in this case. I need it. Semvers is used. Where other scheme is used I will create an appropriate pref file
[09:59] <rbasak> a_ok: the problem is that I don't think there's any way to configure apt to break down the version string for differentiation for pinning purposes
[09:59] <rbasak> a_ok: it's relevant because you need apt to do that but package version strings that apt use aren't defined to be "semver".
[10:01] <a_ok> rbasak: So you mean that the package can just ommit the version or something?
[10:01] <rbasak> I don't understand your question. What does "omit the version" mean?
[10:02] <a_ok> When I say "Pin: version 2.1.*" Should it not be impossible for version that does not match that scheme to be installed?
[10:02] <rbasak> If you're trying to configure apt to work around a broken third party apt repository upgrade policy, you're going to face a world of pain.
[10:03] <rbasak> apt isn't designed around being able to do that.
[10:03] <kstenerud> Is there an wasy way to get to a package's bugs page on launchpad? I'm trying to get to git-ubuntu, but everything uses google search, which returns garbage
[10:03] <rbasak> kstenerud: https://bugs.launchpad.net/usd-importer
[10:03] <rbasak> It's not a package as such; it's an upstream package hosted at launchpad.net/usd-importer (name bad for historical reasons)
[10:06] <rbasak> It's not a package as such; it's an upstream *project* hosted at launchpad.net/usd-importer (name bad for historical reasons)
[10:06] <rbasak> Sorry
[11:01] <oskie> hello, in my bionic KVM VM, the hostname is reset to some old value on reboot
[11:01] <oskie> any idea where it is kept? (it's not in /etc)
[11:24] <frickler> oskie: in which environment do you run your VM? iirc cloud-init runs by default, so it may set the hostname and other parameters on boot
[11:32] <oskie> frickler: i had to update it with hostnamectl and mess with cloud init (preserve_hostname)
[11:33] <oskie> i guess hostnamectl stores it in some kind of binary format or other
[15:22] <nacc> rbasak: kstenerud: pad.lv/fb/usd-importer
[15:23] <nacc> works as well for srcpkgs
[15:30] <shubjero> Does anyone know if spectre-meltdown-checker thats available for Ubuntu 18.04 can be obtained for 16.04?
[15:30] <shubjero> I just tried it on 18.04 and its great
[15:43] <nacc> !info spectre-meltdown-checker xenial
[15:43] <nacc> !info spectre-meltdown-checker bionic
[15:43] <nacc> shubjero: looks to not be available
[15:58] <shubjero> nacc: yeah too bad, its pretty useful.. and all my hypervisors are running 16.04.. haha
[15:58] <shubjero> i have one system on 18.04 and its not part of our compute fleet :)
[15:59] <shubjero> actually here it is in a non-packaged version (fine) https://github.com/speed47/spectre-meltdown-checker
[17:17] <rbasak> ahasenack, cpaelzer, kstenerud: are we expecting any other transitions from the server team end?
[17:17] <rbasak> I was going to email ubuntu-devel@ with an "upcoming transitions from the server team; let me know if you want us to hold" notice.
[17:17] <rbasak> cpaelzer: should I include Ruby in that?
[17:26] <ahasenack> rbasak: maybe bind, but it's a small one
[17:26] <ahasenack> haven't checked if there is a soname bump yet, but there might be one in time for disco
[17:27] <rbasak> OK
[17:27] <ahasenack> bind9 1:9.11.4+dfsg-3ubuntu5 -> 1:9.11.5+dfsg-1
[17:27] <ahasenack> probably safe
[17:36] <nacc> ahasenack: would you want to mark that bug for samba as blocks-proposed or whatever the correct tag is to prevent it from migrating?
[17:37] <ahasenack> nacc: how does that work?
[17:38] <ahasenack> nacc: if I add the tag, and fix freeipa's test which would let samba pass, it won't pass?
[17:38] <ahasenack> s/pass/migrate/
[17:38] <nacc> ahasenack: i am trying to remember, but i recall there is a tag that will prevent a package from migrating out of proposed
[17:38] <ahasenack> block-proposed does sound similar
[17:38] <ahasenack> er
[17:38] <ahasenack> familiar
[17:39]  * ahasenack reads https://wiki.ubuntu.com/ProposedMigration
[17:39] <nacc> ahasenack: https://bugs.launchpad.net/ubuntu/+source/ruby-autoparse/+bug/1754464 had it
[17:39] <ahasenack> "No bugs with the block-proposed tag are open against the package (this can be used to temporarily block a package on manual testing);"
[17:40] <ahasenack> nice
[17:40] <ahasenack> I added it
[17:40] <ahasenack> thanks
[17:42] <nacc> ahasenack: np, it's handy for cases like this
[17:42] <ahasenack> indeed
[18:02] <cpaelzer> rbasak: ruby is coming once FTBFS are resolved
[18:02] <cpaelzer> rbasak: but it is a minor version, so no rebuild wave planned
[20:13] <kinghat> what is going on here? http://paste.debian.net/hidden/19a7c323/
[20:15] <sarnold> kinghat: normally ubuntu systems don't have root passwords
[20:16] <kinghat> i have to actually be root to restart apache there?
[20:17] <sarnold> or have sudo privs
[20:17] <kinghat> i mean i gave it root password
[20:17] <kinghat> im logged in as admin account
[20:17] <ikonia> admin account ?
[20:17] <kinghat> i only have one account
[20:18] <ikonia> you should be your normal user and use sudo to launch root based commands
[20:18] <ikonia> eg: "sudo systemctl restart apache"
[20:18] <kinghat> i see what you mean
[20:18] <ikonia> that also looks like your running a desktop
[20:19] <ikonia> are you sure this is an ubuntu server install
[20:19] <kinghat> ya
[20:30] <lordcirth> That auth thing is annoying.  I'd much prefer if it just said "you need to use sudo" instead of reinventing the wheel
[20:31] <sarnold> yes
[20:43] <mwhudson> heh i can predict what that pastebin says without opening it
[20:44] <sarnold> :)
[22:04] <bjonnh> why would netplan not apply at boot ?
[22:04] <bjonnh> (server 18.10)
[22:04] <cyphermox> it doesn't need to
[22:04] <bjonnh> the inplace migration I made from fedora worked
[22:05] <bjonnh> except that I forgot to install lvm2 so lvm was missing in the initrd
[22:05] <cyphermox> there's a generator that runs at boot, same as the other systemd generators, so the config is written before networkd starts
[22:05] <bjonnh> and the second part was that netplan was never applying
[22:05] <bjonnh> I made my own config
[22:05] <bjonnh> (basic dhcp on one interface)
[22:06] <bjonnh> http://paste.alacon.org/45631
[22:06] <bjonnh> I reverted to ifupdown for now
[22:07] <bjonnh> /etc/network/interfaces was empty
[22:07] <cyphermox> bjonnh: maybe the device doesn't have that name at the time networkd is starting, so you might need to match the device by MAC address for networkd to know exactly which one enp7s0f1 is
[22:08] <bjonnh> oh
[22:08] <cyphermox> so, like this: http://paste.alacon.org/45632
[22:08] <cyphermox> just my guess, since that's pretty simple config
[22:11] <bjonnh> I called them id0 and id1
[22:11] <bjonnh> lets see
[22:26] <tafa2> would anyone know of an alternative much simpler version of freenas that can run on ubuntu with a gui to configure SFTP accounts quickly?
[22:27] <bjonnh> cyphermox: that was it
[22:27] <bjonnh> cyphermox: thanks