Re: [systemd-devel] [PATCH] python-systemd: fix is_socket_inet to cope with ports

2015-03-31 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 31, 2015 at 09:46:40AM +0100, Simon Farnsworth wrote: Hello, We've got the Easter long weekend coming up here in the UK, and I intend to spend it away from the computer. Is there anything I need to fix with this patch to make it acceptable to you? No, the patch is fine afaik. If

Re: [systemd-devel] parsing audit messages

2015-03-26 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 26, 2015 at 09:42:45AM +0100, Lennart Poettering wrote: On Sun, 15.03.15 03:51, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Sun, Mar 15, 2015 at 03:49:07AM +0100, Zbigniew Jędrzejewski-Szmek wrote: Hi, I was looking at some debug logs, and the audit

Re: [systemd-devel] [PATCH] timedated: Add a LocalOffset property for timezone offset

2015-03-24 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 24, 2015 at 01:59:40PM +0100, Tom Gundersen wrote: On Mon, Mar 23, 2015 at 8:13 PM, Stef Walter st...@redhat.com wrote: Sorry about the encrypted email ... I hit the wrong button. On 23.03.2015 19:07, Shawn Landden wrote: On Mon, Mar 23, 2015 at 8:56 AM, Kay Sievers

Re: [systemd-devel] [systemd-commits] Makefile.am src/shared src/timedate

2015-03-24 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 24, 2015 at 03:32:31PM +0100, Kay Sievers wrote: On Tue, Mar 24, 2015 at 3:24 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Mar 24, 2015 at 07:04:11AM -0700, Kay Sievers wrote: Makefile.am|2 src/shared/time-dst.c | 329

Re: [systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 23, 2015 at 08:31:51AM -0400, Chris Morgan wrote: On Sun, Mar 22, 2015 at 9:49 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Applied. What Michael wrote about: there should be a conditional='HAVE_MICROHTTPD' attribute, to make this man page conditional on the same

Re: [systemd-devel] Supporting ExecStartPre= and friends in `systemctl set-property` or `systemd-run -p`

2015-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 23, 2015 at 04:04:28PM +0300, Ivan Shapovalov wrote: Hello, is it possible/allowed/desired to support assigning ExecStartPre= and similar options via dbus interface, i. e. in `systemctl set-property` or `systemd-run -p`? I'm hitting a usecase when I need to run a service with

Re: [systemd-devel] [PATCH] bootchart: remove duplicated code, prevent creating empty files

2015-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 23, 2015 at 03:48:41AM -0700, Shawn Landden wrote: In Debian and rawhide Fedora, which have CONFIG_SCHEDSTATS=n, bootchart creates empty files in /run/log before printing an error. Stop doing that. Moreover this duplicated part of the code doesn't even have error checking so

Re: [systemd-devel] [PATCH 1/2] fstab-generator: Support root on tmpfs (or other deviceless FS)

2015-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 24, 2015 at 12:52:59AM +0100, Tobias Hunger wrote: This allows for stateless systems. --- src/fstab-generator/fstab-generator.c | 21 + src/shared/util.c | 30 ++ src/shared/util.h | 1 + 3

Re: [systemd-devel] [PATCH] bootchart: more useful error message for common error

2015-03-23 Thread Zbigniew Jędrzejewski-Szmek
if (schedstat == -1) { -log_error_errno(errno, Failed to open /proc/schedstat: %m); +log_error_errno(errno, Failed to open /proc/schedstat (requires CONFIG_SCHEDSTATS=y in kernel config): %m); Yeah, this comes up quite often.

Re: [systemd-devel] [PATCH] po: update Russian translation

2015-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 22, 2015 at 10:00:13PM +0300, Sergey Ptashnick wrote: Add strings for importd, following 587fec427c. Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] timedated: add LocalTimeUSec via dbus

2015-03-23 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 23, 2015 at 04:24:38AM -0700, Shawn Landden wrote: --- src/timedate/timedated.c | 24 1 file changed, 24 insertions(+) diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index ca771d5..f83b99c 100644 --- a/src/timedate/timedated.c +++

Re: [systemd-devel] [PATCH] Set the NOCOW flag for the journal via tmpfiles

2015-03-22 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 21, 2015 at 12:56:51PM +0100, Goffredo Baroncelli wrote: Hi all, these patches set reverts the commit 11689d2 journald: turn off COW for journal files on btrfs which enables *unconditionally* the NOCOW flag for the journal files. The reason was that the performances of the

Re: [systemd-devel] [PATCH] Create journal-remote.conf.xml to document the format of the configuration file for systemd-journal-remote

2015-03-22 Thread Zbigniew Jędrzejewski-Szmek
Applied. What Michael wrote about: there should be a conditional='HAVE_MICROHTTPD' attribute, to make this man page conditional on the same build option as systemd-journal-remote itself. I added that. Zbyszek On Sun, Mar 22, 2015 at 06:15:10PM -0400, Chris Morgan wrote: Updated Makefile-man.am

Re: [systemd-devel] [PATCH] fstab-generator: Support root on tmpfs

2015-03-22 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 22, 2015 at 08:29:25AM +0300, Andrei Borzenkov wrote: В Sun, 22 Mar 2015 00:57:23 +0100 Tobias Hunger tobias.hun...@gmail.com пишет: src/fstab-generator/fstab-generator.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git

Re: [systemd-devel] [PATCH] libsystemd doesn't handle properly empty messages from kernel

2015-03-21 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 18, 2015 at 05:06:18AM -0700, Alin Rauta wrote: Hi, Systemd strips out NLMSG_DONE piece from a multi-part message adding into the receive queue only the messages containing actual data. If we send a request to the kernel for getting the forwarding database table (just an

Re: [systemd-devel] [PATCH] missing.h: add more btrfs types and defines

2015-03-21 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 19, 2015 at 02:48:24PM +0100, Michael Olbrich wrote: On Thu, Mar 19, 2015 at 02:05:00PM +0100, David Herrmann wrote: On Wed, Mar 18, 2015 at 2:04 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: it seems we're getting a lot of btrfs stuff here. Maybe we should ship a copy

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 20, 2015 at 07:02:48AM +0100, Michael Biebl wrote: 2015-03-20 6:40 GMT+01:00 Marcel Holtmann mar...@holtmann.org: Hi Michael, On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, Just tell patch or git to skip the hunks modifying

Re: [systemd-devel] machinectl login system: Failed to get machine PTY: Unit container-getty@0.service failed to load: No such file or directory.

2015-03-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 20, 2015 at 11:34:08AM +0100, Peter Paule wrote: Thanks a lot. I will try out the new image with the getty-service unit inside. Quoting David Herrmann dh.herrm...@gmail.com: Hi On Fri, Mar 20, 2015 at 11:11 AM, Peter Paule systemd-de...@fedux.org wrote: Quoting David

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 20, 2015 at 09:21:33AM -0700, Marcel Holtmann wrote: Hi Zybszek, On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, Just tell patch or git to skip the hunks modifying ids-update.pl and sdio.ids. Problem solved. I'll apply the patch,

Re: [systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-20 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 20, 2015 at 07:06:28PM +0100, Goffredo Baroncelli wrote: Hi Zbyszek, On 2015-03-21 14:37, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Mar 16, 2015 at 08:33:52PM +0100, Goffredo Baroncelli wrote: From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-19 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 17, 2015 at 08:26:28AM -0700, Marcel Holtmann wrote: Hi Dimitri, On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, This makes it easier to apply stable branch patches on top of the release tarball. --- Makefile.am | 4 +++- 1 file

Re: [systemd-devel] [PATCH 4/4] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-19 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 16, 2015 at 08:33:52PM +0100, Goffredo Baroncelli wrote: From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root file system is BTRFS. Pay attention that the NOCOW

Re: [systemd-devel] [PATCH] hwdb: ship ids-update.pl sdio.ids in the release tarballs.

2015-03-19 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 19, 2015 at 06:43:18PM -0700, Marcel Holtmann wrote: Hi Zbyszek, On 16 March 2015 at 23:15, Marcel Holtmann mar...@holtmann.org wrote: Hi Dimitri, This makes it easier to apply stable branch patches on top of the release tarball. --- Makefile.am | 4 +++- 1 file

Re: [systemd-devel] systemctl edit TODO item

2015-03-18 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 18, 2015 at 12:13:39PM +0100, Ronny Chevalier wrote: Hi, About the TODO item of systemctl edit: Upon editor exit, lines with one # are removed, lines with two # are left with one #, etc. I don't really agree, because if you have some comments in your drop-in file, you will

Re: [systemd-devel] [PATCH] core: don't change removed devices to state tentative [was: Re: [PATCH] unit: When stopping due to BindsTo=, log which unit caused it]

2015-03-16 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 16, 2015 at 10:28:36AM +0100, Martin Pitt wrote: would you mind pushing for me? Pushed. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Most important changes the last 15 months

2015-03-16 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 16, 2015 at 08:05:07AM +0100, Cecil Westerhof wrote: About 15 months ago I gave a presentation about systemd/journald. I am asked to give another presentation about systemd/journald. What are the most important changes I should integrate into my presentation? There is NEWS. Zbyszek

Re: [systemd-devel] parsing audit messages

2015-03-16 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 16, 2015 at 06:33:39PM +0100, David Herrmann wrote: Hi On Sun, Mar 15, 2015 at 3:49 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Hi, I was looking at some debug logs, and the audit messages are semi-useless in their current undecoded form: mar 14 22:24:02

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 15, 2015 at 03:23:19PM +0100, Kay Sievers wrote: On Sun, Mar 15, 2015 at 11:56 AM, Jan Janssen medhe...@web.de wrote: --- man/systemctl.xml | 26 shell-completion/bash/systemctl.in | 8 - shell-completion/zsh/_systemctl.in | 2 ++

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

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 11, 2015 at 05:22:18PM -0700, Shawn Landden wrote: Still use helper when Xen Dom0, to avoid duplicating some hairy code. I think the rbtree version was far more understandable as greedy_realloc0() is very messy to do correctly. Take fopenat() from lsof. Add opendirat()

Re: [systemd-devel] Enabling timesyncd in virtual machines

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 15, 2015 at 07:47:46PM +0100, Kay Sievers wrote: On Fri, Mar 13, 2015 at 8:25 PM, Michael Marineau michael.marin...@coreos.com wrote: Greetings, Currently systemd-timesyncd.service includes ConditionVirtualization=no, disabling it in both containers and virtual machines.

Re: [systemd-devel] [PATCH 2/6] fix strict aliasing violations in src/udev/udev-builtin-usb_id.c

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 11, 2015 at 08:13:45AM -0700, Shawn Landden wrote: --- src/udev/udev-builtin-usb_id.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/udev/udev-builtin-usb_id.c b/src/udev/udev-builtin-usb_id.c index 6516d93..3c15b2f 100644 ---

Re: [systemd-devel] [PATCH 4/6] make in_addr_from_string() accept ipv4 addresses even when using AF_INET6

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 11, 2015 at 08:13:47AM -0700, Shawn Landden wrote: if we are going to have a function to fix up the deficiencies of inet_pton(), better go all the way. --- src/shared/in-addr-util.c | 17 + src/shared/in-addr-util.h | 1 + 2 files changed, 18 insertions(+)

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 15, 2015 at 08:50:03PM +0100, Kay Sievers wrote: On Sun, Mar 15, 2015 at 8:08 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Mar 15, 2015 at 07:58:35PM +0100, Kay Sievers wrote: If the filesytem is too dumb to have that info in the superblock flags to store

Re: [systemd-devel] [PATCH 2/2] fsck: Add support for EFI variable based fsck indication

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 15, 2015 at 06:48:24PM +0100, Kay Sievers wrote: On Sun, Mar 15, 2015 at 4:44 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Mar 15, 2015 at 03:23:19PM +0100, Kay Sievers wrote: On Sun, Mar 15, 2015 at 11:56 AM, Jan Janssen medhe...@web.de wrote: --- man

Re: [systemd-devel] [v3 1/4] man: these binaries are internal APIs

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Feb 27, 2015 at 05:04:21PM -0800, Shawn Landden wrote: --- man/systemd-halt.service.xml | 1 - man/systemd-shutdownd.service.xml | 1 - man/systemd-suspend.service.xml | 1 - 3 files changed, 3 deletions(-) diff --git a/man/systemd-halt.service.xml

Re: [systemd-devel] [PATCH 4/6] make in_addr_from_string() accept ipv4 addresses even when using AF_INET6

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 15, 2015 at 01:28:05PM -0700, Shawn Landden wrote: On Sun, Mar 15, 2015 at 1:07 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Mar 11, 2015 at 08:13:47AM -0700, Shawn Landden wrote: if we are going to have a function to fix up the deficiencies

Re: [systemd-devel] [PATCH] network: add UseNTP DHCP option

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 12:01:29PM -0700, Michael Marineau wrote: Despite having the internal logic in place to enable/disable using NTP servers provided by DHCP the network config didn't expose the option. Applied. Zbyszek --- man/systemd.network.xml | 8

Re: [systemd-devel] [PATCH] vconsole-setup: check error of child process

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 05:47:28PM +, lucas.de.mar...@gmail.com wrote: From: Lucas De Marchi lucas.demar...@intel.com If we don't check the error of the child process, systemd-vconsole-setup would exit with 0 even if it could not really setup the console. Applied. Zbyszek

Re: [systemd-devel] [PATCH] man: standard-conf: change directory reference to wildcard

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 15, 2015 at 04:26:14PM -0700, ali...@she-devel.com wrote: From: Alison Chaiken alison_chai...@mentor.com --- man/standard-conf.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/standard-conf.xml b/man/standard-conf.xml index 36af459..004f53f 100644

Re: [systemd-devel] [PATCH] console-getty.service: don't start when /dev/console is missing

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
Looks reasonable. Zbyszek On Fri, Mar 13, 2015 at 12:57:18PM +0100, Lukas Nykryn wrote: From: Jan Pazdziora jpazdzi...@redhat.com Create minimal image which runs systemd FROM rhel7.1 RUN yum install -y /usr/bin/ps ENV container docker CMD [ /usr/sbin/init ] When you run

Re: [systemd-devel] [PATCH] core: don't change removed devices to state tentative [was: Re: [PATCH] unit: When stopping due to BindsTo=, log which unit caused it]

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 08:35:59AM +0100, Martin Pitt wrote: Subject: [PATCH] core: don't change removed devices to state tentative Commit 628c89c introduced the tentative device state, which caused devices to go from plugged to tentative on a remove uevent. This breaks the cleanup of

Re: [systemd-devel] [PATCH 2/4] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 10, 2015 at 09:07:41PM +0100, Goffredo Baroncelli wrote: Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are added: 'H' and 'h' to set the attributes, recursively and not. --- src/tmpfiles/tmpfiles.c | 140

Re: [systemd-devel] [PATCH 3/4] Update the man page of tmpfiles.d(5), to document the new h/H command.

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 10, 2015 at 09:07:42PM +0100, Goffredo Baroncelli wrote: Update the man page of tmpfiles.d(5), to document the new h/H command. --- man/tmpfiles.d.xml | 32 1 file changed, 32 insertions(+) diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml

Re: [systemd-devel] [PATCH] journal: Introduce journal-network

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 10:55:42PM +0530, Susant Sahani wrote: This tiny daemon enables to pull journal entries and push to a UDP multicast address in syslog RFC 5424 format. journal-syslog-network runs with own user systemd-journal-push. It starts running after the network is up. Looks

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

2015-03-15 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 02, 2015 at 08:25:47PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Wed, Feb 18, 2015 at 06:17:17PM -0300, Cristian Rodríguez wrote: El 18/02/15 a las 07:10, Lennart Poettering escribió: On Tue, 17.02.15 17:35, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Please

[systemd-devel] parsing audit messages

2015-03-14 Thread Zbigniew Jędrzejewski-Szmek
Hi, I was looking at some debug logs, and the audit messages are semi-useless in their current undecoded form: mar 14 22:24:02 fedora22 audit[1]: audit-1130 pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-udev-trigger comm=systemd

Re: [systemd-devel] parsing audit messages

2015-03-14 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 15, 2015 at 03:49:07AM +0100, Zbigniew Jędrzejewski-Szmek wrote: Hi, I was looking at some debug logs, and the audit messages are semi-useless in their current undecoded form: mar 14 22:24:02 fedora22 audit[1]: audit-1130 pid=1 uid=0 auid=4294967295 ses=4294967295 subj

Re: [systemd-devel] sd_event_run

2015-03-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 14, 2015 at 12:19:09PM +0100, Tom Gundersen wrote: On Sat, Mar 14, 2015 at 2:41 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Fri, Mar 13, 2015 at 06:10:17PM +0100, Tom Gundersen wrote: On Fri, Mar 13, 2015 at 4:35 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl

Re: [systemd-devel] journald on embedded systems

2015-03-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 14, 2015 at 10:59:42AM -0400, Chris Morgan wrote: On Fri, Mar 13, 2015 at 11:03 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Fri, Mar 13, 2015 at 06:35:38PM -0400, Chris Morgan wrote: Hello. I posted this, http://lists.freedesktop.org/archives/systemd-devel

Re: [systemd-devel] After=foo.busname oderings although kdbus is disabled

2015-03-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 14, 2015 at 03:56:10PM +0100, Michael Biebl wrote: The compiler might warn about the unused const char *n; So this might be slightly better: diff --git a/src/core/service.c b/src/core/service.c index db1f1e7..d938550 100644 --- a/src/core/service.c +++ b/src/core/service.c

Re: [systemd-devel] journald on embedded systems

2015-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 06:35:38PM -0400, Chris Morgan wrote: Hello. I posted this, http://lists.freedesktop.org/archives/systemd-devel/2013-July/011926.html, some time ago about tiered logging for embedded systems. The goal is to guarantee that the flash memory will last the duration

Re: [systemd-devel] [PATCH] selinux: fix SEGV during switch-root if SELinux policy loaded

2015-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 05:24:46PM -0400, Will Woods wrote: If you've got SELinux policy loaded, label_hnd is your labeling handle. When systemd is shutting down, we free that handle via mac_selinux_finish(). But: switch_root() calls mkdir_p_label(), which tries to look up a label using that

Re: [systemd-devel] sd_event_run

2015-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 06:10:17PM +0100, Tom Gundersen wrote: On Fri, Mar 13, 2015 at 4:35 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: you added sd_event_run a while ago: commit c45a5a74465a39280b855f9d720b2ab4779a47fa Author: Tom Gundersen t...@jklm.no Date: Fri Aug 15

Re: [systemd-devel] After=foo.busname oderings although kdbus is disabled

2015-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 14, 2015 at 01:41:16AM +0100, Michael Biebl wrote: Hi, in Debian/Ubuntu, kdbus support is disabled. With version 219 I see the following e.g. for avahi-daemon.service After=basic.target org.freedesktop.Avahi.busname avahi-daemon.socket systemd-journald.socket system.slice

Re: [systemd-devel] [systemd-commits] 7 commits - man/systemd.network.xml po/es.po po/LINGUAS src/journal-remote src/libsystemd src/libsystemd-network

2015-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 01:38:23PM +0100, David Herrmann wrote: Hi On Fri, Mar 13, 2015 at 5:27 AM, Zbigniew Jędrzejewski-Szmek zbys...@kemper.freedesktop.org wrote: commit f53f7c8fc43df4e38655f2a1f5c5934fee06 Author: Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl Date: Thu Mar 12

[systemd-devel] sd_event_run

2015-03-13 Thread Zbigniew Jędrzejewski-Szmek
Hi, you added sd_event_run a while ago: commit c45a5a74465a39280b855f9d720b2ab4779a47fa Author: Tom Gundersen t...@jklm.no Date: Fri Aug 15 18:49:29 2014 +0200 sd-event: split run into prepare/wait/dispatch This will allow sd-event to be integrated into an external event loop,

Re: [systemd-devel] How to factory reset?

2015-03-13 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 02:20:04PM +0100, Tobias Hunger wrote: Hi Zbyszek, I would expect the machine-id to be written before mount units are processed, so for that to work I would need to mount /var in the initrd, wouldn't I? (Without looking at the code again) I don't think so.

Re: [systemd-devel] How to factory reset?

2015-03-12 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 10, 2015 at 10:23:23PM +0100, Tobias Hunger wrote: On Tue, Mar 10, 2015 at 9:33 PM, Tobias Hunger tobias.hun...@gmail.com wrote: presets and machined ID are applied by PID 1, before it begins with starting any units, hence *really* early on. Note though that actually

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 12, 2015 at 11:00:55AM +0100, Kay Sievers wrote: On Thu, Mar 12, 2015 at 5:09 AM, Lucas De Marchi lucas.de.mar...@gmail.com wrote: On Tue, Mar 10, 2015 at 3:04 PM, Jeff Waugh j...@bethesignal.org wrote: Generate pkg-config files during configure as God (Havoc) intended. This

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Mar 13, 2015 at 09:54:48AM +1100, Jeff Waugh wrote: On Fri, Mar 13, 2015 at 8:53 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: So you prefer the second version to the first, right? Does not exec_prefix get assigned and then substituted, leading to an identical result

Re: [systemd-devel] SAT for dependencies

2015-03-11 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 11, 2015 at 01:25:36PM +0100, Max wrote: Hello. Part of the core systemd functionality is dependency resolution between jobs which should be executed. This sounds rather similar to dependencies between packages which has been solved using SAT solver tools. I wonder if it

Re: [systemd-devel] libsystemd-daemon wrapper

2015-03-11 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 11, 2015 at 01:18:37PM +0100, Max wrote: 23.02.2015 13:29, Lennart Poettering пишет: On Mon, 23.02.15 11:30, Max (maxim.sur...@campus.tu-berlin.de) wrote: Hi. I've got question partially inspired by recent posts to this ML from some troll without shift on his keyboard

Re: [systemd-devel] [PATCH] add REMOTE_ADDR and REMOTE_PORT for Accept=yes

2015-03-10 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 10, 2015 at 01:21:27PM +0100, Ronny Chevalier wrote: 2015-03-10 12:41 GMT+01:00 Shawn Landden sh...@churchofgit.com: --- TODO | 2 - man/systemd.socket.xml | 7 ++- src/core/service.c | 41

Re: [systemd-devel] [systemd-commits] 9 commits - configure.ac .gitignore Makefile.am Makefile-man.am man/systemd-fsckd.service.xml man/systemd-f...@.service.xml po/de.po po/el.po po/fr.po po/hu.po po

2015-03-10 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 10, 2015 at 11:49:05AM +0100, Lennart Poettering wrote: On Tue, 10.03.15 08:21, Martin Pitt (martin.p...@ubuntu.com) wrote: Please, be more careful with complex code like this, this needs more rounds of review before something like this can be merged... Okay. It went

Re: [systemd-devel] [PATCH] [PATCH v2] util: add rename_noreplace

2015-03-10 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 10, 2015 at 05:34:07PM +0100, Alban Crequy wrote: From: Alban Crequy al...@endocode.com renameat2() exists since Linux 3.15 but btrfs support for the flag RENAME_NOREPLACE was added later. This patch implements a fallback when renameat2() returns EINVAL. EINVAL is the error

Re: [systemd-devel] [PATCH] tmpfiles: port to unquote_many_words()

2015-03-09 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 09, 2015 at 01:51:07PM -0400, daurnimator wrote: --- TODO| 2 -- man/tmpfiles.d.xml | 2 ++ src/tmpfiles/tmpfiles.c | 24 ++-- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/TODO b/TODO index 60efaaf..4d5e2b6

Re: [systemd-devel] [PATCH] add REMOTE_ADDR and REMOTE_PORT for Accept=yes

2015-03-09 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 09, 2015 at 03:11:37PM -0700, Shawn Landden wrote: --- TODO | 2 - man/systemd.socket.xml | 6 ++- src/core/service.c | 39 +++- src/libsystemd/sd-resolve/test-resolve.c | 2 +-

Re: [systemd-devel] [PATCH 3/3] Add a new tmpfiles.d snippets to set the NOCOW the journal.

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 12:48:27PM +0100, Goffredo Baroncelli wrote: From: Goffredo Baroncelli kreij...@inwind.it Add a new tmpfiles.d snippets to set the NOCOW attributes for the journal files. This allow better perfomance when the root file system is BTRFS. Pay attention that the NOCOW

Re: [systemd-devel] [PATCH 2/2] po: update Russian translation - pluralize fsckd

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 05:41:28PM +0300, Sergey Ptashnick wrote: Correctly pluralize strings for fsckd. This does not apply: the context is changed. Can you rebase? Zbyszek --- po/ru.po |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/po/ru.po b/po/ru.po

Re: [systemd-devel] [PATCH 2/2] po: update Russian translation - pluralize fsckd

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 06:51:41PM +0300, Sergey Ptashnick wrote: On 08.03.2015 17:46, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Mar 08, 2015 at 05:41:28PM +0300, Sergey Ptashnick wrote: Correctly pluralize strings for fsckd. This does not apply: the context is changed. Can you rebase

Re: [systemd-devel] [PATCH] Improve log notice when unprivileged users run journalctl executable (reformatted)

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 09:33:24AM +0100, Gautier Pelloux-Prayer wrote: Hi list, Currently, when user runs journalctl without extra privileges, output is: No journal files were found. This patch modifies this feedback by giving permission-hint to the user: No journal files

Re: [systemd-devel] [PATCH 1/3] Allow systemd-tmpfiles to set the file/directory attributes

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 03:00:38PM +0100, Ronny Chevalier wrote: 2015-03-08 12:48 GMT+01:00 Goffredo Baroncelli kreij...@libero.it: From: Goffredo Baroncelli kreij...@inwind.it Hi, Allow systemd-tmpfiles to set the file/directory attributes, like chattr(1) does. Two more commands are

Re: [systemd-devel] [PATCH 1/2] po: update Russian translation - importd

2015-03-08 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Mar 08, 2015 at 05:41:23PM +0300, Sergey Ptashnick wrote: Add strings for importd, by analogy with 1eb37584a8. Applied 1/2. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH 0/3] using firstboot and sysusers to construct an initramfs

2015-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 09:42:17PM +0300, Ivan Shapovalov wrote: On 2015-03-05 at 19:16 +0100, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Mar 05, 2015 at 09:09:54PM +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:53 +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:46 +0300, Ivan

Re: [systemd-devel] [PATCHv2] sysusers: do not reject users with already present /etc/shadow entries

2015-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 07, 2015 at 06:11:32PM +0300, Ivan Shapovalov wrote: This is needed to interoperate firstboot and sysusers. The former one is started first, and it writes only /etc/shadow when it is told to set the root password. It's better to relax checks here than to duplicate functionality

Re: [systemd-devel] [PATCH] adjust for time spent in timedated even without dbus timestamp

2015-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 07, 2015 at 01:43:32AM -0800, Shawn Landden wrote: it is trivial to fall back to our own timestamp v2: use now() v3: remove useless if () v4: add comment Applied. Zbyszek ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH 2/3] firstboot: set all spwd fields to -1 for consistency with sysusers

2015-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 26, 2015 at 02:46:24AM +0300, Ivan Shapovalov wrote: --- src/firstboot/firstboot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH 3/3] sysusers: do not reject users with already present /etc/shadow entries

2015-03-07 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Feb 26, 2015 at 02:46:25AM +0300, Ivan Shapovalov wrote: This is needed to interoperate firstboot and sysusers. The former one is started first, and it writes only /etc/shadow when it is told to set the root password. It's better to relax checks here than to duplicate functionality

Re: [systemd-devel] [PATCH] po: update French translation

2015-03-06 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Mar 07, 2015 at 12:56:46AM +0100, Sylvain Plantefève wrote: --- po/fr.po | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] tmpfiles: Fix handling of duplicate lines [was: Regression in 219: tmpfiles.d order not respected any more]

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 03:37:46PM +, Dimitri John Ledkov wrote: On 5 March 2015 at 15:14, Martin Pitt martin.p...@ubuntu.com wrote: Zbigniew Jędrzejewski-Szmek [2015-03-05 15:47 +0100]: Looks good, please push! Done, thanks for reviewing! Is this going into v219-stable as well

Re: [systemd-devel] [PATCH 0/3] using firstboot and sysusers to construct an initramfs

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 09:09:54PM +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:53 +0300, Ivan Shapovalov wrote: On 2015-02-26 at 02:46 +0300, Ivan Shapovalov wrote: Hi there. These patches allow using firstboot and sysusers together to construct an initramfs with a fully

Re: [systemd-devel] [PATCH] tmpfiles: Fix handling of duplicate lines [was: Regression in 219: tmpfiles.d order not respected any more]

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 03:06:05PM +0100, Martin Pitt wrote: Hey Zbigniew, all, Martin Pitt [2015-03-05 10:20 +0100]: As per tmpfiles.d(5), the first match should win if there are several tmpfiles.d lines for the same directory. Our rsyslog package ships a

Re: [systemd-devel] [PATCH] use dolt.m4 to speedup compilation

2015-03-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 11:58:30AM +0100, har...@redhat.com wrote: Original libtool $ ccache -C make clean time make -j4 […] real6m4.104s user13m49.234s sys7m37.864s Original libtool + dolt $ ccache -C make clean time make -j4 […] real2m24.869s user7m30.198s

Re: [systemd-devel] [PATCH] build-sys: fix check for efi-lds file

2015-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Mar 05, 2015 at 01:22:01AM +0100, Mirco Tischler wrote: Using the DIR macro breaks caching and has no benefit as it only offers performance improvements when AS_FOR is used with a single element list. Also --with-lds-dir= was broken as we never set have_efi_lds in this case. Fix this

Re: [systemd-devel] [PATCH 1/2] Remove the cap on epoll events

2015-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 04, 2015 at 04:32:16PM +0100, Hannes Reinecke wrote: Currently the code will silently blank out events if there are more then 512 epoll events, causing them never to be handled at all. This patch removes the cap on the number of events for epoll_wait, thereby avoiding this issue.

Re: [systemd-devel] [PATCH 2/2] Allow up to 4096 simultaneous connections

2015-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 04, 2015 at 04:32:17PM +0100, Hannes Reinecke wrote: On large system we hit the limit on 512 simultaneous dbus connections, resulting in tons of annoying messages: Too many concurrent connections, refusing This patch raises the limit to 4096. Signed-off-by: Hannes Reinecke

Re: [systemd-devel] [PATCH] man: replace obsolete wiki link with man page

2015-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 04, 2015 at 06:43:20PM -0500, Zachary Cook wrote: --- man/systemd-cryptsetup-generator.xml| 6 ++ man/systemd-debug-generator.xml | 6 ++ man/systemd-efi-boot-generator.xml | 4 +--- man/systemd-fstab-generator.xml | 6 ++

Re: [systemd-devel] [PATCH] core/socket: Add REMOTE_IP environment variable for Accept=true

2015-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Mar 04, 2015 at 03:15:02PM -0800, Shawn Landden wrote: Fix handling of abstract unix domain sockets too. Please split it into two patches. --- TODO | 2 -- man/systemd.socket.xml | 5 - src/core/service.c | 24

Re: [systemd-devel] [PATCH] fix strict aliasing violations in src/udev/udev-builtin-usb_id.c

2015-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 03, 2015 at 04:21:30PM -0800, Shawn Landden wrote: also switch to inttypes.h --- src/udev/udev-builtin-usb_id.c | 35 ++- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/src/udev/udev-builtin-usb_id.c

Re: [systemd-devel] [PATCH] refactored Re: [PATCH] nspawn: Map all seccomp filters to matching capabilities

2015-03-04 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 03, 2015 at 05:18:00PM +, Jay Faulkner wrote: On Mar 3, 2015, at 8:55 AM, Topi Miettinen toiwo...@gmail.commailto:toiwo...@gmail.com wrote: On 03/03/15 01:28, Jay Faulkner wrote: Hey, Lennart reviewed this in IRC and suggested I refactor the change in this manner. Now,

Re: [systemd-devel] [PATCH] tmpfiles: Fail verbosely if acls can't be read

2015-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 03, 2015 at 12:35:08AM +0100, Hans-Peter Deifel wrote: If the acls of a file couldn't be retrieved (probably due to missing acl support in the filesytem), systemd-tmpfiles just silently failed. Now it logs an error, just as it already does if the acls cannot be set. Hi, I solved

Re: [systemd-devel] [PATCH 2/2] systemd: Relax dependencies of services

2015-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 03, 2015 at 06:28:10PM +0100, Martin Pitt wrote: Stop depending on basic.target in the daemons which still do; i. e. add DefaultDependencies=no. This makes it possible to run NFS during early boot, and helps if you e. g. have /var on NFS. We don't require much else than local-fs.

Re: [systemd-devel] Systemd-219: Failed to start Create Volatile...

2015-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 02, 2015 at 05:07:40PM -0300, RicΛrdo Bastos™ wrote: Hi all, I'm using this tip to solve problem in systemd-TMPFILES-setup.service: http://forums.gentoo.org/viewtopic-t-1011254-view-previous.html?sid=4a7ba76e913f996abfa6e09aee95

Re: [systemd-devel] [PATCH 1/2] systemd: Order NFS server before client

2015-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 03, 2015 at 06:28:09PM +0100, Martin Pitt wrote: This makes mounting NFS shares from localhost work reliably, as you need to start the server before attempting (client) mounts, and conversely on shutdown need to unmount all shares before stopping the server to avoid hangs. ---

Re: [systemd-devel] [PATCH] systemd: Have rpc-statd-notify.service Require network.target

2015-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 03, 2015 at 10:06:57PM +0300, Andrei Borzenkov wrote: В Tue, 3 Mar 2015 13:36:43 -0500 Steve Dickson ste...@redhat.com пишет: Its been reported that having the rpc-statd-notify service depend on network.target instead network-online.target decrease boot times as much as 10

Re: [systemd-devel] [PATCH] tmpfiles.d: only copy /etc/pam.d if PAM is present

2015-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 03, 2015 at 11:37:52AM +, Ross Burton wrote: If HAVE_PAM isn't set then don't attempt to copy /etc/pam.d from the factory, as it doesn't get installed. Applied. Zbyszek Signed-off-by: Ross Burton ross.bur...@intel.com --- tmpfiles.d/etc.conf.m4 |2 ++ 1 file

Re: [systemd-devel] [PATCH] systemd: Have rpc-statd-notify.service Require network.target

2015-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Mar 03, 2015 at 04:37:24PM -0500, Steve Dickson wrote: On 03/03/2015 02:18 PM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Mar 03, 2015 at 10:06:57PM +0300, Andrei Borzenkov wrote: Indeed. From the man page: -m retry-time Specifies the length of time, in minutes

Re: [systemd-devel] [PATCH] po: update Russian translation

2015-03-03 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 02, 2015 at 01:40:49PM +, Dimitri John Ledkov wrote: On 2 March 2015 at 13:04, Sergey Ptashnick 0comff...@inbox.ru wrote: On 02.03.2015 02:26, Ivan Shapovalov wrote: Hmm... Here (and in similar cases below) the comma should not be used, because для is just a preposition and

Re: [systemd-devel] [PATCH] journal: fix Inappropriate ioctl for device on ext4

2015-03-02 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Mar 02, 2015 at 03:58:48AM +0300, Ivan Shapovalov wrote: On 2015-03-01 at 21:13 -0300, Cristian Rodríguez wrote: Logs constantly show systemd-journald[395]: Failed to set file attributes: Inappropriate ioctl for device This is because ext4 does not support FS_NOCOW_FL. ---

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

2015-03-02 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 18, 2015 at 06:17:17PM -0300, Cristian Rodríguez wrote: El 18/02/15 a las 07:10, Lennart Poettering escribió: On Tue, 17.02.15 17:35, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Please fix this for all arguments, not just symlinks. diff --git a/src/tmpfiles/tmpfiles.c

<    1   2   3   4   5   6   7   8   9   10   >