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

2011-04-26 Thread [email protected]
> Message du 25/04/11 19:30 > De : "Kay Sievers" > A : "[email protected]" > Copie à : [email protected] > Objet : Re: [systemd-devel] systemd-clean and large files > > > > I think that's a bug anyway, as that means that putting a correct conf file > > in /etc/t

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

2011-04-26 Thread William Douglas
Lennart Poettering writes: > Hmm, please don't put patches after the "-- " line in your mails. I have > trouble responding to your patch mail that way, since my mailer cuts off > signatures (i.e. everything after "-- ") automatically on reply. Sorry about that, good to know for the future. > I a

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

2011-04-26 Thread Lennart Poettering
On Tue, 26.04.11 23:31, Miklos Vajna ([email protected]) wrote: > On Tue, Apr 26, 2011 at 11:26:18PM +0200, Lennart Poettering > wrote: > > Hmm, doesn't apply on current git... :-( > > > > Can you rebase? > > Oh, sure I forgot to pull Kay's stacked config patches. Thanks! Applied! Lenna

Re: [systemd-devel] How to implement fsck progress report with systemd and plymouth?

2011-04-26 Thread Ray Strode
Hi, On Tue, Apr 26, 2011 at 5:11 PM, Lennart Poettering wrote: > I would suggest to leave the parsing of the fsck -C output to fsckd, as > well as the integration of multiple of these streams. fsckd would then > only pass one stream of progress bar information to plymouth. The > handling in Plymo

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

2011-04-26 Thread Miklos Vajna
On Tue, Apr 26, 2011 at 11:26:18PM +0200, Lennart Poettering wrote: > Hmm, doesn't apply on current git... :-( > > Can you rebase? Oh, sure I forgot to pull Kay's stacked config patches. From 3f3b485ad26324e98d2c8a07f78c2c36f035f6cb Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 20 Apr

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

2011-04-26 Thread Lennart Poettering
On Tue, 26.04.11 23:24, Miklos Vajna ([email protected]) wrote: > On Tue, Apr 26, 2011 at 08:37:24PM +0200, Lennart Poettering > wrote: > > OK, one last request before I merge it. Could you rename the conditional > > to ENABLE_BINFMT please? I'd like to make clear that this is a boolean > >

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

2011-04-26 Thread Miklos Vajna
On Tue, Apr 26, 2011 at 08:37:24PM +0200, Lennart Poettering wrote: > OK, one last request before I merge it. Could you rename the conditional > to ENABLE_BINFMT please? I'd like to make clear that this is a boolean > conditional instead of anything elsse. Sure, third version attached (including

Re: [systemd-devel] How to implement fsck progress report with systemd and plymouth?

2011-04-26 Thread Lennart Poettering
On Tue, 26.04.11 16:59, Ray Strode ([email protected]) wrote: > > Here's what I'd suggest: We already have systemd-fsck, which we could > > beef up slightly to pass progress data to a tiny AF_UNIX socket > > activated service (let's call it fsckd) which integrates the data from > > multiple insta

Re: [systemd-devel] How to implement fsck progress report with systemd and plymouth?

2011-04-26 Thread Ray Strode
Hi, On Sun, Apr 24, 2011 at 5:19 PM, Lennart Poettering wrote: >> plymouth in Ubuntu 10.04 supports fsck progress report, and also >> provides a chance for user to cancel running fsck. How to implement >> this feature with systemd and plymouth? > > It's actually a really hard problem. For example

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

2011-04-26 Thread Lennart Poettering
On Tue, 26.04.11 00:15, Milan Broz ([email protected]) wrote: > /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 cryptse

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

2011-04-26 Thread Lennart Poettering
On Mon, 25.04.11 11:58, Albert Strasheim ([email protected]) wrote: Heya, > 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

Re: [systemd-devel] [PATCH] mount-setup: failure to mount cgroup controllers is not fatal

2011-04-26 Thread Lennart Poettering
On Fri, 22.04.11 13:14, Michal Schmidt ([email protected]) wrote: > Even after commit e5a53dc7 "cgroup: be nice to Ingo Molnar" systemd still > hangs on boot on a kernel without CONFIG_CGROUPS. > > mount_setup() must not fail when cgroup controllers cannot be mounted. > > https://bugzilla.redh

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

2011-04-26 Thread Lennart Poettering
On Mon, 25.04.11 14:38, William Douglas ([email protected]) wrote: > Hello all, heya, > > Below is an updated patch for tmpfile white listing. Hmm, please don't put patches after the "-- " line in your mails. I have trouble responding to your patch mail that way, since my mailer cuts

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

2011-04-26 Thread Lennart Poettering
On Mon, 25.04.11 22:25, Miklos Vajna ([email protected]) wrote: > 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. OK, one last request before I merge it.

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

2011-04-26 Thread Lennart Poettering
On Mon, 25.04.11 19:23, Kay Sievers ([email protected]) wrote: > > On Mon, Apr 25, 2011 at 12:12, [email protected] > 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 >

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

2011-04-26 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/26/2011 01:54 PM, Lennart Poettering wrote: > On Mon, 25.04.11 20:51, microcai ([email protected]) wrote: > >> 于 2011年04月25日 20:43, Daniel J Walsh 写道: >>> SELinux would be a good start. >> >> No, root inside can still change SE-Linux p

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

2011-04-26 Thread Lennart Poettering
On Mon, 25.04.11 20:51, microcai ([email protected]) wrote: > 于 2011年04月25日 20:43, Daniel J Walsh 写道: > > SELinux would be a good start. > > No, root inside can still change SE-Linux policy. No. The SELinux policy can forbid reloading the SELinux policy for certain users/processes. SE