Re: [systemd-devel] [PATCH] execute: Fix seccomp support on x32

2012-08-03 Thread microcai
2012/8/4 Lennart Poettering : > On Tue, 24.07.12 22:45, Jonathan Callen (a...@gentoo.org) wrote: > >> In the x32 ABI, syscall numbers start at 0x4000. Mask that bit on >> x32 for lookups in the syscall_names array and syscall_filter and ensure >> that syscall.h is parsed correctly. > > Hmpf, c

Re: [systemd-devel] [PATCH] build-sys: do not link systemctl against journal-internal and id128-internal

2012-08-03 Thread Peeters Simon
2012/8/4 Peeters Simon : > 2012/8/3 Kay Sievers : >> On Fri, Aug 3, 2012 at 8:02 PM, Zbigniew Jędrzejewski-Szmek >> wrote: >>> On 08/03/2012 07:31 PM, Lennart Poettering wrote: On Fri, 03.08.12 17:14, Peeters Simon (peeters.si...@gmail.com) wrote: > systemctl does not need the intern

Re: [systemd-devel] [PATCH] build-sys: do not link systemctl against journal-internal and id128-internal

2012-08-03 Thread Peeters Simon
2012/8/3 Kay Sievers : > On Fri, Aug 3, 2012 at 8:02 PM, Zbigniew Jędrzejewski-Szmek > wrote: >> On 08/03/2012 07:31 PM, Lennart Poettering wrote: >>> On Fri, 03.08.12 17:14, Peeters Simon (peeters.si...@gmail.com) wrote: >>> systemctl does not need the internal journal and id128 libraries to

Re: [systemd-devel] [PATCH] use "Out of memory." consistantly (or with "\n")

2012-08-03 Thread shawn
On Thu, 2012-07-26 at 11:51 +0200, Kay Sievers wrote: > On Thu, Jul 26, 2012 at 1:17 AM, shawn wrote: > > On Wed, 2012-07-25 at 18:11 +0200, Lennart Poettering wrote: > >> On Wed, 25.07.12 11:24, Kay Sievers (k...@vrfy.org) wrote: > >> > On Wed, Jul 25, 2012 at 6:12 AM, Shawn Landden > >> > wro

Re: [systemd-devel] Looking for comments on this patch.

2012-08-03 Thread Lennart Poettering
On Tue, 24.07.12 15:45, Daniel J Walsh (dwa...@redhat.com) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > The goal of this patch is to add the ability for systemd to verify that > SELinux policy allows the calling process to do the specified action. > Start/Stop/Service Looks mostl

Re: [systemd-devel] [Feature Request] systemctl --user status to output journal logs

2012-08-03 Thread Lennart Poettering
On Thu, 02.08.12 19:28, Damien Robert (damien.robert__s...@normalesup.org) wrote: > Hi all, > > when using systemctl status foo.service, the last journald entries > correspondingto this service are printed, which is a very nice feature of > systemd. > > However, this is not the case when runnin

Re: [systemd-devel] Not sure if I am doing something wrong or if this is a bug.

2012-08-03 Thread Lennart Poettering
On Mon, 30.07.12 17:13, Daniel J Walsh (dwa...@redhat.com) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > In containers we are blocking systemd from creating containers. If I try to > run httpd within a container it asks for PrivateTmp and SELinux stops systemd > from setting up th

Re: [systemd-devel] Running a service at shutdown time before file systems are unmounted

2012-08-03 Thread Lennart Poettering
On Fri, 27.07.12 18:08, Manuel Amador (Rudd-O) (rud...@rudd-o.com) wrote: > I need to run a program right before any file system is unmounted, to > record the current file system state on disk. > > What Requires/RequiredBy, Wants/WantedBy, Before/After dependencies > should I encode in my unit fi

Re: [systemd-devel] [PATCH] execute: Fix seccomp support on x32

2012-08-03 Thread Lennart Poettering
On Tue, 24.07.12 22:45, Jonathan Callen (a...@gentoo.org) wrote: > In the x32 ABI, syscall numbers start at 0x4000. Mask that bit on > x32 for lookups in the syscall_names array and syscall_filter and ensure > that syscall.h is parsed correctly. Hmpf, can't say I find this patch particularly

Re: [systemd-devel] [PATCH] cryptsetup: add keyfile-size= support

2012-08-03 Thread Lennart Poettering
On Fri, 03.08.12 12:47, Tom Gundersen (t...@jklm.no) wrote: > This is useful e.g. if the keyfile is a raw device, where only parts of it > should be read. It is typically used whenever the keyfile-offset= option is > specified. Applied. Lennart -- Lennart Poettering - Red Hat, Inc. ___

Re: [systemd-devel] Question about mount unit generators

2012-08-03 Thread Lennart Poettering
On Wed, 25.07.12 11:28, Manuel Amador (Rudd-O) (rud...@rudd-o.com) wrote: > As you can tell from my code: > > https://github.com/Rudd-O/zfs/blob/master/systemd/systemd-zfs-generator.in > > I carefully calculate dependencies so the file systems are mounted in > the correct order. > > Now that fs

Re: [systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

2012-08-03 Thread Lennart Poettering
On Tue, 24.07.12 16:43, Lukas Nykryn (lnyk...@redhat.com) wrote: > In some cases, like wrong configuration, restarting after error > exit code does not help, so administrator can specify RestartIgnoreCodes > which will not cause restart of a service. I am not happy with the term "Code" here, it's

Re: [systemd-devel] [PATCH] build-sys: do not link systemctl against journal-internal and id128-internal

2012-08-03 Thread Kay Sievers
On Fri, Aug 3, 2012 at 8:02 PM, Zbigniew Jędrzejewski-Szmek wrote: > On 08/03/2012 07:31 PM, Lennart Poettering wrote: >> On Fri, 03.08.12 17:14, Peeters Simon (peeters.si...@gmail.com) wrote: >> >>> systemctl does not need the internal journal and id128 libraries to >>> function, so don't link th

Re: [systemd-devel] systemd: support for new timeouts in .service

2012-08-03 Thread Lennart Poettering
On Mon, 23.07.12 14:57, Michal Schmidt (mschm...@redhat.com) wrote: > > On 07/20/2012 12:08 PM, Michal Sekletar wrote: > >we found this bug https://bugzilla.redhat.com/show_bug.cgi?id=807885 and > >we already invested some effort to introducing new timeout types. We > >have a patch prepared intro

Re: [systemd-devel] [PATCH] logind: redefine idleness to start at last activity

2012-08-03 Thread Lennart Poettering
On Mon, 23.07.12 00:17, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > Hi, > > after reading the code, the following seems like a reasonable change > of semantics. Please have a look. > > 8<- > > Before, after the timeout, a session would be timestamped as idle > since 'last a

Re: [systemd-devel] [PATCH] build-sys: do not link systemctl against journal-internal and id128-internal

2012-08-03 Thread Zbigniew Jędrzejewski-Szmek
On 08/03/2012 07:31 PM, Lennart Poettering wrote: > On Fri, 03.08.12 17:14, Peeters Simon (peeters.si...@gmail.com) wrote: > >> systemctl does not need the internal journal and id128 libraries to >> function, so don't link them. > > It doesn't? How so? "systemctl status" shows the journal content

Re: [systemd-devel] [RFC] adding udev options to systemctl

2012-08-03 Thread Lennart Poettering
On Thu, 02.08.12 22:04, Peeters Simon (peeters.si...@gmail.com) wrote: > hej, Heya, > > Since systemd and udev are one project now it might be an idea to be > able to control both daemons with one tool (systemctl) > > also, since i don't like the way the arguments to udevadm work (very > uncle

Re: [systemd-devel] [PATCH] build-sys: do not link systemctl against journal-internal and id128-internal

2012-08-03 Thread Lennart Poettering
On Fri, 03.08.12 17:14, Peeters Simon (peeters.si...@gmail.com) wrote: > systemctl does not need the internal journal and id128 libraries to > function, so don't link them. It doesn't? How so? "systemctl status" shows the journal contents, so we very much need this... Lennart -- Lennart Poette

Re: [systemd-devel] [PATCH] build-sys: do not link systemctl against journal-internal and id128-internal

2012-08-03 Thread Zbigniew Jędrzejewski-Szmek
On 08/03/2012 05:14 PM, Peeters Simon wrote: > systemctl does not need the internal journal and id128 libraries to > function, so don't link them. Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedeskto

Re: [systemd-devel] [PATCH] logs-show: fix off-by-one error

2012-08-03 Thread Zbigniew Jędrzejewski-Szmek
On 08/03/2012 04:28 AM, shawnland...@gmail.com wrote: > From: Shawn Landen > > Ellipsize lines that are one character too long. > --- > src/shared/logs-show.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c > index c72e

[systemd-devel] [PATCH] build-sys: do not link systemctl against journal-internal and id128-internal

2012-08-03 Thread Peeters Simon
systemctl does not need the internal journal and id128 libraries to function, so don't link them. 0001-build-sys-do-not-link-systemctl-against-journal-inte.patch Description: Binary data ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

[systemd-devel] [PATCH] cryptsetup: add keyfile-size= support

2012-08-03 Thread Tom Gundersen
This is useful e.g. if the keyfile is a raw device, where only parts of it should be read. It is typically used whenever the keyfile-offset= option is specified. Tested-by: Erik Westrup --- man/crypttab.xml| 12 src/cryptsetup/cryptsetup.c | 22 +++--- 2

[systemd-devel] [Feature Request] systemctl --user status to output journal logs

2012-08-03 Thread Damien Robert
Hi all, when using systemctl status foo.service, the last journald entries correspondingto this service are printed, which is a very nice feature of systemd. However, this is not the case when running a systemd --user, then systemctl --user foo.service will not print the corresponding journal log