[systemd-devel] Using udev to notify application of device insertion/removal

2018-07-02 Thread Paul D. DeRocco
System: Yocto-based RT Linux 4.10.17, systemd 232, 32-bit x86, no GUI. I've created the following "midiUSB.rules" file: ACTION=="add", KERNEL=="midiC*", SUBSYSTEM=="sound", SYMLINK+="snd/midi%b", RUN="/bin/touch /media/sda1/share/devchg" ACTION=="remove", KERNEL=="midiC*", SUBSYSTEM=="sound", RUN

Re: [systemd-devel] systemd-nspawn: starting multiple shells

2018-07-02 Thread Lennart Poettering
On Mo, 02.07.18 17:25, Nikolaus Rath (nikol...@rath.org) wrote: > On Jul 02 2018, Lennart Poettering wrote: > >> Still not quite working, now there seems to be a problem with > >> /proc/self/fd in the new shell: > >> > >> $ sudo systemd-nspawn -M $MACHINE \ > >> --private-users=1379532800:6

Re: [systemd-devel] systemd-nspawn: starting multiple shells

2018-07-02 Thread Nikolaus Rath
On Jul 02 2018, Lennart Poettering wrote: >> Still not quite working, now there seems to be a problem with >> /proc/self/fd in the new shell: >> >> $ sudo systemd-nspawn -M $MACHINE \ >> --private-users=1379532800:65536 --private-network \ >> --as-pid2 [...] >> >> What's happening here

Re: [systemd-devel] systemd-nspawn: starting multiple shells

2018-07-02 Thread Lennart Poettering
On Fr, 29.06.18 21:24, Nikolaus Rath (nikol...@rath.org) wrote: > >> The 'nsenter' approach seems to work so far, but I don't see a generally > >> applicable way to figure out the right PID. Is there a trick for > >> that? > > > > machinectl show --value $MACHINE -p Leader > > Still not quite wor

Re: [systemd-devel] starting a service before anything else....

2018-07-02 Thread Lennart Poettering
On Mo, 02.07.18 10:50, MALET Jean-Luc (jeanluc.malet.snow...@gmail.com) wrote: > > > Le 28/06/2018 à 17:02, Reindl Harald a écrit : > > Am 28.06.2018 um 16:55 schrieb MALET Jean-Luc: > > > I'm in charge of setting up an embedded solution based on debian, so on > > > systemd, I'm more used to old

Re: [systemd-devel] starting a service before anything else....

2018-07-02 Thread Reindl Harald
Am 02.07.2018 um 10:50 schrieb MALET Jean-Luc: > Le 28/06/2018 à 17:02, Reindl Harald a écrit : >> Am 28.06.2018 um 16:55 schrieb MALET Jean-Luc: >>> I'm in charge of setting up an embedded solution based on debian, so on >>> systemd, I'm more used to old init process, that was easy to tweak >>>

Re: [systemd-devel] starting a service before anything else....

2018-07-02 Thread MALET Jean-Luc
Le 28/06/2018 à 17:02, Reindl Harald a écrit : Am 28.06.2018 um 16:55 schrieb MALET Jean-Luc: I'm in charge of setting up an embedded solution based on debian, so on systemd, I'm more used to old init process, that was easy to tweak because based on script... but well... times seems now on sys