/srv/irclogs.ubuntu.com/2018/12/04/#ubuntu-server.txt

SecutorHow do you start/stop networking on 18.10 server using CLI?00:42
SecutorI'm using Netplan and the default networking services.00:43
tewardSecutor: why would you want to *stop* the networking00:51
tewardyou can just reapply the net config with `sudo netplan apply` if you change it00:51
tewardi'm not aware of any real "shut it off" functionality out of the box with netplan00:51
mwhudsonyeah you have to stop networkd and then down the interfaces manually i think00:53
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:54
SecutorI know I can install ifdown and some older tools but want to try to do things the more modern Ubuntu way if possible.00:56
=== TJ_Remix is now known as TJ-
hyperlumicip link set eth0 down01:11
hyperlumicThat'll just down the interface at the link layer. ip link set eth0 up to re-up it.01:12
Secutor Thank you hyperlumic, that works.03:02
cpaelzergood morning06:15
a_okI 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:40
rbasaka_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:51
a_okrbasak: 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 ideal09:53
rbasaka_ok: how do you define "major version"?09:55
rbasaka_ok: are you aware of Ubuntu's stable release update policy? See https://wiki.ubuntu.com/StableReleaseUpdates09:57
rbasakIn general Ubuntu doesn't do major version updates in stable releases.09:57
a_okrbasak: Sorry I meant semvers minor version. But patch version is ok09:57
rbasakPackages in the archive don't necessarily follow "semver" for the package version strings themselves.09:57
rbasak(though the general concept has been used in our ecosystem long before the semver people rediscovered it)09:58
a_okrbasak: Not relevant in this case. I need it. Semvers is used. Where other scheme is used I will create an appropriate pref file09:58
rbasaka_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 purposes09:59
rbasaka_ok: it's relevant because you need apt to do that but package version strings that apt use aren't defined to be "semver".09:59
a_okrbasak: So you mean that the package can just ommit the version or something?10:01
rbasakI don't understand your question. What does "omit the version" mean?10:01
a_okWhen I say "Pin: version 2.1.*" Should it not be impossible for version that does not match that scheme to be installed?10:02
rbasakIf 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:02
rbasakapt isn't designed around being able to do that.10:03
kstenerudIs 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 garbage10:03
rbasakkstenerud: https://bugs.launchpad.net/usd-importer10:03
rbasakIt's not a package as such; it's an upstream package hosted at launchpad.net/usd-importer (name bad for historical reasons)10:03
rbasakIt's not a package as such; it's an upstream *project* hosted at launchpad.net/usd-importer (name bad for historical reasons)10:06
rbasakSorry10:06
oskiehello, in my bionic KVM VM, the hostname is reset to some old value on reboot11:01
oskieany idea where it is kept? (it's not in /etc)11:01
frickleroskie: in which environment do you run your VM? iirc cloud-init runs by default, so it may set the hostname and other parameters on boot11:24
oskiefrickler: i had to update it with hostnamectl and mess with cloud init (preserve_hostname)11:32
oskiei guess hostnamectl stores it in some kind of binary format or other11:33
naccrbasak: kstenerud: pad.lv/fb/usd-importer15:22
naccworks as well for srcpkgs15:23
shubjeroDoes anyone know if spectre-meltdown-checker thats available for Ubuntu 18.04 can be obtained for 16.04?15:30
shubjeroI just tried it on 18.04 and its great15:30
nacc!info spectre-meltdown-checker xenial15:43
ubottuPackage spectre-meltdown-checker does not exist in xenial15:43
nacc!info spectre-meltdown-checker bionic15:43
ubottuspectre-meltdown-checker (source: spectre-meltdown-checker): Spectre & Meltdown vulnerability/mitigation checker. In component universe, is optional. Version 0.37-1 (bionic), package size 29 kB, installed size 120 kB15:43
naccshubjero: looks to not be available15:43
shubjeronacc: yeah too bad, its pretty useful.. and all my hypervisors are running 16.04.. haha15:58
shubjeroi have one system on 18.04 and its not part of our compute fleet :)15:58
shubjeroactually here it is in a non-packaged version (fine) https://github.com/speed47/spectre-meltdown-checker15:59
=== jdstrand_ is now known as jdstrand
rbasakahasenack, cpaelzer, kstenerud: are we expecting any other transitions from the server team end?17:17
rbasakI 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
rbasakcpaelzer: should I include Ruby in that?17:17
ahasenackrbasak: maybe bind, but it's a small one17:26
ahasenackhaven't checked if there is a soname bump yet, but there might be one in time for disco17:26
rbasakOK17:27
ahasenackbind9 1:9.11.4+dfsg-3ubuntu5 -> 1:9.11.5+dfsg-117:27
ahasenackprobably safe17:27
naccahasenack: would you want to mark that bug for samba as blocks-proposed or whatever the correct tag is to prevent it from migrating?17:36
ahasenacknacc: how does that work?17:37
ahasenacknacc: if I add the tag, and fix freeipa's test which would let samba pass, it won't pass?17:38
ahasenacks/pass/migrate/17:38
naccahasenack: i am trying to remember, but i recall there is a tag that will prevent a package from migrating out of proposed17:38
ahasenackblock-proposed does sound similar17:38
ahasenacker17:38
ahasenackfamiliar17:38
* ahasenack reads https://wiki.ubuntu.com/ProposedMigration17:39
naccahasenack: https://bugs.launchpad.net/ubuntu/+source/ruby-autoparse/+bug/1754464 had it17:39
ubottuLaunchpad bug 1754464 in ruby-autoparse (Debian) "remove broken ruby srcpkgs due to ruby-defaults stuck in bionic-proposed" [Unknown,New]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:39
ahasenacknice17:40
ahasenackI added it17:40
ahasenackthanks17:40
naccahasenack: np, it's handy for cases like this17:42
ahasenackindeed17:42
cpaelzerrbasak: ruby is coming once FTBFS are resolved18:02
cpaelzerrbasak: but it is a minor version, so no rebuild wave planned18:02
kinghatwhat is going on here? http://paste.debian.net/hidden/19a7c323/20:13
sarnoldkinghat: normally ubuntu systems don't have root passwords20:15
kinghati have to actually be root to restart apache there?20:16
sarnoldor have sudo privs20:17
kinghati mean i gave it root password20:17
kinghatim logged in as admin account20:17
ikoniaadmin account ?20:17
kinghati only have one account20:17
ikoniayou should be your normal user and use sudo to launch root based commands20:18
ikoniaeg: "sudo systemctl restart apache"20:18
kinghati see what you mean20:18
ikoniathat also looks like your running a desktop20:18
ikoniaare you sure this is an ubuntu server install20:19
kinghatya20:19
lordcirthThat auth thing is annoying.  I'd much prefer if it just said "you need to use sudo" instead of reinventing the wheel20:30
sarnoldyes20:31
mwhudsonheh i can predict what that pastebin says without opening it20:43
sarnold:)20:44
bjonnhwhy would netplan not apply at boot ?22:04
bjonnh(server 18.10)22:04
cyphermoxit doesn't need to22:04
bjonnhthe inplace migration I made from fedora worked22:04
bjonnhexcept that IĀ forgot to install lvm2 so lvm was missing in the initrd22:05
cyphermoxthere's a generator that runs at boot, same as the other systemd generators, so the config is written before networkd starts22:05
bjonnhand the second part was that netplan was never applying22:05
bjonnhI made my own config22:05
bjonnh(basic dhcp on one interface)22:05
bjonnhhttp://paste.alacon.org/4563122:06
bjonnhI reverted to ifupdown for now22:06
bjonnh/etc/network/interfaces was empty22:07
cyphermoxbjonnh: 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 is22:07
bjonnhoh22:08
cyphermoxso, like this: http://paste.alacon.org/4563222:08
cyphermoxjust my guess, since that's pretty simple config22:08
bjonnhI called them id0 and id122:11
bjonnhlets see22:11
tafa2would anyone know of an alternative much simpler version of freenas that can run on ubuntu with a gui to configure SFTP accounts quickly?22:26
bjonnhcyphermox: that was it22:27
bjonnhcyphermox: thanks22:27

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