Re: [systemd-devel] systemd-logind.service failed

2012-03-25 Thread Kay Sievers
On Sun, Mar 25, 2012 at 22:02, Sven Anders and...@anduras.de wrote: I'm trying to switch to systemd, but I have some minor problem. systemctl status systemd-logind.service reports failure. The error message is the following: Linux/OS (d-login)[206]: Failed at step CAPABILITIES... I made a

Re: [systemd-devel] starting systemd from busybox initrd

2012-03-26 Thread Kay Sievers
On Mon, Mar 26, 2012 at 17:53, Lennart Poettering lenn...@poettering.net wrote: On Mon, 26.03.12 17:02, Leo Baltus (leo.bal...@omroep.nl) wrote: I am in the process of setting up a fairly standard busybox to act as an initrd and rescue environment. The idea is to use a fedora kernel in which

Re: [systemd-devel] /media as tmpfs

2012-03-27 Thread Kay Sievers
On Tue, Mar 27, 2012 at 16:21, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Tue, Mar 27, 2012 at 10:36 AM, Tollef Fog Heen tfh...@err.no wrote: why is /media a tmpfs?  I think that violates user expectations that /media will be persistent across reboots, in particular any

Re: [systemd-devel] systemd-fsck and ext4 blocksize

2012-03-30 Thread Kay Sievers
On Fri, Mar 30, 2012 at 04:44, Jean-Luc Duprat j...@acm.org wrote: My system has an ext4 filesystem with 4K blocks, so I need to pass the -b 32768 option e2fsck when I check it. When systemd-fsck attempts to check that filesystem, it doesn't pass the appropriate flag; as a result the fail

Re: [systemd-devel] [PATCH] Makefile.am: reduce linked libraries

2012-04-04 Thread Kay Sievers
On Wed, Apr 4, 2012 at 18:53, Daniel Drake d...@laptop.org wrote: On Wed, Apr 4, 2012 at 10:36 AM, Daniel Drake d...@laptop.org wrote: But with selinux included, the task is more complicated. For example, label.c (part of libsystemd-basic) also uses libselinux, so we need to move it out

Re: [systemd-devel] [PATCH] Makefile.am: reduce linked libraries

2012-04-04 Thread Kay Sievers
On Wed, Apr 4, 2012 at 21:59, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Wed, Apr 4, 2012 at 4:52 PM, Kay Sievers k...@vrfy.org wrote: It should be possible: selinux, lzma, z should not be needed. I think they just appeared in the systemd tree, and did not in the udev tree

Re: [systemd-devel] [PATCH] udev: fix rules sort order

2012-04-08 Thread Kay Sievers
On Sat, Apr 7, 2012 at 13:41, Tom Gundersen t...@jklm.no wrote: Commit 91418155ae9034f466d436c314cd136309bc557d moved around the code, but did not chang ethe array index. Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] udev/keymap: always use /bin/sh shebang

2012-04-08 Thread Kay Sievers
On Fri, Apr 6, 2012 at 15:47, Dave Reisner dreis...@archlinux.org wrote: This matches what's done in the other shell scripts in this directory. /bin/sh can never be wrong, but prepending the rootprefix will lead to an invalid path with a rootprefix of /usr and --enable-split-usr. The whole

Re: [systemd-devel] [PATCH] Makefile.am: reduce linked libraries

2012-04-10 Thread Kay Sievers
On Wed, Apr 4, 2012 at 22:02, Kay Sievers k...@vrfy.org wrote: On Wed, Apr 4, 2012 at 21:59, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Wed, Apr 4, 2012 at 4:52 PM, Kay Sievers k...@vrfy.org wrote: It should be possible: selinux, lzma, z should not be needed. I think

Re: [systemd-devel] systemd inquiry

2012-04-10 Thread Kay Sievers
On Tue, Apr 10, 2012 at 14:36, Mark Hounschell ma...@compro.net wrote: I am having another issue with an out of kernel GPL device driver not being available on time so to say. When the kernel discovers this pci card it loads it's kernel module and sets up the card for use. This takes around

Re: [systemd-devel] systemd inquiry

2012-04-10 Thread Kay Sievers
On Tue, Apr 10, 2012 at 16:26, Mark Hounschell ma...@compro.net wrote: On 04/10/2012 09:10 AM, Kay Sievers wrote: We do not support any kernel device driver which does not create the device nodes on its own from inside the kernel. Such drivers cause problems and will fail for various non

Re: [systemd-devel] systemd inquiry

2012-04-11 Thread Kay Sievers
On Wed, Apr 11, 2012 at 21:41, Mark Hounschell ma...@compro.net wrote: On 04/10/2012 09:10 AM, Kay Sievers wrote: On Tue, Apr 10, 2012 at 14:36, Mark Hounschellma...@compro.net  wrote: I am having another issue with an out of kernel GPL device driver not being available on time so to say

Re: [systemd-devel] systemd inquiry

2012-04-11 Thread Kay Sievers
On Wed, Apr 11, 2012 at 22:07, Mark Hounschell ma...@compro.net wrote: On 04/11/2012 04:02 PM, Kay Sievers wrote: Try:   systemctl enable udev-settle.service I should enter this command then reboot? Yeah, there is a chance, that the uevents will block this service then. Or just make your

Re: [systemd-devel] systemd inquiry

2012-04-11 Thread Kay Sievers
On Wed, Apr 11, 2012 at 22:44, Mark Hounschell ma...@compro.net wrote: Same thing. About 20 seconds after reaching the target, the device entries show up. Does that block or return immediately? rmmod driver; modprobe driver; time udevadm settle Your driver creates the stuff async? Kay

Re: [systemd-devel] [PATCH 0/3] make the service property StartLimitAction writeable

2012-04-17 Thread Kay Sievers
On Tue, Apr 17, 2012 at 11:16, Michael Olbrich m.olbr...@pengutronix.de wrote: (as a side note: i submitted a little tool to util-linux which queries /dev/watchdog for its state and is useful to figure out what watchdog is available and what its capabilities are. I hope this is merged soon.

Re: [systemd-devel] Typo

2012-04-19 Thread Kay Sievers
On Thu, Apr 19, 2012 at 11:04, Sven Anders and...@anduras.de wrote: Hello! I just want to report a small typo in file src/install.c (it's src/shared/install.c in the current tree): Line 1938:        [UNIT_FILE_ENABLED_RUNTIME] = enabled-runtie, Should be enable-runtime, Fixed. Thanks,

Re: [systemd-devel] systemd 28 time handling changes breaks ntpdate and date ?

2012-04-27 Thread Kay Sievers
On Apr 27, 2012 2:11 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Sam Morris at 25/04/12 23:41 did gyre and gimble: On Wed, 25 Apr 2012 11:28:14 -0400, Martin Langhoff wrote: Apologies if this has been discussed -- a search through the archives didn't find anything.

Re: [systemd-devel] systemd 28 time handling changes breaks ntpdate and date ?

2012-04-29 Thread Kay Sievers
On Fri, Apr 27, 2012 at 12:56, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Kay Sievers at 27/04/12 11:03 did gyre and gimble: The real reason is that the extfs tools just make silly assumptions. You should patch it away or disable that nonsense in the extfs config file, which

Re: [systemd-devel] Have custom agetty behaviour even after upgadres

2012-05-14 Thread Kay Sievers
On Mon, May 14, 2012 at 8:51 PM, Dave Reisner d...@falconindy.com wrote: On Mon, May 14, 2012 at 08:39:23PM +0200, Lennart Poettering wrote: On Thu, 10.05.12 23:27, Seblu (se...@seblu.net) wrote: on my archlinux test computer i would have first console not cleaned and other spawned

Re: [systemd-devel] [HEADSUP] fstab now parsed by generator in systemd git

2012-05-22 Thread Kay Sievers
On Tue, May 22, 2012 at 9:26 PM, Bardur Arantsson s...@scientician.net wrote: On 05/22/2012 08:03 PM, Lennart Poettering wrote: just a quick heads-up. I just commited to git some work that rips out the fstab parsing from PID 1 and places this in a generator instead. The idea is that sooner or

Re: [systemd-devel] Is there a general inittab entry replacement available?

2012-05-22 Thread Kay Sievers
On Tue, May 22, 2012 at 9:27 PM, Joachim Banzhaf joachim.banz...@googlemail.com wrote: I found out about systemd because openSUSE uses it now. I read the annoncement and the three updates of it and some more and can say I like systemd a lot. It just seems to be the right way to do

Re: [systemd-devel] [HEADSUP] fstab now parsed by generator in systemd git

2012-05-22 Thread Kay Sievers
On Tue, May 22, 2012 at 11:13 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: Lennart, Kay: I hate you damn it! :-D I have nothing against you beside that you talk total nonsense below. :) Man, how can a fstab file be so complex to justify it? It's simpler than the service files

Re: [systemd-devel] fix a man page reference

2012-05-27 Thread Kay Sievers
On Sat, May 26, 2012 at 11:38 PM, Matthias Clasen matthias.cla...@gmail.com wrote: trivial patch to fix a leftover from the latest round of renamings. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] man/systemctl.xml: Add missing space for »stopcommand«

2012-05-29 Thread Kay Sievers
On Tue, May 29, 2012 at 11:11 AM, Paul Menzel paulepan...@users.sourceforge.net wrote: --- a/man/systemctl.xml +++ b/man/systemctl.xml @@ -697,7 +697,7 @@                                  command does not implicitly stop the                                  units that is being disabled. If

Re: [systemd-devel] [PATCH] journalctl: support /usr/bin/nginx, etc

2012-05-30 Thread Kay Sievers
On Wed, May 30, 2012 at 7:17 PM, shawn shawnland...@gmail.com wrote: With relative path handling. Should probably do a stat() on the file in the fs and check for the executable bit? I'm not sure what is meant by the other selectors, like /dev/sda Will be based on this:

Re: [systemd-devel] Fix systemd-udev labeling of /var/run directory.

2012-05-31 Thread Kay Sievers
On Thu, May 31, 2012 at 1:04 PM, Daniel J Walsh dwa...@redhat.com wrote: Ok Eric and I will work to get it upstream.  I guess for F18 I can move the /var/run definition to /run and reverse the equivalence.  But it is probably We have changed udev not do any selinux label magic for /run

Re: [systemd-devel] [PATCH] Replace dir tokens in keyboard-force-release

2012-06-02 Thread Kay Sievers
On Sat, Jun 2, 2012 at 8:46 PM, Dave Reisner dreis...@archlinux.org wrote: Use the correct udev libexec dir as well, not systemd's. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] using native *.mount units instead of /etc/fstab - unpredictable state in case of many disks

2012-06-03 Thread Kay Sievers
On Sun, Jun 3, 2012 at 8:18 PM, Peter Lemenkov lemen...@gmail.com wrote: I've hit by a strange issue on a machine with 8 hard disks. if I list them all in /etc/fstab they mounts fine. If I provide native *.mount files then almost every reboot one or several disks failed to mount (with 32

Re: [systemd-devel] [PATCH] keyboard-force-release: fix shebang

2012-06-04 Thread Kay Sievers
On Sun, Jun 3, 2012 at 12:27 AM, Dave Reisner dreis...@archlinux.org wrote: This script will still run without the shebang, but we won't get the intended effect of the errexit flag in the interpreter line. Applied. Thanks, Kay ___ systemd-devel

Re: [systemd-devel] [PATCH] Punt duplicate definition of InhibitWhat

2012-06-04 Thread Kay Sievers
On Sun, Jun 3, 2012 at 9:39 PM, Malte Starostik li...@malte.homeip.net wrote: From: Malte Starostik m-staros...@versanet.de Trivial fix for: src/login/logind-inhibit.h:37:3: error: redefinition of typedef 'InhibitWhat' src/login/logind-inhibit.h:26:26: note: previous declaration of

Re: [systemd-devel] [PATCH] fstab-generator: avoid mangling mount source and dest

2012-06-04 Thread Kay Sievers
On Mon, Jun 4, 2012 at 2:04 PM, Dave Reisner d...@falconindy.com wrote: On Mon, Jun 04, 2012 at 12:57:47PM +0200, Kay Sievers wrote: On Sun, Jun 3, 2012 at 4:18 AM, Dave Reisner dreis...@archlinux.org wrote: This can invalidate otherwise valid source paths with trailing slashes, such as host

Re: [systemd-devel] Path to a mount point that begins with dot causes problems

2012-06-04 Thread Kay Sievers
On Mon, Jun 4, 2012 at 4:21 AM, Dave Reisner d...@falconindy.com wrote: On Thu, May 31, 2012 at 02:14:14PM +0200, Peter Lindgren wrote: I'm using systemd-44 and experiencing some problems with my mount unit. I have an /etc/systemd/system/.aufs-normal.mount file - [Unit]

[systemd-devel] [ANNOUNCE] systemd 185

2012-06-04 Thread Kay Sievers
in journald.conf. * TimerSlackNSec= can now be specified in system.conf for PID1. Contributions from: Dave Reisner, Kay Sievers, Lauri Kasanen, Lennart Poettering, Malte Starostik, Marc-Antoine Perennou, Matthias Clasen ___ systemd-devel mailing list systemd-devel

Re: [systemd-devel] systemd-udevd: excessive I/O usage

2012-06-04 Thread Kay Sievers
On Mon, Jun 4, 2012 at 10:52 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Mon, Jun 4, 2012 at 1:48 PM, Peeters Simon peeters.si...@gmail.com wrote: well, here it is, it does not really show the I/O activity the old one shows (it seems like this one only shows throughput)

Re: [systemd-devel] [PATCH] readahead: Add tool to analyze the contents of the pack file. v3.

2012-06-05 Thread Kay Sievers
On Tue, Jun 5, 2012 at 10:32 PM, Auke Kok auke-jan.h@intel.com wrote: This patch adds code to compile 'systemd-readahead-analyze' and install it into $bindir. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] Unit file for motd (message of the day) (was: Trying systemd with Debian Sid/unstable on ASRock E350M1 with Crucial m4 SSD)

2012-06-10 Thread Kay Sievers
On Sun, Jun 10, 2012 at 2:40 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Dear systemd folks, Am Dienstag, den 22.05.2012, 11:06 +0200 schrieb Paul Menzel: […] 4. All units take less than a second to start.         $ systemd-analyze blame            948ms

Re: [systemd-devel] [PATCH] Match udevlibexecdir with UDEVLIBEXECDIR

2012-06-10 Thread Kay Sievers
On Sat, Jun 9, 2012 at 12:46 AM, Malte Starostik li...@malte.homeip.net wrote: Rules get installed in $(libexecdir)/udev/, so are keymaps.  Helper binaries go to $(rootprefix)/lib/udev though.  Problem is, in the code, both are referenced via UDEVLIBEXECDIR which is defined to the former

Re: [systemd-devel] [PATCH] arch: drop sysvcompat support

2012-06-10 Thread Kay Sievers
On Sat, Jun 9, 2012 at 1:08 AM, Tom Gundersen t...@jklm.no wrote: Our downstream generator takes care of all the sysvcompat support we need. Nice stuff! Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] tmpfiles: allow lookup by fragment name alone

2012-06-10 Thread Kay Sievers
On Sat, Jun 9, 2012 at 4:31 AM, Dave Reisner dreis...@archlinux.org wrote: Allow passing fragment names alone, letting systemd-tmpfiles perform a path lookup for the proper fragment path. This allows distributions to properly recreate tmpfiles on upgrade of a package without concern for

Re: [systemd-devel] [PATCH] vconsole-setup: enable utf-8 mode explicitly

2012-06-10 Thread Kay Sievers
On Sun, Jun 10, 2012 at 8:37 PM, Tom Gundersen t...@jklm.no wrote: Rather than assuming the console is in utf-8 mode if nothing else is specified, be a bit more robust and enable it explicitly. This fixes a regression compared with Arch's initscripts when not using a framebuffer as the old

Re: [systemd-devel] [PATCH] fstab-generator: ignore devices with fstype ignore

2012-06-18 Thread Kay Sievers
On Mon, Jun 18, 2012 at 5:07 AM, Dave Reisner dreis...@archlinux.org wrote: This is a valid field as documented by fstab(5). In line with mount(8)'s behavior when iterating through /etc/fstab, the generator should skip this entry entirely. Hmm, shouldn't we rather remove the over-loading of

Re: [systemd-devel] cpufrequtils considered useless

2012-06-19 Thread Kay Sievers
On Tue, Jun 19, 2012 at 12:04 PM, Paul Menzel paulepan...@users.sourceforge.net wrote: Am Dienstag, den 19.06.2012, 11:48 +0200 schrieb Lennart Poettering: On Tue, 19.06.12 11:42, Paul Menzel (paulepan...@users.sourceforge.net) wrote: I guess it is useful to have an abstraction layer

Re: [systemd-devel] setting up to allow separate udev and systemd builds

2012-06-19 Thread Kay Sievers
On Tue, Jun 19, 2012 at 1:10 PM, Michael Olbrich m.olbr...@pengutronix.de wrote: On Tue, Jun 19, 2012 at 11:21:58AM +0200, Lennart Poettering wrote: On Fri, 15.06.12 20:06, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: dbus libcap I am quite happy with depending on these two as it

Re: [systemd-devel] udev: problem renaming deviceode for dvb-devices

2012-06-23 Thread Kay Sievers
On Sat, Jun 23, 2012 at 12:21 PM, Dr. Thomas Bastian tbast...@gmx.net wrote: I need my usb-dvb-cards assigned to fixed /dev/dvb/adapter-numbers in order to make them work proberly with mencoder which addreses them via the adapter number. Udev cannot rename kernel-created device nodes. These

Re: [systemd-devel] udev: problem renaming deviceode for dvb-devices

2012-06-23 Thread Kay Sievers
On Sat, Jun 23, 2012 at 2:17 PM, Dr. Thomas Bastian tbast...@gmx.net wrote: Udev cannot rename kernel-created device nodes. These nodes are not created by udev, but by the kernel itself. Udev will not change them, just set permissions and ownership. Udev can add additional symlinks pointing

Re: [systemd-devel] mysqld about back to use mysqld_safe in Fedora

2012-06-27 Thread Kay Sievers
On Wed, Jun 27, 2012 at 1:06 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 27.06.12 16:49, Honza Horak (hho...@redhat.com) wrote: On 06/27/2012 02:50 PM, Honza Horak wrote: Another issue is the PID file guessing. It usually works fine, but if we want to be sure what pid is

Re: [systemd-devel] [PATCH] fix incorrectly named manpage for udev service

2012-06-29 Thread Kay Sievers
On Fri, Jun 29, 2012 at 3:15 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Lennart Poettering at 27/06/12 21:38 did gyre and gimble: On Wed, 27.06.12 14:56, Dave Reisner (dreis...@archlinux.org) wrote: The service is systemd-udev.service, not systemd-udevd.service.

Re: [systemd-devel] [PATCH] fix incorrectly named manpage for udev service

2012-06-30 Thread Kay Sievers
On Sat, Jun 30, 2012 at 3:34 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Kay Sievers at 29/06/12 23:48 did gyre and gimble: On Fri, Jun 29, 2012 at 3:15 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Lennart Poettering at 27/06/12 21:38 did gyre and gimble

Re: [systemd-devel] timed events

2012-06-30 Thread Kay Sievers
On Fri, Jun 29, 2012 at 4:31 AM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Fri, Jun 29, 2012 at 12:49 AM, Nathan qwerty@gmail.com wrote: Looking at the systemd.timer documentation it seems as though all the timers are relative. Is there any way to get absolute timers relative to

Re: [systemd-devel] [PATCH 2/3] udevd: fix bogus mkdir invocation

2012-07-01 Thread Kay Sievers
On Mon, Jul 2, 2012 at 1:37 AM, Dave Reisner dreis...@archlinux.org wrote: The filename parameter passed to mkdir can't contain anything but a garbage value at this point. This was meant to be the full pathname to the new udev DB, as the mkdir_parents() call before it won't create the trailing

Re: [systemd-devel] [PATCH 2/3] udevd: fix bogus mkdir invocation

2012-07-01 Thread Kay Sievers
On Mon, Jul 2, 2012 at 3:03 AM, Dave Reisner d...@falconindy.com wrote: On Mon, Jul 02, 2012 at 03:02:01AM +0200, Kay Sievers wrote: -mkdir(filename, 0755); +mkdir(/run/udev/data, 0755); We can replace all that with a mkdir_p(), right? Kay Yup, seems reasonable

Re: [systemd-devel] [PATCH 3/3] udevd: use ROOTPREFIX to create path to modules.devname

2012-07-01 Thread Kay Sievers
On Mon, Jul 2, 2012 at 1:37 AM, Dave Reisner dreis...@archlinux.org wrote: --- src/udev/udevd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/udev/udevd.c b/src/udev/udevd.c index bb33fb4..cb3b8a4 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -806,7

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread Kay Sievers
On Tue, Jul 3, 2012 at 12:44 AM, Paul Menzel paulepan...@users.sourceforge.net wrote: I'm also generally skeptical of After= without a corresponding Requires= entry because it only affects the ordering if the other unit is already present in the working set of services then being started. I

Re: [systemd-devel] Upstream service file for NTP daemon chrony

2012-07-02 Thread Kay Sievers
On Tue, Jul 3, 2012 at 1:20 AM, Paul Menzel paulepan...@users.sourceforge.net wrote: Am Dienstag, den 03.07.2012, 00:55 +0200 schrieb Kay Sievers: On Tue, Jul 3, 2012 at 12:44 AM, Paul Menzel wrote: I'm also generally skeptical of After= without a corresponding Requires= entry because

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

2012-07-07 Thread Kay Sievers
On Sat, Jul 7, 2012 at 3:58 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Lennart Poettering at 03/07/12 20:25 did gyre and gimble: * All plymouth related units have been moved into the Plymouth package. Please make sure to upgrade your Plymouth version

Re: [systemd-devel] [PATCH] MeeGo: Remove build support for MeeGo distribution.

2012-07-09 Thread Kay Sievers
On Mon, Jul 9, 2012 at 7:15 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Auke Kok at 06/07/12 01:20 did gyre and gimble: The MeeGo distribution is still a supported distribution, but will probably not see an updated version of systemd anymore. Most of the development is

Re: [systemd-devel] Integration with Buildroot (uclibc-based runtime): patches suggested

2012-07-13 Thread Kay Sievers
On Fri, Jul 13, 2012 at 3:48 PM, Tomasz Torcz to...@pipebreaker.pl wrote: On Fri, Jul 13, 2012 at 09:19:01AM -0400, Dmitry Golubovsky wrote: Buildroot's toolchain by default provides runtime environment based on uclibc [2] which lacks certain functionality systemd depends upon, so I had to

Re: [systemd-devel] [PATCH 2/2] keymap: add --version option

2012-07-17 Thread Kay Sievers
On Tue, Jul 17, 2012 at 7:31 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: --- src/udev/keymap/keymap.c | 9 + 1 file changed, 9 insertions(+) This is a private tool from udev, and no public interface. It is installed in /usr/lib/udev/. We only provide some guarantees for

Re: [systemd-devel] [PATCH 2/2] keymap: add --version option

2012-07-17 Thread Kay Sievers
On Tue, Jul 17, 2012 at 5:11 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: tool from udev, and no public interface. It is installed in /usr/lib/udev/. We only provide some guarantees for stuff we consider ABI, which means the tool gets installed in /usr/bin. There are absolutely

Re: [systemd-devel] [PATCH] use #pragma once instead of foo*foo #define guards

2012-07-18 Thread Kay Sievers
On Wed, Jul 18, 2012 at 12:39 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 17.07.12 17:14, Shawn Landden (shawnland...@gmail.com) wrote: Hmm, so I am not completely opposed to this (though I also don't see the big benefit). But before we merge anything like this: I think the

Re: [systemd-devel] [PATCH 3/1] build-sys: put all BUILT_SOURCES in CLEANFILES

2012-07-19 Thread Kay Sievers
On Tue, Jul 17, 2012 at 7:08 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Since currently all items in BUILT_SOURCES are also in CLEANFILES, we can reduce clutter by appending BUILT_SOURCES directly. +CLEANFILES = BUILT_SOURCES That needs to be $(BUILT_SOURCES). Please always

Re: [systemd-devel] [PATCH] Set PR_SET_CHILD_REAPER for MANAGER_USER

2012-07-24 Thread Kay Sievers
On Tue, Jul 24, 2012 at 10:54 PM, Auke Kok auke-jan.h@intel.com wrote: Become the reaper for all children part of the user session. Tested with several forking services. Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] use Out of memory. consistantly (or with \n)

2012-07-25 Thread Kay Sievers
On Wed, Jul 25, 2012 at 6:12 AM, Shawn Landden shawnland...@gmail.com wrote: glibc/glib both use out of memory consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id Applied. Thanks, Kay

Re: [systemd-devel] [PATCH] make-man-index.py: compatibility with Python 3

2012-07-25 Thread Kay Sievers
On Wed, Jul 25, 2012 at 1:59 AM, Mantas Mikulėnas graw...@gmail.com wrote: Despite its name, ElementTree.tostring() returns already-encoded bytes() instead of a string in Python 3; sys.stdout doesn't like that. Applied. Thanks, Kay ___ systemd-devel

Re: [systemd-devel] [PATCH] use Out of memory. consistantly (or with \n)

2012-07-26 Thread Kay Sievers
On Thu, Jul 26, 2012 at 1:17 AM, shawn shawnland...@gmail.com wrote: On Wed, 2012-07-25 at 18:11 +0200, Lennart Poettering wrote: On Wed, 25.07.12 11:24, Kay Sievers (k...@vrfy.org) wrote: On Wed, Jul 25, 2012 at 6:12 AM, Shawn Landden shawnland...@gmail.com wrote: glibc/glib both use

Re: [systemd-devel] [HEADSUP] fstab now parsed by generator in systemd git

2012-07-26 Thread Kay Sievers
On Wed, Jul 25, 2012 at 8:31 PM, Manuel Amador (Rudd-O) rud...@rudd-o.com wrote: Inotify? Calls systemd? Parses again? Dome already? In the above paragraph almost all wrong. Well, I did not check the code. But when the generator creates the unit in /run, it must be notified somehow to

Re: [systemd-devel] sd_get_uids gives a sorted list?

2012-07-26 Thread Kay Sievers
On Thu, Jul 26, 2012 at 2:16 PM, Stef Bon stef...@gmail.com wrote: I'm implementing the sd_get_uids function in my app. It basically reads the directory /run/systemd/users. I do not know, is this list already sorted?? this is the same question as is the readdir function sort sensitive?

Re: [systemd-devel] build-sys: src/core/syscall-list.txt generated with wrong cpp when cross-compiling

2012-07-26 Thread Kay Sievers
On Thu, Jul 26, 2012 at 3:14 PM, Peeters Simon peeters.si...@gmail.com wrote: when cross-compiling src/core/syscall-list.txt still gets generated by the build cpp (because it is hard coded as '$(AM_V_GEN)cpp $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include sys/syscall.h ') the problem arises when the

Re: [systemd-devel] [PATCH] build-sys: use correct cpp

2012-07-26 Thread Kay Sievers
On Thu, Jul 26, 2012 at 3:41 PM, Peeters Simon peeters.si...@gmail.com wrote: this solves issues where $(CPP) has differend include paths than 'cpp' --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) The patch seems line-wrapped and did not apply directly. I've

Re: [systemd-devel] Bug#758050: udev: ID_VENDOR_FROM_DATABASE, ID_MODEL_FROM_DATABASE for unrecognised USB device are taken from USB hub

2014-08-26 Thread Kay Sievers
On Thu, Aug 14, 2014 at 9:01 PM, Kay Sievers k...@vrfy.org wrote: On Thu, Aug 14, 2014 at 3:07 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: I recently opened this Debian bug, for which I attach a patch that seems to work. Bug report quoted in full below. I would appreciate udev

Re: [systemd-devel] [PATCH 1/8] timesyncd: check if stratum is valid

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: --- src/timesync/timesyncd-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH 2/8] timesyncd: fix calculation of transmit time

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: The kernel timestamp (recv_time) is made earlier than current time (now_ts), use the timestamp captured before sending packet directly. Applied. Thanks, Kay ___

Re: [systemd-devel] [PATCH 4/8] timesyncd: check root distance

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: NTPv4 servers don't reply with unsynchronized status when they lost synchronization, they only keep increasing the root dispersion and it's up to the client to decide at which point they no longer consider it

Re: [systemd-devel] [PATCH 5/8] timesyncd: use longer PLL time constant

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: The shortest time constant that is stable with the kernel PLL (compiled with SHIFT_PLL=2) is about log2 of update interval - 3. Set the constant to poll - 2 to make room for one missed update. Experimentation did

Re: [systemd-devel] [PATCH 6/8] timesyncd: allow two missed replies before reselecting server

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: After receiving a reply from the server, allow two missed replies before switching to another server to avoid unnecessary clock hopping when packets are getting lost in the network. Hmm, what's the reason to do this?

Re: [systemd-devel] [PATCH 7/8] timesyncd: don't reset polling interval when reselecting server

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: --- src/timesync/timesyncd-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) It did not apply without the earlier patch and in systemd we try to avoid using ! to test integers for 0. Added the fix.

Re: [systemd-devel] [PATCH 8/8] timesyncd: wait before reconnecting to first server

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: When all servers are exhausted, wait for one poll interval before trying to connect again to the first server in the list. Also, keep increasing the polling interval to make sure a client not getting any valid replies

Re: [systemd-devel] [PATCH] missing: add BPF_XOR

2014-08-30 Thread Kay Sievers
On Tue, Aug 26, 2014 at 7:31 PM, Lennart Poettering lenn...@poettering.net wrote: Actually we try to be compatible with kernels from the last 2y, which would mean 3.5 as minimum version. (though we will make an exception when we adopt kdbus...) The README currently even states 3.0 was

Re: [systemd-devel] [PATCH v2] libudev: fix symbol version for udev_queue_flush() and udev_queue_get_fd()

2014-08-30 Thread Kay Sievers
On Sat, Aug 30, 2014 at 2:09 AM, Michael Biebl mbi...@gmail.com wrote: Updated patch which the correct version information. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] Add the CPU hotplug rule

2014-09-01 Thread Kay Sievers
On Tue, Sep 2, 2014 at 5:22 AM, Zhenzhong Duan zhenzhong.d...@oracle.com wrote: Cpu doesn't get online automaticly after hotplug when we test guest cpu add/remove in xen env. I don't have an baremetal env to test this, but I think it's same. The rule is missed in systemd but exist in legacy

Re: [systemd-devel] [PATCH] Add the CPU hotplug rule

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 8:12 AM, Zhenzhong Duan zhenzhong.d...@oracle.com wrote: On 2014-9-2 13:55, Kay Sievers wrote: On Tue, Sep 2, 2014 at 5:22 AM, Zhenzhong Duan zhenzhong.d...@oracle.com wrote: Cpu doesn't get online automaticly after hotplug when we test guest cpu add/remove in xen env

Re: [systemd-devel] [PATCH] Add the CPU hotplug rule

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 10:01 AM, John Haxby john.ha...@oracle.com wrote: On 2 Sep 2014, at 06:55, Kay Sievers k...@vrfy.org wrote: On Tue, Sep 2, 2014 at 5:22 AM, Zhenzhong Duan zhenzhong.d...@oracle.com wrote: Cpu doesn't get online automaticly after hotplug when we test guest cpu add

Re: [systemd-devel] [PATCH 6/8] timesyncd: allow two missed replies before reselecting server

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 1:17 PM, Miroslav Lichvar mlich...@redhat.com wrote: On Fri, Aug 29, 2014 at 06:31:10PM +0200, Kay Sievers wrote: On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: After receiving a reply from the server, allow two missed replies before

Re: [systemd-devel] [PATCH 8/8] timesyncd: wait before reconnecting to first server

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 1:15 PM, Miroslav Lichvar mlich...@redhat.com wrote: On Fri, Aug 29, 2014 at 06:45:24PM +0200, Kay Sievers wrote: On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: When all servers are exhausted, wait for one poll interval before trying

Re: [systemd-devel] [PATCH 7/8] timesyncd: don't reset polling interval when reselecting server

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 1:21 PM, Miroslav Lichvar mlich...@redhat.com wrote: On Fri, Aug 29, 2014 at 06:38:49PM +0200, Kay Sievers wrote: On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar mlich...@redhat.com wrote: --- src/timesync/timesyncd-manager.c | 3 ++- 1 file changed, 2

Re: [systemd-devel] [PATCH 8/8] timesyncd: wait before reconnecting to first server

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 3:17 PM, Miroslav Lichvar mlich...@redhat.com wrote: On Tue, Sep 02, 2014 at 02:32:37PM +0200, Kay Sievers wrote: On Tue, Sep 2, 2014 at 1:15 PM, Miroslav Lichvar mlich...@redhat.com wrote: There is also some code in src/timesync/timesyncd-manager.c +209: /* re-arm

Re: [systemd-devel] [PATCH] Add the CPU hotplug rule

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 5:11 PM, Colin Guthrie gm...@colin.guthr.ie wrote: John Haxby wrote on 02/09/14 10:31: Col, forgive my ignorance, but cpuadd@$name.service seems to imply that you'd have one file or symlink per CPU. That's going to be unwieldy when you have hundreds of CPUs isn't it?

Re: [systemd-devel] [PATCH] Add the CPU hotplug rule

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 5:30 PM, John Haxby john.ha...@oracle.com wrote: On 02/09/14 16:23, Kay Sievers wrote: On Tue, Sep 2, 2014 at 5:11 PM, Colin Guthrie gm...@colin.guthr.ie wrote: John Haxby wrote on 02/09/14 10:31: Col, forgive my ignorance, but cpuadd@$name.service seems to imply

Re: [systemd-devel] [PATCH] Add the CPU hotplug rule

2014-09-02 Thread Kay Sievers
On Tue, Sep 2, 2014 at 5:29 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Sep 02, 2014 at 10:27:37AM +0200, Kay Sievers wrote: On Tue, Sep 2, 2014 at 10:01 AM, John Haxby john.ha...@oracle.com wrote: On 2 Sep 2014, at 06:55, Kay Sievers k...@vrfy.org wrote: On Tue, Sep

Re: [systemd-devel] [PATCH] Add the CPU hotplug rule

2014-09-12 Thread Kay Sievers
On Fri, Sep 12, 2014 at 3:04 PM, John Haxby john.ha...@oracle.com wrote: On 02/09/14 16:42, Kay Sievers wrote: Either the kernel has to provide a mechanism for the userspace to control onlining, or do it itself and provide a mechanism to prevent automatic onlining. I think that the first

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-23 Thread Kay Sievers
- Original Message - On Tue, Sep 23, 2014 at 12:33:54PM +0200, Maurizio Lombardi wrote: On Mon, 2014-09-22 at 16:58 +0200, Tom Gundersen wrote: Hi Maurizio, On Mon, Sep 22, 2014 at 11:48 AM, Maurizio Lombardi mlomb...@redhat.com wrote: This patch changes the naming

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-23 Thread Kay Sievers
- Original Message - We are not applying this patch now. It introduces a complete new scheme and we do not want to extend the current SCSI code, we only fix obvious bugs. Fine with me, however not sure what our story should be for years to come regarding SCSI stuff downstream.

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-24 Thread Kay Sievers
- Original Message - On Tue, Sep 23, 2014 at 01:55:09PM -0400, Kay Sievers wrote: - Original Message - We are not applying this patch now. It introduces a complete new scheme and we do not want to extend the current SCSI code, we only fix obvious bugs. Fine

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-24 Thread Kay Sievers
- Original Message - Dne 23.9.2014 v 19:55 Kay Sievers napsal(a): - Original Message - We are not applying this patch now. It introduces a complete new scheme and we do not want to extend the current SCSI code, we only fix obvious bugs. Fine with me, however not sure

Re: [systemd-devel] [PATCH] udevd: SAS: use SAS addr + PHY id in by-path whenever possible.

2014-09-26 Thread Kay Sievers
On Fri, Sep 26, 2014 at 6:14 PM, Tomas Henzl the...@redhat.com wrote: I haven't noticed a single one technical reason why the by-path should be moved out from udev and not fixed there when it's needed and most importantly how that move would help the users of this feature. Because it was

Re: [systemd-devel] Bug? /dev/disk/by-path symlinks disappear for iSCSI targets

2014-10-12 Thread Kay Sievers
On Tue, Oct 7, 2014 at 6:21 PM, Lee Duncan ldun...@suse.com wrote: I am debugging a problem where the symlinks in /dev/disk/by-path disappeared for iSCSI target devices. It looks like it's from systemd/udev commit e98bbfd2074e2b1079b7059341eac25741baf319 udev: path_id - suppress ID_PATH

Re: [systemd-devel] udev database backwards compatibility guarantees

2014-10-25 Thread Kay Sievers
On Wed, Oct 22, 2014 at 1:33 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 11.09.14 10:49, Alexander Larsson (al...@redhat.com) wrote: Hi, I'm looking at creating a runtime/app thing for Gnome in the style of:

Re: [systemd-devel] [PATCH] udev hwdb: Support shipping pre-compiled database in system images

2014-10-25 Thread Kay Sievers
On Mon, Oct 20, 2014 at 6:35 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 17.10.14 15:10, Martin Pitt (martin.p...@ubuntu.com) wrote: Looks generally OK (as discussed in Düsseldorf). I'll leave this for Kay to merge though, as udev is more his thing. Kay! Sounds all fine, I

Re: [systemd-devel] udev database backwards compatibility guarantees

2014-10-27 Thread Kay Sievers
On Mon, Oct 27, 2014 at 2:22 PM, Alexander Larsson al...@redhat.com wrote: On lör, 2014-10-25 at 13:45 +0200, Kay Sievers wrote: Kay, any ideas on the udev database stability? No stability. And so far no guarantees that things will not change. The versions of the udev daemon, libudev

Re: [systemd-devel] udev database backwards compatibility guarantees

2014-10-27 Thread Kay Sievers
On Mon, Oct 27, 2014 at 4:25 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 27.10.14 14:43, Kay Sievers (k...@vrfy.org) wrote: On Mon, Oct 27, 2014 at 2:22 PM, Alexander Larsson al...@redhat.com wrote: On lör, 2014-10-25 at 13:45 +0200, Kay Sievers wrote: Kay, any ideas

<    5   6   7   8   9   10   11   12   >