[systemd-devel] Question about a random UDP port on rpcbind 0.2.3 started by systemd

2018-01-25 Thread Bao Nguyen
Hello evryone, I would like to ask you a question regarding the new random UDP port in rpcbind 0.2.3. In rpcbind 0.2.3, when I start rpcbind (version 0.2.3) through rpcbind.service, then I do netstat udp0 0 0.0.0.0:111 0.0.0.0:* 10408/rpcbind udp0 0 0.0

[systemd-devel] Behavior of BindsTo when stopping a service

2018-01-25 Thread Amit Saha
Hello, I have a systemd service - drainconnections which I want to to make sure finishes stopping before systemd starts stopping another service. What I also want is to if I stop supervisord service, drainconnections should be stopped first. It seems like BindsTo is what I need for establishing t

Re: [systemd-devel] Udev rules

2018-01-25 Thread Dmitry Torokhov
On Tue, Jan 23, 2018 at 2:08 AM, Michael wrote: > Hi > why can't the Udev rules be automated or removed? As described here users > only need to paste infos from lsusb etc. > https://forums.x-plane.org/index.php?/forums/topic/72733-writing-and-debugging-udev-rules/&page=2 > But such a huge pain in

Re: [systemd-devel] Service to pause startup and wait for user input

2018-01-25 Thread Tomasz Torcz 👁️
On Thu, Jan 25, 2018 at 05:24:28PM +, Boyce, Kevin P [US] (AS) wrote: > Good Afternoon List, > > Does anyone know if there is a way to create a service unit that pauses early > on in the boot sequence and asks the user a question? > A reply would be required via keyboard. This is an antipa

Re: [systemd-devel] Again, why this strange behavior implied by "auto" in fstab ?

2018-01-25 Thread Michael Chapman
On Thu, 25 Jan 2018, Thomas Blume wrote: [...] Suppressing the auto mount when a device (re)appears, is usually desired during some administrative tasks. What about lowering the hurdle for administrators by introducing a new systemctl command? Maybe something like: systemctl lock $DEVICE We co

Re: [systemd-devel] Service to pause startup and wait for user input

2018-01-25 Thread Uoti Urpala
On Thu, 2018-01-25 at 17:24 +, Boyce, Kevin P [US] (AS) wrote: > Does anyone know if there is a way to create a service unit that > pauses early on in the boot sequence and asks the user a question? > A reply would be required via keyboard. There is no separate "pause" feature. You can likely

Re: [systemd-devel] Again, why this strange behavior implied by "auto" in fstab ?

2018-01-25 Thread Uoti Urpala
On Thu, 2018-01-25 at 15:40 +0100, Franck Bui wrote: > Sorry I was probably not clear: by "do the equivalent of "mount -a" > during boot only" I meant to mount fs listed in fstab (without > "noauto") the way it's done currently by systemd during boot. > > During boot there shouldn't be any chang

Re: [systemd-devel] Service to pause startup and wait for user input

2018-01-25 Thread Mantas Mikulėnas
On Thu, Jan 25, 2018 at 7:24 PM, Boyce, Kevin P [US] (AS) < kevin.bo...@ngc.com> wrote: > Good Afternoon List, > > > > Does anyone know if there is a way to create a service unit that pauses > early on in the boot sequence and asks the user a question? > > A reply would be required via keyboard. >

[systemd-devel] Service to pause startup and wait for user input

2018-01-25 Thread Boyce, Kevin P [US] (AS)
Good Afternoon List, Does anyone know if there is a way to create a service unit that pauses early on in the boot sequence and asks the user a question? A reply would be required via keyboard. Thanks, Kevin ___ systemd-devel mailing list systemd-devel@

Re: [systemd-devel] [PATCH weston] doc/systemd: system service example

2018-01-25 Thread Matt Hoosier
On Mon, Jan 22, 2018 at 7:49 AM, Pekka Paalanen wrote: > On Fri, 29 Dec 2017 15:09:28 -0600 > Matt Hoosier wrote: > >> Hi Lennart, >> >> On Mon, Dec 4, 2017 at 9:11 AM, Pekka Paalanen wrote: >> > On Fri, 1 Dec 2017 18:25:35 +0100 >> > Lennart Poettering wrote: >> > > >> >> So, as long as weston

Re: [systemd-devel] Again, why this strange behavior implied by "auto" in fstab ?

2018-01-25 Thread Franck Bui
On 01/25/2018 02:27 PM, Colin Guthrie wrote: >> Initially "noauto" is interpreted only (?) by "mount -a" which was done >> during boot and can still be re-played later by admin. But in the later >> case the command is *initiated* by him so there's no magic here. >> >> systemd redefined this though:

Re: [systemd-devel] Again, why this strange behavior implied by "auto" in fstab ?

2018-01-25 Thread Colin Guthrie
Franck Bui wrote on 25/01/18 08:11: >> Well, traditionally "auto" was a boolean (and it is in the /bin/mount >> sources still): "auto" means on, "noauto" means off. And the default >> was "auto". Redefining this to make something else the default, or >> even treating this as a tri-state now of "on"

[systemd-devel] VRF - netdev could not be created: Operation not supported

2018-01-25 Thread Martin Belanger
Hi, I'm trying to create a vrf netdev, but I get this error message: systemd-networkd[3818]: vrf-test: netdev could not be created: Operation not supported It's not clear what "operation not supported" means. Is it because the kernel doesn't support VRF? Here's some info about my system: sys

Re: [systemd-devel] Again, why this strange behavior implied by "auto" in fstab ?

2018-01-25 Thread Franck Bui
On 01/24/2018 04:33 PM, Lennart Poettering wrote: >> Furthermore, it complicates the disk administrative tasks because now >> one needs to be careful when it creates and initialize partitions >> because systemd can mount the partition on the back of the user. We >> recently had one such bug report