Re: [systemd-devel] Bugfix release(s)

2019-01-14 Thread Dave Reisner
On Mon, Jan 14, 2019 at 04:48:22PM +0100, Lennart Poettering wrote: > On Mo, 14.01.19 08:43, Dave Reisner (d...@falconindy.com) wrote: > > > On Mon, Jan 14, 2019 at 10:59:06AM +0100, Jan Synacek wrote: > > > Hi, > > > > > > since v240 didn't go too well, I

Re: [systemd-devel] Bugfix release(s)

2019-01-14 Thread Dave Reisner
On Mon, Jan 14, 2019 at 10:59:06AM +0100, Jan Synacek wrote: > Hi, > > since v240 didn't go too well, I would like to suggest that the next one > (preferably two) release(s) are bugfix only. Please, consider it. systemd needs better release hygiene, not just a smattering of bugfix releases. As a

Re: [systemd-devel] Question about WATCHDOG

2019-01-11 Thread Dave Reisner
On Fri, Jan 11, 2019 at 08:03:45AM +, Sietse van Zanen wrote: > Hi, > > > > I am writing a daemon script which uses sd_notify watchdog. This works fine, > system will kill the if the process doesn’t notify. > > > > However, I have seen in 1 occasion where, due to a programming error,

Re: [systemd-devel] Return codes of systemctl (status)

2018-08-16 Thread Dave Reisner
On Thu, Aug 16, 2018 at 01:27:12PM +0200, Cecil Westerhof wrote: > The man page of systemctl says: >     On success, 0 is returned, a non-zero failure code otherwise. > > When I do a systemctl status on a service that is not running I get a 3. > What other values can be returned and where do I

Re: [systemd-devel] Stable interface names even when hardware is added or removed, not true

2016-11-16 Thread Dave Reisner
On Wed, Nov 16, 2016 at 4:19 PM, Pekka Sarnila wrote: > > > On 11/16/16 18:11, Greg KH wrote: > >> On Wed, Nov 16, 2016 at 03:33:42PM +0200, Pekka Sarnila wrote: >> >>> On 'Predictable Network Interface Names' it states as a benefit of the >>> new >>> policy: >>> >>> Stable

Re: [systemd-devel] Emergency mode if non-critical /etc/fstab entries are missing

2016-09-25 Thread Dave Reisner
On Mon, Sep 26, 2016 at 11:35:51AM +1300, Sergei Franco wrote: > Thank you for your quick reply. > > I just tested this scenario on Ubuntu 12.04LTS (with upstart) and it > present the following message: > > The disk drive for /data is not ready yet or not present. > keys:Continue to wait, or

Re: [systemd-devel] Emergency mode if non-critical /etc/fstab entries are missing

2016-09-25 Thread Dave Reisner
On Mon, Sep 26, 2016 at 10:52:50AM +1300, Sergei Franco wrote: > Hi, > > I am looking at correct way to disable the "feature" of emergency mode when > systemd encounters missing block device entires in fstab. > > For example: > > the following entry is in /etc/fstab: >

Re: [systemd-devel] Timer: time format

2016-08-23 Thread Dave Reisner
On Tue, Aug 23, 2016 at 11:38:57AM +0200, arnaud gaboury wrote: > I am really sorry for this post as this may sound like a trivial one, > but honestly the timer topic is difficult to understand for me (at > least the time format). > > I am looking to run a service twice a day, never mind the

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

2016-05-22 Thread Dave Reisner
On Sat, May 21, 2016 at 10:51:13PM +, Zbigniew Jędrzejewski-Szmek wrote: > Hi, > > systemd v230 has been tagged. Enjoy! > > CHANGES WITH 230: Hi, One important change missing from this list is 7163e1ca1108d7 -- if you use systemd in your initramfs and do not add initrd-root-device.target,

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

2016-02-12 Thread Dave Reisner
On Fri, Feb 12, 2016 at 10:56:29AM +0100, Armin K. wrote: > On 12.02.2016 10:54, Colin Guthrie wrote: > > Dave Reisner wrote on 12/02/16 01:09: > >> On Thu, Feb 11, 2016 at 10:26:51PM +0100, Reindl Harald wrote: > >>> > >>> Am 11.02.2016 um 22:19 schrieb

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

2016-02-11 Thread Dave Reisner
On Thu, Feb 11, 2016 at 05:50:08PM +0100, Lennart Poettering wrote: > Heya! > > I just tagged the v229 release of systemd. Enjoy! > > CHANGES WITH 229: > > > > * When the stacktrace is extracted from processes of system users, > this > is now done as "systemd-coredump"

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

2016-02-11 Thread Dave Reisner
On Thu, Feb 11, 2016 at 10:26:51PM +0100, Reindl Harald wrote: > > Am 11.02.2016 um 22:19 schrieb Dave Reisner: > >On Thu, Feb 11, 2016 at 05:50:08PM +0100, Lennart Poettering wrote: > >>I just tagged the v229 release of systemd. Enjoy! >

Re: [systemd-devel] no tar balls at release time

2015-06-23 Thread Dave Reisner
On Tue, Jun 23, 2015 at 01:19:54PM +0200, Kay Sievers wrote: On Tue, Jun 23, 2015 at 4:02 AM, Dave Reisner d...@falconindy.com wrote: On Tue, Jun 23, 2015 at 01:21:36AM +0200, Kay Sievers wrote: We currently considering to stop creating release tar balls. What's the motivation

Re: [systemd-devel] no tar balls at release time

2015-06-22 Thread Dave Reisner
On Tue, Jun 23, 2015 at 01:21:36AM +0200, Kay Sievers wrote: We currently considering to stop creating release tar balls. What's the motivation for this change? I suspect that with this, 'make distcheck' will never again be run and it will eventually break build configurations which don't align

Re: [systemd-devel] 220 tarball erroneously ships keyboard-keys-from-name.gperf

2015-05-26 Thread Dave Reisner
On Tue, May 26, 2015 at 04:17:07PM +0200, Lennart Poettering wrote: On Tue, 26.05.15 15:12, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote: Or will there be a v220.1 release shortly with releasy fix-ups? Well, we don't do point releases in systemd. In systemd git we already

Re: [systemd-devel] [PATCH] [PATCH v3] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Dave Reisner
On Tue, Mar 31, 2015 at 05:14:48PM +0200, Alban Crequy wrote: From: Alban Crequy al...@endocode.com Some systems abusively restrict mknod, even when the device node already exists in /dev. This is unfortunate because it prevents systemd-nspawn from creating the basic devices in /dev in the

Re: [systemd-devel] [PATCH] [PATCH v3] nspawn: fallback on bind mount when mknod fails

2015-03-31 Thread Dave Reisner
On Tue, Mar 31, 2015 at 07:14:26PM +0200, Lennart Poettering wrote: On Tue, 31.03.15 11:35, Dave Reisner (d...@falconindy.com) wrote: +/* Some systems abusively restrict mknod but + * allow bind mounts

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

2015-03-06 Thread Dave Reisner
On Fri, Mar 06, 2015 at 05:22:22PM -0800, Shawn Landden wrote: it is trivial to fall back to our own timestamp v2: use now() --- src/timedate/timedated.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/timedate/timedated.c b/src/timedate/timedated.c index

Re: [systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-27 Thread Dave Reisner
On Tue, Jan 27, 2015 at 05:33:06PM +0100, Martin Pitt wrote: Lennart Poettering [2015-01-27 17:22 +0100]: The .mount units of device nodes already have a BindsTo= dependency on their respective backing .device units. This should have the effect that systemd will take the .mount units down

[systemd-devel] [PATCH] systemd-udevd.service: restore mount propagation

2015-01-26 Thread Dave Reisner
This reverts part of c2c13f2df42e0, which introduced this with no explanation as to *why*. Enslaving the mount namespace breaks default behavior included in rules/60-cdrom_id.rules. Specifically, filesystems on optical media will not be properly unmounted when the physical eject button is used in

Re: [systemd-devel] Second (erroneous) check of rootfs?

2015-01-11 Thread Dave Reisner
On Sun, Jan 11, 2015 at 10:09:08AM +0300, Andrei Borzenkov wrote: В Sat, 10 Jan 2015 16:51:24 +0300 Nikolai Zhubr n-a-zh...@yandex.ru пишет: Hi, 09.01.2015 23:48, Chris Murphy: [...] I might be missing something, but what's wrong with the existing root=... rootfstype=...

Re: [systemd-devel] [PATCH 1/2] systemd-helpers

2015-01-10 Thread Dave Reisner
On Sat, Jan 10, 2015 at 01:33:05PM +0100, Carlos Morata Castillo wrote: Hi, As stated here, we should use a library for bash autocompletions (maybe even with include guards).

Re: [systemd-devel] [PATCH 1/2] test-verbs: add unit tests for verbs minilib

2015-01-08 Thread Dave Reisner
On Thu, Jan 08, 2015 at 09:40:07PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Sat, Dec 20, 2014 at 03:31:21PM -0800, Filipe Brandenburger wrote: Hi, On Sat, Dec 20, 2014 at 8:19 AM, Dave Reisner dreis...@archlinux.org wrote: --- Makefile.am | 9 +- src/test

Re: [systemd-devel] systemd coredumps

2015-01-01 Thread Dave Reisner
On Thu, Jan 01, 2015 at 07:05:04PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Jan 01, 2015 at 05:57:43PM -, Markus Moeller wrote: Hi, How can I find out why systemd core dumps and requires system reboot :-( ? I just did # systemctl status sockd-1.5.0 Failed to

Re: [systemd-devel] [PATCH] Do not clear parent mount flags when setting up namespaces

2015-01-01 Thread Dave Reisner
On Thu, Jan 01, 2015 at 04:49:04PM +0200, Topi Miettinen wrote: Copy parent directory mount flags when setting up a namespace and don't accidentally clear mount flags later. Signed-off-by: Topi Miettinen toiwo...@gmail.com --- src/core/namespace.c | 4 ++-- src/shared/util.c| 20

[systemd-devel] [PATCH 2/2] verbs: allow matching by prefix

2014-12-20 Thread Dave Reisner
Be nice to command line users and allow matching prefixes of verbs, similar to the way getopt_long operates. If the prefix cannot be resolved to a singular verb, log the ambiguity and return an error. --- I'm not thrilled about adding this to every manpage out of concern that it might get out of

[systemd-devel] [PATCH 1/2] test-verbs: add unit tests for verbs minilib

2014-12-20 Thread Dave Reisner
--- Makefile.am | 9 +- src/test/test-verbs.c | 78 +++ 2 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 src/test/test-verbs.c diff --git a/Makefile.am b/Makefile.am index baa1398..db7dd46 100644 --- a/Makefile.am

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

2014-12-14 Thread Dave Reisner
On Sun, Dec 14, 2014 at 10:32:42AM -0500, Mike Gilbert wrote: On Wed, Dec 10, 2014 at 7:16 PM, Lennart Poettering lenn...@poettering.net wrote: Heya! Here's the next version of systemd, v218: http://www.freedesktop.org/software/systemd/systemd-218.tar.xz Hi Lennart, It looks like

Re: [systemd-devel] [PATCH] shared/install: avoid prematurely rejecting missing units

2014-10-31 Thread Dave Reisner
On Fri, Oct 31, 2014 at 04:04:53AM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Thu, Oct 30, 2014 at 08:28:14PM -0400, Dave Reisner wrote: f7101b7368df copied some logic to prevent enabling masked units, but also added a check which causes attempts to enable templated units to fail. Since

Re: [systemd-devel] [PATCH] missing: Correct and extend getrandom syscall defines

2014-10-30 Thread Dave Reisner
On Thu, Oct 30, 2014 at 12:39:53PM +0100, Lennart Poettering wrote: On Wed, 29.10.14 21:02, Dave Reisner (d...@falconindy.com) wrote: On Wed, Oct 29, 2014 at 11:55:29PM +0100, Lennart Poettering wrote: On Wed, 29.10.14 14:29, Cristian Rodríguez (crrodrig...@opensuse.org) wrote

Re: [systemd-devel] Switch root slowness

2014-10-30 Thread Dave Reisner
On Thu, Oct 30, 2014 at 01:18:24PM +0100, Jan Synáček wrote: Hello, commit 539618a0ddc2dc7f0fbe28de2ae0e07b34c81e60 Author: Lennart Poettering lenn...@poettering.net Date: Wed Oct 29 17:06:32 2014 +0100 util: make use of the new getrandom() syscall if it is available when needing

[systemd-devel] [PATCH] shared/install: avoid prematurely rejecting missing units

2014-10-30 Thread Dave Reisner
f7101b7368df copied some logic to prevent enabling masked units, but also added a check which causes attempts to enable templated units to fail. Since we know the logic beyond this check will properly handle units which truly do not exist, we can rely on the unit file state comparison to suffice

Re: [systemd-devel] [PATCH] sd-dhcp-client: clean up raw socket sd_event_source when creating new UDP socket

2014-10-30 Thread Dave Reisner
On Thu, Oct 30, 2014 at 09:39:40PM +0100, Tom Gundersen wrote: Applied. Thanks! But not pushed? On Thu, Oct 30, 2014 at 8:23 PM, Dan Williams d...@redhat.com wrote: The raw socket sd_event_source used for DHCP server solicitations was simply dropped on the floor when creating the new UDP

Re: [systemd-devel] [PATCH] missing: Correct and extend getrandom syscall defines

2014-10-29 Thread Dave Reisner
On Wed, Oct 29, 2014 at 11:55:29PM +0100, Lennart Poettering wrote: On Wed, 29.10.14 14:29, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: Add syscall numbers for 32 bit x86 and arm and Correct the system call number for x86_64 (it is 318 not 278) Hmm? I did my testing on x86_64

Re: [systemd-devel] transforming Iptables bash script to systemd service file -help

2014-10-23 Thread Dave Reisner
On Wed, Oct 22, 2014 at 12:37:36PM +0100, Simon McVittie wrote: On 21/10/14 20:30, Lennart Poettering wrote: But in cases like the iptables tool (which is written in a style that kinda requires the usage of shell scripts to invoke it, since it is more a programming language and is seldom

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

2014-10-12 Thread Dave Reisner
On Mon, Oct 13, 2014 at 03:47:59AM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Oct 12, 2014 at 06:42:36PM -0700, Dave Reisner wrote: src/tmpfiles/tmpfiles.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit e7aab5412829ed6b50d109f670bd0b1b365838a7

Re: [systemd-devel] [RFC 24/25] units: order options before other arguments

2014-09-18 Thread Dave Reisner
On Thu, Sep 18, 2014 at 06:10:06PM +0200, Tom Gundersen wrote: For kmod and systemctl this is fine (so I'd be happy to take a patch to make that change), but for udevadm it feels weird as the documentation there says the format should be udevadm trigger. Maybe something to fix in the libc

Re: [systemd-devel] help with systemd socket file for programs in the quagga suite

2014-09-12 Thread Dave Reisner
On Fri, Sep 12, 2014 at 06:15:32PM +0100, lux-integ wrote: Greetings, I am attempting to learn how to use systemd. I decided to try synthesising a 'socket file' I'll stop you here. You can't simply synthesize a socket unit for any arbitrary program that uses a socket (regardless of the

[systemd-devel] [PATCH] firstboot: remove extra paranoia in --root checking

2014-08-28 Thread Dave Reisner
Some package managers will chroot before running post-install and post-upgrade scripts. Doing this prevents systemd-firstboot from being used piecemeal at installation or upgrade time, as the --root=/ will be cleverly ignored. There's already enough sanity checks in this tool that we don't also

Re: [systemd-devel] [PATCHv4 3/3] resume-generator: add a generator for instantiating the resume unit.

2014-08-26 Thread Dave Reisner
On Tue, Aug 26, 2014 at 04:11:05PM +0400, Ivan Shapovalov wrote: resume-generator understands resume= kernel command line parameter and instantiates the systemd-resume@.service accordingly if it is passed. This enables resume from hibernation using device specified on the kernel command

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

2014-08-20 Thread Dave Reisner
On Wed, Aug 20, 2014 at 01:52:51PM +0200, Lennart Poettering wrote: On Tue, 19.08.14 22:25, Dave Reisner (d...@falconindy.com) wrote: The sysusers.d file shipped with this has: u systemd-journal-remote- systemd Journal Remote But the tmpfiles.d fragment has

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

2014-08-19 Thread Dave Reisner
Hi, On Wed, Aug 20, 2014 at 02:59:52AM +0200, Lennart Poettering wrote: Heya! This is a major new release. Among many other changes systemd-resolved is now a pretty complete caching DNS and LLMNR stub resolver. http://www.freedesktop.org/software/systemd/systemd-216.tar.xz CHANGES WITH

Re: [systemd-devel] [RFC] Integrate export mount command in code

2014-08-17 Thread Dave Reisner
On Mon, Aug 18, 2014 at 12:25:00AM +0300, Timofey Titovets wrote: Good time of day, i just want to ask: Systemd depend on util-linux mount command and in code we call him, may have a sense to import and cleanup code to systemd base, and just call function in systemd, instead of using mount

Re: [systemd-devel] [PATCH] socket: add support for TCP fast Open

2014-08-14 Thread Dave Reisner
On Thu, Aug 14, 2014 at 02:31:47PM +0530, Susant Sahani wrote: TCP Fast Open (TFO) speeds up the opening of successiveTCP) connections between two endpoints.It works by using a TFO cookie in the initial SYN packet to authenticate a previously connected client. It starts sending data to the

Re: [systemd-devel] Missing forked processes in 'systemctl status'

2014-08-13 Thread Dave Reisner
On Wed, Aug 13, 2014 at 12:56:19PM -0400, Leonid Isaev wrote: This still doesn't explain why systemctl misses the cgroup information... Isn't this the same misfeature that causes other fields like _COMM to be lost as well? The process goes away before journald can async read that information

[systemd-devel] [PATCH] util: allow strappenda to take any number of args

2014-08-13 Thread Dave Reisner
This makes strappenda3 redundant, so we remove its usage and definition. --- Cleaning out some old branches I had laying around, found this... src/dbus1-generator/dbus1-generator.c | 2 +- src/fstab-generator/fstab-generator.c | 2 +- src/getty-generator/getty-generator.c | 2 +-

Re: [systemd-devel] [PATCH] util: allow strappenda to take any number of args

2014-08-13 Thread Dave Reisner
On Thu, Aug 14, 2014 at 01:28:15AM +0200, Lennart Poettering wrote: On Wed, 13.08.14 16:35, Dave Reisner (dreis...@archlinux.org) wrote: Looks good. The code is certainly not any more complicated than the current strapenda3(), so it sounds like something to apply

Re: [systemd-devel] documentation and required version

2014-07-30 Thread Dave Reisner
On Wed, Jul 30, 2014 at 01:58:51PM +0200, Tom Gundersen wrote: On Wed, Jul 30, 2014 at 1:21 PM, Reindl Harald h.rei...@thelounge.net wrote: http://www.freedesktop.org/software/systemd/man/systemd.exec.html such error messages caused by list all sort of options without any information when

Re: [systemd-devel] [PATCH] tmpfiles: only execute chmod()/chown() when needed

2014-07-11 Thread Dave Reisner
On Fri, Jul 11, 2014 at 02:26:13PM -0700, Colin Walters wrote: On Fri, Jul 11, 2014, at 06:05 AM, Michael Olbrich wrote: This avoids errors like this, when the paths are already there with the correct permissions and owner: chmod(/var/spool) failed: Read-only file system I'd say

Re: [systemd-devel] [PATCH] [RFCv7] Optionally save core dumps as plain files

2014-06-23 Thread Dave Reisner
On Fri, Jun 20, 2014 at 08:02:54PM +0200, Lennart Poettering wrote: On Tue, 14.05.13 19:09, Oleksii Shevchuk (alx...@gmail.com) wrote: Heya! Sorry for resurrecting this thread from last year. I never found the time to merge this, but I finally had a closer look and then sat down and tried

[systemd-devel] [PATCH] ease installation on non-running kernels

2014-06-17 Thread Dave Reisner
This lets KERNELDIR apply to the install target as well so that you can do something such as the following will Just Work™: make KERNELDIR=/lib/modules/3.15.0-foo install --- Makefile | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index

Re: [systemd-devel] [PATCH] ease installation on non-running kernels

2014-06-17 Thread Dave Reisner
On Tue, Jun 17, 2014 at 12:28:27PM -0700, Greg KH wrote: On Tue, Jun 17, 2014 at 02:52:43PM -0400, Dave Reisner wrote: This lets KERNELDIR apply to the install target as well so that you can do something such as the following will Just Work™: make KERNELDIR=/lib/modules/3.15.0-foo

Re: [systemd-devel] [PATCH] ease installation on non-running kernels

2014-06-17 Thread Dave Reisner
On Tue, Jun 17, 2014 at 10:43:39PM +0200, Simon Peeters wrote: 2014-06-17 22:16 GMT+02:00 Greg KH g...@kroah.com: On Tue, Jun 17, 2014 at 03:53:15PM -0400, Dave Reisner wrote: On Tue, Jun 17, 2014 at 12:28:27PM -0700, Greg KH wrote: On Tue, Jun 17, 2014 at 02:52:43PM -0400, Dave Reisner

Re: [systemd-devel] arch linux container filesystems

2014-06-16 Thread Dave Reisner
On Mon, Jun 16, 2014 at 01:01:31PM +0100, Robin Becker wrote: I asked about this at the arch linux forum, but got no response. I run an up to date arch linux X64 system with systemd-213-9. I built a simple container using the wiki article

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Dave Reisner
On Tue, Jun 10, 2014 at 06:26:47PM +0200, Lennart Poettering wrote: On Sun, 08.06.14 09:37, Dave Reisner (d...@falconindy.com) wrote: On a related topic, could we please stop shipping hardcoded symlinks in /etc in favor of documented reccomendations for downstream packagers? Hmm, well

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-10 Thread Dave Reisner
On Tue, Jun 10, 2014 at 07:32:56PM +0200, Lennart Poettering wrote: Symlinks should probably just be considered different type of file, that have a contents and stuff. The contents is usually a file name, and there's a size limit, but other than that it's just a magic kind of file, where the

Re: [systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-09 Thread Dave Reisner
On Mon, Jun 09, 2014 at 10:12:35AM +0200, Tom Gundersen wrote: Hi Dave, On Sun, Jun 8, 2014 at 3:37 PM, Dave Reisner d...@falconindy.com wrote: Commit 2dcf7ec6ec added the following to Makefile.am: +GENERAL_ALIASES += \ + $(systemunitdir)/systemd-networkd.service

[systemd-devel] systemd-network-wait-online symlinks to systemd-networkd

2014-06-08 Thread Dave Reisner
Hi, Commit 2dcf7ec6ec added the following to Makefile.am: +GENERAL_ALIASES += \ + $(systemunitdir)/systemd-networkd.service $(pkgsysconfdir)/system/multi-user.target.wants/systemd-networkd.service \ + $(systemunitdir)/systemd-networkd.service

[systemd-devel] [PATCH] Set mac address in link initialization

2014-06-04 Thread Dave Reisner
505f8da7325 left link-mac uninitialized, causing MACAddress based [Match] sections to fail to match anything. https://bugs.freedesktop.org/show_bug.cgi?id=79638 --- src/network/networkd-link.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git

Re: [systemd-devel] [PATCH] Set mac address in link initialization

2014-06-04 Thread Dave Reisner
On Wed, Jun 04, 2014 at 08:22:11PM +0200, Lennart Poettering wrote: On Wed, 04.06.14 13:48, Dave Reisner (dreis...@archlinux.org) wrote: 505f8da7325 left link-mac uninitialized, causing MACAddress based [Match] sections to fail to match anything. https://bugs.freedesktop.org

Re: [systemd-devel] [PATCH] Set mac address in link initialization

2014-06-04 Thread Dave Reisner
On Wed, Jun 04, 2014 at 09:33:12PM +0200, Tom Gundersen wrote: On Wed, Jun 4, 2014 at 7:48 PM, Dave Reisner dreis...@archlinux.org wrote: 505f8da7325 left link-mac uninitialized, causing MACAddress based [Match] sections to fail to match anything. https://bugs.freedesktop.org/show_bug.cgi

Re: [systemd-devel] [PATCH] build: Honour SUID_CFLAGS and SUID_LDFLAGS

2014-05-17 Thread Dave Reisner
On Sat, May 17, 2014 at 12:39:47PM -0400, Cristian Rodríguez wrote: This is the standard* way used to pass special linker/compiler flags such as -fPIE and -pie * Standard in the sense it is understood by many other packages and commonly used by distributions. This doesn't really make sense

Re: [systemd-devel] [PATCH] timer: allow user to control activation time of cron-like timers

2014-05-11 Thread Dave Reisner
On Sun, May 11, 2014 at 07:53:55PM +0400, Alexander Bashmakov wrote: Issue was rised in this thread: https://mailman.archlinux.org/pipermail/arch-general/2014-May/036162.html Disclaimer: I almost have no expereince in C. So this patch can contain some silly mistakes. But it 'works for me'.

[systemd-devel] [PATCH 2/2] implement a union to pad out file_handle

2014-04-19 Thread Dave Reisner
Cases where name_to_handle_at is used allocated the full struct to be MAX_HANDLE_SZ, and assigned this size to handle_bytes. This is wrong since handle_bytes should describe the length of the flexible array member and not the whole struct. Define a union type which includes sufficient padding to

Re: [systemd-devel] systemd-networkd: setting the MAC address for a .netdev unit?

2014-04-17 Thread Dave Reisner
On Thu, Apr 17, 2014 at 11:02:11PM +0200, Matthias Schiffer wrote: Hi, I'd like to configure the MAC address of a bridge device statically (as bridges tend to change their MAC address depending on the order the ports are added on Linux otherwise), but there doesn't seem to be a way to match

Re: [systemd-devel] [PATCH] use systemd.debug on the kernel command line, not debug

2014-04-02 Thread Dave Reisner
On Wed, Apr 02, 2014 at 03:27:52PM -0700, Greg KH wrote: If the kernel is started with debug, that's for the kernel to switch into debug mode. We should rely on a namespace for our options, like everything else (with the exception of quiet). Some people want to only debug the kernel, not

Re: [systemd-devel] [212] systemd-networkd crashes with simple network config

2014-03-30 Thread Dave Reisner
On Sun, Mar 30, 2014 at 04:47:22PM +0200, Kai Krakow wrote: Hello list! I've tried switching from NetworkManager to systemd-networkd on Gentoo. These were the steps I did: # systemctl enable systemd-networkd.service # cat /etc/systemd/network/80-dhcp.network [Match] Name=en*

Re: [systemd-devel] [PATCH] sd-rtnl: fix off-by-one

2014-03-30 Thread Dave Reisner
On Sun, Mar 30, 2014 at 05:34:54PM -0700, Steven Siloti wrote: --- src/libsystemd/sd-rtnl/rtnl-message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index 5265184..a31f6ba 100644 ---

Re: [systemd-devel] [PATCH] Fix permissions on new journal files

2014-03-25 Thread Dave Reisner
On Tue, Mar 25, 2014 at 04:54:34PM +0100, Thomas Bächler wrote: Am 25.03.2014 01:40, schrieb Lennart Poettering: This is just a kludge... Why is system.journal to be treated differently? It seems that the proper fix is to set the mode on the directory properly during installation.

Re: [systemd-devel] [PATCH] Fix permissions on new journal files

2014-03-25 Thread Dave Reisner
On Tue, Mar 25, 2014 at 09:09:57AM -0700, Greg KH wrote: On Tue, Mar 25, 2014 at 12:01:01PM -0400, Dave Reisner wrote: On Tue, Mar 25, 2014 at 04:54:34PM +0100, Thomas Bächler wrote: Am 25.03.2014 01:40, schrieb Lennart Poettering: This is just a kludge... Why is system.journal

Re: [systemd-devel] [PATCH] time-util: accept epoch timetamps prefixed with @

2014-03-23 Thread Dave Reisner
On Sun, Mar 23, 2014 at 05:27:08PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Mar 23, 2014 at 11:06:47AM -0400, Dave Reisner wrote: Also adds a few tests for the absolute cases of parse_timestamp. Yeah, that looks useful. You don't test negative values. Maybe you could an example

Re: [systemd-devel] [PATCH] time-util: accept epoch timetamps prefixed with @

2014-03-23 Thread Dave Reisner
On Sun, Mar 23, 2014 at 06:30:02PM +0100, Tollef Fog Heen wrote: ]] Dave Reisner On Sun, Mar 23, 2014 at 05:27:08PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Mar 23, 2014 at 11:06:47AM -0400, Dave Reisner wrote: Also adds a few tests for the absolute cases of parse_timestamp

Re: [systemd-devel] [PATCH] time-util: accept epoch timetamps prefixed with @

2014-03-23 Thread Dave Reisner
On Sun, Mar 23, 2014 at 10:04:00PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Sun, Mar 23, 2014 at 02:27:04PM -0400, Dave Reisner wrote: On Sun, Mar 23, 2014 at 06:30:02PM +0100, Tollef Fog Heen wrote: ]] Dave Reisner On Sun, Mar 23, 2014 at 05:27:08PM +0100, Zbigniew Jędrzejewski

Re: [systemd-devel] [PATCH] build: change tcpwrappers support to disabled by default

2014-03-20 Thread Dave Reisner
On Thu, Mar 20, 2014 at 08:29:07PM +0100, Lennart Poettering wrote: On Thu, 20.03.14 12:49, Cristian Rodríguez (crrodrig...@opensuse.org) wrote: The underlying components have not seen any upstream activity since 1997 and are not particulary nice either. Those interested in computer

Re: [systemd-devel] Mount options for $XDG_RUNTIME_DIR

2014-03-18 Thread Dave Reisner
On Mar 18, 2014 12:59 PM, Leonid Isaev lis...@umail.iu.edu wrote: [Sorry, forgot to CC the mailing list] Hi Lennart, On Tue, 18 Mar 2014 02:33:50 +0100 Lennart Poettering lenn...@poettering.net wrote: On Mon, 17.03.14 19:04, Leonid Isaev (lis...@umail.iu.edu) wrote: Hi,

Re: [systemd-devel] [PATCH] Fix permissions on new journal files

2014-03-13 Thread Dave Reisner
On Fri, Mar 14, 2014 at 03:28:27AM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Mar 14, 2014 at 12:07:35AM +, Greg KH wrote: When starting up journald on a new system, set the proper permissions on the system.journal file, not only on the journal directory. diff --git

Re: [systemd-devel] Unmentioned 209 change: 80-net-name-slot.rules is gone

2014-02-23 Thread Dave Reisner
On Fri, Feb 21, 2014 at 05:12:56PM +0100, Jason A. Donenfeld wrote: To clarify things: 1. Arch's script deals with 80-net-setup-link.rules We (Arch) made a decision back when the persistent naming was added to make it opt-in by masking 80-net-name-slot.rules in /etc. Now, if the 209 upgrade

Re: [systemd-devel] Cannot boot after upgrading to latest git version

2014-02-22 Thread Dave Reisner
On Sat, Feb 22, 2014 at 04:05:31PM +0100, Armin K. wrote: Hi, I just finished upgrading to latest git master and I can't boot anymore. Without knowing what version you upgraded *from*, this is incomplete information. Partitions are failing to mount, even though I can confirm that correct

[systemd-devel] [PATCH] journald: ignore failure to watch hostname_fd on older kernels

2014-02-21 Thread Dave Reisner
Prior to 3.2, /proc/sys/kernel/hostname isn't a pollable file and sd_event_add_io will return EPERM. Ignore this failure, since it isn't critical to journald operation. --- Reported and tested by user sraue on IRC. src/journal/journald-server.c | 8 1 file changed, 8 insertions(+) diff

Re: [systemd-devel] [PATCH] journald: ignore failure to watch hostname_fd on older kernels

2014-02-21 Thread Dave Reisner
On Fri, Feb 21, 2014 at 06:00:46PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Feb 21, 2014 at 11:22:50AM -0500, Dave Reisner wrote: Prior to 3.2, /proc/sys/kernel/hostname isn't a pollable file and sd_event_add_io will return EPERM. Ignore this failure, since it isn't critical

[systemd-devel] [PATCH] nspawn: allow 32-bit chroots from 64-bit hosts

2014-02-18 Thread Dave Reisner
Arch Linux uses nspawn as a container for building packages and needs to be able to start a 32bit chroot from a 64bit host. 24fb11120756 disrupted this feature when seccomp handling was added. --- Lennart suggested this approach, and it works nicely. src/nspawn/nspawn.c | 8 1 file

Re: [systemd-devel] [PATCH] nspawn: allow 32-bit chroots from 64-bit hosts

2014-02-18 Thread Dave Reisner
On Tue, Feb 18, 2014 at 02:44:14PM -0500, Dave Reisner wrote: Arch Linux uses nspawn as a container for building packages and needs to be able to start a 32bit chroot from a 64bit host. 24fb11120756 disrupted this feature when seccomp handling was added. --- Lennart suggested this approach

Re: [systemd-devel] linux container started with systemd-nspawn

2014-02-17 Thread Dave Reisner
On Mon, Feb 17, 2014 at 07:35:20PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Mon, Feb 17, 2014 at 06:38:04PM +0100, arnaud gaboury wrote: At least in systemd git nspawn places its machines in machines.slice. Lennart -- Lennart Poettering, Red Hat I can not build from

Re: [systemd-devel] [PATCH 1/2] test: add basic seccomp tests

2014-02-13 Thread Dave Reisner
On Thu, Feb 13, 2014 at 09:58:53AM +0100, Ronny Chevalier wrote: 2014-02-13 3:34 GMT+01:00 Dave Reisner d...@falconindy.com: On Thu, Jan 23, 2014 at 01:34:57AM +0100, Ronny Chevalier wrote: --- test/TEST-04-SECCOMP/Makefile | 1 + test/TEST-04-SECCOMP/test-seccomp.sh

Re: [systemd-devel] [PATCH 1/2] test: add basic seccomp tests

2014-02-12 Thread Dave Reisner
On Thu, Jan 23, 2014 at 01:34:57AM +0100, Ronny Chevalier wrote: --- test/TEST-04-SECCOMP/Makefile | 1 + test/TEST-04-SECCOMP/test-seccomp.sh| 11 test/TEST-04-SECCOMP/test.sh| 79 +

Re: [systemd-devel] /run needs to be mounted? ugh.

2014-02-11 Thread Dave Reisner
On Tue, Feb 11, 2014 at 04:32:56PM +0100, Jason A. Donenfeld wrote: Hey folks, I'm using better-initramfs [1], a very small and minimal initrd that has been working very well for me. In switching to systemd, I found it necessary to have the initrd mount /run as tmpfs, according to the specs

Re: [systemd-devel] /run needs to be mounted? ugh.

2014-02-11 Thread Dave Reisner
On Tue, Feb 11, 2014 at 05:09:49PM +0100, Jason A. Donenfeld wrote: On Tue, Feb 11, 2014 at 5:01 PM, Dave Reisner d...@falconindy.com wrote: systemd is already capable of setting up /run on its own: http://cgit.freedesktop.org/systemd/systemd/tree/src/core/mount-setup.c#n69 You appear

Re: [systemd-devel] /run needs to be mounted? ugh.

2014-02-11 Thread Dave Reisner
On Tue, Feb 11, 2014 at 08:32:29PM +0400, Andrey Borzenkov wrote: В Tue, 11 Feb 2014 17:25:29 +0100 Lennart Poettering lenn...@poettering.net пишет: An initrd without /run is mostly pointless, no? Either you have storage daemons and hence need /run around, or you don't have storage

Re: [systemd-devel] /run needs to be mounted? ugh.

2014-02-11 Thread Dave Reisner
at 5:15 PM, Dave Reisner d...@falconindy.com wrote: I don't think there's any change needed here. The interface states: The initrd should mount /run as a tmpfs. And sure enough, this isn't a requirement, but there's many valid reasons to do this. Ahh, okay. I suppose what I'm

[systemd-devel] [PATCH] cryptsetup-generator: auto add deps for device as password

2014-02-08 Thread Dave Reisner
If the password is a device file, we can add Requires/After dependencies on the device rather than requiring the user to do so. --- This is based on a bug filed to Arch: https://bugs.archlinux.org/task/38842 Assuming I'm correct about the race condition, this should be an easy way of closing it

Re: [systemd-devel] [PATCH] cryptsetup-generator: auto add deps for device as password

2014-02-08 Thread Dave Reisner
On Sat, Feb 08, 2014 at 07:31:28PM +0100, Zbigniew Jędrzejewski-Szmek wrote: On Sat, Feb 08, 2014 at 01:12:14PM -0500, Dave Reisner wrote: If the password is a device file, we can add Requires/After dependencies on the device rather than requiring the user to do so. --- This is based

Re: [systemd-devel] SocketUser and SocketGroup?

2014-01-25 Thread Dave Reisner
On Sat, Jan 25, 2014 at 12:58:55PM -0800, Josh Triplett wrote: Some daemons provide an access-controlled service via UNIX domain sockets that have a specified user or group, and a mode like 0660. For instance, clamd does this. systemd .socket units don't support setting the user or group;

Re: [systemd-devel] network-online.target and manual mounts

2014-01-01 Thread Dave Reisner
On Wed, Jan 01, 2014 at 11:43:15PM +0400, Andrey Borzenkov wrote: systemd.special(7) suggests that network-online.target should be pulled in by consumer. Unfortunately, that means that when booting without active consumer (let's say no NFS mounts in fstab) network-online.target is not started

[systemd-devel] [PATCH] systemd.service(5): clarify behavior of SuccessExitStatus

2013-12-27 Thread Dave Reisner
The behavior of this is a little cryptic in that $MAINPID must exit as a direct result of receiving a signal in order for a listed signal to be considered a success condition. --- man/systemd.service.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [systemd-devel] [PATCH] systemd.service(5): clarify behavior of SuccessExitStatus

2013-12-27 Thread Dave Reisner
On Fri, Dec 27, 2013 at 09:09:21PM +0100, Lennart Poettering wrote: On Fri, 27.12.13 17:00, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Fri, Dec 27, 2013 at 10:46:48AM -0500, Dave Reisner wrote: The behavior of this is a little cryptic in that $MAINPID must exit

Re: [systemd-devel] [PATCH] fstab-generator: Do not try to fsck non-devices

2013-12-21 Thread Dave Reisner
On Sat, Dec 21, 2013 at 12:49:07PM +0100, Tom Gundersen wrote: On Sat, Dec 21, 2013 at 11:22 AM, Thomas Bächler tho...@archlinux.org wrote: This fixes a regression introduced in 64e70e4 where the mount fails when fstab is misconfigured with fs_passno 0 on a virtual file system like tmpfs.

[systemd-devel] reexec fails in latest git

2013-12-10 Thread Dave Reisner
'systemctl daemon-reexec' fails on recent builds at HEAD. A second reexec successfully reconnects to the bus. Relevant bits from the journal: first reexec Dec 10 12:01:04 rampage systemd[1]: Reexecuting. Dec 10 12:01:04 rampage systemd[1]: systemd 208 running in system mode Dec 10

Re: [systemd-devel] [PATCH] util: don't consider trailing whitespaces as an empty string in split_quoted

2013-11-27 Thread Dave Reisner
On Wed, Nov 27, 2013 at 06:45:06PM +0100, Tom Gundersen wrote: On Wed, Nov 27, 2013 at 6:00 PM, Lukas Nykryn lnyk...@redhat.com wrote: --- src/shared/util.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/shared/util.c b/src/shared/util.c index

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

2013-11-25 Thread Dave Reisner
On Tue, Nov 26, 2013 at 12:40:05AM +0100, Lennart Poettering wrote: On Mon, 25.11.13 15:20, Dave Reisner (dreis...@kemper.freedesktop.org) wrote: uint64_t can be formatted correctly with %ju, rather than casting to unsigned and potentially losing accuracy. Oh, shouldn't we

Re: [systemd-devel] [PATCH] build: lookup for the mount binary

2013-10-30 Thread Dave Reisner
On Wed, Oct 30, 2013 at 03:27:06PM -0300, Cristian Rodríguez wrote: El mié 30 oct 2013 15:18:48 CLST, Tom Gundersen escribió: On Wed, Oct 30, 2013 at 7:12 PM, Cristian Rodríguez crrodrig...@opensuse.org wrote: Real executable might be in /usr and not in /bin I'm not against the patch,

  1   2   3   >