Re: [systemd-devel] Systemd socket activation of DBus in the user session

2012-06-19 Thread Kok, Auke-jan H
On Tue, Jun 19, 2012 at 5:17 AM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Mon, Jun 18, 2012 at 5:22 PM, Peeters Simon peeters.si...@gmail.com wrote: also i have been running the patch succesfully (both in system mode and in my systemd-gnome-session (which i will share soon)) for a

[systemd-devel] [PATCH] systemd: return error when asked to stop unknown unit

2012-06-19 Thread Michal Sekletar
Command systemctl stop foo.service, will print error message, when foo.service is unknown to systemd, i.e. there is no unit file loaded for this service. https://bugzilla.redhat.com/show_bug.cgi?id=732874 --- src/core/dbus-manager.c |5 + 1 file changed, 5 insertions(+) diff --git

Re: [systemd-devel] systemd unit files for Debian based systems

2012-06-19 Thread Lennart Poettering
On Mon, 18.06.12 21:56, Paul Menzel (paulepan...@users.sourceforge.net) wrote: heya, Those files should probably not be used, they are kinda out-of-date. I have removed these files now from the web server, to avoid confusion. (ok, i renamed them to /systemd-units.out-of-date/, so that

Re: [systemd-devel] [PATCH 1/5] build-sys: move common libraries to separate Makefile

2012-06-19 Thread Lennart Poettering
On Tue, 12.06.12 12:52, William Hubbs (w.d.hu...@gmail.com) wrote: heya, Sorry, not going to merge this. This patch is ugly, and I doubt you can fix it to make it less ugly. Split makefiles suck [1], and so do makefiles with even more ifdefs than we already have. Besides that it would probably

Re: [systemd-devel] [PATCH 1/5] build-sys: move common libraries to separate Makefile

2012-06-19 Thread Karel Zak
On Tue, Jun 19, 2012 at 10:31:30AM +0200, Lennart Poettering wrote: [1] I mean, seriously, we made the clear decision to have only a single makefile and avoid recursive make and now with splitting this stuff up you undo that half-way. Note that include Makefile-udev.am does not mean

Re: [systemd-devel] [PATCH 1/5] build-sys: move common libraries to separate Makefile

2012-06-19 Thread Lennart Poettering
On Tue, 19.06.12 10:45, Karel Zak (k...@redhat.com) wrote: On Tue, Jun 19, 2012 at 10:31:30AM +0200, Lennart Poettering wrote: [1] I mean, seriously, we made the clear decision to have only a single makefile and avoid recursive make and now with splitting this stuff up you undo that

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Lennart Poettering
On Thu, 14.06.12 21:32, William Hubbs (w.d.hu...@gmail.com) wrote: Yes, we could, but what about exherbo, funtoo, linux from scratch and the other source based distros that may be out there? I fail to see what this has to do with source-based distros. They can just build systemd as normal

Re: [systemd-devel] [PATCH] vconsole-setup: enable utf-8 mode explicitly

2012-06-19 Thread Lennart Poettering
On Mon, 11.06.12 00:36, Tom Gundersen (t...@jklm.no) wrote: On Sun, Jun 10, 2012 at 10:30 PM, Kay Sievers k...@vrfy.org wrote: Hmm, what setup exactly would be fixed by this? In my case I can reprodce the problem by blacklisting my graphics driver (i915). In this case my console at boot

Re: [systemd-devel] cpufrequtils considered useless (was: systemd unit files for Debian based systems)

2012-06-19 Thread Paul Menzel
Am Dienstag, den 19.06.2012, 10:03 +0200 schrieb Lennart Poettering: On Mon, 18.06.12 21:56, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Dear Lennart, […] What is cpufrequitls for? Why would anybody fiddle with that? ondemand is the only CPU scheduler that makes sense, so

Re: [systemd-devel] [PATCH] systemd: return error when asked to stop unknown unit

2012-06-19 Thread Michal Schmidt
On 06/19/2012 10:00 AM, Michal Sekletar wrote: +if (job_type == JOB_STOP u-load_state == UNIT_ERROR unit_active_state(u) == UNIT_INACTIVE) { In case anyone's wondering why there's the check for the unit's active state: It is possible to have units that are active and have a

Re: [systemd-devel] cpufrequtils considered useless (was: systemd unit files for Debian based systems)

2012-06-19 Thread Lennart Poettering
On Tue, 19.06.12 11:42, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Heya, I guess it is useful to have an abstraction layer because directories and files under `/sys` might change. Nah, really, cpufrequtils should just go away. People should use the kernel APIs right

Re: [systemd-devel] cpufrequtils considered useless

2012-06-19 Thread Paul Menzel
Am Dienstag, den 19.06.2012, 11:48 +0200 schrieb Lennart Poettering: On Tue, 19.06.12 11:42, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Dear Lennart, I guess it is useful to have an abstraction layer because directories and files under `/sys` might change. Nah,

Re: [systemd-devel] cpufrequtils considered useless (was: systemd unit files for Debian based systems)

2012-06-19 Thread Tomasz Torcz
On Tue, Jun 19, 2012 at 11:42:10AM +0200, Paul Menzel wrote: Nah, really, cpufrequtils should just go away. People should use the kernel APIs right away. alright looking into why `cpufrequtils` is installed on my system I now know the reasons. The frequency(?) modules are not loaded

Re: [systemd-devel] cpufrequtils considered useless

2012-06-19 Thread Kay Sievers
On Tue, Jun 19, 2012 at 12:04 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Am Dienstag, den 19.06.2012, 11:48 +0200 schrieb Lennart Poettering: On Tue, 19.06.12 11:42, Paul Menzel (paulepan...@users.sourceforge.net) wrote: I guess it is useful to have an abstraction layer

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Michael Olbrich
On Tue, Jun 19, 2012 at 11:21:58AM +0200, Lennart Poettering wrote: On Fri, 15.06.12 20:06, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: dbus libcap I am quite happy with depending on these two as it makes little sense to build an OS without it, unless you go super minimal in which

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Kay Sievers
On Tue, Jun 19, 2012 at 1:10 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: On Tue, Jun 19, 2012 at 11:21:58AM +0200, Lennart Poettering wrote: On Fri, 15.06.12 20:06, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: dbus libcap I am quite happy with depending on these two as it

Re: [systemd-devel] removing dm-crypt mapping hangs on shutdown

2012-06-19 Thread Lennart Poettering
On Tue, 12.06.12 20:50, Dave Reisner (d...@falconindy.com) wrote: Hi, Heya, I'm having some problems with a few of my VMs which all share in common an encrypted root. They pivot into a shutdown ramfs and walk through the blockdevs in sysfs, breaking down and unmounting each device.

Re: [systemd-devel] removing dm-crypt mapping hangs on shutdown

2012-06-19 Thread Lennart Poettering
On Wed, 13.06.12 14:58, Colin Guthrie (gm...@colin.guthr.ie) wrote: I guess the initramfs should really write something in /run/initramfs folder that indicates which devices it's managing such that systemd can only deal with the remainder. Well, the idea is that the normal cryptsetup logic

Re: [systemd-devel] removing dm-crypt mapping hangs on shutdown

2012-06-19 Thread Lennart Poettering
On Wed, 13.06.12 10:36, Dave Reisner (d...@falconindy.com) wrote: I don't think a simply solution would work here as there are other cases that may trigger the initramfs to enable certain devices (e.g. resume from an encrypted swap partition for example). Sure, there's already code to

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Michael Olbrich
On Tue, Jun 19, 2012 at 01:59:14PM +0200, Kay Sievers wrote: On Tue, Jun 19, 2012 at 1:10 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: On Tue, Jun 19, 2012 at 11:21:58AM +0200, Lennart Poettering wrote: On Fri, 15.06.12 20:06, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: dbus

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Michael Olbrich
On Tue, Jun 19, 2012 at 11:13:50AM +0200, Lennart Poettering wrote: On Thu, 14.06.12 21:32, William Hubbs (w.d.hu...@gmail.com) wrote: Yes, we could, but what about exherbo, funtoo, linux from scratch and the other source based distros that may be out there? I fail to see what this has

[systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-19 Thread Michael Olbrich
Hi, On Tue, Jun 19, 2012 at 10:03:23AM +0200, Lennart Poettering wrote: On Mon, 18.06.12 21:56, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Do you know of a service file for openssh-server? The Fedora packages have some, but I don't like them too much since they don't use

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Lennart Poettering
On Tue, 19.06.12 18:44, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Yes, we could, but what about exherbo, funtoo, linux from scratch and the other source based distros that may be out there? I fail to see what this has to do with source-based distros. They can just build

Re: [systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-19 Thread Lennart Poettering
On Tue, 19.06.12 18:50, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Hi, On Tue, Jun 19, 2012 at 10:03:23AM +0200, Lennart Poettering wrote: On Mon, 18.06.12 21:56, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Do you know of a service file for openssh-server?

Re: [systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-19 Thread Alexander E. Patrakov
2012/6/19 Lennart Poettering lenn...@poettering.net: On Tue, 19.06.12 18:50, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Hi, On Tue, Jun 19, 2012 at 10:03:23AM +0200, Lennart Poettering wrote: On Mon, 18.06.12 21:56, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Do

Re: [systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-19 Thread Lennart Poettering
On Tue, 19.06.12 23:40, Alexander E. Patrakov (patra...@gmail.com) wrote: IMHO there is one issue with the inetd-style approach: it is explicitly discouraged in man sshd. It may well be the case of outdated documentation, as I don't see any of the indicated problems on my desktop or laptop.

Re: [systemd-devel] [PATCH] analyze: Python 3 compatibility

2012-06-19 Thread Lennart Poettering
On Thu, 14.06.12 15:08, Shawn Landden (shawnland...@gmail.com) wrote: Plot verb doesn't currently work b/c Cairo bug sending to stdout in python 3. Applied. Thanks! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list

Re: [systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-19 Thread Mantas Mikulėnas
On Tue, Jun 19, 2012 at 8:40 PM, Alexander E. Patrakov patra...@gmail.com wrote: 2012/6/19 Lennart Poettering lenn...@poettering.net: On Tue, 19.06.12 18:50, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Hi, On Tue, Jun 19, 2012 at 10:03:23AM +0200, Lennart Poettering wrote: On Mon,

Re: [systemd-devel] cpufrequtils considered useless

2012-06-19 Thread Colin Guthrie
'Twas brillig, and Kay Sievers at 19/06/12 11:10 did gyre and gimble: On Tue, Jun 19, 2012 at 12:04 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Am Dienstag, den 19.06.2012, 11:48 +0200 schrieb Lennart Poettering: On Tue, 19.06.12 11:42, Paul Menzel

Re: [systemd-devel] ExecReload-spawned process getting SIGKILLed

2012-06-19 Thread Lennart Poettering
On Thu, 07.06.12 19:36, Sam Varshavchik (mr...@courier-mta.com) wrote: Dave Reisner writes: On Thu, Jun 07, 2012 at 08:41:54AM -0400, Sam Varshavchik wrote: This is wrong. ExecReload should not cause the process to change PIDs. Not that this was ever allowed, but the below commit is was

Re: [systemd-devel] using native *.mount units instead of /etc/fstab - unpredictable state in case of many disks

2012-06-19 Thread Lennart Poettering
On Sun, 03.06.12 22:18, Peter Lemenkov (lemen...@gmail.com) wrote: Hello. I've hit by a strange issue on a machine with 8 hard disks. if I list them all in /etc/fstab they mounts fine. If I provide native *.mount files then almost every reboot one or several disks failed to mount (with 32

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

2012-06-19 Thread Lennart Poettering
On Mon, 04.06.12 09:45, Dave Reisner (d...@falconindy.com) wrote: Not the most convenient thing to type, but it gets the job done: $ systemctl status '\x2esnap.mount' \x2esnap.mount - /.snap Loaded: loaded (/etc/fstab) Active: active (mounted) since Mon, 04 Jun 2012

Re: [systemd-devel] cpufrequtils considered useless

2012-06-19 Thread Lennart Poettering
On Tue, 19.06.12 19:06, Colin Guthrie (gm...@colin.guthr.ie) wrote: Or do whatever they used to do in the past and bet it works, like it did most of the time. The problem is pretty much solved from systemd's point of view, so there will be no effort from this side. The only safe option

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Armin K.
On 06/19/2012 08:00 PM, Jürgen Daubert wrote: Kay Sievers kay at vrfy.org writes: [...] We said udev *runs* alone, not that you can tweak the build system to only build it. And that is still all true. Sorry, but in your first announcement [1] this sounds quite different to me. At all I got

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

2012-06-19 Thread Lennart Poettering
On Fri, 01.06.12 23:13, Richard Hughes (hughsi...@gmail.com) wrote: On 25 May 2012 13:28, Lennart Poettering lenn...@poettering.net wrote:        * A framework for implementing offline system updates is now          integrated, for details see:          

Re: [systemd-devel] Unit file for motd (message of the day)

2012-06-19 Thread Paul Menzel
Am Dienstag, den 19.06.2012, 20:04 +0200 schrieb Lennart Poettering: On Sun, 10.06.12 14:40, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Dear Lennart, [ Roger Leigh ] * initscripts: - Don't generate or touch /etc/motd. Instead, the dynamic part

Re: [systemd-devel] Unit file for motd (message of the day)

2012-06-19 Thread Lennart Poettering
On Tue, 19.06.12 22:14, Paul Menzel (paulepan...@users.sourceforge.net) wrote: Reading this changelog entry and the init.d script, I could not find anything that is written dynamically to `/etc` and just to `/run`. Hmm, yeah, I think a symlink for this is really a hack, this really should be

Re: [systemd-devel] cpufrequtils considered useless

2012-06-19 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 19/06/12 19:58 did gyre and gimble: On Tue, 19.06.12 19:06, Colin Guthrie (gm...@colin.guthr.ie) wrote: Or do whatever they used to do in the past and bet it works, like it did most of the time. The problem is pretty much solved from systemd's point

Re: [systemd-devel] ExecReload-spawned process getting SIGKILLed

2012-06-19 Thread Sam Varshavchik
Lennart Poettering writes: On Thu, 07.06.12 19:36, Sam Varshavchik (mr...@courier-mta.com) wrote: Dave Reisner writes: On Thu, Jun 07, 2012 at 08:41:54AM -0400, Sam Varshavchik wrote: This is wrong. ExecReload should not cause the process to change PIDs. Not that this was ever allowed,

Re: [systemd-devel] ssh socket activation (Was: systemd unit files for Debian based systems)

2012-06-19 Thread Mathieu Bridon
On Tue, 2012-06-19 at 19:15 +0200, Lennart Poettering wrote: On Tue, 19.06.12 18:50, Michael Olbrich (m.olbr...@pengutronix.de) wrote: Hi, On Tue, Jun 19, 2012 at 10:03:23AM +0200, Lennart Poettering wrote: On Mon, 18.06.12 21:56, Paul Menzel (paulepan...@users.sourceforge.net)

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Bryan Kadzban
Lennart Poettering wrote: On Fri, 15.06.12 20:06, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: dbus libcap I am quite happy with depending on these two as it makes little sense to build an OS without it, unless you go super minimal in which case sysemd/udev are not relevant. As I