Re: [systemd-devel] [PATCH] exec: Fix number of unit types

2011-05-26 Thread Tollef Fog Heen
]] Ozan Çağlayan | There are four unit types mentioned in here, not three Thanks, applied. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are ___ systemd-devel mailing list [email protected] http://l

[systemd-devel] [PATCH] exec: Fix number of unit types

2011-05-26 Thread Ozan Çağlayan
There are four unit types mentioned in here, not three --- man/systemd.exec.xml |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index de1d9bf..7b4f7e3 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -57,13 +57,

[systemd-devel] [PATCH] pam-module: add debug= parameter

2011-05-26 Thread Michal Schmidt
It is customary that pam modules do not log debugging information by default. Usually they offer a 'debug' option. Add a boolean debug= option to pam_systemd.so. This will solve bug https://bugzilla.redhat.com/show_bug.cgi?id=705427 Commit 53d5582fa006b0eb528f5dc3f4ba978abd8ac5a3 was not suffici

Re: [systemd-devel] [ANNOUNCE] systemd v28

2011-05-26 Thread Lennart Poettering
On Thu, 26.05.11 22:40, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > > On 05/26/2011 09:34 PM, Lennart Poettering wrote: > > Heya, > > > > http://www.freedesktop.org/software/systemd/systemd-28.tar.bz2 > Hi, > not a big problem, but the git tag seems to be missing... > > >From git:/

Re: [systemd-devel] [ANNOUNCE] systemd v28

2011-05-26 Thread Zbigniew Jędrzejewski-Szmek
On 05/26/2011 09:34 PM, Lennart Poettering wrote: > Heya, > > http://www.freedesktop.org/software/systemd/systemd-28.tar.bz2 Hi, not a big problem, but the git tag seems to be missing... >From git://anongit.freedesktop.org/systemd 4a058a7..0e8eb2d master -> origin/master >From git://anong

[systemd-devel] Minor annoyance in bash completion script for systemctl

2011-05-26 Thread Steven Danna
Hi, I just wanted to ping the mailing list about a trivial bug I filled on freedesktop.org: https://bugs.freedesktop.org/show_bug.cgi?id=37343 The tab completion for "restart" won't show any of the active units which is a bit annoying. I attached a one-line (one word, actually) patch to the bug

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Lennart Poettering
On Thu, 26.05.11 16:48, Vasiliy G Tolstov ([email protected]) wrote: > > On Thu, 2011-05-26 at 14:38 +0200, Lennart Poettering wrote: > > > > > No, please don't. These interfaces have been designed in a way that > > other init systems could use them too. If you however invoke sd_booted() > >

[systemd-devel] [ANNOUNCE] systemd v28

2011-05-26 Thread Lennart Poettering
Heya, http://www.freedesktop.org/software/systemd/systemd-28.tar.bz2 The biggest change is that we no longer install the hwclock services. Details on this: Instead of relying on "hwclock --hctosys" to deal with RTCs in local clocks we now do this internally in PID 1. This is much faster, simple

[systemd-devel] python-systemd

2011-05-26 Thread Ozan Çağlayan
Hi, I just hit a Python binding over D-Bus to systemd written by Mandriva people. For those who are interested here's the link: https://github.com/wiliamsouza/python-systemd Regards, Ozan Caglayan ___ systemd-devel mailing list [email protected]

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Vasiliy G Tolstov
On Thu, 2011-05-26 at 14:38 +0200, Lennart Poettering wrote: > > No, please don't. These interfaces have been designed in a way that > other init systems could use them too. If you however invoke sd_booted() > explicitly you ensure that your code won't work on other init systems > exposing the sa

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Kay Sievers
On Thu, May 26, 2011 at 14:38, Lennart Poettering wrote: > On Thu, 26.05.11 12:53, Vasiliy G Tolstov ([email protected]) wrote: > >> On Thu, 2011-05-26 at 16:52 +0800, microcai wrote: >> > 于 2011年05月26日 16:33, Vasiliy G Tolstov 写道: >> > > Hello. If i want to write daemon, that can be running by

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Lennart Poettering
On Thu, 26.05.11 12:53, Vasiliy G Tolstov ([email protected]) wrote: > On Thu, 2011-05-26 at 16:52 +0800, microcai wrote: > > 于 2011年05月26日 16:33, Vasiliy G Tolstov 写道: > > > Hello. If i want to write daemon, that can be running by regular init > > > system (openrc, upstart and others) and syste

Re: [systemd-devel] [PATCH] shutdown: pivot_root to a tmpfs directory to properly umount root

2011-05-26 Thread Harald Hoyer
Am 26.05.2011 13:35, schrieb Harald Hoyer: Rebased pivot_root patches can be pulled from: http://git.surfsite.org//systemd.git http://git.surfsite.org/?p=systemd.git git://git.surfsite.org/pub/git/systemd.git ___ systemd-devel mailing list system

Re: [systemd-devel] Chicken and egg problem when building a systemd enabled system

2011-05-26 Thread Kay Sievers
On Thu, May 26, 2011 at 11:31, Michael Biebl wrote: > 2011/5/26 Koen Kooi : >> When building a complete system from scratch, especially in a crosscompile >> environment there is a chicken and egg problem: >> >> systemd needs dbus and udev to buid, but dbus and udev only install systemd >> files

Re: [systemd-devel] [PATCH] shutdown: pivot_root to a tmpfs directory to properly umount root

2011-05-26 Thread Harald Hoyer
Rebased pivot_root patches can be pulled from: http://git.surfsite.org//systemd.git git://git.surfsite.org/pub/git/systemd.git ___ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Chicken and egg problem when building a systemd enabled system

2011-05-26 Thread Michael Biebl
2011/5/26 Koen Kooi : > Hi, > > When building a complete system from scratch, especially in a crosscompile > environment there is a chicken and egg problem: > > systemd needs dbus and udev to buid, but dbus and udev only install systemd > files when system has been built. > > I'd like to confirm

Re: [systemd-devel] Chicken and egg problem when building a systemd enabled system

2011-05-26 Thread Koen Kooi
Op 26 mei 2011, om 11:02 heeft microcai het volgende geschreven: > 于 2011年05月26日 16:58, Koen Kooi 写道: >> Hi, >> >> When building a complete system from scratch, especially in a crosscompile >> environment there is a chicken and egg problem: >> >> systemd needs dbus and udev to buid, but dbus a

Re: [systemd-devel] Chicken and egg problem when building a systemd enabled system

2011-05-26 Thread microcai
于 2011年05月26日 16:58, Koen Kooi 写道: > Hi, > > When building a complete system from scratch, especially in a crosscompile > environment there is a chicken and egg problem: > > systemd needs dbus and udev to buid, but dbus and udev only install systemd > files when system has been built. > > I'd

[systemd-devel] Chicken and egg problem when building a systemd enabled system

2011-05-26 Thread Koen Kooi
Hi, When building a complete system from scratch, especially in a crosscompile environment there is a chicken and egg problem: systemd needs dbus and udev to buid, but dbus and udev only install systemd files when system has been built. I'd like to confirm that passing '--with-systemdsystemuni

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Vasiliy G Tolstov
On Thu, 2011-05-26 at 16:52 +0800, microcai wrote: > 于 2011年05月26日 16:33, Vasiliy G Tolstov 写道: > > Hello. If i want to write daemon, that can be running by regular init > > system (openrc, upstart and others) and systemd, how can i check inside > > my daemon, that it runs from systemd? > > In comp

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Vasiliy G Tolstov
On Thu, 2011-05-26 at 10:43 +0200, Michael Biebl wrote: > 2011/5/26 Vasiliy G Tolstov : > > Hello. If i want to write daemon, that can be running by regular init > > system (openrc, upstart and others) and systemd, how can i check inside > > my daemon, that it runs from systemd? > > In compile phas

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread microcai
于 2011年05月26日 16:33, Vasiliy G Tolstov 写道: > Hello. If i want to write daemon, that can be running by regular init > system (openrc, upstart and others) and systemd, how can i check inside > my daemon, that it runs from systemd? > In compile phase, i can build with systemd support and install servi

Re: [systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Michael Biebl
2011/5/26 Vasiliy G Tolstov : > Hello. If i want to write daemon, that can be running by regular init > system (openrc, upstart and others) and systemd, how can i check inside > my daemon, that it runs from systemd? > In compile phase, i can build with systemd support and install service > file, bu

[systemd-devel] combine old-style sysvinit daemon and new-style systemd

2011-05-26 Thread Vasiliy G Tolstov
Hello. If i want to write daemon, that can be running by regular init system (openrc, upstart and others) and systemd, how can i check inside my daemon, that it runs from systemd? In compile phase, i can build with systemd support and install service file, but if i do not want to write and build se