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

pepperheadAnyone alive out there? Trying to install SabNZBD to ubuntu server 18.04, it is refusing connections00:41
pepperheadStatus says it is active and running00:41
tomreyn!info sabnzbdplus00:44
ubottusabnzbdplus (source: sabnzbdplus): web-based binary newsreader with nzb support. In component multiverse, is optional. Version 2.3.2+dfsg-1 (bionic), package size 1048 kB, installed size 5382 kB00:44
tomreynuse netcat -vv to connect to its default port and see whether the connection is exatblished successfully.00:45
tomreyndo this locally on the server first of all, to work around firewalling and NAT issues, then do it from remote.00:46
pepperheadnetcat?00:46
pepperheadAppreciate the reply BTW00:46
pepperheadMy server is headless, will it require a GUI?00:47
pepperheadSo like "netcat -v 127.0.0.1 8080"?00:50
pepperheadReturns: netcat: connect to 127.0.0.1 port 8080 (tcp) failed: Connection refused00:51
pepperheadsame for "netcat -v 192.168.1.241 8080"00:53
pepperheadshouldnt be any NAT, so maybe a firewall thing?00:57
sarnoldconnection refused could be firewall or it could be the application isn't listening on the port01:01
sarnoldyou can check what ports it is listening on with netstat -tlnp or ss01:01
tomreynor lsof -i :808001:02
tomreynmake sure the port number is correct, too01:02
tomreynpepperhead ^01:02
sarnoldwoah01:02
sarnoldtomreyn: that's handy01:02
sarnoldway less typing :)01:02
tomreyn:)01:02
pepperheadHAH!01:03
pepperheadYou guys are awesome01:04
pepperheadI ASSUMED it defaulted to 8080 so I didnt set the port in the service configuration as it said (optional)01:04
pepperheadSet it to 8080 and restarted the service...POOF01:05
tomreyn\o/01:06
sarnoldnice :)01:06
pepperheadI was going to run these in docker containers, but that was totally not happening01:11
pepperheadTwo down(Plex/Sab), one to go (Radarr)01:12
sarnoldpepperhead: give lxd a quick look, I think it's easier to work with than docker01:13
sarnolddocker feels like "here's a tarball of stuff I don't want to understand, give it a socket please" and lxd feels like "I'd like a bunch of systems that appear to be clean slates but with less overhead than qemu"01:14
tomreyn:) ^this01:15
pepperheadI started down that road, but ran into networking issues with the LXC to host thing. I may go back to it once I know the apps better.01:15
pepperheadThe firewall tweeks are easier here, and on less thing to work on with LXC01:16
pepperheadI have LXC installed01:16
tomreyns/lxc/lxd/01:16
pepperheadI like lxc/lxd, I am more familiar with freebsd jails01:17
pepperheadso might be easier to pick up01:17
sarnoldI enjoyed reading https://blog.ubuntu.com/2016/04/07/lxd-networking-lxdbr0-explained01:18
sarnoldwow, that's from 2016? it felt newer than that.. heh01:18
pepperheadlol01:19
sarnoldso, uh, maybe take anything in there with a big-ass grain of salt :)01:19
l4m8d4Is there a reason why tasksel is not installed by default on ubuntu server 18.04? Are we supposed to use something else instead of it? Is there a more modern replacement or has everyone started to just install metapackages for what they need?03:15
l4m8d4I remember that back in the old days it was used by the installer so one could choose if they wanted ssh server, lamp stack, mail server etc.03:16
cpaelzermoin04:53
shahrokhI install ubuntu server 18.04 on virtualBox but dont working network. virtualbox netconfiguration is NAT and Hosy-only(192.168.56.1)05:04
shahrokhDo you have idea?05:11
ChmEarlshadoxx, do you have any /etc/netplan/*.yml ? and does it use dhcp?05:13
ChmEarlshadoxx, you may need to rewrite that *.yaml file for a static config that uses gateway 192.168.56.105:17
shahrokhchmearl, yes i have 2 *.yaml config05:18
shahrokhhttps://gist.github.com/shahroukh/7ffc516ffbf606a5f7171b392038b7f505:21
ChmEarlconnect at 192.168.56.10305:22
ChmEarlshahrokh, can you ping or ssh to that IP from host?05:22
shahrokhi connect to 192.168.56.103 with ssh but dont have ping to google ot 8.8.8.805:23
shahrokhresult of networkctl: https://gist.github.com/shahroukh/7ffc516ffbf606a5f7171b392038b7f5#gistcomment-263215405:25
shahrokhnetworkctrl status ofcource05:26
ChmEarlshahrokh, in the *.yaml, add 10.0.2.3 to the 2 other nameserver addresses05:28
ChmEarlthen `netplan apply`05:29
shahrokhnetplan apply result: Error in network definition //etc/netplan/01-netcfg.yaml line 8 column 19: address '10.0.2.3' is missing /prefixlength05:29
ChmEarlno , add it here: addresses: [8.8.8.8, 8.8.4.4]05:32
ChmEarlline 8 is wrong place05:32
shahrokhi dont understant, is correct?: https://gist.github.com/shahroukh/7ffc516ffbf606a5f7171b392038b7f5#file-01-netcfg-yaml05:38
ChmEarlyes, 02-netcfg looks better, might work, unless a route is needed too05:39
ChmEarlshahrokh, you still have an error in 01-netcfg05:41
shahrokhyes05:41
ChmEarlremove  addresses: [10.0.2.3] from 01-netcfg... you added there earlier05:42
ChmEarlremove  `addresses: [10.0.2.3]` from 01-netcfg... you added there earlier05:42
shahrokhcomment addresses and gateway in 01-netcfg.. but netplan result: Error in network definition //etc/netplan/01-netcfg.yaml line 10 column 19: address '8.8.8.8' is missing /prefixlength05:43
shahrokh:-D05:43
ChmEarlshould be no extra 10.0.2.3 in 01-netcfg05:46
ChmEarlno changes to original 01-netcfg are needed. Only change 02-netcfg05:47
shahrokhcommnet nameservers in 01-netcfg and netplan apply restault is ok05:52
shahrokhwhat am i doing??05:53
shahrokhdont ping 8.8.8.805:54
shahrokh@ChmEarl05:58
ChmEarlshadoxx, you started out showing me 02-netcfg, then you made mods to 01-netcfg too, why?05:58
lordievaderGood morning05:59
ChmEarlsorry, meant for shahrokh , not shadoxx06:00
shahrokhwhat do you mean? start by 02 but made mode 01? i dont understand06:01
shahrokhno problem my dear :-D shadoxx or shahrokh06:01
ChmEarlshahrokh, your edits are track in github, so use the features and back out the change to 01-netcfg06:02
shahrokhdo you edit code in my github link?06:04
shahrokhi have 2 files for any ethernet06:05
shahrokhhttps://gist.github.com/shahroukh/7ffc516ffbf606a5f7171b392038b7f506:06
shahrokhChmEarl06:20
shahrokhdo have any idea for my use case?06:52
oe1skwgood morning07:06
trippeh_hum. Network Manager is refusing to manage any ethernet interfaces08:49
trippeh_enp5s0  ethernet  unmanaged  --08:49
trippeh_nmcli dev set enp5s0 managed yes -> succeeds08:49
trippeh_still unamanged08:49
trippeh_ unmanaged-devices=*,except:type:wifi,except:type:wwan08:52
trippeh_ha wow08:52
lordievadertrippeh_: Is the interface defined in `/etc/network/interfaces`?08:52
trippeh_nope.08:52
trippeh_not in networkd or "netplan" either08:52
trippeh_but I think I figured it out now. ubuntu has started blacklisting all non-wifi/wwan devices.08:53
lordievaderErr, does the * in `unmanaged-devices` not match the ethernet adapter?08:53
trippeh_lordievader: yes, it matches, it is a blacklist.08:55
lordievaderSo, that is why the ethernet device keeps being unmanaged?08:57
trippeh_yup.09:00
trippeh_this also broke usb ethernet dongles on my laptop. so has been a long running annoyance.09:00
lordievaderDoes this mean your issue is solved?09:01
trippeh_yes, by touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf to override the ubuntu shipped configuration.09:02
lordievaderOk, good to hear 👍09:02
trippeh_surprise, now my VPNs work too ;)09:17
cyphermoxtrippeh: fwiw, when you set 'renderer: NetworkManager' in netplan when you configure network devices there, it does set things to be managed by NM (ie. touching /run/NetworkManager/conf.d/10-globally-...)12:38
cyphermoxdesktop installs ship a file that make sure NetworkManager manages everything: https://netplan.io/examples#network-manager12:39
trippeh_netplan is not installed12:40
cyphermoxtrippeh_: if you have a server on which you install NetworkManager, and then use it to manage VPN and whatnot, then it will indeed explain why these devices did not work. by default, only wifi/wwan are managed by NM, as networkd can't do them well12:40
cyphermoxnetplan.io is installed everywhere. if you remove it yourself, you are still left with distro defaults that may be installed, such as that 10-globally- file.12:41
trippeh_supposedly the file is set on upgrades as well, but that had not happened here for whatever reason12:49
trippeh_maybe some fallout from running betas.12:49
rbasakcpaelzer or ahasenack: would you mind reviewing https://code.launchpad.net/~racb/usd-importer/+git/usd-importer/+merge/347299 for me please?12:56
rbasakIt's fairly trivial.12:56
cpaelzerrbasak:  looking13:01
cpaelzerrbasak: did you see the call for mysql migration assitance?13:03
cpaelzerI did not yet get to it today13:03
rbasakYeah but it didn't seem immediately actionable to me. doko had already uploaded a no change rebuild and it was still building13:04
cpaelzerok13:05
trippeh_cyphermox: network manager still failing silently after purge and reinstall was very confusing until I found that file. :)13:05
trippeh_no hints in logs or anything.13:06
rbasakcpaelzer: I didn't think a re-raise was needed because that's exactly what the stack trace is for. Given that all the re-raise would do is say "it was re-raised from _here_".13:33
cpaelzerrbasak: so you want it explicitly uncatched to get the builtin stacktrace - I see that13:45
cpaelzerbut I wanted the log message before the trace13:45
cpaelzerthat is what I thought to achive by the re-raise13:46
cpaelzerif the original trace is lost by the re-raise the log message isn't worth it13:46
rbasakWe can log and reraise if we want.13:49
rbasakBut what would that really achieve?13:50
rbasak'Cannot get all versions from changelog' doesn't tell us any more than the knowledge that we're in a function called get_all_changelog_versions_from_treeish, and that knowledge is provided by the stack trace.13:50
cpaelzerrbasak: one day there will be two checks in there14:00
cpaelzerand then you'll be happy to see immediately which one triggers14:00
cpaelzerrbasak: but this is rather soft feedback, you had no real issues - so feel free to commit as is if you prefer otherwise14:01
rbasakOK. Thank you for the review!14:04
njbairi'm having the hardest time getting conjure-up to work. it keeps timing out at different points during the build while trying to access api.jujucharms.com, but every time i try the timeout happens at a different point in the process14:44
njbairseems like intermittent network trouble, but i'm not sure if it's on my end or a known issue with the api?14:44
ahasenackrbasak: hi, if you are still around, could you please push the upload tag for this mp? https://code.launchpad.net/~ahasenack/ubuntu/+source/apache2/+git/apache2/+merge/34863217:38
ahasenackrbasak: I couldn't find the right Author, so I'm going with just Origin in the dep3 header17:38
Ussatin 16.04 wgat version of cacti is there ?17:38
ahasenackUssat: "rmadison cacti" tells me it's 0.8.8f+ds1-4ubuntu4.16.04.217:39
Ussatwow....big jump from 16 to 18.0417:40
Ussatwhat is rmadison ?17:41
nacc!info cacti xenial17:41
ubottucacti (source: cacti): web interface for graphing of monitoring systems. In component universe, is extra. Version 0.8.8f+ds1-4ubuntu4.16.04.2 (xenial), package size 1652 kB, installed size 5225 kB17:41
naccahasenack: --^ fyi you can do that :)17:41
UssatI did not know, thanks17:41
ahasenackfigured :)17:41
Ussatappreciated17:41
Ussatthe cacti 1.1.38 in 18.04 wont graph at all.....known issue with that version of cacti according to the forums and some emails17:43
naccUssat: rmadison is the archive database available over the network17:43
naccs/is/queries/17:43
Ussatahh17:43
Ussat!info cacti-spine xenial17:44
ubottucacti-spine (source: cacti-spine): Multi-Threading poller for cacti. In component universe, is extra. Version 0.8.8b-1ubuntu1.1 (xenial), package size 45 kB, installed size 138 kB17:44
naccUssat: is there an ubuntu bug filed?17:44
UssatI have not had time to take a proper dump, let alone fikle a bug...its on my todo list17:44
Ussatsorry so short...shit goin really sideways here17:45
naccUssat: understood17:46
naccUssat: so it's knonw upstream? fixed already?17:47
Ussatupstream and not fix, ack'd though17:47
naccUssat: ok, hard for us to do anything without an upstream fix :)17:48
Ussatyup17:50
UssatJust ack'd the bug yesterday...so I would not expect anything soon17:52
srulitime on my server is out of sync - "timedatectl: Failed to query server: Failed to activate service 'org.freedesktop.timedate1': timed out"  - - "systemctl status systemd-timesyncd: ... ... systemd-timesyncd[742]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com)" - - "ping 91.189.91.157: 64 bytes from 91.189.91.157: icmp_seq=1 ttl=55 time=80.1 ms"17:57
blackflowping's irrelevant if there's an issue with the ntp service. Try another pool, like pool.ntp.org18:01
blackflowsruli: ^^^18:01
srulihow do i change it?18:02
blackflowsruli: /etc/systemd/timesyncd.conf18:02
sruliNTP=pool.ntp.org or FallbackNTP=pool.ntp.org ?18:05
blackflowNTP is primary18:06
srulisame, i get a timeout18:06
nacc`man timesyncd.conf`18:06
blackflowso yeah you could set FallbackNTP in case ntp.ubuntu.com for some reason isn't accessible18:06
srulipool.ntp.org is also not working, womething else seems to be the issue18:07
blackflowsruli: firewall? is that a hosted server? some DCs don't allow outbound ntp due to it being easy to abuse, and require you to use their own servers18:09
srulimy own server, its a vm, just tested on another few on same network, cant find anything in touter iptables to block it18:10
blackflowresidential ISP?18:12
nacciirc, you can use ntpdate by hand to query an ntp server?18:12
srulinot residential but other servers (all 18.04) work fine18:13
sruli28 Jun 18:14:27 ntpdate[29101]: no servers can be used, exiting18:14
blackflowspeaking of "outer iptables", how's that set up for established,related  flows? the firewall needs to track UDP packets otherwise you'll have to open port 123 for inbound response UDP packets18:15
sruliestablished,related accept. will try to run a tcpdump now and see if i see anything18:16
sruliblackflow: its not hitting my router, also ntpdate exits so fast its not possible that its even trying to ake a connection18:20
blackflowsruli: I think if you disable ntp and then enable it (timedatectl set-ntp on|off) it should start syncing up when it's enabled again.18:21
blackflowif not, the nuke that carp and install proper ntp daemon. openntpd is recommended.18:21
blackflow!info openntpd18:21
ubottuopenntpd (source: openntpd): OpenBSD NTP daemon. In component universe, is optional. Version 1:6.2p3-1 (bionic), package size 53 kB, installed size 239 kB18:21
blackflow*then18:21
srulicant even turn it off "Failed to set ntp: Failed to activate service 'org.freedesktop.timedate1': timed out"18:24
blackflow¯\_(ツ)_/¯  SystemD18:24
sruliopenntpd not much in the man page, how do i query the time with it?18:27
sdezielsruli: I believe you cannot18:28
sdezielsruli: but check man ntpctl18:28
nacci don't think openntpd is really the answer here18:28
naccif ntpdate can't query the ntp server, something else is wrong18:28
srulinacc: ntpdate isnt even trying, its exits faster than its possible to establish a connection18:29
naccsruli: how did you run it?18:29
srulintpdate18:29
naccsruli: right, so you didn't tell it to query any servers :)18:30
naccsruli: hint, `man ntpdate`18:30
sdezielntpdate -q -v pool.ntp.org18:30
sruliNo manual entry for nptdate18:30
sdezielsruli: s/npt/ntp/ ;)18:30
sruli;-)18:31
srulitime is adjusted, but how do i set it for summer time?18:33
naccsruli: so manual ntpdate worked?18:34
sruliyes18:34
sdezielsruli: this is not related to NTP, it's a TZ (timezone) setting18:34
naccsruli: or was that a joke re: summer time? :)18:35
sdezielsruli: could you run "ntpdate -q -v 91.189.91.157"18:35
srulinacc, i need to set it to current local time, cant do it with timedatectl as its timing out18:35
srulisdeziel: worked18:36
sdezielsruli: that's weird as that was the IP systemd-timesyncd couldn't reach18:36
naccyeah something seems off18:37
srulias far as i understand the timezone is supposed to be set in timedatectl... something is broke witht he timedatectl.. any other way i can change the tz?18:37
l4m8d4sruli: Have you read the server manual? You're not supposed to install ntpd or any other time sync package if you use timedatectl19:03
l4m8d4So just remove ntpd and try again with timedatectl19:04
l4m8d4If you configure link aggregation of two ethernet ports with netplan, does the network switch have to support that explicitly?19:24
tomreynhow would you do link aggregation on a single side of the transfer only?19:25
srulil4m8d4: i started off with timedatectl it doesnt work thats why i needed something else!19:25
dlloydthere are some super naive implementations that do not require switch participation, but are not really aggregation19:26
srulil4m8d4: for link agg switch needs to support 802.3ad.. else you can use other bonding methods19:26
l4m8d4tomreyn: Yeah, that was the question. I just wanted to know if that is possible or if both deviced need to be "informed" of the bond19:26
l4m8d4Okay thank you19:27
tomreynyou can also run a mirror raid with just a single raid device. but does it make sense? not a lot.19:27
blackflowntpdate is just a temporary solution, you have to figure out why continuous syncing is not working19:27
srulil4m8d4: it needs to be setup on both sides19:27
sruliblackflow: i know, don't know how to troubleshoot this.. hever has a issue with time sync in the past19:28
sarnoldif timedatectl thing isn't sufficient for you, try chrony next19:29
srulisarnold: it's not that it's not sufficient, it's just broke, doesnt work19:29
sruliand i would like to fix it if poss19:29
l4m8d4sruli: Are you sure that neither chrony nor ntpd is installed? Because if that were the case, timedatectl would be disabled automatically to prevent conflicts19:30
blackflowsruli: apparently you can't start or stop the daemon. that's why I recommended you nuke the systemd component and use an external one. systemd is init + process manager, anything else is half assed, constantly broken insecure reinvention. as observed with resolved and I'm pretty sure that timesyncd went belly up because something something dbus.19:30
srulil4m8d4: ntpd was installed to check if there a problem with reaching npt protocol on the server.. timedatectl was broke before that, will remove it now and test timedatectl again19:31
l4m8d4blackflow: timedatectl is configured on ubuntu to be disabled automatically if other means of sync are present, so there should be no need to "nuke" the component19:33
blackflowl4m8d4: with "org.freedesktop.timedate1" timing out if attempted?19:34
srulil4m8d4: removed ntpd - :~# timedatectl Failed to query server: Connection timed out19:34
blackflowyou don't say.19:34
sarnoldblackflow: something something dbus :)19:34
blackflowx-actly :)19:34
l4m8d4sruli: What is the output of systemctl status systemd-timesyncd.service19:35
sruli"systemctl status systemd-timesyncd: ... ... systemd-timesyncd[742]: Timed out waiting for reply from 91.189.91.157:123 (ntp.ubuntu.com)"19:35
sruli^^^ that was before.. now its just deat19:36
l4m8d4sruli: What happens if you start it manually?19:36
srulitimes out.. in the process of timing out now19:37
blackflowopenntpd is nice. you can even peg it to a https domain to validate the ntp response so your time can't be messed with by rogue ntp servers19:38
srulisystemd[1]: systemd-timesyncd.service: Start operation timed out. Terminating.19:38
srulisystemd[1]: systemd-timesyncd.service: Failed with result 'timeout'.19:38
srulisystemd[1]: Failed to start Network Time Synchronization.19:38
blackflowbeen using it on all linux and freebsd machines, never needed anything else. it's less precise than ISC ntpd but you don't need nanosecond precision do you? you aren't running HFT or something19:39
sruliall i need is the correct time, not asking for much19:40
l4m8d4sruli: But ntp.ubuntu.com is reachable otherwise, right?19:40
sarnoldsruli: you don't happen to have funny firewall rules dropping udp packets or something?19:40
blackflowbeen through all that, and ntpdate worked.19:40
sdezielthe "start operation timed out" doesn't seem like NTP related to me, more like systemd having a bad day19:40
blackflowduh!  :)19:41
blackflowbad day, week, month and past 10 years actually :)19:41
srulii was able to use ntpd and ntpdate... and i ran a tcpdump to see if any packets were being dropped by the router timedatectl did not send any packets out of the vm19:41
sdezielI love systemd, for real ;)19:41
srulii also love it (when it works)19:41
blackflowprocess management is good, the power of unit files awesome. but evrything ELSE, suxxxxxxxx19:41
sdezielsruli: beware that timesyncd will back down if any other ntpd daemon is even present on the system19:42
blackflowresolved, timesyncd, nspawn, firewalld.... ughd!19:42
sdezielsruli: did you pastebin "journalctl -u systemd-timesyncd" earlier?19:42
l4m8d4sdeziel: That's also what I would guess. Maybe they can't rely upon other packages stopping the service properly, so they decided to weirdly detect different timesync services and just time out if one is detected.19:44
blackflowWHAT!19:44
srulihttp://termbin.com/t2f819:44
sdezielsruli: thx, have you made some changes to timesyncd.conf that were not reverted?19:45
sdezielsruli: cause at "Jun 28 17:49:17" you manually stopped the service and tried to start it back... and it never worked19:46
sarnoldso uh what changed between Jun 28 16:25:11 and Jun 28 17:49:17?19:47
blackflowsruli: btw, are there any errors showing up wrt resolving ntp.ubuntu.com domain for systemd-resolved service?  you tried ntpdate against an IP, but not against a pool name....19:48
sdeziell4m8d4: I find timesyncd very well behaved as it doesn't try to concurrently manage my clock if I opt in for another NTP implementation :)19:49
sruliblackflow: just tried with poo.ntp.org worked19:49
l4m8d4Yeah, it is strange because 1) sometimes it timed out waiting for some servers, which I never experience and 2) in the end it doesn't seem to try to sync anymore19:49
sdezielI still think it's not NTP related ;)19:50
sdezielsystemd complains that the daemon doesn't starts properly19:50
sdezieland IIRC, timesyncd can cope with the inability to resolve DNS at startup19:50
LaserAllan_hey guys, just a stupid question, what package do I need to install php-fpm on ubuntu 1804?, I think i tried it sometime ago and it wanted ot install apache, which i don't really use19:51
srulisarnold: it stopped working Jun 27 02:19:52, no clue what happend at that time19:51
blackflowLaserAllan_: incredibly, but....   php-fpm19:52
blackflowLaserAllan_: also note that php-fpm is orthogonal to apache. you can install nginx first and php-fpm wouldn't pull in apache.19:53
LaserAllan_blackflow: So tha tis why19:54
LaserAllan_Weird, i think i installed nginx first thought but i might be wrong :)19:54
LaserAllan_I will try that thank you19:54
l4m8d4sruli: I think it really started to break at Jun 28 17:50:4819:55
blackflowLaserAllan_: in fact, on Bionic it's now completely separate from httpd it seems. on 16.04 there use to be .... .issues.19:55
l4m8d4Before then it still tried to sync19:55
l4m8d4After that it just failed silently19:55
blackflowsruli: hey, you want good, stable, secure, no shenanigans, ntp client service?  try out openntpd! you won't regret it ;)19:56
LaserAllan_blackflow: Sounds good, I have been using quite allot of CentOS and FreeBSd before so this is kinda new to me. But I thought id give Ubuntu 1804 a spin now that my 1404 machine is very old and needs to slowly ie.19:56
srulil4m8d4: lol thats when i started investigating why my time is wrong, and just tried to restart it19:56
sdezielsruli: IIRC, at some point you edited it's conf file, no?19:57
l4m8d4sruli: You may want to adjust the systemd log level to get more details on this19:57
srulisdeziel: yes i tried to change to pool.ntp.org, reverted later19:58
srulil4m8d4: where do i change the log level for this?19:58
LaserAllan_l4m8d4: How do adjust the systemd log level? (just curious)19:58
blackflowor! or! here's a wild idea! install an ntpd developed by people who know what they're doing. :)  also, bonus https-based constraint check!19:58
l4m8d4sruli: systemd-analyze log-level20:00
l4m8d4Without parameter, it just gives you the current log level20:00
l4m8d4Otherwise you pass a log level, one of "emerg, alert,crit, err, warning, notice, info, debug"20:01
l4m8d4In this verbosity order I guess, where emerg is the least verbose, debug the most verbose20:01
sdeziell4m8d4: thanks, I didn't know that one!20:03
l4m8d4blackflow: Still, it would be interesting to know why the problem occurs, don't you think?20:03
ahasenackhm, autopkgtest-build-lxd tries to install a kernel into the container :/20:03
ahasenackthat just hangs here20:03
blackflowl4m8d4: after all these years, it's no longer interesting to me to find out its' because something something over dbus via xml :)20:04
l4m8d4Well, I think if possible you should always investigate why something doesn't work as intended on your system. In my case, I often find out interesting things in the process at least.20:07
blackflowl4m8d4: thats' true, but with systemd, in my experience, that has mostly been a carnival ride that burns you out.20:09
blackflowI've minimized that pain by using only the most minimum: init + process management, w/ journal (and only as a short in-memory buffer before syslog-ng).20:10
blackflow_that_ works quite well, indeed.20:10
l4m8d4blackflow: Then we have a different experience. For me, systemd has made managing the systemd a lot easier.20:10
l4m8d4blackflow: In that case, maybe you should consider going with a distribution that doesn't ship systemd by default, that might make you happy20:10
blackflowoh yes, no systemd is default in our shop. but sometimes, for some clients, you need to maintain systemd :)20:11
l4m8d4*managing the system, funny typo though20:11
blackflowthe features and kernel capabilities (AND CAP capabilities) exposed through simple ini files really is awesome, yes. that part of systemd I like.20:14
blackflowbut lets' be real. systemd-resolved? that thing has been nothing but a wild ride of vulns and half assed implementations. ubuntu 17.04 got burnt pretty good for defaulting to it.   systemd-timesyncd? also half-assed and vulnerable, and why on earth would I remove working quality ntpd clients that have worked well for years.20:15
srulii rebooted and magically it works now20:16
blackflowuntil it breaks again. :)20:16
sruliblackflow: i know20:16
blackflowbtw, systemd-timesyncd.service on Bionic.... there aren't ConditionFileIsExecutable  conditions defined by default?20:21
blackflowon debian they're in /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf20:21
blackflowhow does that work then20:23
l4m8d4blackflow: I guess that the system will just call "systemctl stop systemd-timesyncd.service && systemctl disable systemd-timesyncd.service" if you install something else20:26
blackflowwhere's that trigger defined?20:27
blackflowsdeziel: "sruli: beware that timesyncd will back down if any other ntpd daemon is even present on the system"   -- how, on Bionic?20:29
sdezielblackflow: I don't know, I just checked chrony's postinst and there is nothing in there20:32
blackflowI thought ubuntu wsa based on debian? :)20:33
naccblackflow: what do you think "based on" means?20:33
blackflowon debian there's a nice list of ConditionFileIsExecutable   that prevents start up if the other daemons (virtualbox included) are present20:33
blackflownacc: debs taken from debian unstable?20:33
naccblackflow: at some point in time20:34
blackflowis there any other definition?20:34
naccblackflow: is the debian changes more recent than bionic?20:34
blackflownope20:34
blackflowit's actually years old20:34
blackflowin fact, I believe even Xenial had those, but I have no xenial systems now to check20:34
naccblackflow: checking git20:36
sdezielblackflow: yes, xenial has that disable-with-time-daemon.conf snippet20:36
blackflowso, huge regression on Bionic?20:36
sarnoldhttps://patches.ubuntu.com/s/systemd/systemd_237-3ubuntu10.patch20:36
sarnold+  * Drop systemd-timesyncd.service.d/disable-with-time-daemon.conf.20:36
sarnold+    All major NTP implementations ship a native service file nowadays with a20:36
sarnold+    Conflicts=systemd-timesyncd.service so this drop-in is no longer20:37
sarnold+    necessary. (Closes: #873185) (LP: #1721204)20:37
ubottuLaunchpad bug 1721204 in systemd (Ubuntu Artful) "timesyncd has redundant condition conflict with ntp and others" [High,Fix released] https://launchpad.net/bugs/172120420:37
naccsarnold: thanks20:37
blackflowI see.20:37
l4m8d4Yeah, I guess thats a more clean way of preventing conflicts there20:40
blackflowl4m8d4: yeah it's cleaner if individual packages conflicted on timesyncd, and packages amongthemselves are not installable together.20:57
blackflowthe old method required one package to know all installable variants, hardcoded in teh config20:58

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