Re: [systemd-devel] Mount options of /var/run/users/

2015-02-17 Thread Павел Самсонов
Thanks for all. I solve my problem with pam_exec for /etc/pam.d/login, /etc/pam.d/gdm-password by adding: session require pam_exec.so /sbin/resources /sbin/resources: #!/bin/bash mount $XDG_RUNTIME_DIR -o remount,noexec I mean this tread closed. ___ sy

[systemd-devel] Fw: Errors using machinectl pull-tar and machinectl pull-dkr

2015-02-17 Thread Peter Paule
I tried systemd 219 on another system as well using some more debug options. Here's the outcome of this. 1) Checking signature of tar.gz failed there as well There's an error complaining about missing permissions to access "/root/.gnupg/trustdb.gpg". It doesn't matter if the file exist. The

[systemd-devel] [PATCH] shared: fix utf16_to_utf8() on big endian machines

2015-02-17 Thread Martin Pitt
Hello all, 219 shows a test failure in test-utf8 on big-endian machines (on Debian: powerpc, s390, mips): Assertion 'streq(a, utf8)' failed at src/test/test-utf8.c:103, function test_utf16_to_utf8(). Aborting. gdb shows that indeed the converted string is utter bogus. a is the converted string,

Re: [systemd-devel] [PATCH v4] Added support for Uplink Failure Detection using BindCarrier

2015-02-17 Thread Andrei Borzenkov
В Tue, 17 Feb 2015 04:06:57 -0800 Alin Rauta пишет: > + > +static int link_handle_bound_to_list(Link *link) { > +Link *l; > +Iterator i; > +int r; > +bool required_up = false; > +bool link_is_up = false; > + > +assert(link); > + > +if (hashm

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

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 18, 2015 at 06:22:38AM +0300, Andrei Borzenkov wrote: > В Wed, 18 Feb 2015 01:14:44 +0100 > Zbigniew Jędrzejewski-Szmek пишет: > > > On Tue, Feb 17, 2015 at 08:05:29PM +0100, Goffredo Baroncelli wrote: > > > Hi Lennart, > > > > > > On 2015-02-16 23:59, Lennart Poettering wrote: > > >

Re: [systemd-devel] [PATCH] units: add ConditionKernelCommandLine=resume

2015-02-17 Thread Andrei Borzenkov
В Tue, 17 Feb 2015 01:33:41 -0300 Cristian Rodríguez пишет: > If there is no resume= ..it is not possible to > hubrid-sleep or hibernate Why? (default) resume device can be specified directly in initrd. > --- > units/systemd-hibernate.service.in| 1 + > units/systemd-hybrid-sleep.service.i

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

2015-02-17 Thread Andrei Borzenkov
В Wed, 18 Feb 2015 01:14:44 +0100 Zbigniew Jędrzejewski-Szmek пишет: > On Tue, Feb 17, 2015 at 08:05:29PM +0100, Goffredo Baroncelli wrote: > > Hi Lennart, > > > > On 2015-02-16 23:59, Lennart Poettering wrote: > > > * journald now sets the special FS_NOCOW file flag for its > > >

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 17, 2015 at 04:39:46PM -0800, Shawn Landden wrote: > On Tue, Feb 17, 2015 at 4:34 PM, Shawn Landden > wrote: > > > On Tue, Feb 17, 2015 at 7:00 AM, Zbigniew Jędrzejewski-Szmek < > > zbys...@in.waw.pl> wrote: > > > >> On Mon, Feb 16, 2015 at 07:53:47PM -0800, Shawn Landden wrote: > >>

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 17, 2015 at 04:46:26PM -0800, Shawn Landden wrote: > The bootloader spec does not say which entry is to be the default. I cannot > support the spec unless I can choose a single default kernel. > > http://freedesktop.org/wiki/Specifications/BootLoaderSpec/ But it says where to look for

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Shawn Landden
The bootloader spec does not say which entry is to be the default. I cannot support the spec unless I can choose a single default kernel. http://freedesktop.org/wiki/Specifications/BootLoaderSpec/ On Tue, Feb 17, 2015 at 7:00 AM, Zbigniew Jędrzejewski-Szmek < zbys...@in.waw.pl> wrote: > On Mon,

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Shawn Landden
On Tue, Feb 17, 2015 at 4:34 PM, Shawn Landden wrote: > On Tue, Feb 17, 2015 at 7:00 AM, Zbigniew Jędrzejewski-Szmek < > zbys...@in.waw.pl> wrote: > >> On Mon, Feb 16, 2015 at 07:53:47PM -0800, Shawn Landden wrote: >> > On Mon, Feb 16, 2015 at 5:08 AM, Lennart Poettering < >> lenn...@poettering.n

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Shawn Landden
On Tue, Feb 17, 2015 at 7:00 AM, Zbigniew Jędrzejewski-Szmek < zbys...@in.waw.pl> wrote: > On Mon, Feb 16, 2015 at 07:53:47PM -0800, Shawn Landden wrote: > > On Mon, Feb 16, 2015 at 5:08 AM, Lennart Poettering < > lenn...@poettering.net> > > wrote: > > > > > On Fri, 13.02.15 14:18, Shawn Landden (

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

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 17, 2015 at 08:05:29PM +0100, Goffredo Baroncelli wrote: > Hi Lennart, > > On 2015-02-16 23:59, Lennart Poettering wrote: > > * journald now sets the special FS_NOCOW file flag for its > > journal files. This should improve performance on btrfs, by > > avoid

Re: [systemd-devel] [PATCH 3/9] Connect to plymouth and support cancellation of in, progress fsck

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 17, 2015 at 05:26:05PM +0100, Didier Roche wrote: > Le 14/02/2015 17:38, Zbigniew Jędrzejewski-Szmek a écrit : > >On Thu, Feb 05, 2015 at 06:09:24PM +0100, Didier Roche wrote: > >> From ec3b3d2cd4b0097f9fafa6c3f0f400e06292e21c Mon Sep 17 00:00:00 2001 > >>From: Didier Roche > >>Date: T

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

2015-02-17 Thread Colin Guthrie
Lennart Poettering wrote on 17/02/15 10:08: >> > mount something-else /foo >> > systemctl start foo.mount > In this case the second line is a NOP, since the first line already > mounted something on /foo, and thus made foo.mount active. So, even if foo.mount (the actual unit file) specifies it's W

Re: [systemd-devel] feature request: dlopen

2015-02-17 Thread Michael Biebl
2015-02-17 23:14 GMT+01:00 Michael Biebl : > 2015-02-17 22:35 GMT+01:00 Michael Biebl : >> 2015-02-17 22:25 GMT+01:00 Greg KH : >>> On Tue, Feb 17, 2015 at 08:24:37PM +, Luke Kenneth Casson Leighton >>> wrote: so i'm not going to "protest" - i'm going to try a different approach. i'd

Re: [systemd-devel] feature request: dlopen

2015-02-17 Thread Michael Biebl
2015-02-17 22:35 GMT+01:00 Michael Biebl : > 2015-02-17 22:25 GMT+01:00 Greg KH : >> On Tue, Feb 17, 2015 at 08:24:37PM +, Luke Kenneth Casson Leighton wrote: >>> so i'm not going to "protest" - i'm going to try a different approach. >>> i'd like you to look at this list of debian packages that

Re: [systemd-devel] feature request: dlopen

2015-02-17 Thread Tom Gundersen
Hi Luke, On Tue, Feb 17, 2015 at 9:24 PM, Luke Kenneth Casson Leighton wrote: > i note that there was announcement recently that the systemd team > 'listens to users', so i am taking you at your word on that. I believe we are listening a lot. That does not necessarily mean that everyone will ge

Re: [systemd-devel] feature request: dlopen

2015-02-17 Thread Michael Biebl
2015-02-17 22:25 GMT+01:00 Greg KH : > On Tue, Feb 17, 2015 at 08:24:37PM +, Luke Kenneth Casson Leighton wrote: >> so i'm not going to "protest" - i'm going to try a different approach. >> i'd like you to look at this list of debian packages that are >> dependent on libsystemd0: >> http://lkcl

Re: [systemd-devel] feature request: dlopen

2015-02-17 Thread Greg KH
On Tue, Feb 17, 2015 at 08:24:37PM +, Luke Kenneth Casson Leighton wrote: > so i'm not going to "protest" - i'm going to try a different approach. > i'd like you to look at this list of debian packages that are > dependent on libsystemd0: > http://lkcl.net/reports/removing_systemd_from_debian/l

[systemd-devel] feature request: dlopen

2015-02-17 Thread Luke Kenneth Casson Leighton
i don't know if you've seen this yet: http://news.slashdot.org/story/15/02/15/1959209/removing-libsystemd0-from-a-live-running-debian-system my name's luke leighton, i'm a software libre advocate, and the first major contribution that i made to software libre was to help bridge the impossible chas

Re: [systemd-devel] tmpfiles.d specifier support on "argument" when operating on files

2015-02-17 Thread Cristian Rodríguez
El 17/02/15 a las 15:38, Cristian Rodríguez escribió: HI: In openSUSE, we have per *running kernel* sysctl snippets, currently implemented as patch on systemd-sysctl.. I 'm currently attempting to replace it for something sane..like d /run/sysctl.d L/run/sysctl.d/00-sysctl.conf-%v --

Re: [systemd-devel] [PATCH] unit: When stopping due to BindsTo=, log which unit caused it

2015-02-17 Thread Colin Walters
On Tue, Feb 17, 2015, at 01:47 PM, Colin Walters wrote: > I'm trying to track down a relatively recent change in systemd > which broke OSTree; see https://bugzilla.gnome.org/show_bug.cgi?id=743891 > > Systemd started to stop sysroot.mount, and this patch should help > me debug why at least. Runni

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

2015-02-17 Thread Goffredo Baroncelli
Hi Lennart, On 2015-02-16 23:59, Lennart Poettering wrote: > * journald now sets the special FS_NOCOW file flag for its > journal files. This should improve performance on btrfs, by > avoiding heavy fragmentation when journald's write-pattern > is used on COW

[systemd-devel] [PATCH] unit: When stopping due to BindsTo=, log which unit caused it

2015-02-17 Thread Colin Walters
I'm trying to track down a relatively recent change in systemd which broke OSTree; see https://bugzilla.gnome.org/show_bug.cgi?id=743891 Systemd started to stop sysroot.mount, and this patch should help me debug why at least. While we're here, "break" on the first unit we find that will deactivat

[systemd-devel] tmpfiles.d specifier support on "argument" when operating on files

2015-02-17 Thread Cristian Rodríguez
HI: In openSUSE, we have per *running kernel* sysctl snippets, currently implemented as patch on systemd-sysctl.. I 'm currently attempting to replace it for something sane..like d /run/sysctl.d L/run/sysctl.d/00-sysctl.conf-%v ---- /boot/sysctl.conf-%v BUt "argument" does

Re: [systemd-devel] systemd-networkd mysteriously shutting down after launch

2015-02-17 Thread Keller, Jacob E
On Sat, 2015-02-14 at 18:03 +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Feb 13, 2015 at 10:49:12AM +0100, Lennart Poettering wrote: > > On Thu, 12.02.15 22:30, Keller, Jacob E (jacob.e.kel...@intel.com) wrote: > > > > > On Thu, 2015-02-12 at 20:15 +0100, Tom Gundersen wrote: > > > > On Thu

Re: [systemd-devel] [PATCH 5/9] Translate fsckd messages for plymouth

2015-02-17 Thread Didier Roche
Updated to latest (impacted by a change in 3/9) Didier >From b0209d20c648f6d275ed72bd78e74e3d48fc4068 Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Mon, 26 Jan 2015 17:12:54 +0100 Subject: [PATCH 5/9] Translate fsckd messages for plymouth For plymouth themes not supporting i18n (like .scrip

Re: [systemd-devel] [PATCH 1/9] fsckd daemon for inter-fsckd communication

2015-02-17 Thread Didier Roche
Le 14/02/2015 17:21, Zbigniew Jędrzejewski-Szmek a écrit : Thanks for the review, reattached the patch with those fixes. On Thu, Feb 05, 2015 at 06:06:50PM +0100, Didier Roche wrote: +if (fsckd_fd < 0) { +log_warning_errno(errno, "Cannot open fsckd socket, we won't repor

Re: [systemd-devel] [PATCH 3/9] Connect to plymouth and support cancellation of in, progress fsck

2015-02-17 Thread Didier Roche
Le 14/02/2015 17:38, Zbigniew Jędrzejewski-Szmek a écrit : On Thu, Feb 05, 2015 at 06:09:24PM +0100, Didier Roche wrote: From ec3b3d2cd4b0097f9fafa6c3f0f400e06292e21c Mon Sep 17 00:00:00 2001 From: Didier Roche Date: Thu, 5 Feb 2015 17:08:18 +0100 Subject: [PATCH 3/9] Connect to plymouth and s

Re: [systemd-devel] [PATCH 8/9] Add man page and references to it.

2015-02-17 Thread Didier Roche
Le 14/02/2015 17:58, Zbigniew Jędrzejewski-Szmek a écrit : On Thu, Feb 05, 2015 at 06:11:24PM +0100, Didier Roche wrote: Thanks for the suggestions, all applied! + +The first time it connects to plymouth, a request +to grab Control+C keypresses is sent, as well as a text message. +

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

2015-02-17 Thread Lennart Poettering
On Tue, 17.02.15 17:13, Maciej Wereski (m.were...@partner.samsung.com) wrote: > Hello, > > Dnia poniedziałek, 16 lutego 2015 23:59:56 Lennart Poettering pisze: > > > > > Note that this version is not available in Fedora F22/F23 yet. The > > linker on ARM segfaults. Since the i386 and x86_64 ver

Re: [systemd-devel] /run conf_file_dirs are never created

2015-02-17 Thread Lennart Poettering
On Tue, 17.02.15 12:36, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: > Hi: > > It appears that with the exception of /run/tmpfiles.d , the rest of the > volatile conf_file_dirs are never created at boot. Is this intentional ? Yes. We only create those dirs if we actually want to place so

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

2015-02-17 Thread Maciej Wereski
Hello, Dnia poniedziałek, 16 lutego 2015 23:59:56 Lennart Poettering pisze: > > Note that this version is not available in Fedora F22/F23 yet. The > linker on ARM segfaults. Since the i386 and x86_64 versions built > fine, I decided to release 219 anyway. > I was able to build systemd v219 bot

[systemd-devel] Errors using machinectl pull-tar and machinectl pull-dkr

2015-02-17 Thread Peter Paule
Hi there, I tried "machinectl" from systemd 219 on Arch Linux (testing) today: I got two errors. Should we discuss this here or should I open a Bug Report? 1) Download if tar-file (http://www.freedesktop.org/software/systemd/man/machinectl.html#Examples) # machinectl pull-tar https:/

Re: [systemd-devel] /run conf_file_dirs are never created

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Feb 17, 2015 at 12:36:39PM -0300, Cristian Rodríguez wrote: > Hi: > > It appears that with the exception of /run/tmpfiles.d , the rest of > the volatile conf_file_dirs are never created at boot. Is this > intentional ? /run/tmpfiles.d is created as a side effect of kmod running. I don't th

[systemd-devel] /run conf_file_dirs are never created

2015-02-17 Thread Cristian Rodríguez
Hi: It appears that with the exception of /run/tmpfiles.d , the rest of the volatile conf_file_dirs are never created at boot. Is this intentional ? ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailma

Re: [systemd-devel] [PATCH] shutdown: avoid calling `kexec` binary unnessecarily

2015-02-17 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Feb 16, 2015 at 07:53:47PM -0800, Shawn Landden wrote: > On Mon, Feb 16, 2015 at 5:08 AM, Lennart Poettering > wrote: > > > On Fri, 13.02.15 14:18, Shawn Landden (sh...@churchofgit.com) wrote: > > > > > Still use helper when Xen Dom0, to avoid duplicating some hairy > > > code. > > > > Hm

Re: [systemd-devel] Scroll journalctl

2015-02-17 Thread Floris
Op Tue, 17 Feb 2015 15:25:42 +0100 schreef Reindl Harald : Am 17.02.2015 um 15:14 schrieb Floris: Dear maintainers, in the past I was able to scroll the journalctl output with the arrow keys. Unfortunately since 215 I have to use the "s", "d", "f", and "z" keys. Even after the 218 upd

Re: [systemd-devel] Scroll journalctl

2015-02-17 Thread Reindl Harald
Am 17.02.2015 um 15:14 schrieb Floris: Dear maintainers, in the past I was able to scroll the journalctl output with the arrow keys. Unfortunately since 215 I have to use the "s", "d", "f", and "z" keys. Even after the 218 update there is no difference. I hope someone can point me into the ri

[systemd-devel] Scroll journalctl

2015-02-17 Thread Floris
Dear maintainers, in the past I was able to scroll the journalctl output with the arrow keys. Unfortunately since 215 I have to use the "s", "d", "f", and "z" keys. Even after the 218 update there is no difference. I hope someone can point me into the right direction to solve this problem, than

[systemd-devel] [PATCH v4] Added support for Uplink Failure Detection using BindCarrier

2015-02-17 Thread Alin Rauta
--- man/systemd.network.xml | 11 + src/libsystemd/sd-network/sd-network.c | 8 + src/network/networkctl.c | 43 ++-- src/network/networkd-link.c | 394 +-- src/network/networkd-link.h | 3 + src/network

[systemd-devel] [PATCH v4] Added support for Uplink Failure Detection using BindCarrier

2015-02-17 Thread Alin Rauta
Hi, I've creating patch v4 after addressing your comments. I provided two APIs for networkctl command: 1. int sd_network_link_get_carrier_bound_to(int ifindex, char ***carriers); 2. int sd_network_link_get_carrier_bound_by(int ifindex, char ***carriers); This way, only few changes were needed in

Re: [systemd-devel] systemd build process, stripped ELF flags (MIPS)

2015-02-17 Thread Michael Biebl
2015-01-19 19:37 GMT+01:00 Manuel Lauss : > On Mon, Jan 19, 2015 at 3:14 PM, Lennart Poettering > wrote: >> On Mon, 19.01.15 09:47, Manuel Lauss (manuel.la...@gmail.com) wrote: >> >>> Can anyone please point out why the .MIPS.abiflags sections are >>> omitted entirely? >>> I've tried to build with

Re: [systemd-devel] [PATCH] test: bump KDBUS_CONN_MAX_MSGS_PER_USER value

2015-02-17 Thread David Herrmann
Hi On Tue, Feb 17, 2015 at 12:35 PM, Lukasz Skalski wrote: > On 02/17/2015 12:20 PM, Djalal Harouni wrote: >> Hi Lukasz, >> > > Hi Djalal, > >> On Tue, Feb 17, 2015 at 11:37:53AM +0100, Lukasz Skalski wrote: >>> diff --git a/test/test-message.c b/test/test-message.c >>> index 03ac71e..0cae942 100

Re: [systemd-devel] [PATCH] test: bump KDBUS_CONN_MAX_MSGS_PER_USER value

2015-02-17 Thread Lukasz Skalski
On 02/17/2015 12:20 PM, Djalal Harouni wrote: > Hi Lukasz, > Hi Djalal, > On Tue, Feb 17, 2015 at 11:37:53AM +0100, Lukasz Skalski wrote: >> diff --git a/test/test-message.c b/test/test-message.c >> index 03ac71e..0cae942 100644 >> --- a/test/test-message.c >> +++ b/test/test-message.c >> @@ -28

Re: [systemd-devel] user units and system units behavior

2015-02-17 Thread Ivan Shapovalov
On 2015-02-16 at 11:14 +, Simon McVittie wrote: > On 14/02/15 18:26, Ivan Shapovalov wrote: > > Yes, the per-session bus is there, but it is not used at all for > > communication with per-user systemd instance. > > I do want this to work, and I'm working on making it happen. It works on > my

Re: [systemd-devel] [PATCH] test: bump KDBUS_CONN_MAX_MSGS_PER_USER value

2015-02-17 Thread Djalal Harouni
Hi Lukasz, On Tue, Feb 17, 2015 at 11:37:53AM +0100, Lukasz Skalski wrote: > diff --git a/test/test-message.c b/test/test-message.c > index 03ac71e..0cae942 100644 > --- a/test/test-message.c > +++ b/test/test-message.c > @@ -28,7 +28,7 @@ > * maximum number of queued messages from the same indv

[systemd-devel] [PATCH] test: bump KDBUS_CONN_MAX_MSGS_PER_USER value

2015-02-17 Thread Lukasz Skalski
diff --git a/test/test-message.c b/test/test-message.c index 03ac71e..0cae942 100644 --- a/test/test-message.c +++ b/test/test-message.c @@ -28,7 +28,7 @@ * maximum number of queued messages from the same indvidual user after the * the un-accounted value has been hit */ -#define KDBUS_CONN_MA

Re: [systemd-devel] Mount options of /var/run/users/

2015-02-17 Thread Lennart Poettering
On Mon, 16.02.15 22:14, Павел Самсонов (pvsamsono...@gmail.com) wrote: > If I have multiuser Linux installation with shell and DE access, my users > have not places in system, where they able download something from internet > and execute: > / ro,exec > /home rw,noexec > /var rw,noexec > All tmpfs

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

2015-02-17 Thread Lennart Poettering
On Tue, 17.02.15 06:53, Andrei Borzenkov (arvidj...@gmail.com) wrote: > В Mon, 16 Feb 2015 23:59:56 +0100 > Lennart Poettering пишет: > > > > > * When a .mount unit refers to a mount point on which multiple > > mounts are stacked, and the .mount unit is stopped all of > >

Re: [systemd-devel] udev: 60-persistent-storage.rules attempts blkid on removable devices with no medium present

2015-02-17 Thread Oliver Neukum
On Mon, 2015-02-16 at 14:52 -0800, Hans Scholze wrote: > Hi, > > > I'm not sure if this is considered a problem but I noticed some > spurious error messages during boot. The source appears to be: > > > 1. a USB media card reader is plugged in at boot > 2. the device node exists regardless of w