Re: [systemd-devel] [PATCH] delta: fix output alignment of [REDIRECTED] entries

2014-12-14 Thread Zbigniew Jędrzejewski-Szmek
[resent with cc:systemd-devel] On Sun, Dec 14, 2014 at 04:04:01PM +0300, Ivan Shapovalov wrote: > --- > src/delta/delta.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/delta/delta.c b/src/delta/delta.c > index a3a121f..de963f7 100644 > --- a/src/delta/delta.c > +++

Re: [systemd-devel] [PATCH v2] blkid: Warn when rejecting a superblock with a bad csum

2014-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 13, 2014 at 01:56:56AM +0100, Gabriel de Perthuis wrote: > Bump libblkid requirement from 2.20 to 2.24. > util-linux 2.25 is actually required since > fdbbad981cc5da8bb4ed7e9b6646e7a114745ec5 > --- > README| 2 +- > configure.ac | 2 +- > src

Re: [systemd-devel] [PATCH] build-sys: remove commented-out m4 from user@.service

2014-12-14 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Dec 14, 2014 at 07:12:34PM +0200, Mantas Mikulėnas wrote: > Otherwise this actually remains in the generated unit in /usr/lib. > > If you want to keep it commented out, a m4-compatible way would be: > > m4_ifdef(`HAVE_SMACK', > dnl Capabilities=cap_mac_admin=i > dnl SecureBits

Re: [systemd-devel] [systemd-commits] 2 commits - src/core src/journal-remote src/network

2014-12-12 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Dec 12, 2014 at 12:58:04PM -0800, Thomas H.P. Andersen wrote: > Author: Thomas Hindoe Paaboel Andersen > Date: Fri Dec 12 19:51:41 2014 +0100 > > wrap a few *_FOREACH macros in curly braces > > cppcheck would give up with "syntax error" without them. This led > to repor

Re: [systemd-devel] [PATCH] Add FDB support

2014-12-12 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Dec 12, 2014 at 04:07:23PM +0100, Lennart Poettering wrote: > On Fri, 12.12.14 09:07, Rauta, Alin (alin.ra...@intel.com) wrote: > > > What do you think about the following transformations: > > > > [FDBEntry] => [FDBNeigh] > > We try to avoid acronyms and abbreviations unles

Re: [systemd-devel] journald syslog forwarding

2014-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 11, 2014 at 04:43:25PM +, "Jóhann B. Guðmundsson" wrote: > On 12/11/2014 04:38 PM, Zbigniew Jędrzejewski-Szmek wrote: > Cant we just tweak those values to suit our needs? > >You need an address to establish a socket. No. > And the socket queue will not

Re: [systemd-devel] journald syslog forwarding

2014-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 11, 2014 at 04:35:24PM +, "Jóhann B. Guðmundsson" wrote: > > On 12/11/2014 04:19 PM, Zbigniew Jędrzejewski-Szmek wrote: > >On Thu, Dec 11, 2014 at 04:09:54PM +, "Jóhann B. Guðmundsson" wrote: > >>> > >>>On 12/11/2014

Re: [systemd-devel] journald syslog forwarding

2014-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 11, 2014 at 05:18:58PM +0100, Lennart Poettering wrote: > On Thu, 11.12.14 17:16, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > > I agree with your findings, and basically thats how the zmq journal > > > gateway works as > > > well.

Re: [systemd-devel] journald syslog forwarding

2014-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 11, 2014 at 04:09:54PM +, "Jóhann B. Guðmundsson" wrote: > > On 12/11/2014 03:31 PM, Zbigniew Jędrzejewski-Szmek wrote: > >The difference is in how the logs are accessed: if journald itself does the > >jobs, > >they would be forwarded "live

Re: [systemd-devel] journald syslog forwarding

2014-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 11, 2014 at 03:39:56PM +, Holger Winkelmann [TP] wrote: > Hi, > > >> upload sounds a bit of a batch process, but thats just cosmetic wording. > >> > >> Having this in systems-journald and extend the forward to syslog config > >> with the > >> target > >> host was our expectation

Re: [systemd-devel] journald syslog forwarding

2014-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 11, 2014 at 02:54:18PM +, Holger Winkelmann [TP] wrote: > HI, > > >> Are there any plans to follow? I.e, having all protocols in a generic > >> gateway, > >> or having one gateways per protocol? How the should we define which field > >> form the journal should be forwarded to sysl

Re: [systemd-devel] journald syslog forwarding

2014-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 11, 2014 at 01:56:24PM +, Holger Winkelmann [TP] wrote: > Hi, > > >> >However there is a need to forward log messages to remote syslog. > >> >We try to avoid to introduce a full blown syslog solution > >> >like i.e. rsyslog to just forward log messages to a remote syslog server. >

Re: [systemd-devel] journald syslog forwarding

2014-12-11 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 11, 2014 at 10:55:27AM +, "Jóhann B. Guðmundsson" wrote: > > On 12/11/2014 10:28 AM, Holger Winkelmann [TP] wrote: > >HI, > > > >Our embedded distribution relies on the systemd tooles including > >journal based logging. > > > >However there is a need to forward log messages to remo

Re: [systemd-devel] [PATCH] virt: fix container detection when we're not PID 1

2014-12-10 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Dec 10, 2014 at 01:52:08PM +0100, Jan Synacek wrote: > Lennart Poettering writes: > > On Wed, 10.12.14 09:21, Jan Synacek (jsyna...@redhat.com) wrote: > > > >> systemd-detect-virt would print "none" when using nspawn to run a shell > >> inside a container and then running systemd-detect-vi

Re: [systemd-devel] Installing user unit files.

2014-12-08 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 08, 2014 at 08:51:43PM +0100, Rüdiger Sonderfeld wrote: > On Monday 08 December 2014 19:40:14 Zbigniew Jędrzejewski-Szmek wrote: > > This destination must be know to systemd. So anything generic like ~/usr > > is unlikely to work, unless systemd is modified to check tha

Re: [systemd-devel] Installing user unit files.

2014-12-08 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 08, 2014 at 07:31:07PM +0100, Rüdiger Sonderfeld wrote: > Hello, > > I'm currently in the process of adding a service file to GNU Emacs: > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16507#26 To comment on the unit file itself: > Description=Emacs: the extensible, customizable text

Re: [systemd-devel] Installing user unit files.

2014-12-08 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 08, 2014 at 07:31:07PM +0100, Rüdiger Sonderfeld wrote: > Hello, > > I'm currently in the process of adding a service file to GNU Emacs: > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16507#26 > > The major point of discussion is how and where to install that file. Systemd > has gu

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-12-08 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Dec 05, 2014 at 05:55:39PM +0200, Uoti Urpala wrote: > Just leaving the symlinks would not give good behavior even in the case > where the admin wants to keep the old target: temporary disable + then > re-enable would now change the target. Perhaps the recommended way to > change targets in

Re: [systemd-devel] [PATCH] networkd: update manpage for optional Gateway=

2014-12-08 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 08, 2014 at 01:53:30PM +0200, Mantas Mikulėnas wrote: > Following commit 59580681f5f. > --- > man/systemd.network.xml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists

Re: [systemd-devel] [PATCH 2/3] coredump: use lz4frame api to compress coredumps

2014-12-08 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 08, 2014 at 03:36:15PM +0100, Lennart Poettering wrote: > On Sun, 07.12.14 19:32, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > This converts the stream compression to use the new lz4frame api, > > compatible with lz4cat. Previous code used cust

Re: [systemd-devel] [PATCH] fstab-generator: Allow mount.usr without mount.usrflags, honor rw/ro

2014-12-07 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Dec 06, 2014 at 02:47:51PM -0800, Michael Marineau wrote: > There is no need to require mount.usrflags. The original implementation > assumed that a btrfs subvolume would always be needed but that is not > applicable to systems that do not use btrfs for /usr. > > Similar to using rootflags

Re: [systemd-devel] [PATCH 1/3] build-sys: use pkgconfig and lz4 and bump version

2014-12-07 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Dec 07, 2014 at 07:59:29PM +0100, Daniele Nicolodi wrote: > On 07/12/14 19:54, Zbigniew Jędrzejewski-Szmek wrote: > > On Sun, Dec 07, 2014 at 01:45:13PM -0500, Dave Reisner wrote: > >> On Sun, Dec 07, 2014 at 07:32:38PM +0100, Zbigniew Jędrzejewski-Szmek > >>

Re: [systemd-devel] [PATCH 1/3] build-sys: use pkgconfig and lz4 and bump version

2014-12-07 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Dec 07, 2014 at 01:45:13PM -0500, Dave Reisner wrote: > On Sun, Dec 07, 2014 at 07:32:38PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > The new frame api should be released in v. 125. > > --- > > configure.ac | 2 +- > > 1 file changed, 1 insertion(+), 1 deleti

[systemd-devel] [PATCH 2/3] coredump: use lz4frame api to compress coredumps

2014-12-07 Thread Zbigniew Jędrzejewski-Szmek
This converts the stream compression to use the new lz4frame api, compatible with lz4cat. Previous code used custom headers, so the compressed file was not compatible with lz4 command line tools. I considered this the last blocker to using lz4 by default. Speed seems to be reasonable, although a b

[systemd-devel] [PATCH 3/3] test-compress-benchmark: test three cases (zeros, simple, semi-random)

2014-12-07 Thread Zbigniew Jędrzejewski-Szmek
Existing test would use highly-compressible repeatable input. Two types of input are added: - zeros - random blocks interspersed with zeros The idea is to get more information about behaviour in various cases. On Intel Xeon the results are: % ./test-compress-benchmark XZ/zeros: compressed & deco

[systemd-devel] [PATCH 1/3] build-sys: use pkgconfig and lz4 and bump version

2014-12-07 Thread Zbigniew Jędrzejewski-Szmek
The new frame api should be released in v. 125. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 356a3c3d67..94e6a3b54a 100644 --- a/configure.ac +++ b/configure.ac @@ -565,7 +565,7 @@ AM_CONDITIONAL(HAVE_XZ, [test "$have_xz" =

Re: [systemd-devel] [PATCH] 60-persistent-storage.rules: ignore partitions with ID_FS_TYPE of parent

2014-12-04 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Dec 04, 2014 at 12:57:36PM +0100, har...@redhat.com wrote: > From: Harald Hoyer > > If ID_FS_TYPE of a parent is already set, > then it's something like "linux_raid_member" or "mpath_member" > and the disk is already in use, so don't handle the partitions Is this trying to fix an existing

Re: [systemd-devel] 'systemctl poweroff' no longer shuts down system -- instead, reboots ?

2014-12-02 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Dec 03, 2014 at 02:21:45AM +0100, Lennart Poettering wrote: > On Thu, 13.11.14 11:24, grantksupp...@operamail.com > (grantksupp...@operamail.com) wrote: > > > On Tue, Nov 11, 2014, at 08:09 AM, Lennart Poettering wrote: > > > On the upstream ML we usually discuss only more recent problems

Re: [systemd-devel] [PATCH v2 5/5] mount: auto-detect iSCSI and FCoE as requiring network

2014-12-01 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 01, 2014 at 11:24:58AM +0100, Karel Zak wrote: > On Fri, Nov 28, 2014 at 09:27:43PM +0100, Lennart Poettering wrote: > > On Fri, 28.11.14 20:50, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) > > wrote: > > > > > On Sun, Nov 23, 2014 at 08:33

Re: [systemd-devel] [PATCH v3] build-sys: configure the list of system users, files and directories

2014-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 28, 2014 at 03:59:59PM +0100, Łukasz Stelmach wrote: > Choose which system users defined in sysusers.d/systemd.conf and files > or directories in tmpfiles.d/systemd.conf, should be provided depending > on comile-time configuration. > --- > Makefile.am| 4 > config

Re: [systemd-devel] [PATCH] man: BusName= is not optional for Type!=bus

2014-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 30, 2014 at 09:32:39AM +0100, Umut Tezduyar Lindskog wrote: > http://lists.freedesktop.org/archives/systemd-devel/2014-November/025492.html > --- > man/systemd.service.xml | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/man/systemd.service.xml b/man/systemd

Re: [systemd-devel] [PATCH] Delete ZX as sole compression; "Compress=" as boolean

2014-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 30, 2014 at 10:13:06PM -0500, Chris Atkinson wrote: > In man journald.conf, removes reference to XZ as sole form of > compression. See commit d89c8fdf48c7bad5816b9f2e77e8361721f22517. > > In man coredump.conf, clarifies that "Compression=" controls existence, > not type, of compression

Re: [systemd-devel] [systemd-commits] 4 commits - man/systemd.mount.xml man/systemd.swap.xml src/core src/fstab-generator src/journal src/shared

2014-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Dec 01, 2014 at 01:15:59AM +0100, Lennart Poettering wrote: > On Mon, 01.12.14 01:10, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > On Sun, Nov 30, 2014 at 10:55:03PM +0100, Lennart Poettering wrote: > > > On Sun, 30.11.14 01:09, Zbigniew Jęd

Re: [systemd-devel] [systemd-commits] 4 commits - man/systemd.mount.xml man/systemd.swap.xml src/core src/fstab-generator src/journal src/shared

2014-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 30, 2014 at 10:55:03PM +0100, Lennart Poettering wrote: > On Sun, 30.11.14 01:09, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > > I think we really should close the fd here. audit is actually really a > > > good example why: the audit kernel

Re: [systemd-devel] [PATCH 2/2] core: warn and ignore SysVStartPriority=

2014-11-30 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 30, 2014 at 10:51:36PM +0100, Lennart Poettering wrote: > On Sun, 30.11.14 16:55, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > Option was parsed but was not being used for anything. > > Maybe call this DISABLED_LEGACY then? OK. Thank you for the

[systemd-devel] [PATCH 2/2] core: warn and ignore SysVStartPriority=

2014-11-30 Thread Zbigniew Jędrzejewski-Szmek
Option was parsed but was not being used for anything. --- src/core/load-fragment-gperf.gperf.m4 | 4 +--- src/core/load-fragment.c | 4 src/core/load-fragment.h | 1 + src/core/service.c| 7 --- src/core/service.h| 3 ---

[systemd-devel] [PATCH 1/2] When warning about unsupported options, be more detailed

2014-11-30 Thread Zbigniew Jędrzejewski-Szmek
--- I think this would be useful. Comments? src/core/load-fragment-gperf.gperf.m4 | 28 ++-- src/core/load-fragment.c | 15 --- src/core/load-fragment.h | 5 + 3 files changed, 31 insertions(+), 17 deletions(-) diff --git a/src/c

Re: [systemd-devel] [systemd-commits] 4 commits - man/systemd.mount.xml man/systemd.swap.xml src/core src/fstab-generator src/journal src/shared

2014-11-29 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 30, 2014 at 12:54:40AM +0100, Lennart Poettering wrote: > On Wed, 26.11.14 12:22, Zbigniew Jędrzejewski-Szmek > (zbys...@kemper.freedesktop.org) wrote: > > > New commits: > > commit 3d82301321afdcc4f2f8786883bd15b1a64c6e83 > > Author: Zbigniew J??drzejewski

Re: [systemd-devel] [PATCH 01/10] man/logind.conf.xml: Make "man logind.conf.d" work too

2014-11-29 Thread Zbigniew Jędrzejewski-Szmek
Nice! Applied all 10. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] Documentation changes to reflect that isolate is for target and snapshot only and that no extension filenames default to .target.

2014-11-29 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Nov 29, 2014 at 11:30:58AM -0500, Chris Atkinson wrote: > Subject: [PATCH] Documentation changes to reflect that isolate is for target > and snapshot only and that no extension filenames default to .target. Actually you can isolate anything that has AllowIsolate=true. Existing documentatio

Re: [systemd-devel] [PATCH] README: notice kernel config for CPUQuota

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 19, 2014 at 12:13:43AM +0900, WaLyong Cho wrote: > --- > README | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/README b/README > index aefb349..70d1105 100644 > --- a/README > +++ b/README > @@ -82,6 +82,9 @@ REQUIREMENTS: >CONFIG_CGROUP_SCHED >CON

Re: [systemd-devel] [PATCH] Documentation changes to reflect that isolate is for target and snapshot only and that no extension filenames default to .target.

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 28, 2014 at 03:37:25PM -0500, Chris Atkinson wrote: > See > > http://lists.freedesktop.org/archives/systemd-devel/2014-November/025644.html > > et seq. Hi, your patch is line-wrapper. Please resend it using git send-email or as an attachment. Zbyszek _

Re: [systemd-devel] [PATCH] systemctl: add edit verb

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 28, 2014 at 09:48:55PM +0100, Ronny Chevalier wrote: > 2014-10-29 16:22 GMT+01:00 Ronny Chevalier : > > It helps editing units by either creating a drop-in file, like > > /etc/systemd/system/my.service.d/override.conf, or by copying the > > original unit from /usr/lib/systemd/ to /etc/s

Re: [systemd-devel] [PATCH] systemctl: add edit verb

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Oct 29, 2014 at 04:22:02PM +0100, Ronny Chevalier wrote: > It helps editing units by either creating a drop-in file, like > /etc/systemd/system/my.service.d/override.conf, or by copying the > original unit from /usr/lib/systemd/ to /etc/systemd/ if the --full > option is specified. > > It

Re: [systemd-devel] [PATCH v2 5/5] mount: auto-detect iSCSI and FCoE as requiring network

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 28, 2014 at 09:27:43PM +0100, Lennart Poettering wrote: > On Fri, 28.11.14 20:50, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > On Sun, Nov 23, 2014 at 08:33:41PM -0800, Chris Leech wrote: > > > This adds auto detection for iSCSI and some FC

Re: [systemd-devel] [PATCH v2 5/5] mount: auto-detect iSCSI and FCoE as requiring network

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 23, 2014 at 08:33:41PM -0800, Chris Leech wrote: > This adds auto detection for iSCSI and some FCoE drivers and treats > mounts to file-systems on those devices as remote-fs. > > Signed-off-by: Chris Leech No need for this. I now pushed patches 1-4 with some small changes here and th

Re: [systemd-devel] [PATCH] udevadm hwdb: discard extra leading whitespaces in hwdb

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 27, 2014 at 12:31:33PM +0100, Lennart Poettering wrote: > On Thu, 27.11.14 15:19, Peter Hutterer (peter.hutte...@who-t.net) wrote: > > > Currently a property in the form of > > FOO=bar > > is stored as " FOO=bar", i.e. the property name contains a leading space. > > That's quite hard

Re: [systemd-devel] [PATCH] udevadm hwdb: discard extra leading whitespaces in hwdb

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 27, 2014 at 07:21:55AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Nov 26, 2014 at 09:55:10PM -0800, Greg KH wrote: > > On Thu, Nov 27, 2014 at 03:19:44PM +1000, Peter Hutterer wrote: > > > Currently a property in the form of > > > FOO=bar > &g

Re: [systemd-devel] systemctl isolate "foo.service" expands to "foo.service.target"

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 28, 2014 at 02:02:24PM -0500, Chris Atkinson wrote: > Commit e80733be33e52d8ab2f1ae845326d39c600f5612 seems to have done the > trick. > > I'm able to start, stop and status services, isolate .target > and .snapshot files and a filename with no extension following > "isolate" is treated

Re: [systemd-devel] systemctl isolate "foo.service" expands to "foo.service.target"

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 28, 2014 at 01:09:18PM -0500, Chris Atkinson wrote: > The commit (5e03c6e3b517286bbd65b48d88f60e5b83721894) seems to be > having some side effects. > > When I attempt to query status, stop or start a service I get > the following: > > $ sudo systemctl stop transmission > Assertion 'su

Re: [systemd-devel] systemctl isolate "foo.service" expands to "foo.service.target"

2014-11-28 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 28, 2014 at 10:40:31AM -0500, Chris Atkinson wrote: > I created a named snapshot: > > $ sudo systemctl snapshot derpy > derpy.snapshot > > I tried restoring the named snapshot, but the mandatory mangling > to .target got in the way: > > $ sudo systemctl isolate derpy.snapshot > Faile

Re: [systemd-devel] [PATCH] Stop crashing on empty TXT

2014-11-27 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 27, 2014 at 05:13:00PM +0100, David Herrmann wrote: > Hi > > On Thu, Nov 27, 2014 at 5:09 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > On Thu, Nov 27, 2014 at 04:12:20PM +0100, David Herrmann wrote: > >> Hi > >> > >> On Tue, Nov 18, 20

Re: [systemd-devel] [PATCH] Stop crashing on empty TXT

2014-11-27 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 27, 2014 at 04:12:20PM +0100, David Herrmann wrote: > Hi > > On Tue, Nov 18, 2014 at 4:52 AM, Stanisław Pitucha wrote: > > TXT records should have at least one character, so enforce this. > > Previously parser SIGSEGV'd on ->txt.strings being NULL. > > Your patch fixes the issue, ind

Re: [systemd-devel] Unbounded journal~ file accumulation

2014-11-27 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 09:59:12PM +, Moyer, Keith wrote: > Running v215-6 via Debian jessie > > In my situation, it is common to have unclean reboots. On the subsequent > boot, a system@journal~ file is created. The problem is that these > journal~ files do not trigger any cleanup wit

Re: [systemd-devel] [PATCH] udevadm hwdb: discard extra leading whitespaces in hwdb

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 09:55:10PM -0800, Greg KH wrote: > On Thu, Nov 27, 2014 at 03:19:44PM +1000, Peter Hutterer wrote: > > Currently a property in the form of > > FOO=bar > > is stored as " FOO=bar", i.e. the property name contains a leading space. > > That's quite hard to spot. > > > > This

Re: [systemd-devel] [PATCH] journalctl: --follow with --since behaviour

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Nov 25, 2014 at 08:47:49PM +0100, Andrej Manduch wrote: > journalctl will print not only 10 lines but all relevant when --since is > in use Hi, patch applied. > --- >8 --- git am treates the stuff above this line as the commit message, while the stuff below is more interesting. I copied i

Re: [systemd-devel] [PATCH] unit-name: fix escaping logic in unit_name_mangle_with_suffix().

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Nov 25, 2014 at 09:58:14PM +0300, Ivan Shapovalov wrote: > Make screened character set consistent with unit_name_mangle() by splitting > off > the escaping loop into a separate function. > > Before this fix, unit names such as `foo@bar.target` would get transformed > into `foo\x40bar.targ

Re: [systemd-devel] [PATCH] networkd: route - allow routes without a gateway

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 24, 2014 at 03:51:31PM -0800, Gavin Li wrote: > From: Gavin Li > > For IPv6, the kernel returns EINVAL if a route is added with the > RTA_GATEWAY attribute set to in6addr_any (::). A route without a > gateway is useful in some situations, such as layer 3 tunneling > (sit, gre, etc.).

Re: [systemd-devel] [PATCH] journal-remote: do not install tmpfiles and sysusers files by default

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 09:17:50AM +0100, Łukasz Stelmach wrote: > Change-Id: I5cbbcec134f52267ac4841b7d8f14d341a2d2184 > Signed-off-by: Łukasz Stelmach I removed that lines... Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesk

Re: [systemd-devel] [PATCH] timesyncd: do not keep listening socket open forever

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 09:33:30AM +, Sean Young wrote: > This also makes the source port less predicatable. Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-dev

Re: [systemd-devel] [PATCH v2 2/2] coredump: collect all /proc data useful for bug reporting

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Nov 25, 2014 at 07:37:48AM +0100, Jakub Filak wrote: > /proc/[pid]: > - status > - maps > - limits > - cgroup > - cwd > - root > - environ > - fd/ & fdinfo/ joined in open_fds > --- > src/journal/coredump.c | 156 > - > 1 file changed, 154 i

Re: [systemd-devel] [systemd-commits] 4 commits - src/core test/TEST-03-JOBS

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 07:35:30AM -0800, Michal Schmidt wrote: > src/core/job.c |7 +-- > src/core/job.h | 14 ++ > src/core/transaction.c |2 +- > test/TEST-03-JOBS/test-jobs.sh |9 + > 4 files changed, 25 insertions(+

Re: [systemd-devel] [PATCH 2/2] logind: Support logind.conf.d directories in the usual search paths

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 01:24:53PM +0100, Gergely Nagy wrote: > > "Josh" == Josh Triplett writes: > > Josh> This makes it possible to drop in logind configuration snippets > from a > Josh> package or other configuration management mechanism. > [...] > Josh> If this approach looks

Re: [systemd-devel] [PATCH] add configuration for smackfs root

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 27, 2014 at 01:02:01AM +0900, WaLyong Cho wrote: > The smackfs root was changed few month ago. But some of systems are > still using old smackfs root. For compatibility, add smackfs root > configure option. Default is /sys/fs/smackfs. Sorry, /sys/fs/smackfs was made "official" in v3.6-r

Re: [systemd-devel] [PATCH v2] build-sys: remove --gc-sections to fix debugging

2014-11-26 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 05:24:37PM -0300, Cristian Rodríguez wrote: > El 26/11/14 a las 15:31, Peter Wu escribió: > > > [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=17639 > > > >https://bugs.freedesktop.org/show_bug.cgi?id=8 > >--- > > v2:removed -ffunction-sections and -fdata-se

Re: [systemd-devel] [PATCH] hwdb: add a new db for the DPI/frequency settings of mice

2014-11-25 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 08:36:55AM +1000, Peter Hutterer wrote: > Plus, would a fix be welcome to ignore multiple leading whitespaces? This > has caught me several times now and I keep making this mistake. Yes, pleeeassse. This will fix https://bugs.freedesktop.org/show_bug.cgi?id=82311 too. Zbys

Re: [systemd-devel] [PATCH] hwdb: add a new db for the DPI/frequency settings of mice

2014-11-25 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 01:01:30AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Nov 26, 2014 at 07:30:51AM +1000, Peter Hutterer wrote: > > On Tue, Nov 25, 2014 at 02:56:31PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > > On Tue, Nov 25, 2014 at 09:35:16PM +1000, Pe

Re: [systemd-devel] [PATCH] hwdb: add a new db for the DPI/frequency settings of mice

2014-11-25 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 26, 2014 at 07:30:51AM +1000, Peter Hutterer wrote: > On Tue, Nov 25, 2014 at 02:56:31PM +0100, Zbigniew Jędrzejewski-Szmek wrote: > > On Tue, Nov 25, 2014 at 09:35:16PM +1000, Peter Hutterer wrote: > > > Pointer acceleration for relative input devices (mic

Re: [systemd-devel] [PATCH] hwdb: add a new db for the DPI/frequency settings of mice

2014-11-25 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Nov 25, 2014 at 09:35:16PM +1000, Peter Hutterer wrote: > Pointer acceleration for relative input devices (mice, trackballs, etc.) > applies to the deltas of the device. Alas, those deltas have no physical > reference point - a delta of 10 may be caused by a large movement of a low-dpi > mo

Re: [systemd-devel] [systemd-commits] src/cryptsetup

2014-11-24 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 24, 2014 at 07:03:27PM +0100, Quentin Lefebvre wrote: > Le 24/11/2014 19:01, Zbigniew Jędrzejewski-Szmek a écrit : > >On Mon, Nov 24, 2014 at 06:44:25PM +0100, Quentin Lefebvre wrote: > >>Hi, > >> > >>I tested your patch and actually it doesn't

Re: [systemd-devel] [systemd-commits] src/cryptsetup

2014-11-24 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 24, 2014 at 06:44:25PM +0100, Quentin Lefebvre wrote: > Hi, > > I tested your patch and actually it doesn't solve the bug. > For example, if "hash=sha512" is provided in /etc/crypttab, the > first > if (!streq(arg_hash, "plain")) > is true, and the > > +

Re: [systemd-devel] serialization bug, swap bug, etc.

2014-11-24 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 24, 2014 at 07:48:17AM +0200, Mantas Mikulėnas wrote: > On Mon, Nov 24, 2014 at 2:59 AM, Zbigniew Jędrzejewski-Szmek < > zbys...@in.waw.pl> wrote: > > On Thu, Nov 20, 2014 at 09:13:02AM +0200, Mantas Mikulėnas wrote: > > > ~ If there are two .swap units for t

Re: [systemd-devel] [PATCH v3] smack: introduce new SmackProcessLabel option

2014-11-24 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 24, 2014 at 08:46:20PM +0900, WaLyong Cho wrote: > In service file, if the file has some of special SMACK label in > ExecStart= and systemd has no permission for the special SMACK label > then permission error will occurred. To resolve this, systemd should > be able to set its SMACK lab

Re: [systemd-devel] [PATCH] This patch solves the bug 52630 described here: https://bugs.freedesktop.org/show_bug.cgi?id=52630 .

2014-11-24 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 19, 2014 at 02:22:02PM +0100, Quentin Lefebvre wrote: > >For plain dm-crypt devices, the behavior of cryptsetup package is to ignore > >the hash algorithm when a key file is provided. > >With this patch, systemd-cryptsetup now behaves as cryptsetup, so that old > >plain dm-crypt devic

Re: [systemd-devel] serialization bug, swap bug, etc.

2014-11-23 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 20, 2014 at 09:13:02AM +0200, Mantas Mikulėnas wrote: > ~ I'm getting this on every reload: > > systemd[1]: Unknown serialization item 'subscribed=:1.1' Lukas' patch should fix that. > Doesn't seem to break anything though. > > ~ I'm also getting this on every reload: > > systemd[1]

Re: [systemd-devel] [PATCH] dbus: return non-zero return value in the case that prefix won't match

2014-11-23 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 20, 2014 at 04:06:18PM +0100, Lukas Nykryn wrote: > strv_extend returns 0 in the case of success which means that > else if (bus_track_deserialize_item(&m->deserialized_subscribed, l) == 0) > log_warning("Unknown serialization item '%s'", l); > will be printed when value is adde

Re: [systemd-devel] [PATCH v2 0/2] Empty environment variables in unit files work

2014-11-23 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 20, 2014 at 09:18:22PM +0100, Iago López Galeiras wrote: > Clarified commit message (thanks Koen Kooi) > > Iago López Galeiras (2): > test: support empty environment variables in unit files > update TODO > > TODO | 2 -- > src/test/test-unit-file.c | 22

Re: [systemd-devel] [PATCH v2] smack: introduce new SmackLabelAccess option

2014-11-23 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 21, 2014 at 03:16:01PM +0900, WaLyong Cho wrote: > In case of systemd has "_" label and run as root, if a service file > has "User=" option and the command line file has a special SMACK label > then systemd will fail to access to given file. SMACK label is ignored > for root uid process

Re: [systemd-devel] [PATCH] rpcbind: add support for systemd socket activation

2014-11-22 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 21, 2014 at 11:43:47AM -0500, Steve Dickson wrote: > From: Tom Gundersen > > Making rpcbind sockect activated will greatly simplify > its integration in systemd systems. In essence, other services > may now assume that rpcbind is always available, even during very > early boot. This m

Re: [systemd-devel] systemd-run checks path on host before running on container

2014-11-22 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Nov 23, 2014 at 12:14:32AM +0100, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Nov 22, 2014 at 02:47:49PM +0100, David Herrmann wrote: > > Hi > > > > On Fri, Nov 21, 2014 at 5:00 AM, Peter Hutterer > > wrote: > > > I was playing around with system

Re: [systemd-devel] systemctl list-dependencies: consider "BindsTo" as well?

2014-11-22 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 21, 2014 at 09:23:19PM +0100, Peter Mattern wrote: > Hello. > > Right now systemctl's command list-dependencies is considering > parameters Wants and Requires only. > > But given that command's purpose I was wondering whether it wouldn't > make sense to have it consider BindsTo as wel

Re: [systemd-devel] [PATCH] nspawn: ignore EEXIST when mounting tmpfs

2014-11-22 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 21, 2014 at 09:44:48PM +0100, Richard Schütz wrote: > commit 79d80fc1466512d0ca211f4bfcd9de5f2f816a5a introduced a regression that > prevents mounting a tmpfs if the mount point already exits in the container's > root file system. This commit fixes the problem by ignoring EEXIST. > ---

Re: [systemd-devel] [PATCH] man/logind.conf.xml: make consistent with default logind.conf

2014-11-22 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Nov 22, 2014 at 03:58:47PM -0500, Chris Atkinson wrote: > See Bug 86263 It's better to specify the full URL for the bugtracker, since we have also the distribution bugtrackers, and then people can easily click to the the bug report. I can see how someone who doesn't know anything about sys

Re: [systemd-devel] systemd-run checks path on host before running on container

2014-11-22 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Nov 22, 2014 at 02:47:49PM +0100, David Herrmann wrote: > Hi > > On Fri, Nov 21, 2014 at 5:00 AM, Peter Hutterer > wrote: > > I was playing around with systemd-nspawn and systemd-run. The latter doesn't > > seem to let me run a command that solely exists on the container. > > simple way o

Re: [systemd-devel] [systemd-commits] units/basic.target units/poweroff.target units/reboot.target

2014-11-10 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 10, 2014 at 10:53:46PM +0100, Lennart Poettering wrote: > On Thu, 06.11.14 14:44, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > On Thu, Nov 06, 2014 at 02:28:12PM +0100, Lennart Poettering wrote: > > > On Thu, 06.11.14 12:45, Patrick Häcker

Re: [systemd-devel] 'systemctl poweroff' no longer shuts down system -- instead, reboots ?

2014-11-10 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Nov 10, 2014 at 04:22:42PM -0800, grantksupp...@operamail.com wrote: > On Mon, Nov 10, 2014, at 04:07 PM, Lennart Poettering wrote: > > On Thu, 30.10.14 12:30, grantksupp...@operamail.com > > (grantksupp...@operamail.com) wrote: > > > > > exec of > > > > > > systemctl poweroff > > > >

Re: [systemd-devel] Unexpecte behavior for timer with OnActiveSec

2014-11-08 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Nov 08, 2014 at 04:36:30PM +0300, Andrei Borzenkov wrote: > В Fri, 7 Nov 2014 08:56:49 + > "Paassen, Hiram van" пишет: > > > Hi, > > > > We need to switch to a different target after 30 min of starting that > > target. Switching happens with isolate. > > So we have a timer with OnAc

Re: [systemd-devel] [PATCH] shared/install: don't report 'static' when unit contains only Also=

2014-11-07 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 07, 2014 at 03:25:11PM +0100, Jan Synacek wrote: > Zbigniew Jędrzejewski-Szmek writes: > > On Fri, Nov 07, 2014 at 01:06:41PM +0100, Lennart Poettering wrote: > >> On Fri, 07.11.14 09:49, Jan Synacek (jsyna...@redhat.com) wrote: > >> > >> > Lenn

Re: [systemd-devel] [systemd-commits] units/basic.target units/poweroff.target units/reboot.target

2014-11-07 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 07, 2014 at 03:02:49PM +0100, Patrick Häcker wrote: > That should be possible. Currently the package contains > /lib/systemd/system/unattended-upgrades.service which contains: > > [Unit] > > Description=Unattended Upgrades > > DefaultDependencies=no > > Before=shutdown.target reboot.ta

Re: [systemd-devel] [PATCH] shared/install: don't report 'static' when unit contains only Also=

2014-11-07 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 07, 2014 at 01:06:41PM +0100, Lennart Poettering wrote: > On Fri, 07.11.14 09:49, Jan Synacek (jsyna...@redhat.com) wrote: > > > Lennart Poettering writes: > > > On Thu, 06.11.14 10:49, Jan Synacek (jsyna...@redhat.com) wrote: > > > > > >> I think that this patch might be a bit ineffe

Re: [systemd-devel] [PATCH] unit: do not order timers.target before basic.target

2014-11-06 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 07, 2014 at 03:13:12AM +0100, Lennart Poettering wrote: > On Fri, 07.11.14 03:02, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > > I must say I kinda like the fact that pulling in and reaching > > > "basic.target" makes sure all tho

Re: [systemd-devel] [PATCH] unit: do not order timers.target before basic.target

2014-11-06 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Nov 07, 2014 at 02:49:59AM +0100, Lennart Poettering wrote: > On Sun, 02.11.14 17:59, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > Since commit 19f8d037833f2 'timer: order OnCalendar units after > > timer-sync.target if DefaultDependencies

Re: [systemd-devel] [systemd-commits] units/basic.target units/poweroff.target units/reboot.target

2014-11-06 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 06, 2014 at 03:21:33PM +, Simon McVittie wrote: > On 06/11/14 14:16, Zbigniew Jędrzejewski-Szmek wrote: > > What matters is how it is all arranged: > > > > - if there's a job that does stuff, and then calls reboot or shutdown > > - a hook into th

Re: [systemd-devel] does poweroff -f really sync

2014-11-06 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 06, 2014 at 03:22:50PM +0100, Lennart Poettering wrote: > On Thu, 06.11.14 15:08, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > On a related note: if I read the code correctly, reboot -f or > > JobFailureAction=reboot-force should sync the filesystems

Re: [systemd-devel] [systemd-commits] units/basic.target units/poweroff.target units/reboot.target

2014-11-06 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 06, 2014 at 02:12:52PM +, "Jóhann B. Guðmundsson" wrote: > > On 11/06/2014 01:28 PM, Lennart Poettering wrote: > >However, doing unattended upgrades at shutdown is not really a > >common case. > > > Well for Debian and Debian based distribution it most certainly can > be the case

[systemd-devel] does poweroff -f really sync

2014-11-06 Thread Zbigniew Jędrzejewski-Szmek
On a related note: if I read the code correctly, reboot -f or JobFailureAction=reboot-force should sync the filesystems. But this doesn't seem to work: - on fedora-devel Adam W. said that fsck ran after a boot timeout - yesterday I did something like 'sudo install ./systemd /usr/lib/systemd/ && su

Re: [systemd-devel] [systemd-commits] units/basic.target units/poweroff.target units/reboot.target

2014-11-06 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 06, 2014 at 02:28:12PM +0100, Lennart Poettering wrote: > On Thu, 06.11.14 12:45, Patrick Häcker (pa...@web.de) wrote: > > > > > However, this one appears bogus to me. Is there any such software > > > > around that really does this? And if so, this really appears weird to > > > > me to

Re: [systemd-devel] [systemd-commits] units/basic.target units/poweroff.target units/reboot.target

2014-11-06 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 06, 2014 at 12:48:23PM +0100, Lennart Poettering wrote: > On Thu, 06.11.14 06:52, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: > > > > > On shutdown there might be other jobs, like downloading of updates > > > > for > > > >

Re: [systemd-devel] [systemd-commits] units/basic.target units/poweroff.target units/reboot.target

2014-11-05 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Nov 06, 2014 at 03:22:09AM +0100, Lennart Poettering wrote: > On Wed, 05.11.14 17:46, Zbigniew Jędrzejewski-Szmek > (zbys...@kemper.freedesktop.org) wrote: > > Ahum. > > This needs more discussion. > > > > units: disable job timeouts > > >

Re: [systemd-devel] [PATCH] hostnamed: add chassis type "robot"

2014-11-05 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Nov 05, 2014 at 06:40:51PM +0100, Noé Rubinstein wrote: > --- > man/hostnamectl.xml | 3 ++- > man/machine-info.xml | 3 ++- > shell-completion/bash/hostnamectl | 2 +- > shell-completion/zsh/_hostnamectl | 2 +- > src/hostname/hostnamed.c | 3 ++- > 5 f

<    4   5   6   7   8   9   10   11   12   13   >