Re: [systemd-devel] systemd 28 time handling changes "breaks" ntpdate and date ?

2012-04-26 Thread Colin Guthrie
'Twas brillig, and Sam Morris at 25/04/12 23:41 did gyre and gimble: > On Wed, 25 Apr 2012 11:28:14 -0400, Martin Langhoff wrote: > >> Apologies if this has been discussed -- a search through the archives >> didn't find anything. >> >> Reading the announcement of systemd v28... >> >> "At shutdown

[systemd-devel] [PATCH 2/2] udev: use container_of() macro

2012-04-26 Thread Lucas De Marchi
--- src/libudev/libudev-list.c |8 ++-- src/udev/collect/collect.c |8 ++-- src/udev/udevd.c | 16 3 files changed, 8 insertions(+), 24 deletions(-) diff --git a/src/libudev/libudev-list.c b/src/libudev/libudev-list.c index 1fe46f3..aec334b 100644 ---

[systemd-devel] [PATCH 1/2] util: introduce container_of() macro

2012-04-26 Thread Lucas De Marchi
This macro comes from kernel and it's useful for unwrapping structs inside another one. The generated code is actually the same to the one where this logic is used in udev, but using this macro is much cleaner and less error prone. --- src/shared/util.h | 11 +++ 1 file changed, 11 inser

[systemd-devel] cannot add dependency service to graphical.target

2012-04-26 Thread ZiQiang Huan
hi, everyone, I try to write a systemd service just like below: [Unit] Description=service for telnetd Wants=syslog.target [Service] ExecStart=/usr/bin/busybox telnetd Restart=always RestartSec=10 [Install] WantedBy=graphical.target but when I boot up, I got the error below: systemd[1]: Cannot

Re: [systemd-devel] systemd inquiry

2012-04-26 Thread Mark Hounschell
On 04/23/2012 08:33 AM, Mark Hounschell wrote: On 04/22/2012 06:54 AM, Lennart Poettering wrote: On Fri, 13.04.12 13:37, Mark Hounschell ([email protected]) wrote: On 04/12/2012 08:25 AM, Mark Hounschell wrote: On 04/11/2012 05:12 PM, Kay Sievers wrote: On Wed, Apr 11, 2012 at 22:44, Mark Ho