[systemd-devel] systemd suspending docked laptop?

2018-10-16 Thread Jan Bakuwel
Hi all, ii  systemd 237-3ubuntu10.3 amd64    system and service manager ii  systemd-sysv 237-3ubuntu10.3 amd64    system and service manager - SysV links running on a 64bit Linux Mint 19 (based on Ubuntu Bionic) Dell Latitude laptop. Either

Re: [systemd-devel] why don't "/usr/bin/systemd-run -t" finish within a cronjob anymore?

2018-10-16 Thread Lennart Poettering
On So, 07.10.18 00:26, Reindl Harald (h.rei...@thelounge.net) wrote: > Fedora 28: > > root7902 0.0 0.0 75008 3532 ?SN 00:07 0:00 > /usr/bin/systemd-run -t -p ProtectSystem=full -p ProtectHome=yes -p > PrivateDevices=yes -p PrivateTmp=yes -p NoNewPrivileges=yes --quiet >

Re: [systemd-devel] Umbrella unit for a group of application components

2018-10-16 Thread Lennart Poettering
On Sa, 13.10.18 14:14, Kevin Barry (barr...@gmail.com) wrote: > So I tried making it into a service (oneshot, /bin/true, > RemainAfterExit - I know this is a hack). If I say it "Wants" the > individual components, then it starts them correctly, but still thinks > it is up even if individual

Re: [systemd-devel] systemd offline-update functionality

2018-10-16 Thread Lennart Poettering
On Mo, 15.10.18 23:18, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote: > > The same documentation page recommends setting “FailureAction = > > reboot” in case the update script fails to complete. However, this > > does not seem to reboot the machine properly (e.g. I don’t see a POST > > screen +

Re: [systemd-devel] Upower service fails to start

2018-10-16 Thread Lennart Poettering
On Di, 16.10.18 11:20, Malcolm White (wishbone42...@gmail.com) wrote: > Hi, > > I am running openSUSE Tumbleweed with KDE on a x86-64 desktop. The system > was updated (zypper dup) today, but I've been having an issue with the > upower service for a couple of months and have not been able to

Re: [systemd-devel] Global nspawn container settings

2018-10-16 Thread Colin Guthrie
Lennart Poettering wrote on 16/10/18 15:23: > On Di, 16.10.18 14:15, Gervais, Francois (fgerv...@distech-controls.com) > wrote: > >> Hi, >> >> I saw the .nspawn files which can be used to add settings to a specific >> machine. >> >> I'd like to know if there is a way to add settings to all

Re: [systemd-devel] How safe are D and R directives for systemd-tmpfiles?

2018-10-16 Thread Lennart Poettering
On Di, 16.10.18 20:03, Amish (anon.am...@gmail.com) wrote: > But is there a config file where this can be mentioned? (separate prefix for > create and remove) This is not available right now, and what'd be the usecae for that? > OR can the default unit file be changed? >

Re: [systemd-devel] How safe are D and R directives for systemd-tmpfiles?

2018-10-16 Thread Amish
On 16/10/18 7:03 PM, Lennart Poettering wrote: On Di, 16.10.18 18:14, Amish (anon.am...@gmail.com) wrote: Does systemd have a way of specifying that R and D should be applicable only for /tmp or /var/{cache,run,tmp} only? When you invoke the systemd-tmpfiles binary you could specify --prefix=

Re: [systemd-devel] Global nspawn container settings

2018-10-16 Thread Lennart Poettering
On Di, 16.10.18 14:15, Gervais, Francois (fgerv...@distech-controls.com) wrote: > Hi, > > I saw the .nspawn files which can be used to add settings to a specific > machine. > > I'd like to know if there is a way to add settings to all machines at once. > > For example, I'd like all machines

[systemd-devel] Global nspawn container settings

2018-10-16 Thread Gervais, Francois
Hi, I saw the .nspawn files which can be used to add settings to a specific machine. I'd like to know if there is a way to add settings to all machines at once. For example, I'd like all machines to bind-ro my .bashrc so I feel more at home :) ___

Re: [systemd-devel] How safe are D and R directives for systemd-tmpfiles?

2018-10-16 Thread Lennart Poettering
On Di, 16.10.18 18:14, Amish (anon.am...@gmail.com) wrote: > Hello, > > I am interested in knowing how safe D and R directives for tmpfiles.d are? > > If by some accident OR some packagers malicious intent - someone places a > file with "R /" in tmpfiles.d, would this erase everything? We

[systemd-devel] How safe are D and R directives for systemd-tmpfiles?

2018-10-16 Thread Amish
Hello, I am interested in knowing how safe D and R directives for tmpfiles.d are? If by some accident OR some packagers malicious intent - someone places a file with "R /" in tmpfiles.d, would this erase everything? Does systemd have a way of specifying that R and D should be applicable

Re: [systemd-devel] Upower service fails to start

2018-10-16 Thread Reindl Harald
Am 16.10.18 um 12:43 schrieb Reindl Harald: >> pepper:/usr/lib/systemd # systemctl status upower.service >> ● upower.service - Daemon for power management >>    Loaded: loaded (/usr/lib/systemd/system/upower.service; disabled; >> vendor preset: disabled) >>    Active: failed (Result: exit-code)

Re: [systemd-devel] Upower service fails to start

2018-10-16 Thread Reindl Harald
Am 16.10.18 um 12:20 schrieb Malcolm White: > I am running openSUSE Tumbleweed with KDE on a x86-64 desktop. The > system was updated (zypper dup) today, but I've been having an issue > with the upower service for a couple of months and have not been able to > discover a resolution amongst the

[systemd-devel] Upower service fails to start

2018-10-16 Thread Malcolm White
Hi, I am running openSUSE Tumbleweed with KDE on a x86-64 desktop. The system was updated (zypper dup) today, but I've been having an issue with the upower service for a couple of months and have not been able to discover a resolution amongst the openSUSE community. The underlying cause