Re: [systemd-devel] consider renaming -.slice

2014-01-16 Thread Holger Schurig
systemd-journalctl and systemd-systemctl were also renamed to get more convenient ... (But hey, I don't really know what external stuff uses -.slice and -.mount ...) ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] consider renaming -.slice

2014-01-16 Thread Kay Sievers
On Thu, Jan 16, 2014 at 8:59 AM, Holger Schurig holgerschu...@gmail.com wrote: systemd-journalctl and systemd-systemctl were also renamed to get more convenient ... Symlinks are cheap to create, if compat for these rather exotic things is needed. systemctl was always systemctl, but loginctl we

Re: [systemd-devel] [Patch 0/2] logind: make sure that closed sessions will be cleaned

2014-01-16 Thread Djalal Harouni
On Thu, Jan 16, 2014 at 06:01:58AM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Jan 12, 2014 at 02:07:32AM +0100, Djalal Harouni wrote: On Sat, Jan 11, 2014 at 10:26:13PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Jan 03, 2014 at 02:19:19PM +0100, Djalal Harouni wrote: On

Re: [systemd-devel] consider renaming -.slice

2014-01-16 Thread Holger Schurig
Oh, I confused that with the old /etc/systemd/systemd-journald.conf file, which was renamed. Kay, I only meant to special case the /, e.g. let home-kay-data.mount be it like it is, but rename - to root, so that it is root.mount and root.slice. ___

Re: [systemd-devel] consider renaming -.slice

2014-01-16 Thread Daniel P. Berrange
On Thu, Jan 16, 2014 at 11:27:42AM +0100, Holger Schurig wrote: Oh, I confused that with the old /etc/systemd/systemd-journald.conf file, which was renamed. Kay, I only meant to special case the /, e.g. let home-kay-data.mount be it like it is, but rename - to root, so that it is root.mount

Re: [systemd-devel] consider renaming -.slice

2014-01-16 Thread Colin Guthrie
'Twas brillig, and Holger Schurig at 16/01/14 10:27 did gyre and gimble: Oh, I confused that with the old /etc/systemd/systemd-journald.conf file, which was renamed. Kay, I only meant to special case the /, e.g. let home-kay-data.mount be it like it is, but rename - to root, so that it is

Re: [systemd-devel] consider renaming -.slice

2014-01-16 Thread Mantas Mikulėnas
On Jan 16, 2014 9:34 AM, Holger Schurig holgerschu...@gmail.com wrote: Please consider renamign -.slice, because this sucks: # cd /lib/systemd/system # grep -r user@ * grep: invalid option -- '.' Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Yes, I

Re: [systemd-devel] systemd --user and kdbus

2014-01-16 Thread Kay Sievers
On Sat, Jan 11, 2014 at 7:04 PM, Kay Sievers k...@vrfy.org wrote: We got systemd git working to be able to run a full GNOME (Fedora 20) user session with kdbus now. Instead of dbus-daemon running and activating applications, they are directly started by the systemd --user instance now. Here

Re: [systemd-devel] daemon-reload seems racy

2014-01-16 Thread Colin Guthrie
'Twas brillig, and Colin Guthrie at 14/01/14 13:28 did gyre and gimble: 3. Some sort of kernel trigger for me today led it to run two reexecs quite quickly and triggered this problem randomly during runtime. This *might* have come in via telinit u instead. It doesn't appear that the kernel

Re: [systemd-devel] consider renaming -.slice

2014-01-16 Thread Lennart Poettering
On Thu, 16.01.14 11:27, Holger Schurig (holgerschu...@gmail.com) wrote: Oh, I confused that with the old /etc/systemd/systemd-journald.conf file, which was renamed. Kay, I only meant to special case the /, e.g. let home-kay-data.mount be it like it is, but rename - to root, so that it is

Re: [systemd-devel] consider renaming -.slice

2014-01-16 Thread Lennart Poettering
On Thu, 16.01.14 08:33, Holger Schurig (holgerschu...@gmail.com) wrote: Please consider renamign -.slice, because this sucks: # cd /lib/systemd/system # grep -r user@ * grep: invalid option -- '.' Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' for more information. Yes,

Re: [systemd-devel] [PATCHv5] tmpfiles, man: Add xattr support to tmpfiles

2014-01-16 Thread Maciej Wereski
11.12.2013 at 15:15 Lennart Poettering lenn...@poettering.net wrote: On Wed, 11.12.13 14:24, Maciej Wereski (m.were...@partner.samsung.com) wrote: +xattr = new0(char, strlen(i-argument)+1); +if (!xattr) +return log_oom(); + +tmp =

Re: [systemd-devel] why does nofail imply no After= in /etc/fstab

2014-01-16 Thread Lennart Poettering
On Wed, 15.01.14 20:20, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: I was a bit surprised that for mount points the dependency Before=local-fs.target is only added when nofail is not used. This seems to be a concious decision (added by Lennart in 155da457, and then survived all the

Re: [systemd-devel] why does nofail imply no After= in /etc/fstab

2014-01-16 Thread Lennart Poettering
On Thu, 16.01.14 16:14, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Thu, Jan 16, 2014 at 03:51:02PM +0100, Lennart Poettering wrote: On Wed, 15.01.14 20:20, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: I was a bit surprised that for mount points the

Re: [systemd-devel] why does nofail imply no After= in /etc/fstab

2014-01-16 Thread Chris Murphy
On Jan 16, 2014, at 7:51 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 15.01.14 20:20, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: I was a bit surprised that for mount points the dependency Before=local-fs.target is only added when nofail is not used. This seems

Re: [systemd-devel] [PATCH v2 6/8] add GOP mode setting and splash drawing support

2014-01-16 Thread Joonas Lahtinen
Hi, On 14.01.2014 16:13, Tom Gundersen wrote: On Tue, Jan 14, 2014 at 2:15 PM, Joonas Lahtinen joonas.lahti...@linux.intel.com wrote: I've implemented very basic BMP support and commited it. The custom format was there for best possible speed to be achieved when displaying the splash, as the

Re: [systemd-devel] [PATCH v2 6/8] add GOP mode setting and splash drawing support

2014-01-16 Thread Tom Gundersen
Hi Joonas, On Thu, Jan 16, 2014 at 4:13 PM, Joonas Lahtinen joonas.lahti...@linux.intel.com wrote: By our measurements, the original BGRX code only adds some 5 milliseconds to the boot time compared to no logo at all, where the BMP code adds almost 70 milliseconds. I think the most

Re: [systemd-devel] why does nofail imply no After= in /etc/fstab

2014-01-16 Thread Kay Sievers
On Thu, Jan 16, 2014 at 4:19 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 16.01.14 16:14, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Thu, Jan 16, 2014 at 03:51:02PM +0100, Lennart Poettering wrote: On Wed, 15.01.14 20:20, Zbigniew Jędrzejewski-Szmek

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Lennart Poettering
On Mon, 13.01.14 22:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Eeeh, why? This new name suggests that this libary is for systemd functionality. But so far it is a generic. Also, we have libsystemd-daemon, libsystemd-id128, etc. As a consumer of the library, I'd much prefer to

Re: [systemd-devel] why does nofail imply no After= in /etc/fstab

2014-01-16 Thread Colin Guthrie
'Twas brillig, and Chris Murphy at 16/01/14 15:34 did gyre and gimble: On Jan 16, 2014, at 8:25 AM, Kay Sievers k...@vrfy.org wrote: On Thu, Jan 16, 2014 at 4:19 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 16.01.14 16:14, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl)

Re: [systemd-devel] why does nofail imply no After= in /etc/fstab

2014-01-16 Thread Chris Murphy
On Jan 16, 2014, at 8:25 AM, Kay Sievers k...@vrfy.org wrote: On Thu, Jan 16, 2014 at 4:19 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 16.01.14 16:14, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Thu, Jan 16, 2014 at 03:51:02PM +0100, Lennart Poettering

Re: [systemd-devel] [PATCH] readme: CONFIG_FHANDLE is a requirement

2014-01-16 Thread Lennart Poettering
On Tue, 14.01.14 15:26, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: From: Umut Tezduyar Lindskog umu...@axis.com --- README |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/README b/README index a1058c5..6fcab4f 100644 --- a/README +++ b/README @@

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 16, 2014 at 04:41:48PM +0100, Lennart Poettering wrote: On Mon, 13.01.14 22:58, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: Eeeh, why? This new name suggests that this libary is for systemd functionality. But so far it is a generic. Also, we have libsystemd-daemon,

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Kay Sievers
On Thu, Jan 16, 2014 at 5:31 PM, Michael Biebl mbi...@gmail.com wrote: 2014/1/16 Lennart Poettering lenn...@poettering.net: So I am pretty sure libsystemd-id128, libsystemd-login, libsystemd-journal should just end up in a single libsystemd.so together with the event loop, the bus, the asyncns

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Michael Biebl
2014/1/16 Lennart Poettering lenn...@poettering.net: So I am pretty sure libsystemd-id128, libsystemd-login, libsystemd-journal should just end up in a single libsystemd.so together with the event loop, the bus, the asyncns stuff and more. All this functinality requires each other, and should

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Lennart Poettering
On Thu, 16.01.14 17:31, Michael Biebl (mbi...@gmail.com) wrote: 2014/1/16 Lennart Poettering lenn...@poettering.net: So I am pretty sure libsystemd-id128, libsystemd-login, libsystemd-journal should just end up in a single libsystemd.so together with the event loop, the bus, the asyncns

Re: [systemd-devel] [systemd-commits] src/libsystemd-dhcp src/systemd

2014-01-16 Thread Lennart Poettering
On Mon, 06.01.14 03:35, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: +lease-dns = new0(struct in_addr*, len / 4 + 1); +if (!lease-dns) +return -ENOMEM; + +for (i = 0; i len / 4;

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Lennart Poettering
On Thu, 16.01.14 17:24, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: There are some exceptions to this though. For example, I am unsure about libsystemd-daemon: it's relatively easy to maintain this in its own lib, sicne so far it actually doesn't use any of the shared code,

Re: [systemd-devel] [systemd-commits] 6 commits - Makefile.am src/bus-proxyd src/network TODO

2014-01-16 Thread Lennart Poettering
On Sun, 12.01.14 06:32, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: +r = mkdir_safe_label(/run/systemd/network, 0755, 0, 0); +if (r 0) +return r; + +r = fopen_temporary(/run/systemd/network/resolv.conf, f, temp_path); +if (r 0)

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Simon McVittie
On 16/01/14 15:41, Lennart Poettering wrote: There are some exceptions to this though. For example, I am unsure about libsystemd-daemon: it's relatively easy to maintain this in its own lib, sicne so far it actually doesn't use any of the shared code, because its' embeddable. But then agaiun,

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Lennart Poettering
On Thu, 16.01.14 18:27, Michael Biebl (mbi...@gmail.com) wrote: 2014/1/16 Lennart Poettering lenn...@poettering.net: On Thu, 16.01.14 17:33, Michael Biebl (mbi...@gmail.com) wrote: 2014/1/16 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl: I am also a bit worried about so-bumps:

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Michael Biebl
2014/1/16 Lennart Poettering lenn...@poettering.net: On Thu, 16.01.14 17:33, Michael Biebl (mbi...@gmail.com) wrote: 2014/1/16 Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl: I am also a bit worried about so-bumps: currently we have very nice backwards compatibility, without any API

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Lennart Poettering
On Thu, 16.01.14 17:19, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: On 16/01/14 15:41, Lennart Poettering wrote: There are some exceptions to this though. For example, I am unsure about libsystemd-daemon: it's relatively easy to maintain this in its own lib, sicne so far it

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Michael Biebl
2014/1/16 Lennart Poettering lenn...@poettering.net: On Thu, 16.01.14 18:27, Michael Biebl (mbi...@gmail.com) wrote: 2014/1/16 Lennart Poettering lenn...@poettering.net: On Thu, 16.01.14 17:33, Michael Biebl (mbi...@gmail.com) wrote: 2014/1/16 Zbigniew Jędrzejewski-Szmek

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Kay Sievers
On Thu, Jan 16, 2014 at 7:00 PM, Michael Biebl mbi...@gmail.com wrote: 2014/1/16 Lennart Poettering lenn...@poettering.net: Well, it can certainly continue to use and build against the old version for a while, no? We'd have to make pre-systemd-209 and systemd-209 packages co-installable

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Michael Biebl
2014/1/16 Kay Sievers k...@vrfy.org: On Thu, Jan 16, 2014 at 7:00 PM, Michael Biebl mbi...@gmail.com wrote: 2014/1/16 Lennart Poettering lenn...@poettering.net: Well, it can certainly continue to use and build against the old version for a while, no? We'd have to make pre-systemd-209 and

Re: [systemd-devel] [systemd-commits] src/libsystemd-dhcp src/systemd

2014-01-16 Thread Tom Gundersen
On Thu, Jan 16, 2014 at 5:35 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 06.01.14 03:35, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: +lease-dns = new0(struct in_addr*, len / 4 + 1); +if (!lease-dns) +

Re: [systemd-devel] [systemd-commits] 6 commits - Makefile.am src/bus-proxyd src/network TODO

2014-01-16 Thread Tom Gundersen
On Thu, Jan 16, 2014 at 6:13 PM, Lennart Poettering lenn...@poettering.net wrote: On Sun, 12.01.14 06:32, Tom Gundersen (tome...@kemper.freedesktop.org) wrote: +r = mkdir_safe_label(/run/systemd/network, 0755, 0, 0); +if (r 0) +return r; + +r =

[systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Chris Murphy
Due to anti-magic, a recent update horribly broke the system's ability to do further updates. This is resolved by regression to a prior Btrfs snapshot, once updated it works fine. But that's a two week old snapshot. I don't need the broken rootfs but I want to keep the journal for those two

Re: [systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Kai Krakow
Chris Murphy li...@colorremedies.com schrieb: Due to anti-magic, a recent update horribly broke the system's ability to do further updates. This is resolved by regression to a prior Btrfs snapshot, once updated it works fine. But that's a two week old snapshot. I don't need the broken rootfs

Re: [systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Chris Murphy
On Jan 16, 2014, at 1:58 PM, Kai Krakow hurikha...@gmail.com wrote: Chris Murphy li...@colorremedies.com schrieb: Due to anti-magic, a recent update horribly broke the system's ability to do further updates. This is resolved by regression to a prior Btrfs snapshot, once updated it works

Re: [systemd-devel] [systemd-commits] 4 commits - .gitignore Makefile.am man/sd_bus_creds_get_pid.xml man/sd_bus_creds_new_from_pid.xml man/sd_bus_error.xml man/sd_bus_label_escape.xml man/sd_bus_mess

2014-01-16 Thread Colin Guthrie
'Twas brillig, and Michael Biebl at 16/01/14 18:22 did gyre and gimble: 2014/1/16 Kay Sievers k...@vrfy.org: On Thu, Jan 16, 2014 at 7:00 PM, Michael Biebl mbi...@gmail.com wrote: 2014/1/16 Lennart Poettering lenn...@poettering.net: Well, it can certainly continue to use and build against the

Re: [systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Kai Krakow
Chris Murphy li...@colorremedies.com schrieb: Due to anti-magic, a recent update horribly broke the system's ability to do further updates. This is resolved by regression to a prior Btrfs snapshot, once updated it works fine. But that's a two week old snapshot. I don't need the broken rootfs

Re: [systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Mirco Tischler
Am 16.01.2014 22:15 schrieb Chris Murphy li...@colorremedies.com: On Jan 16, 2014, at 1:58 PM, Kai Krakow hurikha...@gmail.com wrote: Chris Murphy li...@colorremedies.com schrieb: Due to anti-magic, a recent update horribly broke the system's ability to do further updates. This is

Re: [systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Chris Murphy
On Jan 16, 2014, at 2:48 PM, Mirco Tischler mircotisch...@gmx.net wrote: Afair, you don't need to mount subvolumes. I do in this case in order to make sure there's an fstab in subsequent snapshots, that mounts the /var/log/journal subvolume. Otherwise, the booted snapshot will end up

Re: [systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Kai Krakow
Mirco Tischler mircotisch...@gmx.net schrieb: Am 16.01.2014 22:15 schrieb Chris Murphy li...@colorremedies.com: On Jan 16, 2014, at 1:58 PM, Kai Krakow hurikha...@gmail.com wrote: Chris Murphy li...@colorremedies.com schrieb: Due to anti-magic, a recent update horribly broke the

Re: [systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Kai Krakow
Chris Murphy li...@colorremedies.com schrieb: On Jan 16, 2014, at 2:48 PM, Mirco Tischler mircotisch...@gmx.net wrote: Afair, you don't need to mount subvolumes. I do in this case in order to make sure there's an fstab in subsequent snapshots, that mounts the /var/log/journal

Re: [systemd-devel] Merging journal logs from btrfs snapshots

2014-01-16 Thread Chris Murphy
On Jan 16, 2014, at 3:44 PM, Kai Krakow hurikha...@gmail.com wrote: Chris Murphy li...@colorremedies.com schrieb: On Jan 16, 2014, at 2:48 PM, Mirco Tischler mircotisch...@gmx.net wrote: Afair, you don't need to mount subvolumes. I do in this case in order to make sure there's an

[systemd-devel] [PATCH] build-sys: merge libsystemd-login into libsystemd

2014-01-16 Thread Zbigniew Jędrzejewski-Szmek
--- Makefile.am | 73 +-- src/libsystemd/libsystemd.sym| 87 +++-- src/login/libsystemd-login.pc.in | 2 +- src/login/libsystemd-login.sym | 94 4 files changed, 97