[systemd-devel] cgroup messages on service stop

2025-06-04 Thread Orion Poplawski
ity-tools/etc/bdsecd.json -k [Install] WantedBy=bdsec.service -- Orion Poplawski he/him/his - surely the least important thing about me Manager of IT Systems 720-772-5637 NWRA, Boulder Office FAX: 303-415-9702 3380 Mitchell Lane or...@n

Re: [systemd-devel] Inhibit locks via unit file

2024-04-09 Thread Orion Poplawski
he ExecStartPost perhaps that isn't what I want. > ------ > *From:* systemd-devel on behalf of Orion Poplawski > *Sent:* Tuesday, April 9, 2024 2:46 PM > *To:* Systemd > *Subject:* [EXTERNAL] [systemd-devel] In

[systemd-devel] Inhibit locks via unit file

2024-04-09 Thread Orion Poplawski
Is there a way for a service unit to take out inhibit locks via settings in the unit file? My searches are coming up empty... Thanks. -- Orion Poplawski he/him/his - surely the least important thing about me Manager of IT Systems 720-772-5637 NWRA, Boulder/CoRA Office

Re: [systemd-devel] How to automatically decrypt a disk on connection

2024-03-28 Thread Orion Poplawski
On 3/28/24 01:30, Andrei Borzenkov wrote: On Wed, Mar 27, 2024 at 9:49 PM Orion Poplawski wrote: Use $kernel in rule and /dev/%I in service. Thank you, that works. udev monitor -p doesn't show the value of KERNEL so I didn't see that as an option. udev documentation lists $k

Re: [systemd-devel] How to automatically decrypt a disk on connection

2024-03-27 Thread Orion Poplawski
On 3/27/24 12:22, Andrei Borzenkov wrote: > On 27.03.2024 20:56, Orion Poplawski wrote: >> The only thing that's a bit funky with it is that it generates: >> >> Invalid unit name "clevis-luks-unlock@/dev/sda1.service" escaped as >> "clevis-luks-

Re: [systemd-devel] How to automatically decrypt a disk on connection

2024-03-27 Thread Orion Poplawski
On 3/27/24 11:56, Orion Poplawski wrote: > On 3/27/24 10:22, Mantas Mikulėnas wrote: >> >> >> On Wed, Mar 27, 2024, 16:36 Orion Poplawski > <mailto:or...@nwra.com>> wrote: >> >> >> >> Can I setup a unit that gets started automatically

Re: [systemd-devel] How to automatically decrypt a disk on connection

2024-03-27 Thread Orion Poplawski
On 3/27/24 10:22, Mantas Mikulėnas wrote: > > > On Wed, Mar 27, 2024, 16:36 Orion Poplawski <mailto:or...@nwra.com>> wrote: > > > > Can I setup a unit that gets started automatically when a particular > dev-disk-by-uuid device becomes present? &g

Re: [systemd-devel] How to automatically decrypt a disk on connection

2024-03-27 Thread Orion Poplawski
On 3/27/24 07:29, Andrei Borzenkov wrote: On Wed, Mar 27, 2024 at 12:35 AM Orion Poplawski wrote: Sorry this isn't strictly devel - but it is a bit non-standard. I need to automatically unlock an encrypted disk on connection to a machine, with the caveat that I'm not mounting it -

[systemd-devel] How to automatically decrypt a disk on connection

2024-03-26 Thread Orion Poplawski
rror-message=n/a Mar 26 14:27:24 systemd[1]: Sent message type=signal sender=n/a destination=n/a path=/org/freedesktop/systemd1/unit/dev_2ddisk_2dby_5cx2dpartlabel_2dLinux_5cx5cx20filesystem_2edevice interface=org.freedesktop.DBus.Properties member=PropertiesChanged cookie=484765 reply_cookie=0 signature=sa{sv}as

Re: [systemd-devel] Delaying VM startup until block devices are available

2024-01-26 Thread Orion Poplawski
On 1/26/24 01:21, Lennart Poettering wrote: > On Do, 25.01.24 16:28, Orion Poplawski (or...@nwra.com) wrote: > >> We have various VMs that are back by luks encrypted LVs. At boot the volumes >> are decrypted by clevis. The problem we are seeing at the moment is that the

[systemd-devel] Delaying VM startup until block devices are available

2024-01-25 Thread Orion Poplawski
/etc/crypttab were unlocked, rather than having to specify each one. But I don't see a target for that. Thank you for your consideration, Orion -- Orion Poplawski he/him/his - surely the least important thing about me Manager of IT Systems 720-772-5637 NWRA, Bo

Re: [systemd-devel] Transaction contains conflicting jobs 'restart' and 'stop'

2016-03-11 Thread Orion Poplawski
Andrei Borzenkov gmail.com> writes: > 11.03.2016 00:11, Orion Poplawski пишет: > > Uoti Urpala pp1.inet.fi> writes: > >> On Thu, 2016-03-10 at 17:51 +, Orion Poplawski wrote: > >>> It appears that this is a trigger for this issue. Removing the > &g

Re: [systemd-devel] Transaction contains conflicting jobs 'restart' and 'stop'

2016-03-10 Thread Orion Poplawski
Uoti Urpala pp1.inet.fi> writes: > > On Thu, 2016-03-10 at 17:51 +0000, Orion Poplawski wrote: > > Orion Poplawski cora.nwra.com> writes: > > >  > > > # systemctl restart firewalld > > > Failed to restart firewalld.service: Transaction contains >

Re: [systemd-devel] Transaction contains conflicting jobs 'restart' and 'stop'

2016-03-10 Thread Orion Poplawski
Orion Poplawski cora.nwra.com> writes: > > Can someone please explain this to me? > > # systemctl restart firewalld > Failed to restart firewalld.service: Transaction contains conflicting jobs > 'restart' and 'stop' for fail2ban.service. Probably

[systemd-devel] Transaction contains conflicting jobs 'restart' and 'stop'

2016-03-10 Thread Orion Poplawski
Can someone please explain this to me? # systemctl restart firewalld Failed to restart firewalld.service: Transaction contains conflicting jobs 'restart' and 'stop' for fail2ban.service. Probably contradicting requirement dependencies configured. # cat /usr/lib/systemd/system/fail2ban.service [Un