Re: [systemd-devel] [PATCH] Fix timeout when stopping Type=notify service

2013-09-20 Thread Andrey Borzenkov
В Fri, 20 Sep 2013 22:53:52 +0200 Olivier Brunel пишет: > Since 41efeaec a call to service_unwatch_main_pid() is done from > service_set_main_pid(), which is called upon receiving message MAINPID= > > This had the side effect of not watching pid anymore, and would result in a > useless timeout w

Re: [systemd-devel] A small issue with user@.service

2013-09-20 Thread Yuxuan Shui
Hi, On Sat, Sep 21, 2013 at 1:47 AM, Colin Walters wrote: > Hi Yuxuan, > > On Fri, 2013-09-20 at 23:36 +0800, Yuxuan Shui wrote: >> Dear developers, >> >> I had post-poned systemd updates for a long time, because update from >> 204 to 206 breaks systemd --user. Now start systemd --user manually

[systemd-devel] [PATCH 2/2] test: test for ellipsize (manual)

2013-09-20 Thread Shawn Landden
--- Makefile.am | 7 +++ src/test/test-ellipsize.c | 42 ++ 2 files changed, 49 insertions(+) create mode 100644 src/test/test-ellipsize.c diff --git a/Makefile.am b/Makefile.am index 89a5c86..802f6eb 100644 --- a/Makefile.am +++ b/Makef

[systemd-devel] [PATCH 1/2] util, utf8: make ellipsize and ellipsize_mem take into account multi-byte characters

2013-09-20 Thread Shawn Landden
rename old versions to ascii_* Do not take into account zerowidth characters, but do consider double-wide characters. Import needed utf8 helper code from glib. v3: rebase ontop of utf8 restructuring work --- TODO | 4 -- src/shared/utf8.c | 120 +++

[systemd-devel] [PATCH 3/3] Fix possible lack of status messages on shutdown/reboot

2013-09-20 Thread Olivier Brunel
Since 31a7eb86 the output on console can be disabled to avoid colliding with gettys. However, it could also lead to a lack of messages during shutdown/reboot. --- src/core/job.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/job.c b/src/core/job.c index 85f77e8..fd22184 100644 ---

[systemd-devel] [PATCH 2/3] Only disable output on console during boot if needed

2013-09-20 Thread Olivier Brunel
If there are no more jobs on console, no need/we shouldn't disable output. --- src/core/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/manager.c b/src/core/manager.c index 669af15..a48d711 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -1757,7 +

[systemd-devel] [PATCH 0/3] Fix issues re: visibility of status messages

2013-09-20 Thread Olivier Brunel
Hi, I'm running Arch Linux, have been using systemd-204, and recently tried the new 207 release, and I have been having some issues with it. One was that status messages would just stop at some point near the end of the boot process, and also that I wouldn't get any during a shutdown/reboot. It m

[systemd-devel] [PATCH] Fix timeout when stopping Type=notify service

2013-09-20 Thread Olivier Brunel
Since 41efeaec a call to service_unwatch_main_pid() is done from service_set_main_pid(), which is called upon receiving message MAINPID= This had the side effect of not watching pid anymore, and would result in a useless timeout when stopping the service, as the unit wouldn't be identified from th

[systemd-devel] [PATCH 1/3] Resolve /dev/console to the active tty instead of just "tty0"

2013-09-20 Thread Olivier Brunel
When resolving /dev/console one would often get "tty0" meaning the active VT. Resolving to the actual tty (e.g. "tty1") will notably help on boot when determining whether or not PID1 can output to the console. --- src/shared/util.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sr

Re: [systemd-devel] [PATCH] logind: put correct user object paths in introspection data

2013-09-20 Thread Colin Walters
On Fri, 2013-09-20 at 18:14 +0300, Mantas Mikulėnas wrote: > Sync with user_bus_path() in logind-user-dbus.c Right, looks like this was missed with 9444b1f2. Applied, thanks! ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lis

Re: [systemd-devel] A small issue with user@.service

2013-09-20 Thread Colin Walters
Hi Yuxuan, On Fri, 2013-09-20 at 23:36 +0800, Yuxuan Shui wrote: > Dear developers, > > I had post-poned systemd updates for a long time, because update from > 204 to 206 breaks systemd --user. Now start systemd --user manually > fails with: See previous threads: http://lists.freedesktop.org/ar

[systemd-devel] A small issue with user@.service

2013-09-20 Thread Yuxuan Shui
Dear developers, I had post-poned systemd updates for a long time, because update from 204 to 206 breaks systemd --user. Now start systemd --user manually fails with: Using cgroup controller name=systemd. File system hierarchy is at /sys/fs/cgroup/systemd/user.slice/user-1000.slice/session-46.sco

[systemd-devel] [PATCH] logind: put correct user object paths in introspection data

2013-09-20 Thread Mantas Mikulėnas
Sync with user_bus_path() in logind-user-dbus.c --- src/login/logind-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c index ec590c0..e76381b 100644 --- a/src/login/logind-dbus.c +++ b/src/login/logind-dbus.c @@ -2256,7 +22

[systemd-devel] libsystemd-bus and libdbus

2013-09-20 Thread Karoline Haus
Good morning, I'm very interested in systemd's DBUS client library. As far as I understand it brings significant performance improvements over the standard libdbus library.  It has actually been designed to one day talk to the kernel-based DBUS implementation, but can also be used to communicate