Re: [systemd-devel] Journald stops logging when lots of output

2013-08-04 Thread Kay Sievers
On Sun, Aug 4, 2013 at 2:43 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sun, Aug 04, 2013 at 01:22:21PM +0200, Kay Sievers wrote: On Sun, Aug 4, 2013 at 12:14 AM, Pedro Francisco pedrogfranci...@gmail.com wrote: (question migrated from t...@lists.fedoraproject.org

Re: [systemd-devel] Slow firmware timeouts again (Re: [3.11 regression?] iwlwifi firmware takes two minutes to load)

2013-08-05 Thread Kay Sievers
On Fri, Aug 2, 2013 at 6:28 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Fri, Aug 02, 2013 at 09:04:44AM -0700, Andy Lutomirski wrote: CONFIG_FW_LOADER_USER_HELPER=y Do you need this? Unsetting this should help. This option enables / disables the invocation of user-helper

Re: [systemd-devel] brightness in tmpfiles.d

2013-08-12 Thread Kay Sievers
On Mon, Aug 12, 2013 at 11:27 PM, Mantas Mikulėnas graw...@gmail.com wrote: On Mon, Aug 12, 2013 at 11:40 PM, Christian Hesse l...@eworm.de wrote: Hello everybody, I have a file /etc/tmpfiles.d/brightness.conf containing this line: w /sys/class/backlight/acpi_video0/brightness - - - - 10

Re: [systemd-devel] Hackfest at Linux Plumbers Conference?

2013-08-13 Thread Kay Sievers
On Tue, Aug 13, 2013 at 4:16 PM, Alex Polvi a...@polvi.net wrote: We would love to join! On Aug 12, 2013 8:38 PM, David Strauss da...@davidstrauss.net wrote: Are there any plans? The current idea is to do that during the two LinuxCon days before Plumbers starts. Kay

Re: [systemd-devel] Using the hwdb in external programs

2013-08-14 Thread Kay Sievers
On Wed, Aug 14, 2013 at 12:03 PM, Richard Hughes hughsi...@gmail.com wrote: I'm aware of at least half a dozen programs and daemons that read and parse /usr/share/hwdata/pnp.ids to convert PNP_IDS to actual vendor names. Although this file will be in hot cache at login, it does seem a waste of

Re: [systemd-devel] Using the hwdb in external programs

2013-08-14 Thread Kay Sievers
On Wed, Aug 14, 2013 at 1:06 PM, Richard Hughes hughsi...@gmail.com wrote: On 14 August 2013 11:41, Kay Sievers k...@vrfy.org wrote: An example is here: http://cgit.freedesktop.org/systemd/systemd/tree/src/test/test-libudev.c#n432 Great! Thanks. So I know what to use where, what's

Re: [systemd-devel] [PATCH] travis: Add a travis.yml for doing CI after commits

2013-08-14 Thread Kay Sievers
On Thu, Jul 18, 2013 at 7:40 AM, Holger Hans Peter Freyther hol...@freyther.de wrote: On Wed, Jul 17, 2013 at 05:08:46PM +0200, Kay Sievers wrote: I did something like that now. Let's see if it works ... Thank you, it did[1]. [1] https://travis-ci.org/systemd/systemd I temporarily switched

Re: [systemd-devel] Hackfest at Linux Plumbers Conference?

2013-08-14 Thread Kay Sievers
On Wed, Aug 14, 2013 at 11:42 PM, David Strauss da...@davidstrauss.net wrote: On Tue, Aug 13, 2013 at 7:36 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Is this definite? With 10 RSVPs, we'll make it happen. I added the G+ event after Kay said, The current idea is to do [a

Re: [systemd-devel] How to wait for a group of devices?

2013-08-19 Thread Kay Sievers
On Mon, Aug 19, 2013 at 5:35 PM, Manuel Reimer manuel.s...@nurfuerspam.de wrote: On 08/19/2013 04:53 PM, Greg KH wrote: The second one wants to access DVB devices. These could be connected via PCI, PCI express or USB. So here I need Wait until all possible, currently connected, DVB devices

Re: [systemd-devel] Question on debugging getty 'runlevel 3' issue.

2013-08-19 Thread Kay Sievers
On Tue, Aug 20, 2013 at 12:36 AM, Ben Greear gree...@candelatech.com wrote: I'm using Fedora 19 on a 32-bit dual-core Atom system. I installed Mate, various other packages, and among other configuration, tried to put the system into the equivalent of 'runlevel 3'. The system boots to black

Re: [systemd-devel] [PATCH] netns: unix: only allow to find out unix socket in same net namespace

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 9:22 AM, Gao feng gaof...@cn.fujitsu.com wrote: On 08/21/2013 03:06 PM, Eric W. Biederman wrote: I suspect libvirt should simply not share /run or any other normally writable directory with the host. Sharing /run /var/run or even /tmp seems extremely dubious if you

Re: [systemd-devel] Question on debugging getty 'runlevel 3' issue.

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 11:49 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Ben Greear at 20/08/13 22:46 did gyre and gimble: Does anyone know what package or thing was doing the text prompt on the serial console? It happens automatically based on kernel command line params

Re: [systemd-devel] [PATCH] Replace hasprefix() with startswith()

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 8:36 AM, WANG Chao chaow...@redhat.com wrote: --- a/TODO +++ b/TODO @@ -96,8 +96,6 @@ Features: -* do we really need both hasprefix() and startswith()? It needs a little bit more: - the open-coded startswith seems really slow, it should not get more users -

Re: [systemd-devel] [PATCH] units: disable kmod-static-nodes.service in containers

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 1:00 PM, Tom Gundersen t...@jklm.no wrote: Regarding http://cgit.freedesktop.org/systemd/systemd/commit/?id=219061dc524368179b2e65cfe91d4d6b23396ba8: Would it make sense to use ConditionCapability=CAP_MKNOD instead? This would match what is done in

Re: [systemd-devel] [PATCH] Replace hasprefix() with startswith()

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 6:53 PM, WANG Chao chaow...@redhat.com wrote: On 08/21/13 at 12:05pm, Kay Sievers wrote: On Wed, Aug 21, 2013 at 8:36 AM, WANG Chao chaow...@redhat.com wrote: --- a/TODO +++ b/TODO @@ -96,8 +96,6 @@ Features: -* do we really need both hasprefix() and startswith

Re: [systemd-devel] [PATCH] gummiboot: Add 32 bit compatible rdtsc asm

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 6:31 PM, Darren Hart dvh...@linux.intel.com wrote: Gcc's inline asm constraints have different meanings on x86_64 and ia32. Include a 32 bit version for the rdtsc function. Drop the empty 32 bit version of time_usec as it and the cpuid function both function properly

Re: [systemd-devel] [PATCH 5/5] Auto detect both x64 and ia32 boot*.efi payloads

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 8:13 PM, Darren Hart dvh...@linux.intel.com wrote: The EFI specification documents /EFI/BOOT/bootx64.efi for x86_64 machines and /EFI/BOOT/bootia32.efi for ia32 machines. Update the auto detection to allow for both. Signed-off-by: Darren Hart dvh...@linux.intel.com

Re: [systemd-devel] [PATCH 1/5] configure.ac: Add option to disable configuring the BIOS test

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 8:13 PM, Darren Hart dvh...@linux.intel.com wrote: When cross-compiling, AC_CHECK_FILE aborts configure. Provide a means to avoid even attempting to configure the BIOS test. Signed-off-by: Darren Hart dvh...@linux.intel.com --- configure.ac | 10 +++--- 1 file

Re: [systemd-devel] [PATCH 4/5] configure.ac: Allow for more than just i686 for ia32

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 8:13 PM, Darren Hart dvh...@linux.intel.com wrote: Expand the ARCH_I686 to include i*86* (specifically to catch i586). Rename ARCH_I686 to ARCH_IA32 as that is more accurately what we are testing for. Applied. Thanks, Kay ___

Re: [systemd-devel] [PATCH 2/5] configure.ac: Use AC_CHECK_HEADER to detect the efi includes

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 8:13 PM, Darren Hart dvh...@linux.intel.com wrote: While cross-compiling, AC_CHECK_FILE will abort the configure. The gnu-efi sources don't use relative paths and require the user to explicitly include -I/usr/include/efi/${ARCH}. I haven't found a way to do this with

Re: [systemd-devel] [PATCH 5/5] Auto detect both x64 and ia32 boot*.efi payloads

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 9:26 PM, Darren Hart dvh...@linux.intel.com wrote: On Wed, 2013-08-21 at 20:59 +0200, Kay Sievers wrote: On Wed, Aug 21, 2013 at 8:13 PM, Darren Hart dvh...@linux.intel.com wrote: The EFI specification documents /EFI/BOOT/bootx64.efi for x86_64 machines and /EFI/BOOT

Re: [systemd-devel] [PATCH 1/2] Optimize startswith() to macro

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 8:15 PM, WANG Chao chaow...@redhat.com wrote: Take this optimized code from Lennart[1]. Now startswith is a macro using strncmp and should be fast enough. [1]: http://lists.freedesktop.org/archives/systemd-devel/2013-July/011860.html --- src/shared/macro.h | 5 +

Re: [systemd-devel] [PATCH 5/5] Auto detect both x64 and ia32 boot*.efi payloads

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 10:16 PM, Darren Hart dvh...@linux.intel.com wrote: On Wed, 2013-08-21 at 21:31 +0200, Kay Sievers wrote: On Wed, Aug 21, 2013 at 9:26 PM, Darren Hart dvh...@linux.intel.com wrote: On Wed, 2013-08-21 at 20:59 +0200, Kay Sievers wrote: On Wed, Aug 21, 2013 at 8:13 PM

Re: [systemd-devel] [PATCH 5/5] Auto detect both x64 and ia32 boot*.efi payloads

2013-08-21 Thread Kay Sievers
On Thu, Aug 22, 2013 at 12:07 AM, Darren Hart dvh...@linux.intel.com wrote: On Wed, 2013-08-21 at 23:37 +0200, Kay Sievers wrote: On Wed, Aug 21, 2013 at 11:34 PM, Darren Hart dvh...@linux.intel.com wrote: Hrm, actually no that fails finding VERSION ins setup.c. Did you ./autogen.sh

Re: [systemd-devel] [PATCH 3/5] Makefile.am: Allow for user override of EFI include dir

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 9:02 PM, Kay Sievers k...@vrfy.org wrote: On Wed, Aug 21, 2013 at 8:13 PM, Darren Hart dvh...@linux.intel.com wrote: Enable cross-compiling by allowing the user to specify an alternative to the /usr/include directory for the EFI includes. Add a variable INCDIR

Re: [systemd-devel] [PATCH 2/2] configure.ac: Disable the QEMU BIOS test when cross compiling

2013-08-21 Thread Kay Sievers
On Thu, Aug 22, 2013 at 12:38 AM, Darren Hart dvh...@linux.intel.com wrote: When cross-compiling, AC_CHECK_FILE aborts configure. Skip it when cross compiling. Signed-off-by: Darren Hart dvh...@linux.intel.com Cc: Colin Walters walt...@verbum.org --- configure.ac | 10 ++ 1 file

Re: [systemd-devel] [PATCH 3/5] Makefile.am: Allow for user override of EFI include dir

2013-08-21 Thread Kay Sievers
On Thu, Aug 22, 2013 at 12:28 AM, Jan Engelhardt jeng...@inai.de wrote: On Wednesday 2013-08-21 21:02, Kay Sievers wrote: On Wed, Aug 21, 2013 at 8:13 PM, Darren Hart dvh...@linux.intel.com wrote: --- a/Makefile.am +++ b/Makefile.am @@ -72,10 +72,11 @@ CLEANFILES += man/gummiboot.8

Re: [systemd-devel] [PATCH 5/5] Auto detect both x64 and ia32 boot*.efi payloads

2013-08-21 Thread Kay Sievers
On Thu, Aug 22, 2013 at 1:12 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Aug 22, 2013 at 12:49:55AM +0200, Kay Sievers wrote: On Thu, Aug 22, 2013 at 12:38 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Aug 21, 2013 at 03:07:24PM -0700, Darren Hart wrote

Re: [systemd-devel] [PATCH 1/2] Optimize startswith() to macro

2013-08-21 Thread Kay Sievers
On Wed, Aug 21, 2013 at 10:16 PM, Kay Sievers k...@vrfy.org wrote: On Wed, Aug 21, 2013 at 8:15 PM, WANG Chao chaow...@redhat.com wrote: Take this optimized code from Lennart[1]. Now startswith is a macro using strncmp and should be fast enough. [1]: http://lists.freedesktop.org/archives

Re: [systemd-devel] [PATCH 2/2] Replace hasprefix() with optimized startswith()

2013-08-22 Thread Kay Sievers
On Wed, Aug 21, 2013 at 8:15 PM, WANG Chao chaow...@redhat.com wrote: --- TODO | 2 -- src/journal/journal-send.c | 2 +- src/journal/journald-native.c | 12 ++-- src/libsystemd-bus/bus-match.c | 26 +- src/shared/logs-show.c

Re: [systemd-devel] [PATCH 2/2] configure.ac: Disable the QEMU BIOS test when cross compiling

2013-08-22 Thread Kay Sievers
On Thu, Aug 22, 2013 at 5:49 AM, Darren Hart dvh...@linux.intel.com wrote: On Thu, 2013-08-22 at 00:46 +0200, Kay Sievers wrote: No problem. The check was the same as mine, but you changed the bios paths significantly, such that both appear to be for ovmf now was that intentional? Yeah

Re: [systemd-devel] [PATCH 0/2 V2] gummiboot: Cross compile and IA32 support

2013-08-22 Thread Kay Sievers
On Thu, Aug 22, 2013 at 5:58 AM, Darren Hart dvh...@linux.intel.com wrote: On Thu, 2013-08-22 at 00:53 +0200, Kay Sievers wrote: On Thu, Aug 22, 2013 at 12:38 AM, Darren Hart dvh...@linux.intel.com wrote: Updated with feedback from Kay and Colin. I've boot tested this, then rebased to use

Re: [systemd-devel] [PATCH 2/2] configure.ac: Disable the QEMU BIOS test when cross compiling

2013-08-22 Thread Kay Sievers
On Thu, Aug 22, 2013 at 4:44 PM, Darren Hart dvh...@linux.intel.com wrote: On Thu, 2013-08-22 at 12:00 +0200, Kay Sievers wrote: On Thu, Aug 22, 2013 at 5:49 AM, Darren Hart dvh...@linux.intel.com wrote: On Thu, 2013-08-22 at 00:46 +0200, Kay Sievers wrote: No problem. The check

Re: [systemd-devel] Fedora 19 hangs on startup: A start job is running for Monitoring of LVM2 mirror...rogress polling

2013-08-22 Thread Kay Sievers
On Thu, Aug 22, 2013 at 8:25 PM, Ben Greear gree...@candelatech.com wrote: I re-installed the same system w/out LVM, and now everything works fine. That's what we all do or did. :) Kay ___ systemd-devel mailing list

Re: [systemd-devel] [RFC v2] mount: improve DefaultDependencies and use in generator

2013-08-23 Thread Kay Sievers
On Sat, Aug 24, 2013 at 4:55 AM, Andrey Borzenkov arvidj...@gmail.com wrote: В Sat, 24 Aug 2013 04:34:09 +0200 Kay Sievers k...@vrfy.org пишет: On Fri, Aug 23, 2013 at 9:56 PM, Colin Walters walt...@verbum.org wrote: On Fri, 2013-08-23 at 15:09 +0800, Tom Gundersen wrote: This moves

Re: [systemd-devel] [PATCH] [RFC] Make reboot to support additional command

2013-08-24 Thread Kay Sievers
On Sat, Aug 24, 2013 at 6:12 AM, WaLyong Cho walyong@samsung.com wrote: On 08/24/2013 01:47 AM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Aug 13, 2013 at 03:01:25AM +0900, WaLyong Cho wrote: From: WaLyong Cho walyong@samsung.com reboot syscall can be performed with additional

Re: [systemd-devel] [PATCH] libudev: fix memleak when enumerating childs

2013-09-04 Thread Kay Sievers
On Wed, Sep 4, 2013 at 12:36 PM, David Herrmann dh.herrm...@gmail.com wrote: We need to free udev-devices again if they don't match. Funny that no-one noticed it yet since valgrind is quite verbose about it. Fix it and free non-matching devices. Applied. Thanks, Kay

Re: [systemd-devel] [PATCH] cgtop: fixup the online help

2013-09-04 Thread Kay Sievers
On Wed, Sep 4, 2013 at 6:41 AM, Brandon Philips bran...@ifup.co wrote: The online help shows the keys as uppercase but the code and manpage say lower case. Make the online help follow reality. Applied. Thanks, Kay ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] libudev: enumerate: fix NULL-deref for subsystem-matches

2013-09-04 Thread Kay Sievers
On Fri, Aug 30, 2013 at 3:50 PM, David Herrmann dh.herrm...@gmail.com wrote: udev_device_get_subsystem() may return NULL if no subsystem could be figured out by libudev. This might be due to OOM or if the device disconnected between the udev_device_new() call and udev_device_get_subsystem().

Re: [systemd-devel] How to reduce systemd/journald memory usage?

2013-09-05 Thread Kay Sievers
On Thu, Sep 5, 2013 at 11:57 PM, Manuel Reimer manuel.s...@nurfuerspam.de wrote: I want to boot up a smaller ARM system with systemd. This, so far, works well, but all the tools around systemd take a significant amount of my available system memory. What is significant? Most of the stuff is

Re: [systemd-devel] [PATCH] Remove device and its relatives when action is offlined

2013-09-09 Thread Kay Sievers
On Mon, Sep 9, 2013 at 11:23 PM, MUNEDA Takahiro muneda.takah...@jp.fujitsu.com wrote: Ok, I found out another problem. Even if I have a following udev rules and 'remove' event happens, no systemd service will be called. ACTION==add|remove, TAG+=systemd, ENV{SYSTEMD_WANTS}=muneda@.service

Re: [systemd-devel] [PATCH] make fsck fix mode a kernel command line option

2013-09-10 Thread Kay Sievers
On Tue, Sep 10, 2013 at 1:52 PM, Dave Reisner d...@falconindy.com wrote: On Tue, Sep 10, 2013 at 01:40:32PM +0200, Jan Engelhardt wrote: On Tuesday 2013-09-10 02:41, Lennart Poettering wrote: On Fri, 06.09.13 14:53, Robert Schiele (rschi...@gmail.com) wrote: One possibility might be to add

Re: [systemd-devel] [PATCH] Remove device and its relatives when action is offlined

2013-09-10 Thread Kay Sievers
On Tue, Sep 10, 2013 at 3:14 PM, MUNEDA Takahiro muneda.takah...@jp.fujitsu.com wrote: Udev still does all what did before systemd. It was never really able to run or start long-running tasks. Udev can only reliably handle synchronously started and very short-living programs, and that was

Re: [systemd-devel] [PATCH] libsystemd-login.so: fix undefined reference to 'cg_create'

2013-09-11 Thread Kay Sievers
On Wed, Sep 11, 2013 at 1:27 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 11.09.13 13:28, Yang Chengwei (chengwei.y...@intel.com) wrote: On Tue, Sep 10, 2013 at 06:02:55PM +0200, Lennart Poettering wrote: On Mon, 26.08.13 13:48, Chengwei Yang (chengwei.y...@intel.com) wrote:

Re: [systemd-devel] [PATCH] man: fix description of sysctl.d order

2013-09-11 Thread Kay Sievers
On Thu, Sep 12, 2013 at 12:49 AM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Mantas Mikulėnas at 11/09/13 22:53 did gyre and gimble: systemd-sysctl gives priority to the latest occurence as of commit 04bf3c1a60d82791e0320381e9268f727708f776, but the manpage hasn't been

Re: [systemd-devel] [PATCH] man: fix description of sysctl.d order

2013-09-11 Thread Kay Sievers
On Thu, Sep 12, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: On Thu, Sep 12, 2013 at 12:49 AM, Colin Guthrie gm...@colin.guthr.ie wrote: I only just rejigged things for the last time this flipped around and now sysctl has decided to buck the trend of the other tools and follow a later

Re: [systemd-devel] [PATCH] man: fix description of sysctl.d order

2013-09-11 Thread Kay Sievers
On Thu, Sep 12, 2013 at 4:49 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Sep 12, 2013 at 04:14:24AM +0200, Kay Sievers wrote: On Thu, Sep 12, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: On Thu, Sep 12, 2013 at 12:49 AM, Colin Guthrie gm...@colin.guthr.ie wrote

Re: [systemd-devel] [PATCH] man: fix description of sysctl.d order

2013-09-12 Thread Kay Sievers
On Thu, Sep 12, 2013 at 9:49 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Avoiding conflicting entries seems the best approach here, and the first-one-wins, the later ones complain sounds like the best approach. Hmmm, fair enough, but I don't see why these should be different to sysctl.d

Re: [systemd-devel] Is ExecStop executed when service terminates by itself?

2013-09-12 Thread Kay Sievers
On Thu, Sep 12, 2013 at 8:57 AM, Frederic Crozat fcro...@suse.com wrote: Le jeudi 12 septembre 2013 à 01:22 +0200, Lennart Poettering a écrit : (Meh, such sysvinit script extensions are just evil shit, I wish suse wouldn't do such nonsense...) Well, sometime, we don't have a choice,

Re: [systemd-devel] [PATCH] journald: Log error when failed to get machine-id on start

2013-09-12 Thread Kay Sievers
On Thu, Sep 12, 2013 at 2:37 PM, Olivier Brunel j...@jjacky.com wrote: Can help since the journal requires /etc/machine-id to exists in order to start, and will simply silently exit when it does not. --- Not sure if the behavior is known/expected or a bug, but when e.g. booting a system

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-09-12 Thread Kay Sievers
On Fri, Aug 9, 2013 at 8:56 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Wed, Jul 24, 2013 at 3:15 AM, Reshetova, Elena elena.reshet...@intel.com wrote: For example, I can set a couple of smack-related xattrs in one go like XATTR{security.SMACK64}=*, XATTR{security.SMACK64EXEC}=*.

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-09-12 Thread Kay Sievers
On Thu, Sep 12, 2013 at 10:13 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: I realize that unsetting/removal is a concern, but I don't think it should preclude merging code that is better at setting/adding :^) Oh, sure it does. We can and should not add generic and possibly unfinished

Re: [systemd-devel] [PATCH] udev: path_id - fix by-path link generation for scm devices

2013-09-17 Thread Kay Sievers
On Tue, Sep 17, 2013 at 12:16 PM, Sebastian Ott seb...@linux.vnet.ibm.com wrote: Set some_transport = true to prevent scm devices from being ignored. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] libsystemd-bus and libdbus

2013-09-22 Thread Kay Sievers
On Fri, Sep 20, 2013 at 3:48 AM, Karoline Haus karolineh...@yahoo.de wrote: I'm very interested in systemd's DBUS client library. As far as I understand it brings significant performance improvements over the standard libdbus library. It has actually been designed to one day talk to the

Re: [systemd-devel] [PATCH v2 1/4] cgroup: add the setting memory.use_hierarchy support for systemd

2013-09-24 Thread Kay Sievers
On Tue, Sep 24, 2013 at 2:42 AM, Gao feng gaof...@cn.fujitsu.com wrote: On 09/24/2013 08:36 AM, Gao feng wrote: On 09/24/2013 05:06 AM, Lennart Poettering wrote: On Mon, 23.09.13 14:30, Gao feng (gaof...@cn.fujitsu.com) wrote: Some programs need to set the memory.use_hierarchy(such as

Re: [systemd-devel] kernel-install questions

2013-09-25 Thread Kay Sievers
On Wed, Sep 25, 2013 at 3:35 PM, Tom Gundersen t...@jklm.no wrote: I have been looking at integrating kernel-install with Arch and I ran across a few questions: *) With /boot on fat, 'add' fails for me due to not being able to use cp --preserve. How is this meant to work (or was it just not

Re: [systemd-devel] kernel-install questions

2013-09-25 Thread Kay Sievers
On Wed, Sep 25, 2013 at 9:50 PM, Colin Guthrie gm...@colin.guthr.ie wrote: [root@jimmy ~]# cp --preserve /etc/hostname /boot; echo $? 0 [root@jimmy ~]# cp --preserve /home/colin/.bashrc /boot/test; echo $? cp: failed to preserve ownership for ‘/boot/test’: Operation not permitted 1 So it

Re: [systemd-devel] [PATCH 1/2] kernel-install: avoid using 'cp --preserve'

2013-09-25 Thread Kay Sievers
On Thu, Sep 26, 2013 at 12:38 AM, Tom Gundersen t...@jklm.no wrote: Force 0600 and root:root instead, to avoid problems with fat filesystems. Sounds fine to me, to enforce root permissions. If people want special permissions, they can always drop-in their own install.d/ callout to mangle them.

Re: [systemd-devel] [PATCH 1/2] kernel-install: avoid using 'cp --preserve'

2013-09-25 Thread Kay Sievers
On Thu, Sep 26, 2013 at 2:50 AM, Sébastien Luttringer se...@seblu.net wrote: On Thu, Sep 26, 2013 at 1:45 AM, Kay Sievers k...@vrfy.org wrote: On non UEFI systems, world readable rights set by kernel-install matter. Why would that matter? On non UEFI system your boot partition (when

Re: [systemd-devel] [PATCH] Make upstart compatibility optional

2013-09-27 Thread Kay Sievers
On Fri, Sep 27, 2013 at 9:24 PM, Cristian Rodríguez crrodrig...@opensuse.org wrote: Distributions such as openSUSE and probably others never included upstart, in that case there is no need to include this code. This introduces --disable-upstartcompat, however upstart compat is still enabled

Re: [systemd-devel] [PATCH 1/3] fstab-generator: Generate explicit dependencies on systemd-fsck@.service instead of using FsckPassNo

2013-09-30 Thread Kay Sievers
On Tue, Oct 1, 2013 at 4:29 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 01.10.13 04:19, Tom Gundersen (t...@jklm.no) wrote: I'd love to get rid of FsckPassNo=, but I fear that's not that easy... After all it's not just a boolean, it actually influences the ordering of the

Re: [systemd-devel] [PATCH] sys-kernel-debug.mount: mount with mode 755

2013-10-04 Thread Kay Sievers
On Fri, Oct 4, 2013 at 7:30 AM, Ramkumar Ramachandra artag...@gmail.com wrote: Kernel hackers need access to the debugfs filesystem. For instance, see the performance subsystem (tools/perf in the kernel tree); we should let all users, not just root, run the perf tool to collect performance

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-10-07 Thread Kay Sievers
On Thu, Sep 12, 2013 at 10:13 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Thu, Sep 12, 2013 at 10:23 AM, Kay Sievers k...@vrfy.org wrote: On Fri, Aug 9, 2013 at 8:56 PM, Kok, Auke-jan H auke-jan.h@intel.com wrote: On Wed, Jul 24, 2013 at 3:15 AM, Reshetova, Elena elena.reshet

Re: [systemd-devel] Patch for Smack labelling support in udev

2013-10-07 Thread Kay Sievers
On Tue, Oct 8, 2013 at 2:54 AM, Schaufler, Casey casey.schauf...@intel.com wrote: http://cgit.freedesktop.org/systemd/systemd/commit/?id=c26547d6127333 71494330e26c7d3604a5dba3d9 Please check if that works for you. It's OK for devices. It won't work for files in general, as Smack uses

Re: [systemd-devel] [PATCH 1/2] Mount /run, /dev/shm usable to tasks when using SMACK.

2013-10-09 Thread Kay Sievers
On Wed, Oct 2, 2013 at 8:12 PM, Auke Kok auke-jan.h@intel.com wrote: These 2 mounts are allowed to fail, which will happen if the system is not running a SMACK enabled kernel or security=none is passed to the kernel. The kernel throws errors for this at the console: tmpfs: Bad mount

Re: [systemd-devel] [PATCH] Smack enabled systems need /dev special devices correctly labeled

2013-10-13 Thread Kay Sievers
On Sun, Oct 13, 2013 at 12:20 AM, Kok, Auke-jan H auke-jan.h@intel.com wrote: +KERNEL==null,SMACK=* What is SMACK=? (and add a space after the ',' please) Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] Smack enabled systems need /dev special devices correctly labeled

2013-10-14 Thread Kay Sievers
On Mon, Oct 14, 2013 at 11:58 PM, Michael Demeter michael.deme...@intel.com wrote: +KERNEL==tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*, +GROUP=dialout, SECLABEL{smack}=* The SECLABEL{} instruction in a separate line? What is that supposed to do? Have you tested any of this?

Re: [systemd-devel] [PATCH] Smack enabled systems need /dev special devices correctly labeled

2013-10-14 Thread Kay Sievers
On Tue, Oct 15, 2013 at 12:59 AM, Michael Demeter michael.deme...@intel.com wrote: Yes is is very specific to Smack. Sure. Yes this has been tested here. It looks to me like *everything* will have that label now. This is an unconditional rule. It is not included as a policy file when the

Re: [systemd-devel] [PATCH] Add sabridge for socket activation of traditional daemons

2013-10-14 Thread Kay Sievers
On Tue, Oct 15, 2013 at 1:44 AM, da...@davidstrauss.net wrote: From: David Strauss da...@davidstrauss.net src/sabridge/sabridge.c | 519 +++ Please give it a name a human can parse and pronounce. :) Kay

Re: [systemd-devel] [PATCH] Smack enabled systems need /dev special devices correctly labeled

2013-10-15 Thread Kay Sievers
On Tue, Oct 15, 2013 at 5:50 PM, Demeter, Michael michael.deme...@intel.com wrote: This will pointlessly match on ttys, and apply the label to a*all* devices on the system: SUBSYSTEM==tty, SECLABEL{smack}=* This is all wrong, please *really* test your stuff before submitting! This is

Re: [systemd-devel] [PATCH] Smack enabled systems need /dev special devices correctly labeled

2013-10-15 Thread Kay Sievers
On Tue, Oct 15, 2013 at 10:26 PM, Leibowitz, Michael michael.leibow...@intel.com wrote: On Tue, Oct 15, 2013 at 8:58 AM, Kay Sievers k...@vrfy.org wrote: This will pointlessly match on ttys, and apply the label to a*all* devices on the system: SUBSYSTEM==tty, SECLABEL{smack

Re: [systemd-devel] [PATCH] Add sabridge for socket activation of traditional daemons

2013-10-16 Thread Kay Sievers
On Tue, Oct 15, 2013 at 2:58 AM, David Strauss da...@davidstrauss.net wrote: On Mon, Oct 14, 2013 at 5:53 PM, Kay Sievers k...@vrfy.org wrote: Please give it a name a human can parse and pronounce. :) sa-bridge? act-bridge? other suggestions? We really should avoid non-obvious or not commonly

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-16 Thread Kay Sievers
On Wed, Oct 16, 2013 at 7:35 PM, Reindl Harald h.rei...@thelounge.net wrote: none / auto remount,rw 0 0 why none and remount? none because at the time fstab is read, / is already mounted; therefore the device already known. Specifying the root device in fstab is in most cases really pointless

Re: [systemd-devel] moving from SysV to systemd - issue with / being ro

2013-10-17 Thread Kay Sievers
On Thu, Oct 17, 2013 at 4:54 AM, Andrey Borzenkov arvidj...@gmail.com wrote: В Thu, 17 Oct 2013 00:07:55 +0200 Kay Sievers k...@vrfy.org пишет: typically the line looks like this UUID=b834776d-69d1-49c6-97c1-d6d758a438f0 / ext4 defaults i doubt that anything smells what none means

Re: [systemd-devel] [systemd-commits] autogen.sh src/core src/shared src/tmpfiles

2013-10-21 Thread Kay Sievers
On Mon, Oct 21, 2013 at 3:57 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Oct 21, 2013 at 06:48:11AM -0700, Kay Sievers wrote: autogen.sh|2 +- src/core/machine-id-setup.c |2 +- src/core/manager.c|2 +- src/shared/ask

Re: [systemd-devel] [systemd-commits] autogen.sh src/core src/shared src/tmpfiles

2013-10-21 Thread Kay Sievers
On Mon, Oct 21, 2013 at 4:25 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Oct 21, 2013 at 3:57 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Oct 21, 2013 at 06:48:11AM -0700, Kay Sievers wrote: autogen.sh|2 +- src/core/machine-id-setup.c |2

Re: [systemd-devel] [systemd-commits] autogen.sh src/core src/shared src/tmpfiles

2013-10-21 Thread Kay Sievers
On Mon, Oct 21, 2013 at 6:11 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Hmm, I'm running up-to-date F20, from today here. And have no issues. Tried a git clean? I now did a 'yum update', and with a bunch of packages installed, most notably gcc-4.8.2, this problem is gone. It

Re: [systemd-devel] [systemd-commits] autogen.sh src/core src/shared src/tmpfiles

2013-10-21 Thread Kay Sievers
On Mon, Oct 21, 2013 at 6:33 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Oct 21, 2013 at 6:11 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: Hmm, I'm running up-to-date F20, from today here. And have no issues. Tried a git clean? I now did a 'yum update', and with a bunch

Re: [systemd-devel] [systemd-commits] autogen.sh src/core src/shared src/tmpfiles

2013-10-21 Thread Kay Sievers
On Mon, Oct 21, 2013 at 7:49 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Oct 21, 2013 at 06:55:12PM +0200, Kay Sievers wrote: On Mon, Oct 21, 2013 at 6:33 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Oct 21, 2013 at 6:11 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl

[systemd-devel] tree-wide conversion from libdbus to libsystemd-bus

2013-10-22 Thread Kay Sievers
Most of the original plan outlined a couple of months ago is still valid: http://lists.freedesktop.org/archives/systemd-devel/2013-March/009797.html We now have all the major pieces to port to the new library available in the systemd tree. Converting tools is half way mechanical replacing, the

Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus

2013-10-22 Thread Kay Sievers
On Wed, Oct 23, 2013 at 1:55 AM, Michael Biebl mbi...@gmail.com wrote: Just to be clear, this is step b/, i.e. systemd will still use dbus-daemon? Yes. Only the link-dependency on the current D-Bus library will go, but the runtime dependency on the daemon will stay as it is. Is there an ETA

Re: [systemd-devel] F19 network device naming

2013-10-24 Thread Kay Sievers
On Wed, Oct 23, 2013 at 9:02 PM, Nicholas Majeran nmaje...@suntradingllc.com wrote: I have recently installed Fedora 19 on a Dell R620. I'm trying to grok the new device naming scheme put forth in systemd, but the results are a bit confusing. This box has four onboard ports -- those are all

Re: [systemd-devel] Can apps ship their own copy of libudev?

2013-10-24 Thread Kay Sievers
On Thu, Oct 24, 2013 at 3:15 PM, Laszlo Papp lp...@kde.org wrote: On Thu, Oct 24, 2013 at 2:09 PM, Kay Sievers k...@vrfy.org wrote: No, you cannot really ship your own libudev, it is coupled with the daemon. They speak a non-trivial wire protocol and write udev database files which

Re: [systemd-devel] F19 network device naming

2013-10-24 Thread Kay Sievers
On Thu, Oct 24, 2013 at 6:50 PM, Nicholas Majeran nmaje...@suntradingllc.com wrote: /sys/class/net/enp65s0f0/dev_id:0x0 /sys/class/net/enp65s0f1d1/dev_id:0x1 /sys/class/net/lo/dev_id:0x0 Thanks for the pointer. As far as correcting this, should I contact the maintainer of the sfc driver?

Re: [systemd-devel] [RFC][PATCH] udev: add network link configuration tool

2013-10-26 Thread Kay Sievers
On Sat, Oct 26, 2013 at 8:16 PM, Jan Engelhardt jeng...@inai.de wrote: On Saturday 2013-10-26 16:16, Tom Gundersen wrote: The tool is configured by .link files in /etc/net/links/ (with the usual overriding logic in /run and /lib). The first (in lexicographical order) matching .link file is

Re: [systemd-devel] journal like cyclic buffer?

2013-10-27 Thread Kay Sievers
On Sun, Oct 27, 2013 at 6:52 PM, Warpme war...@o2.pl wrote: Is there possibility to configure systemd journal to behave like cyclic buffer with given buffer size? Currently I see only rotation mechanism. Issue with rotation is that just after rotation, journal is almost empty and user don't

Re: [systemd-devel] Where did DefaultControllers= option go?

2013-10-29 Thread Kay Sievers
On Tue, Oct 29, 2013 at 5:39 PM, Thomas Bächler tho...@archlinux.org wrote: Am 29.10.2013 17:21, schrieb Colin Guthrie: 'Twas brillig, and Umut Tezduyar at 29/10/13 15:17 did gyre and gimble: I have noticed DefaultControllers= option is no longer in system.conf file. Has it been moved to

Re: [systemd-devel] Where did DefaultControllers= option go?

2013-10-29 Thread Kay Sievers
On Tue, Oct 29, 2013 at 6:45 PM, Umut Tezduyar u...@tezduyar.com wrote: The global mirroring across trees makes no sense in the future. The several independent trees will go away in the kernel next year, and then systemd would not know what to do with an instruction like DefaultControllers.

Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus

2013-10-29 Thread Kay Sievers
On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - timedatectl - systemd-logind - loginctl Peeters

Re: [systemd-devel] Default udev log priority

2013-10-30 Thread Kay Sievers
On Wed, Oct 30, 2013 at 1:13 PM, Tom Gundersen t...@jklm.no wrote: The default /etc/udev/udev.conf indicates (by a commented out udev_log=info), that libudev's default log level is INFO. However, it is actually ERR. I suggest we change the default log level to be INFO as that is a lot more

Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus

2013-10-30 Thread Kay Sievers
On Wed, Oct 30, 2013 at 3:48 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need conversion. Please reply to this mail, in case you decide to work on anything in that area. - systemd-logind - loginctl Peeters Simon: I'll

Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus

2013-10-30 Thread Kay Sievers
On Wed, Oct 30, 2013 at 5:36 AM, Marc-Antoine Perennou marc-anto...@perennou.com wrote: On 30 October 2013 11:48, Kay Sievers k...@vrfy.org wrote: On Wed, Oct 23, 2013 at 1:22 AM, Kay Sievers k...@vrfy.org wrote: [update] To avoid any duplication of work, here are the tools which still need

Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus

2013-11-01 Thread Kay Sievers
On Fri, Nov 1, 2013 at 4:44 PM, Lennart Poettering lenn...@poettering.net wrote: [update] - systemd-logind Lennart: I am knee-deep in converting logind now. - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - hostnamectl Peeters Simon's (patch on the list, needs

Re: [systemd-devel] [PATCH 2/2] hostnamectl: port to sd-bus

2013-11-01 Thread Kay Sievers
c0dc3f5ed3838d909b9a46d4e3b8e9de0b6cd3e2 Mon Sep 17 00:00:00 2001 From: Kay Sievers k...@vrfy.org Date: Sat, 2 Nov 2013 00:10:12 +0100 Subject: [PATCH] bus: use internal helper to read org.freedesktop.DBus.Properties::GetAll variables --- src/libsystemd-bus/bus-util.c | 165

Re: [systemd-devel] Power aware units

2013-11-03 Thread Kay Sievers
On Sun, Nov 3, 2013 at 3:36 PM, Bastien Nocera had...@hadess.net wrote: systemd already allows launching specific tasks based on a timer, and intervals, and I was wondering whether power awareness was something planned for launching and stopping units. MacOS X 10.9 has some additional

Re: [systemd-devel] [PATCH] selinux: fix selinux check for transient units

2013-11-04 Thread Kay Sievers
On Mon, Nov 4, 2013 at 5:06 PM, Lennart Poettering lenn...@poettering.net wrote: Sorry, I don't understand what this patch is doing. Please explain in a commit message! The file format should also be documented in the code itself, if not done by selinx, then we need to add the link to the doc.

Re: [systemd-devel] Scheme: Linux startup process with systemd

2013-11-04 Thread Kay Sievers
On Mon, Nov 4, 2013 at 11:48 PM, ScotXW shcsott...@yahoo.com wrote: I created this [1] scheme. Can you help fill in the blank? I know there is very extensive documentation about systemd, it is way too extensive for my purposes, the home user. Most of this is just misleading, plain wrong or

Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus

2013-11-04 Thread Kay Sievers
On Fri, Nov 1, 2013 at 4:50 PM, Kay Sievers k...@vrfy.org wrote: [update] Simon, Zbigniew, Marc-Antoine you still work/plan to work on the stuff listed below? Please let us know. Thanks, Kay - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - pam_systemd Zbigniew

Re: [systemd-devel] tree-wide conversion from libdbus to libsystemd-bus

2013-11-06 Thread Kay Sievers
On Tue, Nov 5, 2013 at 3:22 AM, Kay Sievers k...@vrfy.org wrote: [update] Simon, are you still work/plan to work on loginctl? Please let us know. Thanks, Kay - loginctl Peeters Simon: I'll take ... (probably loginctl afterwards) - systemctl Marc-Antoine Perennou: I've goy it nearly half

Re: [systemd-devel] Regression: systemd-logind failure after migration to internal dbus impl

2013-11-07 Thread Kay Sievers
On Thu, Nov 7, 2013 at 9:34 AM, Oleksii Shevchuk alx...@gmail.com wrote: FYI, systemd-logind is still broken as for 86198b2788e56fd05959c2dce670d1646bf99bcd. Current symptoms: After leaving S3 logind doesn't sent notifications about leaving sleep mode. Instead, it goes to failure state:

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