[systemd-devel] [PATCH] cryptsetup: fix keyfile size option processing

2011-04-25 Thread Milan Broz
/etc/crypttab uses "size" argument only for plain crypt mapping (and input is limited to volume key size) For LUKS it always read whole keyfile (no arguments except "luks" should be in crypttab). Because of bug in cryptsetup 1.2.0 (fixed in 1.3.0) library did not enforced keyfile size argument, s

Re: [systemd-devel] tmpfile white listing [PATCH]v2

2011-04-25 Thread William Douglas
Hello all, Below is an updated patch for tmpfile white listing. -- William Douglas, Intel Open Source Technology Center >From ddbc0e7bd178227e12df461942bc13363a3023e0 Mon Sep 17 00:00:00 2001 From: William Douglas Date: Tue, 19 Apr 2011 15:12:19 -0700 Subject: [PATCH] Implement tmpfile white

Re: [systemd-devel] [PATCH] Add --disable-binfmt configure switch

2011-04-25 Thread Miklos Vajna
On Wed, Apr 20, 2011 at 11:02:39PM +0200, Miklos Vajna wrote: > I'm attaching a patch adding --disable-binfmt. Updated version, taking care of .automount/.mount units as well. From 5139630c2730d87dad127f49fd6f37bcb46e3e34 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 20 Apr 2011 22:59:

Re: [systemd-devel] systemd-clean and large files

2011-04-25 Thread Kay Sievers
On Mon, Apr 25, 2011 at 12:12, jean-michel.poll...@laposte.net wrote: > > I'm trying to use the systemd-tmpfiles-clean service with a backup directory, > but it always fails to start, with the "Value too large for defined data > type" error, which I think means largefile support is not enabled b

Re: [systemd-devel] How to handle daemon which takes some minutes to terminate?

2011-04-25 Thread Kay Sievers
On Mon, Apr 25, 2011 at 14:41, Baldur wrote: > i have a daemon (ice generator) which behaves a little bit different than > normal daemons. The icegeneratord daemon, provides me with an mp3 stream. > Whenever i send a kill signal (TERM/HUP)  this deamon will terminate > eventually, however it will

Re: [systemd-devel] What makes systemd-nspawn "not suitable for secure container setups"?

2011-04-25 Thread microcai
于 2011年04月25日 20:43, Daniel J Walsh 写道: > SELinux would be a good start. No, root inside can still change SE-Linux policy. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] What makes systemd-nspawn "not suitable for secure container setups"?

2011-04-25 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/22/2011 07:42 PM, Josh Triplett wrote: > The systemd-nspawn manpage lists the various mechanisms used to isolate > the container, and then says "Note that even though these security > precautions are taken systemd-nspawn is not suitable for secur

[systemd-devel] How to handle daemon which takes some minutes to terminate?

2011-04-25 Thread Baldur
Hi all, i have a daemon (ice generator) which behaves a little bit different than normal daemons. The icegeneratord daemon, provides me with an mp3 stream. Whenever i send a kill signal (TERM/HUP) this deamon will terminate eventually, however it will terminate after it has played the last song f

[systemd-devel] my system doesn't want to shutdown

2011-04-25 Thread Michał Piotrowski
Hi, Recently, I noticed that my system does not want to shutdown properly. I suspect that this has something to do with systemd v25. Anyone noticed this problem? The last message that appears on shutdown is "Stopped SYSV: PostgreSQL database server..". -- Best regards, Michal http://eventhorizo

[systemd-devel] systemd-clean and large files

2011-04-25 Thread jean-michel.poll...@laposte.net
Hi, I'm trying to use the systemd-tmpfiles-clean service with a backup directory, but it always fails to start, with the "Value too large for defined data type" error, which I think means largefile support is not enabled by default on these tools (I'm on a 32 bit system) and probably others,

Re: [systemd-devel] Invalid poll event on socket

2011-04-25 Thread Albert Strasheim
Hello On Mon, Apr 25, 2011 at 10:03 AM, Albert Strasheim wrote: > With systemd 25 I get: >> systemd[1]: Got invalid poll event on socket. > systemd[1]: foo.socket: Got invalid poll event (0x11) on socket. I think I know what's going on here. My service that is consuming this socket is written i

Re: [systemd-devel] Invalid poll event on socket

2011-04-25 Thread Albert Strasheim
Hello On Mon, Apr 25, 2011 at 9:59 AM, Albert Strasheim wrote: > On Wed, Apr 20, 2011 at 1:49 AM, Lennart Poettering > wrote: >> On Tue, 12.04.11 16:15, Albert Strasheim (full...@gmail.com) wrote: >> Heya, >>> I had the following in my syslog today while my service was running: >>> systemd[1]: G

Re: [systemd-devel] Invalid poll event on socket

2011-04-25 Thread Albert Strasheim
Hello On Wed, Apr 20, 2011 at 1:49 AM, Lennart Poettering wrote: > On Tue, 12.04.11 16:15, Albert Strasheim (full...@gmail.com) wrote: > Heya, >> I had the following in my syslog today while my service was running: >> systemd[1]: Got invalid poll event on socket. >> systemd[1]: foo.service: main