[systemd-devel] [PATCH] Remove device and its relatives when action is offlined

2013-09-06 Thread MUNEDA Takahiro
When an unit is called via udev rules like below, only first 'online' works correctly. Even if 'offline' event has happen, device and its relative data still exists inside systemd, then following online events will be ignored since systemd thinks it's already done. The device and its relatives sh

Re: [systemd-devel] /usr/lib/systemd/systemd --switched-root --system --deserialize 20

2013-09-06 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Aug 22, 2013 at 09:00:21AM -0400, Michael Duvall wrote: > Hello, > > First time to post here. I'm studying systemd. > > Where are the options "--switched-root" and "--deserialize 20" to > systemd documented? If undocumented, a brief explanation of each will > be greatly appreciated. Hi,

[systemd-devel] Kernel messages in journal - how?

2013-09-06 Thread Warpme
Hi * I decided to remove completely syslog daemon from my Arch based server (my Arch is at 3.3.8 kernel level). I manages so far all units so kicking journalctl shows output from all units but there is no messages from kernel boot phase. When I look on journal output in Fedora19 - kernel boot me

Re: [systemd-devel] [PATCH] units: add [Install] blocks for the binfmt_misc units

2013-09-06 Thread Michael Biebl
2013/9/6 Ross Burton : > If the administrator disables systemd-binfmt it can't be re-enabled correctly Not a perfect solution, but you could just mask|unmask the service. And as already mentioned, either we remove the static symlinks (so the service is no longer enabled by default) or keeping the

Re: [systemd-devel] Kernel messages in journal - how?

2013-09-06 Thread Gerardo Exequiel Pozzi
On 09/06/2013 01:53 PM, Warpme wrote: > Hi * > I decided to remove completely syslog daemon from my Arch based server > (my Arch is at 3.3.8 kernel level). > I manages so far all units so kicking journalctl shows output from all > units but there is no messages from kernel boot phase. > When I look

Re: [systemd-devel] [PATCH] units: add [Install] blocks for the binfmt_misc units

2013-09-06 Thread Tom Gundersen
On Fri, Sep 6, 2013 at 5:32 PM, Burton, Ross wrote: > On 6 September 2013 15:50, Zbigniew Jędrzejewski-Szmek > wrote: >> On Fri, Sep 06, 2013 at 03:19:47PM +0100, Ross Burton wrote: >>> If the administrator disables systemd-binfmt it can't be re-enabled >>> correctly >>> because there is no [Ins

Re: [systemd-devel] [PATCH] units: add [Install] blocks for the binfmt_misc units

2013-09-06 Thread Burton, Ross
On 6 September 2013 15:50, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Sep 06, 2013 at 03:19:47PM +0100, Ross Burton wrote: >> If the administrator disables systemd-binfmt it can't be re-enabled correctly >> because there is no [Install] block, the symlinks to sysinit being created at >> install

Re: [systemd-devel] [PATCH] units: add [Install] blocks for the binfmt_misc units

2013-09-06 Thread Dave Reisner
On Fri, Sep 06, 2013 at 04:50:49PM +0200, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Sep 06, 2013 at 03:19:47PM +0100, Ross Burton wrote: > > If the administrator disables systemd-binfmt it can't be re-enabled > > correctly > > because there is no [Install] block, the symlinks to sysinit being c

Re: [systemd-devel] [PATCH] units: add [Install] blocks for the binfmt_misc units

2013-09-06 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Sep 06, 2013 at 03:19:47PM +0100, Ross Burton wrote: > If the administrator disables systemd-binfmt it can't be re-enabled correctly > because there is no [Install] block, the symlinks to sysinit being created at > install time manually. Add an Install block so that the those symlinks can

[systemd-devel] [PATCH] units: add [Install] blocks for the binfmt_misc units

2013-09-06 Thread Ross Burton
If the administrator disables systemd-binfmt it can't be re-enabled correctly because there is no [Install] block, the symlinks to sysinit being created at install time manually. Add an Install block so that the those symlinks can be re-created using systemctl, and a dependency on the automounter

[systemd-devel] [PATCH] make fsck fix mode a kernel command line option

2013-09-06 Thread Robert Schiele
In some situations it is desirable to set the fsck fix level from "-a" to "-y". This for instance might be a reasonable decision on embedded systems where a user dealing with emergency mode is not available and we prefer the risk of destroying the file system by an incorrect fsck action over the r

[systemd-devel] journalctl -x considered harmful

2013-09-06 Thread Zbigniew Jędrzejewski-Szmek
Hi, I think we should remove all recommendations to use -x for bug reports. Generic explanations are not useful one you know the bug messages, and those addtional like make the text much harder to read. Users may continue to use -x while reading logs, of course. Zbyszek _

Re: [systemd-devel] [PATCH 2/2] systemd-coredump: Log crashes without coredumps on failure

2013-09-06 Thread Harald Hoyer
On 09/04/2013 03:27 PM, Andrew Cook wrote: > Make a best-effort attempt to store information about crashes during > failure, currently if these are encountered the crash is completely > silenced. > > ideally coredumpctl would show if a coredump is available. > > --- > src/journal/coredump.c | 7

Re: [systemd-devel] [PATCH 1/2] systemd-coredump: Ignore coredumps larger than COREDUMP_MAX

2013-09-06 Thread Harald Hoyer
On 09/04/2013 03:27 PM, Andrew Cook wrote: > Currently this check happens when the coredump has been collected in > it's entirety and being received by journald. this is not ideal > behaviour when the crashing process is consuming significant percentage > of physical memory such as a large instance

Re: [systemd-devel] [PATCH 1/2] journald: fix vacuuming of archived journals

2013-09-06 Thread Harald Hoyer
On 09/04/2013 02:12 PM, George McCollister wrote: > d_name is modified on line 227 so if the entire journal name is needed > again p must be used. Before this change when journal_file_empty was called > on archived journals it would always return with -2. > > Signed-off-by: George McCollister > -

Re: [systemd-devel] [PATCH 2/2] journald: fix fd leak in journal_file_empty

2013-09-06 Thread Harald Hoyer
On 09/04/2013 02:12 PM, George McCollister wrote: > Before my previous patch, journal_file_empty wasn't be called with the > correct filename. Now that it's being called with the correct filename > it leaks file descriptors. This patch closes the file descriptors before > returning. > > Signed-off