Re: [systemd-devel] [PATCH] selinux-access:log_callback() increase buffer for audit logging

2013-02-14 Thread Harald Hoyer
Am 13.02.2013 19:39, schrieb Lennart Poettering: > On Wed, 13.02.13 17:08, har...@redhat.com (har...@redhat.com) wrote: > >> From: Harald Hoyer >> >> As per https://bugzilla.redhat.com/show_bug.cgi?id=883043#c5 >> we can increase the buffer used with audit_log_user_avc_message() safely >> to 4096

[systemd-devel] timer unit doesn't fire again if service takes too long

2013-02-14 Thread Albert Strasheim
Hello all We have some systems running systemd-37-25.fc16.x86_64. We have an issue where a timer unit doesn't fire again if its service runs for too long. We have a logrotate.timer unit that looks like this: [Timer] OnActiveSec=10 m OnUnitActiveSec=10 m [Install] WantedBy=multi-user.target an

[systemd-devel] [PATCH] readahead: Add savedir option

2013-02-14 Thread Seunghun Pi
From: Byung-Soo Kim From: Byung-Soo Kim In case of root file system mounted in read-only mode, the collected data cannot be stored. Then add code to specify directory path of collected data as RW position. With --savedir=PATH option, collected data can be stored in the path. Signed-off-by: Byu

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-14 Thread Colin Guthrie
'Twas brillig, and Reindl Harald at 13/02/13 20:01 did gyre and gimble: > besides that "Lennart's PC" is technical absoluetly not needed But I want nice names showing up on my networked PCs at home when they show up in my media centre. A pretty host name is IMO a needed concept. Whether that fits

[systemd-devel] [PATCH] run systemd-vconsole-setup.service before systemd-ask-password-console.service

2013-02-14 Thread harald
From: Harald Hoyer --- units/systemd-vconsole-setup.service.in | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in index 18faa63..c6d7a96 100644 --- a/units/systemd-vconsole-setup.service.in ++

[systemd-devel] [PATCH] bootchart: more fixes for bootchart in the initramfs

2013-02-14 Thread harald
From: Harald Hoyer --- src/bootchart/bootchart.c | 10 +- src/bootchart/bootchart.h | 2 ++ src/bootchart/svg.c | 14 ++ 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index fb95c6b..43e8fdc 100644

[systemd-devel] [PATCH] bootchart: if "root=/dev" is not matched, don't try to read /sys

2013-02-14 Thread harald
From: Harald Hoyer --- src/bootchart/svg.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index dc55cb3..7fdcd01 100644 --- a/src/bootchart/svg.c +++ b/src/bootchart/svg.c @@ -166,18 +166,19 @@ static void svg_title

[systemd-devel] [PATCH] bootchart: parse /etc/os-release rather than system-release

2013-02-14 Thread harald
From: Harald Hoyer Also parse it early, so that we can get it in the initramfs. --- src/bootchart/bootchart.c | 9 - src/bootchart/bootchart.h | 2 +- src/bootchart/svg.c | 15 +++ 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/src/bootchart/bootchar

Re: [systemd-devel] [PATCH] ignore comments in multiline variable definitions

2013-02-14 Thread Michal Vyskocil
On Wed, Feb 13, 2013 at 08:07:07PM +0100, Lennart Poettering wrote: > On Wed, 13.02.13 20:05, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > Actually, the syntax already is _not_ a subset of the shell, and has its > > own pecularities. Anyone trying to blindly follow shell rules is g

Re: [systemd-devel] troubleshooting different behaviour of systemd between f16 and f18

2013-02-14 Thread Thierry Parmentelat
On Feb 13, 2013, at 10:29 PM, Lennart Poettering wrote: > systemd.journald.forward_to_console=1 This is exactly what I was after - thanks everybody ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

Re: [systemd-devel] [PATCH] bootchart: use conf-parser & CamelCase names in .conf

2013-02-14 Thread Thomas H.P. Andersen
On Thu, Feb 14, 2013 at 1:37 AM, Kok, Auke-jan H wrote: > On Wed, Feb 13, 2013 at 4:00 PM, Kay Sievers wrote: >> On Thu, Feb 14, 2013 at 12:42 AM, Kok, Auke-jan H >> wrote: >>> On Wed, Feb 13, 2013 at 3:32 PM, Lennart Poettering >>> wrote: On Wed, 13.02.13 14:27, Kok, Auke-jan H (auke-jan.

[systemd-devel] [PATCH] honor SELinux labels, when creating and writing config files

2013-02-14 Thread harald
From: Harald Hoyer see https://bugzilla.redhat.com/show_bug.cgi?id=881577 --- Makefile.am | 2 + src/core/unit.c | 3 +- src/hostname/hostnamed.c | 7 ++-- src/locale/localed.c | 7 ++-- src/login/logind-dbus.c | 4 +- src/shared/label.c | 103 +

[systemd-devel] [PATCH] run systemd-ask-password-console.service after systemd-vconsole-setup.service

2013-02-14 Thread harald
From: Harald Hoyer --- units/systemd-ask-password-console.service.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-ask-password-console.service.in b/units/systemd-ask-password-console.service.in index 4bcb30b..a24fa51 100644 --- a/units/systemd-ask-password-c

Re: [systemd-devel] [PATCH] run systemd-vconsole-setup.service before systemd-ask-password-console.service

2013-02-14 Thread Harald Hoyer
Am 14.02.2013 11:26, schrieb har...@redhat.com: > From: Harald Hoyer > > --- > units/systemd-vconsole-setup.service.in | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/units/systemd-vconsole-setup.service.in > b/units/systemd-vconsole-setup.service.in > index 18faa6

[systemd-devel] Secure Linux Containers. I have masked down the systemd starting most daemons within containers.

2013-02-14 Thread Daniel J Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Welcome to Fedora 19 (Rawhide)! Set hostname to . /dev/mapper/control: mknod failed: Operation not permitted Failure to communicate with kernel device-mapper driver. Check that device-mapper is available in the kernel. [ OK ] Listening on Dela

Re: [systemd-devel] [PATCH V3] man: Add even more to the bootchart man page

2013-02-14 Thread Tom Gundersen
On Thu, Feb 14, 2013 at 7:13 AM, William Giokas <1007...@gmail.com> wrote: > Thanks for the feedback. If there's anything else I need to fix, just > tell me. Not essential to this patch, but as you are touching the manpage it would be nice to document the effect of initcall_debug, or at least ment

Re: [systemd-devel] [PATCH] readahead: Add savedir option

2013-02-14 Thread Tom Gundersen
On Thu, Feb 14, 2013 at 9:47 AM, Seunghun Pi wrote: > In case of root file system mounted in read-only mode, > the collected data cannot be stored. > Then add code to specify directory path of collected data as RW position. > With --savedir=PATH option, collected data can be stored in the path. H

Re: [systemd-devel] [PATCH] bootchart: if "root=/dev" is not matched, don't try to read /sys

2013-02-14 Thread Tom Gundersen
On Thu, Feb 14, 2013 at 11:26 AM, wrote: > From: Harald Hoyer > > --- > src/bootchart/svg.c | 17 + > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c > index dc55cb3..7fdcd01 100644 > --- a/src/bootchart/svg.c > +++ b/sr

Re: [systemd-devel] [PATCH] readahead: Add savedir option

2013-02-14 Thread Kyungmin Park
Hi, On Thu, Feb 14, 2013 at 10:04 PM, Tom Gundersen wrote: > On Thu, Feb 14, 2013 at 9:47 AM, Seunghun Pi wrote: >> In case of root file system mounted in read-only mode, >> the collected data cannot be stored. >> Then add code to specify directory path of collected data as RW position. >> With

Re: [systemd-devel] [PATCH] readahead: Add savedir option

2013-02-14 Thread Tom Gundersen
On Thu, Feb 14, 2013 at 3:50 PM, Kyungmin Park wrote: > The main reason for this patch is that it can't save $root/.readahead > at RO partition. Are there other way? The usecase of putting .readahead in /var/lib/readahead/ (or something like that) makes sense to me. We just have to make sure we d

Re: [systemd-devel] [PATCH] honor SELinux labels, when creating and writing config files

2013-02-14 Thread Harald Hoyer
Am 14.02.2013 12:27, schrieb har...@redhat.com: > From: Harald Hoyer > > see https://bugzilla.redhat.com/show_bug.cgi?id=881577 obsoleted by http://cgit.freedesktop.org/systemd/systemd/commit/?id=a5c32cff1f56afe6f0c6c70d91a88a7a8238b2d7 after reworking the patch with Kay __

Re: [systemd-devel] [PATCH 3/6] Optionally save core dumps as plain files

2013-02-14 Thread Oleksii Shevchuk
> Hmm, if we do this, then I'd suggest not to place this in the journal > directory. This should be independent of it. Note that the journal logic > currently watches the entire per-machine dir for changes and we thus > should really drop stuff there that doesn't belong there.. Saving in journal s

Re: [systemd-devel] RFC: Predictable Network Interface Names

2013-02-14 Thread Holger Winkelmann
HI, we just start using the network name schema. Anybody can explain how the LAbels: "ID_NET_NAME_ONBOARD_LABEL=Ethernet Port 1" defined here: http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n52 are exposed to user land tools? Can a user land tool i.e. tcpdump

Re: [systemd-devel] RFC: Predictable Network Interface Names

2013-02-14 Thread Kay Sievers
On Thu, Feb 14, 2013 at 6:35 PM, Holger Winkelmann wrote: > we just start using the network name schema. Anybody > can explain how the LAbels: > > "ID_NET_NAME_ONBOARD_LABEL=Ethernet Port 1" > > defined here: > > http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n52

[systemd-devel] Journal Message Catalog

2013-02-14 Thread Keith Robertson
Hi, I was looking through the Journal Message Catalog spec [1] and I wanted to say kudos. About time there was something like this for linux apps. In reading the spec, I do have a concern about the fact that the spec seems to want to interleave the various supported locales within one catal

Re: [systemd-devel] [PATCH] bootchart: parse /etc/os-release rather than system-release

2013-02-14 Thread Kok, Auke-jan H
On Thu, Feb 14, 2013 at 2:26 AM, wrote: > From: Harald Hoyer > > Also parse it early, so that we can get it in the initramfs. > --- > src/bootchart/bootchart.c | 9 - > src/bootchart/bootchart.h | 2 +- > src/bootchart/svg.c | 15 +++ > 3 files changed, 12 insertions

Re: [systemd-devel] [PATCH] bootchart: use conf-parser & CamelCase names in .conf

2013-02-14 Thread Kok, Auke-jan H
On Thu, Feb 14, 2013 at 3:07 AM, Thomas H.P. Andersen wrote: > On Thu, Feb 14, 2013 at 1:37 AM, Kok, Auke-jan H > wrote: >> On Wed, Feb 13, 2013 at 4:00 PM, Kay Sievers wrote: >>> On Thu, Feb 14, 2013 at 12:42 AM, Kok, Auke-jan H >>> wrote: On Wed, Feb 13, 2013 at 3:32 PM, Lennart Poetteri

Re: [systemd-devel] Journal Message Catalog

2013-02-14 Thread Lennart Poettering
On Thu, 14.02.13 13:28, Keith Robertson (krobe...@redhat.com) wrote: > Hi, > > I was looking through the Journal Message Catalog spec [1] and I > wanted to say kudos. About time there was something like this for > linux apps. > > In reading the spec, I do have a concern about the fact that the

Re: [systemd-devel] [PATCH 1/2] core: keep mountinfo .mounts until late shutdown

2013-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 04, 2013 at 05:27:24PM +0100, Umut Tezduyar wrote: > Hi > > On Mon, Feb 4, 2013 at 4:23 PM, Zbigniew Jędrzejewski-Szmek < > zbys...@in.waw.pl> wrote: > > > Hi, > > > > On Mon, Feb 04, 2013 at 03:03:59PM +0100, Umut Tezduyar wrote: > > > Downside of this patch is, mountinfo mounts stic

Re: [systemd-devel] Journal Message Catalog

2013-02-14 Thread Keith Robertson
On 02/14/2013 03:14 PM, Lennart Poettering wrote: Note that you may have multiple catalog files and you can distribute the translations among multiple files. This leaves full flexibility to the projects which want to provide message catalog entries. For example, they could create individual files

Re: [systemd-devel] [PATCH V3] man: Add even more to the bootchart man page

2013-02-14 Thread Kok, Auke-jan H
On Wed, Feb 13, 2013 at 10:13 PM, William Giokas <1007...@gmail.com> wrote: > Essentially transfer the 'README' file in src/bootchart to the man page > for easier reading by users. > --- > >> I don't think that this is a good idea. It mixes semantic and visual >> markup and it'll confuse make-direc

Re: [systemd-devel] [PATCH 2/2] core: do not overwrite existing units source

2013-02-14 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 07, 2013 at 09:06:20AM +0100, Umut Tezduyar wrote: > Hi, > > It is because patch [1/2] of this patch set hasn't been committed. I have > made the same patch independent of patch [1/2] and attached to this email > thread. Thanks, applied. Zbyszek ___

Re: [systemd-devel] [PATCH] readahead: Add savedir option

2013-02-14 Thread Kok, Auke-jan H
On Thu, Feb 14, 2013 at 6:50 AM, Kyungmin Park wrote: > Hi, > > On Thu, Feb 14, 2013 at 10:04 PM, Tom Gundersen wrote: >> On Thu, Feb 14, 2013 at 9:47 AM, Seunghun Pi wrote: >>> In case of root file system mounted in read-only mode, >>> the collected data cannot be stored. >>> Then add code to s

Re: [systemd-devel] Journal Message Catalog

2013-02-14 Thread Lennart Poettering
On Thu, 14.02.13 15:21, Keith Robertson (krobe...@redhat.com) wrote: > > On 02/14/2013 03:14 PM, Lennart Poettering wrote: > >Note that you may have multiple catalog files and you can distribute the > >translations among multiple files. This leaves full flexibility to the > >projects which want t

Re: [systemd-devel] [PATCH] bootchart: if "root=/dev" is not matched, don't try to read /sys

2013-02-14 Thread Kok, Auke-jan H
On Thu, Feb 14, 2013 at 5:20 AM, Tom Gundersen wrote: > On Thu, Feb 14, 2013 at 11:26 AM, wrote: >> From: Harald Hoyer >> >> --- >> src/bootchart/svg.c | 17 + >> 1 file changed, 9 insertions(+), 8 deletions(-) >> >> diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c >> ind

[systemd-devel] [PATCH] [RFC] Optionally save core dumps as plain files

2013-02-14 Thread Oleksii Shevchuk
Introduce configuration file: /etc/systemd/coredump.conf [Coredump] StoreIntoJournal=yes/no StoreIntoFile=yes/no MaxCoreSize=size-in-bytes If StoreIntoFile=yes, then coredump will be saved to temporary-formated file at /var/log/coredump/MACHINE-ID/COMM-XX If MaxCoreSize specified, then core

[systemd-devel] [PATCH] man: Update bootchart.conf(5)

2013-02-14 Thread William Giokas
Recent changes in config options makes almost eveny variable in the man page obsolete. --- man/bootchart.conf.xml | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/man/bootchart.conf.xml b/man/bootchart.conf.xml index fb6e274..1e440eb 100644 --- a

Re: [systemd-devel] [PATCH] man: Update bootchart.conf(5)

2013-02-14 Thread Kok, Auke-jan H
On Thu, Feb 14, 2013 at 2:59 PM, William Giokas <1007...@gmail.com> wrote: > Recent changes in config options makes almost eveny variable in the man > page obsolete. > --- > man/bootchart.conf.xml | 30 +++--- > 1 file changed, 15 insertions(+), 15 deletions(-) Thanks, app

Re: [systemd-devel] Journal Message Catalog

2013-02-14 Thread Keith Robertson
On 02/14/2013 04:46 PM, Lennart Poettering wrote: On Thu, 14.02.13 15:21, Keith Robertson (krobe...@redhat.com) wrote: On 02/14/2013 03:14 PM, Lennart Poettering wrote: Note that you may have multiple catalog files and you can distribute the translations among multiple files. This leaves full

Re: [systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

2013-02-14 Thread Graham Cantin
On Wed, Feb 13, 2013 at 7:00 AM, Colin Guthrie wrote: > > 'Twas brillig, and Lennart Poettering at 13/02/13 00:21 did gyre and > gimble: > > On Mon, 11.02.13 16:34, Auke Kok (auke-jan.h@intel.com) wrote: > > > >> Contrary to it's own packaging guidelines, these symlinks are created > >> in /et