Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-05-22 Thread Alex Hunsaker
On Tue, May 20, 2014 at 6:37 PM, Lennart Poettering wrote: > THis should be fixed now in systemd git. We will now check against the > system user UID threshold before removing the IPC objects. Awesome, Thank you!. ___ systemd-devel mailing list systemd

Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-05-20 Thread Lennart Poettering
On Wed, 02.04.14 15:53, Alex Hunsaker (bada...@gmail.com) wrote: > Systemd 212 defaults to remove all IPC (including SYSV memory) when a > user "fully" logs out. > > Because the postgresql service does not count as a login, if you ssh > in as postgres (I'm rsycing wal files) and then logout. Syst

Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-05-20 Thread Lennart Poettering
On Fri, 11.04.14 14:19, David Timothy Strauss (da...@davidstrauss.net) wrote: > > Maybe if any service is running something as a user *or* it's a system > user, that user is immune to RemoveIPC? I am not sure how we could sanely figure that out... My supsicion would be to better just turn off R

Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-04-11 Thread David Timothy Strauss
Maybe if any service is running something as a user *or* it's a system user, that user is immune to RemoveIPC? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-04-11 Thread David Timothy Strauss
On Thu, Apr 10, 2014 at 9:01 PM, Lennart Poettering wrote: > Yuck, I figure we need to ignore RemoveIPC for all system users, not > just for root. This still seems dangerous to me. I'm sure I have services running under users where I've forgotten the "system" flag for the users. _

Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-04-11 Thread Reindl Harald
Am 11.04.2014 03:01, schrieb Lennart Poettering: > Tradditionally on Linux this is done via login.defs, but I am > really not convinced this should be runtime configurable. I'd prefer to > detect the minimal normal UID at compile time, and then use that to > distuingish normal from system users

Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-04-10 Thread Lennart Poettering
On Wed, 02.04.14 15:53, Alex Hunsaker (bada...@gmail.com) wrote: > Systemd 212 defaults to remove all IPC (including SYSV memory) when a > user "fully" logs out. > > Because the postgresql service does not count as a login, if you ssh > in as postgres (I'm rsycing wal files) and then logout. Syst

Re: [systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-04-02 Thread David Timothy Strauss
Oh dear. Perhaps there's a way to use cgroups data to more selectively do cleanup when there's overlap between regular users and service users? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinf

[systemd-devel] Systemd 212 RemoveIPC=yes breaks postgresql

2014-04-02 Thread Alex Hunsaker
Systemd 212 defaults to remove all IPC (including SYSV memory) when a user "fully" logs out. Because the postgresql service does not count as a login, if you ssh in as postgres (I'm rsycing wal files) and then logout. Systemd removes the postgres SYSV memory bringing down postgres with fun errors