[systemd-devel] [PATCH] corrected machine-info(5) man page to be in line with source

2012-03-05 Thread Shawn Landden
change conflicting man/machine-info.xml documentation to match functionality in src/hostname/hostnamed.c 114-119 --- man/machine-info.xml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/man/machine-info.xml b/man/machine-info.xml index c6d3e92..240da25 100644 ---

Re: [systemd-devel] [PATCH] corrected machine-info(5) man page to be in line with source

2012-03-05 Thread Lennart Poettering
On Mon, 05.03.12 00:29, Shawn Landden (shawnland...@gmail.com) wrote: change conflicting man/machine-info.xml documentation to match functionality in src/hostname/hostnamed.c 114-119 --- man/machine-info.xml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [systemd-devel] trust of kernel messages re-routed via journald

2012-03-05 Thread Rainer Gerhards
On Sun, Mar 4, 2012 at 11:37 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 23.02.12 17:54, Rainer Gerhards (rgerha...@gmail.com) wrote: Hi, I am thinking on how to detect potential fake messages, claiming to be e.g. from the audit subsystem. Let's assume - auditd is stopped

Re: [systemd-devel] customized shutdown service needed

2012-03-05 Thread Lennart Poettering
On Wed, 29.02.12 22:12, Burkhard Kayser (kayser-b-2...@t-online.de) wrote: Hi Lennart, based on your recommendation I tried the following service. [Unit] Description=my private startup service Requires=local-fs.target syslog.service nfs.service After=local-fs.target syslog.service

Re: [systemd-devel] PATCH: fix sparse warnings

2012-03-05 Thread Lennart Poettering
On Wed, 29.02.12 18:33, Frederic Crozat (fcro...@suse.com) wrote: Le mercredi 29 février 2012 à 17:04 +, Frederic Crozat a écrit : Hi, while trying to use sparse to detect potential endianness errors in journald code (apparently, we can't use it for that), I found some other

Re: [systemd-devel] sd-login.h - g++ complains about 'class'

2012-03-05 Thread Lennart Poettering
On Sat, 25.02.12 01:36, Mantas M. (graw...@gmail.com) wrote: When building gnome-system-monitor with systemd support, I get the following error message and compilation stops: In file included from proctable.cpp:49:0: /usr/include/systemd/sd-login.h:97:54: error: expected ‘,’ or ‘...’

Re: [systemd-devel] PATCH: fix sparse warnings

2012-03-05 Thread Frederic Crozat
Le lundi 05 mars 2012 à 15:10 +0100, Lennart Poettering a écrit : On Wed, 29.02.12 18:33, Frederic Crozat (fcro...@suse.com) wrote: Le mercredi 29 février 2012 à 17:04 +, Frederic Crozat a écrit : Hi, while trying to use sparse to detect potential endianness errors in

Re: [systemd-devel] Display manager and logind interaction

2012-03-05 Thread Lennart Poettering
On Wed, 15.02.12 19:42, Robert Ancell (robert.anc...@gmail.com) wrote: And on seats != seat0 we currently don't have any kind of session multiplexing. Hence having a special VT for lock screens is really hard to do... (I have actually discussed this topic with the Wayland guys at FOSDEM

Re: [systemd-devel] Extracting a coredump from the journal

2012-03-05 Thread Lennart Poettering
On Wed, 15.02.12 09:16, Thierry Reding (thierry.red...@avionic-design.de) wrote: Hi, I've just had a service crash on one of my systems that runs with systemd 43 so I had a look at the output from 'systemctl status' and looked through the journal to find an entry saying that the process

Re: [systemd-devel] [PATCH] configure.ac: fix typo in distro help string

2012-03-05 Thread Lennart Poettering
On Wed, 15.02.12 08:00, Thierry Reding (thierry.red...@avionic-design.de) wrote: Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Thanks! Applied! --- configure.ac |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index

Re: [systemd-devel] [PATCH 2/2] main: added support for loading IMA custom policies

2012-03-05 Thread Lennart Poettering
On Wed, 22.02.12 15:52, Roberto Sassu (roberto.sa...@polito.it) wrote: Heya, + policy = mmap(NULL, policy_size, PROT_READ, MAP_PRIVATE, policyfd, 0); + if (policy == MAP_FAILED) { + log_error(mmap() failed (%m), freezing); + result = -errno; +

Re: [systemd-devel] Regression in v40? User session inside a unit.

2012-03-05 Thread Lennart Poettering
On Mon, 20.02.12 01:27, Colin Guthrie (gm...@colin.guthr.ie) wrote: Hi, Not sure if this is an intended regression or not but a user reported a problem to me recently which I thought was a little strange. It's maybe been fixed already in newer versions (we were in a beta semi-freeze and

Re: [systemd-devel] [PATCH 2/2] main: added support for loading IMA custom policies

2012-03-05 Thread Mimi Zohar
On Mon, 2012-03-05 at 17:15 +0100, Roberto Sassu wrote: On 03/05/2012 03:39 PM, Lennart Poettering wrote: On Wed, 22.02.12 15:52, Roberto Sassu (roberto.sa...@polito.it) wrote: Heya, + policy = mmap(NULL, policy_size, PROT_READ, MAP_PRIVATE, policyfd, 0); + if (policy

Re: [systemd-devel] [PATCH] Circumvent autofs_v5_packet_union size bug

2012-03-05 Thread Thomas Meyer
Am Montag, den 05.03.2012, 16:20 +0100 schrieb Kay Sievers: On Tue, Nov 15, 2011 at 16:52, Thomas Meyer tho...@m3y3r.de wrote: Am 14.11.2011 um 03:35 schrieb Ian Kent ra...@themaw.net: Another solution would be to explicitly add 4 filler bytes to the structure to have an 8 byte

[systemd-devel] [PATCH] nspawn: less cryptic error when clone() fails due to lack of adaquate namespace support in kernel

2012-03-05 Thread Shawn Landden
Running systemd-nspawn on a Linux kernel compiled without CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y fails with the cryptic error message clone() failed: Invalid argument Give user a more helpful error message when clone() fails ---

Re: [systemd-devel] [PATCH 1/1] nspawn: less cryptic error when clone() fails due to lack of adaquate namespace support in kernel

2012-03-05 Thread Lennart Poettering
On Tue, 28.02.12 11:40, shawn (shawnland...@gmail.com) wrote: Running systemd-nspawn on a Linux kernel compiled without CONFIG_NAMESPACES=y CONFIG_UTS_NS=y CONFIG_IPC_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y fails with the cryptic error message clone() failed: Invalid

Re: [systemd-devel] [PATCH v2] src/systemd-bash-completion.sh: get rid of awk, sed and grep

2012-03-05 Thread Lennart Poettering
On Tue, 21.02.12 15:48, har...@redhat.com (har...@redhat.com) wrote: From: Harald Hoyer har...@redhat.com Get rid of awk, sed and grep calls. This can be done entirely in bash! Thanks! Applied! Lennart -- Lennart Poettering - Red Hat, Inc. ___

Re: [systemd-devel] [PATCH] mount: properly check return for mount_add_*

2012-03-05 Thread Lennart Poettering
On Fri, 17.02.12 12:17, Dave Reisner (d...@falconindy.com) wrote: Previously, mount_load_etc_fstab() could never fail for reasons other than a setmntent() or allocation failure. Applied. Thanks! --- src/mount.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [systemd-devel] systemd39: journald segfault brings down some user services

2012-03-05 Thread Lennart Poettering
On Mon, 20.02.12 23:35, Olav Vitters (o...@vitters.nl) wrote: On Thu, Feb 09, 2012 at 08:12:55PM +0100, Lennart Poettering wrote: Now, of course, the journal shouldn't crash in the first place. This bug is still something to fix, but so far nobody managed to get me a bt of this. if the