Re: [systemd-devel] Restarting a systemd service with new command line options from systemctl?

2018-07-07 Thread Lennart Poettering
On Sa, 07.07.18 09:09, Rick Beldin (rick.bel...@hpe.com) wrote: > Hi... > > I was trying to understand some systemd-udevd interactions and from source I > could see that if systemd-udevd was started with --debug option, it would log > additional items, for example: > > > 786 /*

Re: [systemd-devel] Why doesn't `systemd-random-seed load` use RNDADDENTROPY ?

2018-07-07 Thread Lennart Poettering
On Sa, 07.07.18 08:23, Colin Walters (walt...@verbum.org) wrote: > Came up in this bug: > https://bugzilla.redhat.com/show_bug.cgi?id=1572944#c44 > > As far as I can see it never did, but here the entropy is fully trusted; > seems like using the ioctl would help avoid some entropy fallout > from

Re: [systemd-devel] upower fails with PrivateNetwork=true

2018-07-07 Thread Lennart Poettering
On Sa, 07.07.18 14:35, Michael Biebl (mbi...@gmail.com) wrote: > 2018-07-06 13:23 GMT+02:00 Lennart Poettering : > > Yes, Mantas is right, PrivateNetwork= disconnects the whole of > > AF_NETLINK from the rest of the system, which means services that > > require libudev device events can't use it.

Re: [systemd-devel] Restarting a systemd service with new command line options from systemctl?

2018-07-07 Thread Rick Beldin
On 07/07/2018 09:54 AM, Michael Chapman wrote: > On Sat, 7 Jul 2018, Rick Beldin wrote: > [...] >> # systemctl restart systemd-udevd --debug >> systemctl: unrecognized option '--debug' > > You would need to override the service's ExecStart= setting if you wanted > to do it that way. > Ok, so

Re: [systemd-devel] Restarting a systemd service with new command line options from systemctl?

2018-07-07 Thread Michael Chapman
On Sat, 7 Jul 2018, Rick Beldin wrote: [...] > # systemctl restart systemd-udevd --debug > systemctl: unrecognized option '--debug' You would need to override the service's ExecStart= setting if you wanted to do it that way. > Is there a more supported way of doing this with systemctl for system

Re: [systemd-devel] upower fails with PrivateNetwork=true

2018-07-07 Thread Reindl Harald
Am 07.07.2018 um 14:35 schrieb Michael Biebl: > Tbh, I find it a bit confusing that we have three mechanisms now > (PrivateNetwork, RestrictAddressFamilies, IPAddressDeny) and when one > is supposed to use which one of these. why * PrivateNetwork -> big hammer service needs no network stuff a

[systemd-devel] Restarting a systemd service with new command line options from systemctl?

2018-07-07 Thread Rick Beldin
Hi... I was trying to understand some systemd-udevd interactions and from source I could see that if systemd-udevd was started with --debug option, it would log additional items, for example: 786 /* 787 * We have partitions but re-reading the partition table di

Re: [systemd-devel] upower fails with PrivateNetwork=true

2018-07-07 Thread Michael Biebl
2018-07-06 13:23 GMT+02:00 Lennart Poettering : > Yes, Mantas is right, PrivateNetwork= disconnects the whole of > AF_NETLINK from the rest of the system, which means services that > require libudev device events can't use it. Thank you Lennart and Mantas. I was indeed not aware that PrivateNetwor

[systemd-devel] Why doesn't `systemd-random-seed load` use RNDADDENTROPY ?

2018-07-07 Thread Colin Walters
Came up in this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1572944#c44 As far as I can see it never did, but here the entropy is fully trusted; seems like using the ioctl would help avoid some entropy fallout from the recent kernel random changes, right? _