Re: [systemd-devel] socket activation socket context when using SELinuxContextFromNet

2022-09-14 Thread Lennart Poettering
On Mo, 12.09.22 13:26, Ted Toth ([email protected]) wrote: > I've been looking at the issue of systemd setting the socket > activation socket context to init_t when using SELinuxContextFromNet. > My initial thought was to use the port context set by running semanage > and compute the socket context

[systemd-devel] socket activation socket context when using SELinuxContextFromNet

2022-09-12 Thread Ted Toth
I've been looking at the issue of systemd setting the socket activation socket context to init_t when using SELinuxContextFromNet. My initial thought was to use the port context set by running semanage and compute the socket context using a type transition for the port type to a socket type. Howeve