[systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Oleksii Shevchuk
Latest innovation with kmod-static-nodes.service introduce next issues with 1. default distro paths 2. interacting with rest configuration So, what is the problem. kmod-static-nodes.service.in: ExecStartPre=/usr/bin/mkdir -p /run/tmpfiles.d /usr/bin/mkdir zsh: no such file or directory:

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Tom Gundersen
On 12 Jul 2013 08:28, Oleksii Shevchuk alx...@gmail.com wrote: Latest innovation with kmod-static-nodes.service introduce next issues with 1. default distro paths 2. interacting with rest configuration So, what is the problem. kmod-static-nodes.service.in: ExecStartPre=/usr/bin/mkdir -p

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

2013-07-12 Thread Umut Tezduyar
On Fri, Jul 12, 2013 at 1:08 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 10.07.13 12:30, Umut Tezduyar (u...@tezduyar.com) 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 global

Re: [systemd-devel] [PATCH] core: notify triggered by socket of a service

2013-07-12 Thread Umut Tezduyar
On Wed, Jul 10, 2013 at 2:24 PM, Umut Tezduyar u...@tezduyar.com wrote: On Wed, Jul 10, 2013 at 9:19 AM, Umut Tezduyar u...@tezduyar.com wrote: --- systemd/src/core/service.c | 31 --- systemd/src/core/socket.c | 33 -

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

2013-07-12 Thread Łukasz Stelmach
It was 2013-07-12 pią 04:48, when Kyungmin Park wrote: On Fri, Jul 12, 2013 at 7:43 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 11.07.13 13:37, Dave Reisner (d...@falconindy.com) wrote: +p = strchr(path, ':'); This is going to fail for a file:value pair such as

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

2013-07-12 Thread Łukasz Stelmach
It was 2013-07-11 czw 19:18, when Karol Lewandowski wrote: Add ability to test if given file contains specified value. File and expected value are given as one argument separated by colon (:), i.e. ConditionFileContains=/sys/module/sn/parameters/enabled:1 --- As above example suggests we

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 Lennart Poettering
On Fri, 12.07.13 11:48, Kyungmin Park (kmp...@infradead.org) wrote: It's another question. the main goal of this patch is that supports conditional execution If some services are executed with given condition, it should check some conditions and execute different flow. if [ condition is 1 ];

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

2013-07-12 Thread Lennart Poettering
On Fri, 12.07.13 10:16, Łukasz Stelmach (l.stelm...@samsung.com) wrote: It was 2013-07-11 czw 19:18, when Karol Lewandowski wrote: Add ability to test if given file contains specified value. File and expected value are given as one argument separated by colon (:), i.e.

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: On

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-12 Thread CACook
cac...@quantum-sci.com: Dave Reisner: On Thu, Jul 11, 2013 at 12:57:22PM -0700, cac...@quantum-sci.com wrote: I'd understood that if a mount is in fstab, that it should be re-established when the system wakes. But that's not happening. Meaning two sshfs mounts as so: sshfs#carl@droog:/

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

2013-07-12 Thread Shawn Landden
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. --- src/journal/journal-send.c | 2 +- src/journal/journald-native.c | 12 ++--

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

2013-07-12 Thread Shawn Landden
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. --- TODO | 2 -- src/journal/journal-send.c | 2 +-

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-12 Thread Reindl Harald
Your use of sshfs# as a FUSE type is wrong -- you must use fuse.sshfs as the fstype instead. this simply wrong, this line below in /etc/fstab works day and night from FC9 to Fedora 18 as well as curlftpsfs mounts in /etc/fstab are starting with curlftpfs# and *both* have fuse and nothing else

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-12 Thread Dave Reisner
On Fri, Jul 12, 2013 at 05:46:37PM +0200, Reindl Harald wrote: Your use of sshfs# as a FUSE type is wrong -- you must use fuse.sshfs as the fstype instead. this simply wrong, this line below in /etc/fstab works day and night from FC9 to Fedora 18 as well as curlftpsfs mounts in

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-12 Thread Reindl Harald
Am 12.07.2013 17:54, schrieb Dave Reisner: On Fri, Jul 12, 2013 at 05:46:37PM +0200, Reindl Harald wrote: Your use of sshfs# as a FUSE type is wrong -- you must use fuse.sshfs as the fstype instead. this simply wrong, this line below in /etc/fstab works day and night from FC9 to Fedora 18

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-12 Thread CACook
Reindl Harald: Your use of sshfs# as a FUSE type is wrong -- you must use fuse.sshfs as the fstype instead. this simply wrong, this line below in /etc/fstab works day and night from FC9 to Fedora 18 as well as curlftpsfs mounts in /etc/fstab are starting with curlftpfs# and *both* have fuse

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

2013-07-12 Thread Lennart Poettering
On Fri, 12.07.13 08:42, 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. They are

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] fstab Mounts Not Getting Waken Up

2013-07-12 Thread Reindl Harald
Am 12.07.2013 17:58, schrieb cac...@quantum-sci.com: Reindl Harald: Your use of sshfs# as a FUSE type is wrong -- you must use fuse.sshfs as the fstype instead. this simply wrong, this line below in /etc/fstab works day and night from FC9 to Fedora 18 as well as curlftpsfs mounts in

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-12 Thread Tomasz Torcz
On Fri, Jul 12, 2013 at 07:25:04AM -0700, cac...@quantum-sci.com wrote: Lennart Poettering: On Thu, 11.07.13 12:57, cac...@quantum-sci.com (cac...@quantum-sci.com) wrote: I'd understood that if a mount is in fstab, that it should be re-established when the system wakes. But that's not

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

2013-07-12 Thread Daniel P. Berrange
On Fri, Jul 12, 2013 at 06:00:42PM +0200, Kay Sievers wrote: 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

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-12 Thread CACook
Dave Reisner: On Fri, Jul 12, 2013 at 05:46:37PM +0200, Reindl Harald wrote: Your use of sshfs# as a FUSE type is wrong -- you must use fuse.sshfs as the fstype instead. this simply wrong, this line below in /etc/fstab works day and night from FC9 to Fedora 18 as well as curlftpsfs mounts

Re: [systemd-devel] fstab Mounts Not Getting Waken Up

2013-07-12 Thread Michael Biebl
2013/7/12 cac...@quantum-sci.com: Reindl Harald: Your use of sshfs# as a FUSE type is wrong -- you must use fuse.sshfs as the fstype instead. this simply wrong, this line below in /etc/fstab works day and night from FC9 to Fedora 18 as well as curlftpsfs mounts in /etc/fstab are

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] fstab Mounts Not Getting Waken Up

2013-07-12 Thread CACook
Tomasz Torcz: Second, the solution. The functionality you want is provide by ”automount”. When using fstab, you can use the handy shortcut of putting ”x-systemd.automount” in your fstab. Best replace your ”auto” with ”x-systemd.automount”. For details, see man systemd.mount. Thank you.

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Lennart Poettering
On Fri, 12.07.13 09:28, Oleksii Shevchuk (alx...@gmail.com) wrote: Latest innovation with kmod-static-nodes.service introduce next issues with 1. default distro paths 2. interacting with rest configuration So, what is the problem. kmod-static-nodes.service.in:

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

2013-07-12 Thread Lennart Poettering
On Tue, 09.07.13 18:09, Holger Hans Peter Freyther (hol...@freyther.de) wrote: From: Holger Hans Peter Freyther hol...@moiji-mobile.com Instruct travis-ci to build systemd and create a tarball. In case of an error travis-ci will complain on IRC. The systemd testsuite currently requires the

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jul 12, 2013 at 07:08:48PM +0200, Lennart Poettering wrote: On Fri, 12.07.13 09:28, Oleksii Shevchuk (alx...@gmail.com) wrote: Latest innovation with kmod-static-nodes.service introduce next issues with 1. default distro paths 2. interacting with rest configuration So,

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Lennart Poettering
On Fri, 12.07.13 19:57, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Fri, Jul 12, 2013 at 07:08:48PM +0200, Lennart Poettering wrote: On Fri, 12.07.13 09:28, Oleksii Shevchuk (alx...@gmail.com) wrote: Latest innovation with kmod-static-nodes.service introduce next issues

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Tom Gundersen
On Fri, Jul 12, 2013 at 7:08 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 12.07.13 09:28, Oleksii Shevchuk (alx...@gmail.com) wrote: Latest innovation with kmod-static-nodes.service introduce next issues with 1. default distro paths 2. interacting with rest configuration

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jul 12, 2013 at 08:16:51PM +0200, Lennart Poettering wrote: On Fri, 12.07.13 19:57, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Fri, Jul 12, 2013 at 07:08:48PM +0200, Lennart Poettering wrote: On Fri, 12.07.13 09:28, Oleksii Shevchuk (alx...@gmail.com) wrote:

Re: [systemd-devel] systemd config recipes for namespace-isolated webapps

2013-07-12 Thread Lennart Poettering
On Wed, 03.07.13 11:47, Martin Langhoff (martin.langh...@gmail.com) wrote: On Wed, Jul 3, 2013 at 10:49 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: - How do I tell several services to use the same cg? They can't all use the same cg, because systemd uses groups to group

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Tom Gundersen
On Fri, Jul 12, 2013 at 7:57 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: I see another problem: in a container, this unit fails with: # /usr/bin/kmod static-nodes --format=tmpfiles --output=/run/tmpfiles.d/kmod.conf Error: could not open

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Lennart Poettering
On Fri, 12.07.13 20:33, Tom Gundersen (t...@jklm.no) wrote: On Fri, Jul 12, 2013 at 8:16 PM, Lennart Poettering lenn...@poettering.net wrote: Oh, humm, does the unit file really belong in systemd? Sounds like something that should be in kmod, no? I don't have a strong opinion about

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Lennart Poettering
On Fri, 12.07.13 20:37, Tom Gundersen (t...@jklm.no) wrote: On Fri, Jul 12, 2013 at 7:57 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: I see another problem: in a container, this unit fails with: # /usr/bin/kmod static-nodes --format=tmpfiles

Re: [systemd-devel] [PATCH 3/3 (rebased)] cryptsetup: Add tcrypt support

2013-07-12 Thread Jan Janssen
On 07/12/2013 08:36 PM, Lennart Poettering wrote: On Tue, 09.07.13 21:15, Jan Janssen (medhe...@web.de) wrote: +if (*key_file) { +r = read_one_line_file(*key_file, passphrase); +if (r 0) { +log_error(Failed to read key file: %s,

Re: [systemd-devel] Dynamic locale changes with localed

2013-07-12 Thread Lennart Poettering
On Tue, 02.07.13 21:42, Tristan Van Berkom (trista...@openismus.com) wrote: Hello Mailing List. I have a quick question about the org.freedesktop.locale1 interface. I've been working on some locale bound addressbook features for Evolution Data Server, and we wanted a feature to handle

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

2013-07-12 Thread Karol Lewandowski
On 07/12/2013 03:40 PM, Kay Sievers wrote: 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

Re: [systemd-devel] kmod-static-nodes.service doesn't care about udev?

2013-07-12 Thread Tom Gundersen
On Fri, Jul 12, 2013 at 8:42 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 12.07.13 20:37, Tom Gundersen (t...@jklm.no) wrote: On Fri, Jul 12, 2013 at 7:57 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: I see another problem: in a container, this unit fails with:

Re: [systemd-devel] list-unit-files does not show generated units

2013-07-12 Thread Lennart Poettering
On Sun, 30.06.13 21:58, Andrey Borzenkov (arvidj...@gmail.com) wrote: Is it intentional? This could be quite confusing when trying to debug problems involving generated units. No, not intentional, just forgotten... Added to the TODO list now. We probably should show it along with a specific

Re: [systemd-devel] [PATCH 3/3 (rebased)] cryptsetup: Add tcrypt support

2013-07-12 Thread Lennart Poettering
On Fri, 12.07.13 20:48, Jan Janssen (medhe...@web.de) wrote: On 07/12/2013 08:36 PM, Lennart Poettering wrote: On Tue, 09.07.13 21:15, Jan Janssen (medhe...@web.de) wrote: +if (*key_file) { +r = read_one_line_file(*key_file, passphrase); +if (r 0)

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

2013-07-12 Thread Lennart Poettering
On Fri, 12.07.13 20:42, Karol Lewandowski (k.lewando...@samsung.com) wrote: 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

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

2013-07-12 Thread Holger Hans Peter Freyther
On Fri, Jul 12, 2013 at 07:51:26PM +0200, Lennart Poettering wrote: On Tue, 09.07.13 18:09, Holger Hans Peter Freyther (hol...@freyther.de) wrote: I figure a simple if (sd_booted() = 0) return EXIT_TEST_SKIP; Ah great, I had planned to search if something like

[systemd-devel] [PATCH] journalctl: have a useful --setup-keys error message when using non-persistant logging

2013-07-12 Thread Shawn Landden
Generating seed... Generating key pair... Generating sealing key... Failed to open /var/log/journal/33f46101703a10c5fc6fa4f451840101/fss.tmp.k2wDDU: No such file or directory --- src/journal/journalctl.c | 17 + 1 file changed, 17 insertions(+) diff --git