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 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] [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] 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] 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] 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] 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] 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] Journald stops logging when lots of output

2013-08-04 Thread Kay Sievers
On Sun, Aug 4, 2013 at 12:14 AM, Pedro Francisco pedrogfranci...@gmail.com wrote: (question migrated from t...@lists.fedoraproject.org ) On Fedora 19, journald ( systemd-204-9.fc19.i686 ) stops logging. I had enabled lots of iwl3945 debugging ( various messages for each iwl3945 interaction --

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] macros in systemd unit files question

2013-07-31 Thread Kay Sievers
On Wed, Jul 31, 2013 at 2:14 PM, lux-integ lux-in...@btconnect.com wrote: I am trying to learn systemD. I scaned through some of the man pages. I am here asking if systemD unit file synthesis can be made to support macros; for example of the following type:- #-- IF

Re: [systemd-devel] [PATCH 1/1] tests: skip test for test-unit-file when executed without privileges

2013-07-30 Thread Kay Sievers
On Tue, Jul 30, 2013 at 1:52 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Jul 30, 2013 at 11:50:54AM +0200, Christian Hesse wrote: Hello everybody, for me this test fails and I think it is correct to skip it in case permission is denied. Patch attached. It *is* an error

Re: [systemd-devel] [PATCH] fstab-generator: introduce rd.weak_sysroot to bypass failures in sysroot.mount

2013-07-30 Thread Kay Sievers
On Tue, Jul 30, 2013 at 4:02 PM, Tom Gundersen t...@jklm.no wrote: On Tue, Jul 30, 2013 at 2:27 PM, WANG Chao chaow...@redhat.com wrote: On 07/30/13 at 02:05pm, Tom Gundersen wrote: On Tue, Jul 30, 2013 at 1:53 PM, WANG Chao chaow...@redhat.com wrote: - It's not before initrd-root-fs.target.

Re: [systemd-devel] Using busybox-udhcpc

2013-07-30 Thread Kay Sievers
On Wed, Jul 31, 2013 at 1:16 AM, Paul D. DeRocco pdero...@ix.netcom.com wrote: I have a Yocto-based embedded system (poky-dylan on a Cedartrail Atom), which has been modified to use systemd. I've also added Samba 3.6.8 from OpenEmbedded. The system has available busybox-udhcpc for a DHCP

Re: [systemd-devel] systemd.mount questions

2013-07-29 Thread Kay Sievers
On Mon, Jul 29, 2013 at 1:39 PM, lux-integ lux-in...@btconnect.com wrote: I am attempting to learn how to use systemd. I read the man page on systemd.mount ( http://www.freedesktop.org/software/systemd/man/systemd.mount.html ) and I have two questions 1: say you want to mount proc, sys,

Re: [systemd-devel] [PATCH] build: do not link everything with -lrt (and therefore -pthread)

2013-07-29 Thread Kay Sievers
On Sun, Jul 28, 2013 at 11:48 PM, Jan Engelhardt jeng...@inai.de wrote: On Monday 2013-07-22 05:57, Shawn Landden wrote: diff --git a/Makefile.am b/Makefile.am index 3ece887..f96866c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1832,6 +1832,7 @@ libsystemd_daemon_internal_la_SOURCES = \

Re: [systemd-devel] systemd --user broken

2013-07-27 Thread Kay Sievers
On Sat, Jul 27, 2013 at 4:50 PM, Léo Gillot-Lamure leo.gil...@navaati.net wrote: All these big changes from systemd 205 seem good and yummy, but how do this relates to the systemd --user sessions ? I used to launch all my desktop components (WM, panel, applets, pulseaudio...) using systemd

Re: [systemd-devel] systemd --user broken

2013-07-27 Thread Kay Sievers
On Sat, Jul 27, 2013 at 6:24 PM, Oleksii Shevchuk alx...@gmail.com wrote: It all needs still some work how things should work in the end Unfortunately, with shared session daemon It is, and always was, designed as a --user daemon, just like the name suggests, not as a session daemon. With the

Re: [systemd-devel] systemd --user broken

2013-07-27 Thread Kay Sievers
On Sat, Jul 27, 2013 at 7:30 PM, Oleksii Shevchuk alx...@gmail.com wrote: It is, and always was, designed as a --user daemon, just like the name suggests, not as a session daemon. With the upcoming kdbus work, systemd --user will be the creator and owner of the user's bus, and there can and

Re: [systemd-devel] [PATCH] man: systemd.unit: fix volatile path

2013-07-27 Thread Kay Sievers
On Sat, Jul 27, 2013 at 6:58 PM, Brandon Philips bran...@ifup.co wrote: Attaching the patch since I don't have a mail client at the moment that can keep itself from breaking patches. No problem, attachments are totally fine on this list. Applied. Thanks, Kay

Re: [systemd-devel] systemd --user broken

2013-07-27 Thread Kay Sievers
On Sat, Jul 27, 2013 at 8:03 PM, Oleksii Shevchuk alx...@gmail.com wrote: For most other things: there are actually very few things that should use the environment as a data store and to pass around config/policy/runtime information; it's just a too broken and static model that should no be

Re: [systemd-devel] /home Fails to Mount During Boot

2013-07-27 Thread Kay Sievers
On Sun, Jul 28, 2013 at 1:34 AM, Garry T. Williams gtwilli...@gmail.com wrote: On 7-28-13 01:14:55 Tom Gundersen wrote: On Sun, Jul 28, 2013 at 12:13 AM, Garry T. Williams gtwilli...@gmail.com wrote: /etc/fstab: /dev/sda4 /home btrfs noatime 0 0 The /home file system is a raid1

Re: [systemd-devel] /home Fails to Mount During Boot

2013-07-27 Thread Kay Sievers
On Sun, Jul 28, 2013 at 3:28 AM, Kay Sievers k...@vrfy.org wrote: Is the use of /dev/sd* in the fstab racey in some way? Btrfs multi-device volumes need all be known to the kernel before mount can succeed. Which one of the device is given to mount does not matter, they all result

Re: [systemd-devel] [PATCH] man: Add a note about what environment variables are available by default.

2013-07-26 Thread Kay Sievers
On Fri, Jul 26, 2013 at 11:21 AM, Colin Guthrie co...@mageia.org wrote: This question was asked by a user trying to debug a problem with Java services which required JAVA_HOME to be set. --- man/systemd.exec.xml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/man/systemd.exec.xml

Re: [systemd-devel] [PATCH] man: Add a note about what environment variables are available by default.

2013-07-26 Thread Kay Sievers
On Fri, Jul 26, 2013 at 11:57 AM, Kay Sievers k...@vrfy.org wrote: On Fri, Jul 26, 2013 at 11:21 AM, Colin Guthrie co...@mageia.org wrote: This question was asked by a user trying to debug a problem with Java services which required JAVA_HOME to be set. --- man/systemd.exec.xml | 7

Re: [systemd-devel] [PATCH] man: Add a note about what environment variables are available by default.

2013-07-26 Thread Kay Sievers
On Fri, Jul 26, 2013 at 12:38 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 26.07.2013 12:03, schrieb Kay Sievers: man/systemd.exec.xml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index c0e1d86..b78f255 100644 --- a/man

Re: [systemd-devel] udev within a container

2013-07-26 Thread Kay Sievers
On Fri, Jul 26, 2013 at 5:09 PM, Rob Spanton rspan...@zepler.net wrote: I would like to run some processes inside a container that interact with udev. Ideally udev would be within the same container as those processes, as then I could also have udev rules that started other things within that

Re: [systemd-devel] [PATCH] man: Add a note about what environment variables are available by default.

2013-07-26 Thread Kay Sievers
On Fri, Jul 26, 2013 at 12:42 PM, Kay Sievers k...@vrfy.org wrote: cat /proc/$(pidof systemd-logind)/environ SYSFONT=latarcyrheb-sun16PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/binbiosdevname=0LANG=de_DE.UTF-8divider=20KEYTABLE=de-latin1-nodeadkeysBOOT_IMAGE=/vmlinuz-3.9.10-100.fc17

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Kay Sievers
On Thu, Jul 25, 2013 at 7:00 PM, Lennart Poettering lenn...@poettering.net wrote: I'd vote by replacing it by ConditionPathIsReadWrite=/sys since sane container managers mount that read-only.) A change like that sounds great to me. Keying-off access to /sys is probably more appropriate for

Re: [systemd-devel] [PATCH] Drop ConditionCapability=CAP_MKNOD from *udev* units

2013-07-25 Thread Kay Sievers
On Fri, Jul 26, 2013 at 12:19 AM, Gerardo Exequiel Pozzi vmlinuz...@yahoo.com.ar wrote: Anyway, I don't get what you are trying to achieve by your patch please elaborate. My thought was simple: Hey! what is doing CAP_MKNOD here since is not needed anymore for udev, remove them!. Ok course, I

Re: [systemd-devel] Profiling systemctl daemon-reload

2013-07-24 Thread Kay Sievers
On Wed, Jul 24, 2013 at 10:26 PM, David Strauss da...@davidstrauss.net wrote: With thousands of units, doing a daemon-reload puts a surprisingly huge CPU and memory burden on the system. Has anyone profiled why? I'd like to get started on optimizing this, but I'll obviously need to understand

Re: [systemd-devel] Excluding .hwdb files

2013-07-22 Thread Kay Sievers
On Mon, Jul 22, 2013 at 3:32 PM, Umut Tezduyar u...@tezduyar.com wrote: For an embedded system that is not using hwdb.bin, we are shipping roughly 4 mb .hwdb files under /usr/lib/udev/hwdb.d. Is it distributions responsibility to clean up .hwdb files after build or should we have a configure

Re: [systemd-devel] Excluding .hwdb files

2013-07-22 Thread Kay Sievers
On Mon, Jul 22, 2013 at 6:18 PM, Michael Biebl mbi...@gmail.com wrote: 2013/7/22 Kay Sievers k...@vrfy.org: On Mon, Jul 22, 2013 at 3:32 PM, Umut Tezduyar u...@tezduyar.com wrote: For an embedded system that is not using hwdb.bin, we are shipping roughly 4 mb .hwdb files under /usr/lib/udev

Re: [systemd-devel] [PATCH][usbutils] lsusb: port to hwdb

2013-07-21 Thread Kay Sievers
On Sun, Jul 21, 2013 at 12:01 PM, Tom Gundersen t...@jklm.no wrote: On Sun, Jul 21, 2013 at 3:34 AM, Greg KH gre...@linuxfoundation.org wrote: Can this mean I can drop the usb.ids file from the usbutils package? I can't remember where hwdb is generated from, does it rely on the usb.ids file

Re: [systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-21 Thread Kay Sievers
On Sat, Jul 20, 2013 at 7:03 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Kay Sievers wrote: If you're so particular about keeping primary unit files clean, may I suggest moving the exception code to vconsole-setup.c? That's what I meant, yeah, sorry for the confusion. Cool, I

Re: [systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-21 Thread Kay Sievers
On Sun, Jul 21, 2013 at 2:44 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Kay Sievers wrote: No, sorry, the same rule applies to C code as it does to unit files: We do not collect specific exceptions for broken hacks in exotic tools. Means: there will be _zero_ matches on UML strings

Re: [systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-21 Thread Kay Sievers
On Sun, Jul 21, 2013 at 3:13 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Kay Sievers wrote: Where do you see any specific exceptions for broken hacks? We surely support different forms of virtualizations, and support reasonable custom behavior. But we do not support providing a tty0

Re: [systemd-devel] [PATCH][usbutils] lsusb: port to hwdb

2013-07-21 Thread Kay Sievers
On Sun, Jul 21, 2013 at 5:36 PM, Greg KH gre...@linuxfoundation.org wrote: On Sun, Jul 21, 2013 at 01:05:31PM +0200, Kay Sievers wrote: However, hwdb only contains vendor, product, class, subclass and protocol. So if you drop usb.ids the rest of the information will be lost. Maybe split

Re: [systemd-devel] [PATCH] man: wording and grammar updates

2013-07-21 Thread Kay Sievers
On Sun, Jul 21, 2013 at 6:53 AM, Jan Engelhardt jeng...@inai.de wrote: - disables the rules file entirely. Hwdb files must have the extension + disables the rules file entirely. hwdb files must have the extension Hmm, you mean to start a sentence with a lowercase word? Looks a bit

Re: [systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-21 Thread Kay Sievers
On Sun, Jul 21, 2013 at 6:02 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Hacks like the UML tty0 hack is just a too broken idea, to get any support or an exception in a generic tool like systemd. I think of it as less of a hack, and more of a deficiency. Nobody stayed up all night

Re: [systemd-devel] [PATCH] console-getty.service: conflict with vconsole-setup

2013-07-20 Thread Kay Sievers
On Fri, Jul 19, 2013 at 8:31 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Fri, Jul 19, 2013 at 11:50:53PM +0530, Ramkumar Ramachandra wrote: [intertesting analysis removed] So, I can provide a patch for getty-generator to detect um Linux and switch to getty on /dev/console, but

Re: [systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-20 Thread Kay Sievers
On Fri, Jul 19, 2013 at 9:36 PM, Ramkumar Ramachandra artag...@gmail.com wrote: User-Mode Linux does not do VT102 emulation, and $ vconsole-setup /dev/tty0 will always fail on it. In order to prevent vconsole-setup.service from always failing, disable it when uml is detected.

Re: [systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 12:25 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Kay Sievers wrote: I would rather see vconsole to detect the mess and silently give up, instead of adding exotic options for really weird faked and wrong tty0 setups. um Linux lacks VT102 emulation

Re: [systemd-devel] udev: New default rule for autoloading kernel modules matching CPU modalias

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 12:56 PM, Rafael J. Wysocki r...@sisk.pl wrote: After a recent change present in 3.11-rc1 there is a driver, called processor, that can be bound to the CPU devices whose sysfs directories are located under /sys/devices/system/cpu/. A side effect of this is that, after

Re: [systemd-devel] udev: New default rule for autoloading kernel modules matching CPU modalias

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 1:47 PM, Kay Sievers k...@vrfy.org wrote: On Sat, Jul 20, 2013 at 12:56 PM, Rafael J. Wysocki r...@sisk.pl wrote: After a recent change present in 3.11-rc1 there is a driver, called processor, that can be bound to the CPU devices whose sysfs directories are located

Re: [systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 12:38 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Kay Sievers wrote: It's not about failing it, that would be ugly, sure. Vconsole can just give up and return 0 if it finds a tt0 that actually isn't a tty0. Hm, how can I tell if vconsole-setup actually did

Re: [systemd-devel] [PATCH] console-getty.service: conflict with vconsole-setup

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 6:16 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: What uml does here sound really weird, and vconsole should just silently give up when it finds such a messed up setup. :) Sure, or we can add a one line check in the unit file. That what we have those

Re: [systemd-devel] [PATCH 2/2] vconsole-setup: setup negative conditional on uml

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 6:34 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Kay Sievers wrote: Oh, I meant turning is_vconsole() into returning success when it is called for a tty0 that in fact doesn't work like tty0. :) We might as well remove is_vconsole() then. Does it make sense

Re: [systemd-devel] [PATCH] console-getty.service: conflict with vconsole-setup

2013-07-20 Thread Kay Sievers
On Sat, Jul 20, 2013 at 6:43 PM, Ramkumar Ramachandra artag...@gmail.com wrote: Kay Sievers wrote: such work-arounds need to be a generic as possible I disagree with this. I specifically asked Lennart about a /dev/tty0 being created by hand using mknod earlier: his answer was that systemd

Re: [systemd-devel] runtime directories for services vs. tmpfiles

2013-07-18 Thread Kay Sievers
On Thu, Jul 18, 2013 at 4:50 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Jul 18, 2013 at 02:51:09AM +0200, Lennart Poettering wrote: [snip repoquery magic] This means: ~81% of the packages have been converted from sysv to systemd. And ~10% of the converted packages make

Re: [systemd-devel] hwdb for gphoto2

2013-07-17 Thread Kay Sievers
On Wed, Jul 17, 2013 at 11:31 AM, Tom Gundersen t...@jklm.no wrote: Hi guys, Here is an attempt at converting libgphoto2 to hwdb. Seems to work for my phone. hwdb file: https://dev.archlinux.org/~tomegun/20-gphoto2.hwdb patch: https://dev.archlinux.org/~tomegun/gphoto-hwdb.patch Comments

Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-16 Thread Kay Sievers
On Tue, Jul 16, 2013 at 5:30 AM, WANG Chao chaow...@redhat.com wrote: (Humm, please do not use -- on a single line in the middle of an email, that's indication for many MUAs that this is where the signature starts, and they chop this off when replying...) Sorry about --, never thought that

Re: [systemd-devel] Unbuffered stderr for my systemd service?

2013-07-16 Thread Kay Sievers
On Tue, Jul 16, 2013 at 5:30 AM, WANG Chao chaow...@redhat.com wrote: On 07/15/13 at 10:46pm, Lennart Poettering wrote: On Mon, 15.07.13 17:56, WANG Chao (chaow...@redhat.com) wrote: I have a service (a script) running under systemd and need its stderr to be output'd immediately, not line

Re: [systemd-devel] runtime directories for services vs. tmpfiles

2013-07-16 Thread Kay Sievers
On Tue, Jul 16, 2013 at 6:01 PM, Lennart Poettering lenn...@poettering.net wrote: Hmm, I'd like such an automatism, but I'd really prefer if we could come up with some scheme to automatically determine all tmpfiles snippets in the package and apply them all automatically. But I am not sure how

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

2013-07-16 Thread Kay Sievers
On Tue, Jul 9, 2013 at 4:34 PM, Reshetova, Elena elena.reshet...@intel.com wrote: -static int node_permissions_apply(struct udev_device *dev, bool apply, mode_t mode, uid_t uid, gid_t gid) +static int node_permissions_apply(struct udev_device *dev, bool apply, mode_t mode, +

Re: [systemd-devel] runtime directories for services vs. tmpfiles

2013-07-16 Thread Kay Sievers
On Tue, Jul 16, 2013 at 9:17 PM, Tomasz Torcz to...@pipebreaker.pl wrote: If RuntimeDirectory= is set we'd create it and chown() it to the UID/GID set with User= and Group=. We'd apply the mode specified in RuntimeDirectoryMode= to it. There are daemons which do, in order: 1) start as

Re: [systemd-devel] runtime directories for services vs. tmpfiles

2013-07-16 Thread Kay Sievers
On Tue, Jul 16, 2013 at 9:28 PM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 07/16/2013 06:26 PM, Lennart Poettering wrote: I discussed this a bit more with Kay on the phone. Here's what we'd propose: I'd be very conservative regarding adding full tmpfiles support into unit files

Re: [systemd-devel] update: udev keymaps are moving to hwdb

2013-07-12 Thread Kay Sievers
On Wed, Jul 10, 2013 at 11:38 PM, Kay Sievers k...@vrfy.org wrote: The systemd git source tree has now all the pieces to prepare the move from the current keymap handling to the hardware database. None of it will take any action at the moment, the hwdb file is not committed. The hand-edited

Re: [systemd-devel] [RFC PATCH] condition: add ConditionFileContains=

2013-07-12 Thread Kay Sievers
On Fri, Jul 12, 2013 at 3:31 PM, Lennart Poettering lenn...@poettering.net wrote: ConditionFileContains=/sys/module/sn/parameters/enabled:1 To make this clear: I am not keen on adding this. I can see the usefulness, and the thing is still simple enough so that it would be OK to add this,

Re: [systemd-devel] udevadm settle hangs due to veths in seperate network namespaces

2013-07-12 Thread Kay Sievers
On Fri, Jul 12, 2013 at 4:49 PM, Daniel P. Berrange berra...@redhat.com wrote: On Fri, Jul 12, 2013 at 04:42:34PM +0200, Kay Sievers wrote: On Fri, Jul 12, 2013 at 4:21 PM, Kay Sievers k...@vrfy.org wrote: On Fri, Jul 12, 2013 at 4:14 PM, Daniel P. Berrange berra...@redhat.com wrote

Re: [systemd-devel] udevadm settle hangs due to veths in seperate network namespaces

2013-07-12 Thread Kay Sievers
On Fri, Jul 12, 2013 at 5:00 PM, Daniel P. Berrange berra...@redhat.com wrote: On Fri, Jul 12, 2013 at 02:51:10PM +0100, Daniel P. Berrange wrote: We're hitting a problem in libvirt where 'udevadm settle' will get stuck in a loop until it eventually times out. Eventually we realized this

Re: [systemd-devel] [PATCH] shared: rename hasprefix() to startswith(), which is functionally identical and removed

2013-07-12 Thread Kay Sievers
On Fri, Jul 12, 2013 at 5:35 PM, Shawn Landden shawnland...@gmail.com wrote: as most (if not all) of the prefix strings are static, these will get forward constant propagation optimized into single memcmp() calls, which should be much better than the non-SIMD hand-rolled version. -#define

Re: [systemd-devel] no installed machine-id vs systemd-in-initramfs

2013-07-11 Thread Kay Sievers
On Thu, Jul 11, 2013 at 11:55 AM, Harald Hoyer harald.ho...@gmail.com wrote: On 07/10/2013 05:26 PM, Colin Walters wrote: The gnome-ostree build system generates disk images that can be downloaded directly; there is no installer. In the old model of dracut shell script + systemd, systemd's

Re: [systemd-devel] journal and /run/systemd/journal/syslog

2013-07-10 Thread Kay Sievers
On Wed, Jul 10, 2013 at 12:30 PM, Umut Tezduyar u...@tezduyar.com wrote: On Tue, Jul 9, 2013 at 1:58 AM, Lennart Poettering lenn...@poettering.net wrote: We though about just bumping this globally via sysctl, but we feared that might not sit well with some folks, as we shouldn't change a

Re: [systemd-devel] journald and kernel logging

2013-07-10 Thread Kay Sievers
On Wed, Jul 10, 2013 at 2:41 PM, Tomasz Sobczyk dott...@gmail.com wrote: Hmm, it might be my system configuration or a kernel bug, not systemd. The thing is that kernel messages instead of being outputted to /dev/console are outputted to the currently active VT. I use metalog as the syslog

[systemd-devel] update: udev keymaps are moving to hwdb

2013-07-10 Thread Kay Sievers
We need to cut down the use of udev rules, and move all hardware matches to the magnitudes more efficient hardware database. Udev rules were not meant to carry out huge lists of sequential matches against hardware IDs, this model just doesn't scale too well. The keymaps are the first, other users

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

2013-07-09 Thread Kay Sievers
On Tue, Jul 9, 2013 at 3:47 PM, Reshetova, Elena elena.reshet...@intel.com wrote: Does the attached patch look better? I have fixed the sequence of xattr processing (now just after uid, gid, mode and etc.) + switched to use a list for collecting the xattrs. I think it is more generic to allow

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

2013-07-03 Thread Kay Sievers
On Wed, Jul 3, 2013 at 1:04 PM, Reshetova, Elena elena.reshet...@intel.com wrote: Things like: ..., XATTR{foo}=foo, XATTR{bar}=bar would just eat the entire foo key. That is intentional? We usually have lists for that, or we would not allow 2 keys ... Hm.. Do we want to allow multiple xattr

Re: [systemd-devel] [PATCH 2/2] keymap: horizontally align comments in the same column

2013-07-03 Thread Kay Sievers
On Wed, Jul 3, 2013 at 1:15 PM, Jason St. John jstj...@purdue.edu wrote: From: Jason St. John jstj...@purdue.edu Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH 1/2] keymap: improve consistency and general formatting of comments

2013-07-03 Thread Kay Sievers
On Wed, Jul 3, 2013 at 1:15 PM, Jason St. John jstj...@purdue.edu wrote: From: Jason St. John jstj...@purdue.edu Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] makefile:put macros file to the correct place

2013-06-28 Thread Kay Sievers
- Original Message - Zbigniew Jędrzejewski-Szmek píše v Čt 27. 06. 2013 v 17:00 +0200: On Thu, Jun 27, 2013 at 04:30:12PM +0200, Vaclav Pavlin wrote: From: Fedora systemd team systemd-ma...@redhat.com --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1

Re: [systemd-devel] [systemd-commits] 2 commits - Makefile.am TODO src/core src/login src/shared src/systemctl src/test units/-.slice units/slices.target units/system.slice

2013-06-27 Thread Kay Sievers
On Thu, Jun 27, 2013 at 7:12 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Thu, Jun 27, 2013 at 06:40:37AM +0200, Zbigniew Jędrzejewski-Szmek wrote: make distcheck fails for me, because make uninstall chokes on -.slice. automake-1.12.2-5.fc18.noarch and

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

2013-06-25 Thread Kay Sievers
On Tue, Jun 25, 2013 at 5:23 PM, Reshetova, Elena elena.reshet...@intel.com wrote: Here is the draft for the changed patch. Is it along the lines you were thinking about? Please ignore the small details such as cosmetics and etc. now: I am still planning to test it properly and cleanup, but

Re: [systemd-devel] [PATCH] libudev: Use correct type for sizeof

2013-06-24 Thread Kay Sievers
On Sat, Jun 22, 2013 at 3:34 PM, Jan Janssen medhe...@web.de wrote: --- src/udev/udev-rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

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