Re: [systemd-devel] [PATCH] journalctl: show any printable Unicode character

2012-07-12 Thread Lennart Poettering
On Thu, 12.07.12 18:32, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Thanks! Applied! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/list

Re: [systemd-devel] [PATCH] mount: Add a new remote-fs* target to specifically delay logins until home dirs are available

2012-07-12 Thread Manuel Amador (Rudd-O)
Thank you very much for fixing my pet peeve. Do you have a Bitcoin address where I can tip you? On Mon, 2012-04-02 at 11:31 +0100, Colin Guthrie wrote: > Previously, systemd-user-sessions.service started after remote-fs.target. > If the user had any NFS mounts defined, this prevented logins unti

Re: [systemd-devel] systemd prevents pulseaudio from shutting down

2012-07-12 Thread Manuel Amador (Rudd-O)
You may be a candidate for running pulseaudio as a system service. That is how I solved the problem of sharing audio devices on my headless NAS connected to my studio monitors. On Sun, 2012-06-03 at 18:54 +0200, Reindl Harald wrote: > > Am 03.06.2012 18:46, schrieb Paul Menzel: > >> i'm using "

Re: [systemd-devel] [PATCH] fstab-generator: avoid mangling mount source and dest

2012-07-12 Thread Manuel Amador (Rudd-O)
It will also break ZFS legacy mounts. On Mon, 2012-06-04 at 08:04 -0400, Dave Reisner wrote: > On Mon, Jun 04, 2012 at 12:57:47PM +0200, Kay Sievers wrote: > > On Sun, Jun 3, 2012 at 4:18 AM, Dave Reisner wrote: > > > This can invalidate otherwise valid source paths with trailing slashes, > > >

Re: [systemd-devel] [PATCH] systemd: enable/disable instances of template

2012-07-12 Thread David Strauss
I had assumed this was already possible. +1 -- David Strauss | da...@davidstrauss.net ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] systemd: enable/disable instances of template

2012-07-12 Thread Kok, Auke-jan H
On Thu, Jul 12, 2012 at 7:06 AM, Michal Sekletar wrote: > so I've submitted fixed version. It's slightly modified according to > your comments. Enabling and disabling unit file which is named the same > as instance should work seamlessly now. > I also updated manpages, if you have any concerns abo

[systemd-devel] [PATCH] journalctl: show any printable Unicode character

2012-07-12 Thread Zbigniew Jędrzejewski-Szmek
--- Lennart Poettering wrote: > I have changed the docs now in git to say UTF-8 everywhere. Adjust journactl to show such messages. Makefile.am| 3 ++- TODO | 2 -- src/shared/logs-show.c | 22 + src/shared/utf8.c | 66

Re: [systemd-devel] [PATCH] systemd: enable/disable instances of template

2012-07-12 Thread Michal Sekletar
Hi Lennart, so I've submitted fixed version. It's slightly modified according to your comments. Enabling and disabling unit file which is named the same as instance should work seamlessly now. I also updated manpages, if you have any concerns about manpage explanation or code itself, feel free to

[systemd-devel] [PATCH] systemd: enable/disable instances of template

2012-07-12 Thread Michal Sekletar
https://bugzilla.redhat.com/show_bug.cgi?id=752774 --- man/systemctl.xml | 33 + src/shared/install.c | 93 ++-- src/shared/unit-name.c | 12 +++ src/shared/unit-name.h |1 + 4 files changed, 115 insertions(+), 24 del

Re: [systemd-devel] [PATCH] core/main.c: only reopen /dev/console if we switch-root to a custom init

2012-07-12 Thread Harald Hoyer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 12.07.2012 09:34, schrieb Paul Menzel: > Dear Harald, > > > thank you for the patch. > > > Am Donnerstag, den 12.07.2012, 08:43 +0200 schrieb har...@redhat.com: >> From: Harald Hoyer > > What happens otherwise? Is there an error message? > >>

Re: [systemd-devel] [PATCH] core/main.c: only reopen /dev/console if we switch-root to a custom init

2012-07-12 Thread Paul Menzel
Dear Harald, thank you for the patch. Am Donnerstag, den 12.07.2012, 08:43 +0200 schrieb har...@redhat.com: > From: Harald Hoyer What happens otherwise? Is there an error message? > --- > src/core/main.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/src/

Re: [systemd-devel] [PATCH] switch-root: do not use close old_root_fd after rm_rf_children()

2012-07-12 Thread Harald Hoyer
Ah.. forget that old patch... slipped in the patch mail queue Am 12.07.2012 08:44, schrieb har...@redhat.com: > From: Harald Hoyer > > rm_rf_children() has already closed the fd with closedir(). > --- > src/core/switch-root.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > di

[systemd-devel] [PATCH] switch-root: do not use close old_root_fd after rm_rf_children()

2012-07-12 Thread harald
From: Harald Hoyer rm_rf_children() has already closed the fd with closedir(). --- src/core/switch-root.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/switch-root.c b/src/core/switch-root.c index ed0a31e..9832a52 100644 --- a/src/core/switch-root.c +++ b/src

[systemd-devel] [PATCH] core/main.c: only reopen /dev/console if we switch-root to a custom init

2012-07-12 Thread harald
From: Harald Hoyer --- src/core/main.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/main.c b/src/core/main.c index 6f6b565..a7172c1 100644 --- a/src/core/main.c +++ b/src/core/main.c @@ -1672,9 +1672,6 @@ finish: * rebooted while we do t

[systemd-devel] [PATCH] core/manager.c: for switch-root wait for pending JOB_STOP

2012-07-12 Thread harald
From: Harald Hoyer if we don't wait for the pending stopping jobs, the following can happen: ** initramfs start ** Installed new job systemd-udevd.service/stop as 29 systemd-udevd.service changed running -> stop-sigterm ** switch-root to real root ** Reinstalled deserialized job systemd-udevd.se