Re: [systemd-devel] socket activation selinux context on create

2022-09-02 Thread Lennart Poettering
On Fr, 02.09.22 09:04, Ted Toth (txt...@gmail.com) wrote: > I have set the type for the port in question using the 'semanage port' > command so the loaded policy has a type which systemd should use when > calling setsockcreatecon. It is my opinion that > socket_determine_selinux_label function sho

Re: [systemd-devel] socket activation selinux context on create

2022-09-02 Thread Ted Toth
I have set the type for the port in question using the 'semanage port' command so the loaded policy has a type which systemd should use when calling setsockcreatecon. It is my opinion that socket_determine_selinux_label function should query policy for the port type and if it has been set use it an

Re: [systemd-devel] Antw: Antw: [EXT] SRe: VirtualBox VM as a unit failures

2022-09-02 Thread Colin Guthrie
Ulrich Windl wrote on 02/09/2022 10:08: "Ulrich Windl" schrieb am 02.09.2022 um 10:12 in Nachricht <6311bafe02a10004d...@gwsmtp.uni-regensburg.de>: Hi! The other thing that came to my mind was the ASCI power button: The system Time for the week-end: s/ASCI/ACPI/ might actually block o

Re: [systemd-devel] Antw: [EXT] SRe: VirtualBox VM as a unit failures

2022-09-02 Thread Peter Hoeg
VBoxManage controlvm "$VM_NAME" acpipowerbutton Or run whatever is VBox's command to pause and save the VM state. Sure, writing out the memory state file(s) takes a while if you have several VMs with lots of memory assigned, but at least it's deterministic *and* you avoid yanking the

[systemd-devel] Antw: Antw: [EXT] SRe: VirtualBox VM as a unit failures

2022-09-02 Thread Ulrich Windl
>>> "Ulrich Windl" schrieb am 02.09.2022 um 10:12 in Nachricht <6311bafe02a10004d...@gwsmtp.uni-regensburg.de>: > Hi! > > The other thing that came to my mind was the ASCI power button: The system Time for the week-end: s/ASCI/ACPI/ > might actually block or ignore it (or asking for the adm

[systemd-devel] Antw: [EXT] SRe: VirtualBox VM as a unit failures

2022-09-02 Thread Ulrich Windl
Hi! The other thing that came to my mind was the ASCI power button: The system might actually block or ignore it (or asking for the admin password). So I think it would be a good idea to have a "second line of defense" causing a hard stop (power off) if the first method fails within a reasonable t

Re: [systemd-devel] Problem: Renaming the USB network interface makes SYSTEMD_WANTS not working

2022-09-02 Thread Charles
All right, well, thank you for you help Andrei. Sent with Proton Mail secure email. --- Original Message --- On Monday, August 29th, 2022 at 7:46 PM, Andrei Borzenkov wrote: > On 29.08.2022 19:38, Charles wrote: > > > Hello Andrei! > > > > I'm French, thank you for helping me out!