[systemd-devel] systemd kills user's scopes/sessions before shutdown service

2019-12-30 Thread Kamal Rathi
Hi Git-Hub Mailing List, I am designing a stop service which has to be run before the kill of user's scope / session . As the reboot or shutdown are being initiated the systemd kill all the users which are in user's.slice before the script ran so the script is of no use if the user session are kil

Re: [systemd-devel] Cannot create 'home' directory systemd-tmpfiles-setup.service

2019-12-30 Thread Mantas Mikulėnas
On Mon, Dec 30, 2019 at 1:58 PM Bao Nguyen wrote: > Hi everyone, > > systemd-tmpfiles-setup.service throws a strange error when booting my > system > > . > Dec 30 11:32:53 mynode systemd-tmpfiles[751]: Failed to open directory > 'home': No such file or directory > Dec 30 11:32:53 mynode systemd[1

[systemd-devel] Cannot create 'home' directory systemd-tmpfiles-setup.service

2019-12-30 Thread Bao Nguyen
Hi everyone, systemd-tmpfiles-setup.service throws a strange error when booting my system . Dec 30 11:32:53 mynode systemd-tmpfiles[751]: Failed to open directory 'home': No such file or directory Dec 30 11:32:53 mynode systemd[1]: systemd-tmpfiles-setup.service: Job systemd-tmpfiles-setup.servic

Re: [systemd-devel] List service units for dependency tracking?

2019-12-30 Thread Ignaz Forster
Am 27.12.19 um 19:08 Uhr schrieb Jeffrey Walton: I have three services I need to automatically start sometime around boot in a mostly unattended environment. My services depend on other services, like the USB bus and GUI environment. My question is, how can I list the various service units to de

Re: [systemd-devel] systemd unit file to remount /home /tmp /dev/shm /run with nosuid, nodev

2019-12-30 Thread Mantas Mikulėnas
On Mon, Dec 30, 2019 at 12:10 PM Patrick Schleizer < [email protected]> wrote: > Hello, > > a script to remount /home /tmp /dev/shm /run (configurable) with > nosuid,nodev (+noexec configurable) has been created by me. The purpose > of remounting is increasing the security of the sys

[systemd-devel] systemd unit file to remount /home /tmp /dev/shm /run with nosuid, nodev

2019-12-30 Thread Patrick Schleizer
Hello, a script to remount /home /tmp /dev/shm /run (configurable) with nosuid,nodev (+noexec configurable) has been created by me. The purpose of remounting is increasing the security of the system. The script shall run as early as reasonably possible during boot. The systemd unit file [1] and s