[systemd-devel] [PATCH] test-udev: include missing.h

2013-02-12 Thread Aleksander Morgado
We need MS_REC and MS_SHARED defined for a proper compilation, so get them from 'missing.h' if not defined already. --- src/test/test-udev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/test-udev.c b/src/test/test-udev.c index 7cb93ed..aee87f7 100644 --- a/src/test/test-udev.c +++

Re: [systemd-devel] network/openvswitch dependency loop/deadlock

2013-02-12 Thread Thomas Graf
On 02/13/2013 04:06 AM, Lennart Poettering wrote: Well, there still is a dep loop, that is unfixed, right? I mean, you want your service to run as part of bringing up some networks, but also after the network is up. So what do you want now? Start it after or at the same time, that's contradictin

[systemd-devel] [PATCH] ratelimit: fix off-by-one

2013-02-12 Thread Michael Olbrich
The current code might make sense during startup for service restart limiting: With burst=1 after starting num is 1, so the next ('first') restart is still accepted ( 1 <= 1). However, once interval has expired, num is 1 after the first restart, so the second restart is also accepted. This change

Re: [systemd-devel] Shedding some legacy naming: syslog "priority"

2013-02-12 Thread David Strauss
On Tue, Feb 12, 2013 at 7:20 PM, Lennart Poettering wrote: > I kinda prefer "level" here, since that's it's more precise I think than > verbosity. It does not imply what is high and what is low though, but > that's already definitely better than with "priority" where things tend > to be inversed o

Re: [systemd-devel] Journal over NFS

2013-02-12 Thread David Strauss
On Tue, Feb 12, 2013 at 8:08 PM, Lennart Poettering wrote: > Hmm, so we actually explicitly want to be nice on NFS. This is supposed > to be one supported transport for the journal. The current code will > even automatically notice if NFS is used suggest not relying on inotify > in those cases. Se

Re: [systemd-devel] Someone working on gui for multiseat?

2013-02-12 Thread poma
On 02/13/13 00:10, Lennart Poettering wrote: > On Tue, 12.02.13 15:50, poma ([email protected]) wrote: > >> >> On 02/11/13 21:30, Lennart Poettering wrote: >> […] >>> Of course, doing this via the command line is not user-frienldy, but >>> maybe this will one day get fixed and somebody wr

Re: [systemd-devel] readahead-replay seems to not be doing anything.

2013-02-12 Thread Kok, Auke-jan H
On Tue, Feb 12, 2013 at 6:29 PM, Lennart Poettering wrote: > On Mon, 11.02.13 12:34, Gary van der Merwe ([email protected]) wrote: >> This is my first post to this list, so I just want to say I thank you >> too all those >> who wrote systemd. >> >> systemd-readahead-replay does not seem to be doin

Re: [systemd-devel] python - reading the journal

2013-02-12 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 13, 2013 at 04:37:34AM +0100, Lennart Poettering wrote: > On Mon, 04.02.13 18:30, Steven Hiscocks ([email protected]) wrote: > > > So if I understand correctly, a _BOOT_ID match must be in place for > > sd_journal_seek_monotonic_usec to function correctly? > > No really, i

Re: [systemd-devel] [PATCH] ignore comments in multiline variable definitions

2013-02-12 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Feb 13, 2013 at 04:27:49AM +0100, Lennart Poettering wrote: > On Thu, 07.02.13 11:45, Michal Vyskocil ([email protected]) wrote: > > > Commented lines are ignored by default and are considered as end of a > > definition. If they ends on a backslash, they are just ignored and a > > next lin

Re: [systemd-devel] Journal over NFS

2013-02-12 Thread Lennart Poettering
On Thu, 24.01.13 17:56, David Strauss ([email protected]) wrote: > > I think mounting the journal directory over NFS is a bad idea. It's > most of why we've worked on journal2gelf at Pantheon and supported the > gateway HTTP-based access work. Hmm, so we actually explicitly want to be nice

Re: [systemd-devel] [PATCH] bootchart: Fix typos and some English

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 19:08, William Giokas ([email protected]) wrote: > bootchart.conf: direct users to `bootchart.conf(5)`, not a nonexistent > man page. Applied. Thanks! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list syste

Re: [systemd-devel] dependencies between instances

2013-02-12 Thread Lennart Poettering
On Mon, 28.01.13 07:39, Łukasz Stelmach ([email protected]) wrote: > Dear All, > > I was trying to investigate this problem by my own eyeballs. After few > hours I am almost sure (I'd be glad to hear it from someone of greater > knowledge of systemd than me (which isn't that hard)) there is

Re: [systemd-devel] [PATCH] util: *DO NOT* loop for EINTR handling with close_nointr()

2013-02-12 Thread Lennart Poettering
On Fri, 25.01.13 12:27, Colin Walters ([email protected]) wrote: > Lightly tested in gnome-ostree qemu - review carefully please! Looks good! Applied! Sorry for the delay in reviewing! > See the linked references for why we should not do this. This is very interesting actually, thanks for tra

Re: [systemd-devel] journal use case -- advice requested

2013-02-12 Thread Lennart Poettering
On Thu, 31.01.13 22:51, David Strauss ([email protected]) wrote: > We're using a wrapper for sd_journal_print() that adds a few extra > items before the message: the thread ID and the build ID. This is okay > for now, but I'd really like to get advice on how to inject those as > proper fields

Re: [systemd-devel] Bad handling of "/" in instance names?

2013-02-12 Thread Lennart Poettering
On Thu, 31.01.13 20:37, Lars Kellogg-Stedman ([email protected]) wrote: > I have a templated service for which each instance needs to receive > arguments of the form "foo/bar". This works fine when starting the > service: > > # systemctl start myservice@foo/bar.service "systemctl start will act

[systemd-devel] [v2] udev: Expose new ISO9660 props from libblkid

2013-02-12 Thread Zeeshan Ali (Khattak)
From: "Zeeshan Ali (Khattak)" This version 2 removes the bogus 'FS_' prefix from blkid property names. --- src/udev/udev-builtin-blkid.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/udev/udev-builtin-blkid.c b/src/udev/udev-builtin-blkid.c index 56a05f5.

Re: [systemd-devel] python - reading the journal

2013-02-12 Thread Lennart Poettering
On Mon, 04.02.13 18:30, Steven Hiscocks ([email protected]) wrote: > So if I understand correctly, a _BOOT_ID match must be in place for > sd_journal_seek_monotonic_usec to function correctly? No really, it should suffice to just pass the valid boot id to _seek_monotonic(). Are you sa

Re: [systemd-devel] python - reading the journal

2013-02-12 Thread Lennart Poettering
On Sun, 03.02.13 21:18, Steven Hiscocks ([email protected]) wrote: > Hi, > > I've been developing a python module for accessing the journal, > using the journal API. (https://github.com/kwirk/pyjournalctl) > > One issue I've had is with 'sd_journal_seek_monotonic_usec'. When > called

Re: [systemd-devel] [PATCH] ignore comments in multiline variable definitions

2013-02-12 Thread Lennart Poettering
On Thu, 07.02.13 11:45, Michal Vyskocil ([email protected]) wrote: > Commented lines are ignored by default and are considered as end of a > definition. If they ends on a backslash, they are just ignored and a > next line is considered as a part of a definition. I am pretty sure that continuation

Re: [systemd-devel] Shedding some legacy naming: syslog "priority"

2013-02-12 Thread Lennart Poettering
On Tue, 05.02.13 16:57, David Strauss ([email protected]) wrote: > > On Tue, Feb 5, 2013 at 2:13 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > Why? Higher level, lower level, the term "level" is _very_ strongly tied > > to (vertical) ordering. Also, height-related methaphors are one of the >

Re: [systemd-devel] [PATCH] Add test coverage and generate report with lcov

2013-02-12 Thread Lennart Poettering
On Tue, 05.02.13 23:56, Thomas H.P. Andersen ([email protected]) wrote: > Adds test coverage and generates html reports. Configure with > --enable-coverage and run make lcov. > > make lcov-upload exists but it currently just rsyncs the report to > ~/coverage. Perhaps we can set up a host for it an

Re: [systemd-devel] [PATCH] units: Make [email protected] install rule generic.

2013-02-12 Thread Lennart Poettering
On Wed, 06.02.13 09:47, Colin Guthrie ([email protected]) wrote: > The [email protected] used to specifically enable a [email protected] > under getty.target when enabled. > > Modern versions of systemd allow commands such as: > systemctl enable [email protected] > which automatically create the c

Re: [systemd-devel] network/openvswitch dependency loop/deadlock

2013-02-12 Thread Lennart Poettering
On Wed, 06.02.13 16:27, Ian Pilcher ([email protected]) wrote: > * Removing network.target from the Before=... line in > openvswitch.service is not an option. See comment #1 of that bug. So, you need to figure out what you want here... You cannot have a service A both start after B and star

Re: [systemd-devel] network/openvswitch dependency loop/deadlock

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 14:07, Thomas Graf ([email protected]) wrote: > > On 02/07/2013 04:55 PM, Ian Pilcher wrote: > >On 02/07/2013 06:13 AM, Colin Guthrie wrote: > >>Also re the initscripts tweaks and the if statement proposed in the bug, > >>there is a SYSTEMCTL_IGNORE_DEPENDENCIES=1 env var you can

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-12 Thread Lennart Poettering
On Wed, 13.02.13 05:42, Adam Nielsen ([email protected]) wrote: > > >Use hostnamectl, assuming your systemd version is new enough: > > > >http://www.freedesktop.org/software/systemd/man/hostnamectl.html > > Thanks for the suggestion, but unfortunately this doesn't seem to work: > > $ hostna

Re: [systemd-devel] [PATCH] udev: Expose new ISO9660 props from libblkid

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 00:23, Zeeshan Ali (Khattak) ([email protected]) wrote: > Expose system, application, publisher and boot system IDs. Looks good to me. Will merge as soon as Karel applied his side to blkid. > > This patch uses (though not requires) my pending patches to > libblkid: > > http:

Re: [systemd-devel] Timer units fail when conditions fail

2013-02-12 Thread Lennart Poettering
On Mon, 11.02.13 15:20, Thomas Bächler ([email protected]) wrote: > Consider the following timer unit: > > [Unit] > Description=test timer > > [Timer] > OnCalendar=*-*-* *:*:00/10 > > Combine this with the following service: > > [Unit] > Description=test timer test unit > ConditionACPower=t

Re: [systemd-devel] systemd-fsck change fsck arguments to "-a" -> "-y"

2013-02-12 Thread Lennart Poettering
On Mon, 11.02.13 09:46, Karel Zak ([email protected]) wrote: > > On Fri, Feb 08, 2013 at 12:38:55AM +0100, Lennart Poettering wrote: > > > diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c > > > index 058f34d..b1938c7 100644 > > > --- a/src/fsck/fsck.c > > > +++ b/src/fsck/fsck.c > > > @@ -321,9 +321,

Re: [systemd-devel] readahead-replay seems to not be doing anything.

2013-02-12 Thread Lennart Poettering
On Mon, 11.02.13 12:34, Gary van der Merwe ([email protected]) wrote: > Hi all. > > This is my first post to this list, so I just want to say I thank you > too all those > who wrote systemd. > > systemd-readahead-replay does not seem to be doing what it should. > > Bootchart with readahead-[rep

Re: [systemd-devel] troubleshooting different behaviour of systemd between f16 and f18

2013-02-12 Thread Lennart Poettering
On Mon, 11.02.13 13:37, Thierry Parmentelat ([email protected]) wrote: > Hi > Feel free to redirect me to some other place if needed :) > > So, we have a BootCD that is intended for remotely managed machines > In a nutshell, we need to redefine the whole init sequence, and what we had

Re: [systemd-devel] [PATCH 6/6] Add SHA1 hash sum to coredump report

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 01:14, Oleksii Shevchuk ([email protected]) wrote: > static int submit_process_core(struct iovec iovec[15], int idx, > const char * comm, > const int journal) > @@ -61,6 +72,10 @@ static int submit_process_core(struct

Re: [systemd-devel] [PATCH 5/6] Add hexstr function

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 10:22, Oleksii Shevchuk ([email protected]) wrote: > Function convers byte array to hex string > --- > src/shared/util.c | 23 +++ > src/shared/util.h | 1 + > 2 files changed, 24 insertions(+) > > diff --git a/src/shared/util.c b/src/shared/util.c > index 24

Re: [systemd-devel] [PATCH 3/6] Optionally save core dumps as plain files

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 01:14, Oleksii Shevchuk ([email protected]) wrote: > Save core dumps to /var/log/journal/MACHINE-ID/coredump/COMM.CORE-ID. > If no access rights or directory not present, save core to journal. Hmm, if we do this, then I'd suggest not to place this in the journal directory. This sh

[systemd-devel] [PATCH] bootchart: Fix typos and some English

2013-02-12 Thread William Giokas
bootchart.conf: direct users to `bootchart.conf(5)`, not a nonexistent man page. svg.c: Fix some English in the svg comment header. * Chrome/Chromium => Chrome, Chromium * firefox => Firefox * much more slow => more slowly Signed-off-by: William Giokas <[email protected]> --- src/bootchart

Re: [systemd-devel] [PATCH 1/6] Set StopWhenUnneeded=no, if unit started manually

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 01:14, Oleksii Shevchuk ([email protected]) wrote: heya! Sorry for the delay in reviewing. Hmm, I agree such a change might make sense, but thinking about it I came to the conclusion it should work differently... But first: unit_start() will be called for both manual starts and

Re: [systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

2013-02-12 Thread Reindl Harald
Am 13.02.2013 01:21, schrieb Lennart Poettering: > On Mon, 11.02.13 16:34, Auke Kok ([email protected]) wrote: > >> Contrary to it's own packaging guidelines, these symlinks are created >> in /etc/. While technically not a problem, this makes it harder >> for folks installing from git tha

Re: [systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 16:25, Kok, Auke-jan H ([email protected]) wrote: > > On Tue, Feb 12, 2013 at 4:21 PM, Lennart Poettering > wrote: > > On Mon, 11.02.13 16:34, Auke Kok ([email protected]) wrote: > > > >> Contrary to it's own packaging guidelines, these symlinks are created > >> in

Re: [systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

2013-02-12 Thread Kok, Auke-jan H
On Tue, Feb 12, 2013 at 4:21 PM, Lennart Poettering wrote: > On Mon, 11.02.13 16:34, Auke Kok ([email protected]) wrote: > >> Contrary to it's own packaging guidelines, these symlinks are created >> in /etc/. While technically not a problem, this makes it harder >> for folks installing from

Re: [systemd-devel] strv tests

2013-02-12 Thread Lennart Poettering
On Mon, 11.02.13 22:39, Daniel Buch ([email protected]) wrote: > And now with patch files. Looks pretty OK. But two points: Could you please use assert_se() rather than assert() for these tests? They both have pretty much the same function but the latter becomes a NOP if -DNDEBUG is defi

Re: [systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

2013-02-12 Thread Lennart Poettering
On Mon, 11.02.13 16:34, Auke Kok ([email protected]) wrote: > Contrary to it's own packaging guidelines, these symlinks are created > in /etc/. While technically not a problem, this makes it harder > for folks installing from git that want to override these settings > (either masking or oth

Re: [systemd-devel] Idea about improving boot-up status report

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 12:38, cee1 ([email protected]) wrote: > Hi all, > > Systemd will report "Starting/Started ..." of units when boot-up, but > it doesn't tell users what's happening when the boot-up process > blocks(e.g. waiting for timeout, my personal story was swap partition > changed but forg

Re: [systemd-devel] How to debug crash of systemd

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 13:43, cee1 ([email protected]) wrote: > Hi all, > > systemd will call crash() if received fatal signals. It will produce a > core dump for analysis. > However, it seems signal handler has a separated stack, so can't back > trace the place where exactly the fatal signal triggered

Re: [systemd-devel] [PATCH] journal: Don't use loginuid if it's not valid

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 14:15, Colin Walters ([email protected]) wrote: > Code above this attempted to load loginuid, if this failed for > whatever reason, we'd still end up using that value (0) in place of > realuid. Fix this by setting a bool when we know the loginuid is > valid. > > This fixes jour

Re: [systemd-devel] [PATCH 3/3] introduce strcaseeq/strncaseeq

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 21:47, Thomas Hindoe Paaboel Andersen ([email protected]) wrote: I commited the other two (after dropping the S-o-b). > > Signed-off-by: Thomas Hindoe Paaboel Andersen > --- > src/shared/calendarspec.c | 8 > src/shared/util.c | 4 ++-- > src/shared/util.h

Re: [systemd-devel] [PATCH 1/3] use streq instead of strcmp

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 21:47, Thomas Hindoe Paaboel Andersen ([email protected]) wrote: > Signed-off-by: Thomas Hindoe Paaboel Andersen Looks good. Doesn't apply anymore. Please rebase and commit this one, but please drop the "Signed-off-by", we are not pretending to be the kernel... Lennart > --- >

Re: [systemd-devel] [PATCH 2/6] Pass environment over daemon-reexec

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 01:14, Oleksii Shevchuk ([email protected]) wrote: > Fixes this bug: > alxchk > systemctl --user set-environment A=B > alxchk > systemctl --user show-environment | grep ^A= > A=B > alxchk > systemctl --user daemon-reexec > alxchk > systemctl --user show-environment | grep ^A= > alx

Re: [systemd-devel] Someone working on gui for multiseat?

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 15:50, poma ([email protected]) wrote: > > On 02/11/13 21:30, Lennart Poettering wrote: > […] > > Of course, doing this via the command line is not user-frienldy, but > > maybe this will one day get fixed and somebody writes a proper UI for > > it... > > > > Regarding

Re: [systemd-devel] [PATCH] missing: define MS_REC and MS_SHARED if not defined already

2013-02-12 Thread Lennart Poettering
On Tue, 12.02.13 14:26, Aleksander Morgado ([email protected]) wrote: Applied. Thanks! > --- > src/shared/missing.h | 8 > 1 file changed, 8 insertions(+) > > diff --git a/src/shared/missing.h b/src/shared/missing.h > index c53579f..d4ba0d3 100644 > --- a/src/shared/missing.h > +++

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-12 Thread Jóhann B. Guðmundsson
On 02/12/2013 07:42 PM, Adam Nielsen wrote: Use hostnamectl, assuming your systemd version is new enough: http://www.freedesktop.org/software/systemd/man/hostnamectl.html Thanks for the suggestion, but unfortunately this doesn't seem to work: $ hostnamectl set-hostname korath.my.domain.com $

Re: [systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

2013-02-12 Thread Kok, Auke-jan H
On Tue, Feb 12, 2013 at 1:12 PM, Colin Guthrie wrote: > 'Twas brillig, and Umut Tezduyar at 12/02/13 12:00 did gyre and gimble: >> If I am not mistaken, moving "[email protected]" and "remote-fs.target" >> to $systemunitdir will cause them to be shown as "disabled" on >> "systemctl status .unit"

Re: [systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

2013-02-12 Thread Colin Guthrie
'Twas brillig, and Umut Tezduyar at 12/02/13 12:00 did gyre and gimble: > If I am not mistaken, moving "[email protected]" and "remote-fs.target" > to $systemunitdir will cause them to be shown as "disabled" on > "systemctl status .unit" even though they are enabled. These unit files > have "[Inst

[systemd-devel] [PATCH 3/3] introduce strcaseeq/strncaseeq

2013-02-12 Thread Thomas Hindoe Paaboel Andersen
Signed-off-by: Thomas Hindoe Paaboel Andersen --- src/shared/calendarspec.c | 8 src/shared/util.c | 4 ++-- src/shared/util.h | 2 ++ src/udev/scsi_id/scsi_id.c | 6 +++--- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/shared/calendarspec.c b/sr

[systemd-devel] [PATCH 2/3] use strneq instead of strncmp

2013-02-12 Thread Thomas Hindoe Paaboel Andersen
Signed-off-by: Thomas Hindoe Paaboel Andersen --- src/core/load-fragment.c| 8 src/delta/delta.c | 12 ++-- src/libudev/libudev-enumerate.c | 2 +- src/locale/localed.c| 2 +- src/login/logind-inhibit.c | 14 +++--- src/login/sd-

[systemd-devel] [PATCH 1/3] use streq instead of strcmp

2013-02-12 Thread Thomas Hindoe Paaboel Andersen
Signed-off-by: Thomas Hindoe Paaboel Andersen --- src/boot/boot-loader.c | 2 +- src/journal/test-journal-syslog.c | 4 ++-- src/libudev/libudev-monitor.c | 8 src/libudev/libudev-queue.c| 2 +- src/libudev/libudev-util.c | 4 ++

Re: [systemd-devel] How do you set the machine's domain name with systemd?

2013-02-12 Thread Adam Nielsen
Use hostnamectl, assuming your systemd version is new enough: http://www.freedesktop.org/software/systemd/man/hostnamectl.html Thanks for the suggestion, but unfortunately this doesn't seem to work: $ hostnamectl set-hostname korath.my.domain.com $ cat /etc/hostname korathmydomaincom $ pacma

[systemd-devel] [PATCH] journal: Don't use loginuid if it's not valid

2013-02-12 Thread Colin Walters
Code above this attempted to load loginuid, if this failed for whatever reason, we'd still end up using that value (0) in place of realuid. Fix this by setting a bool when we know the loginuid is valid. This fixes journal messages showing up in per-user journals in gnome-ostree (not configured wi

Re: [systemd-devel] Systemd fails to give shell prompt on Linux 2.6.37

2013-02-12 Thread embedded linux
Thanks Kay for the valuable information. I really appreciate it. Thanks again. On Tue, Feb 12, 2013 at 8:08 PM, Kay Sievers wrote: > On Tue, Feb 12, 2013 at 3:19 PM, embedded linux > wrote: > > Any suggestions would be of great help for me. > > Sorry, none of us uses these old kernel and system

Re: [systemd-devel] multiseat working with udl.ko - Fedora 18

2013-02-12 Thread poma
On 01/19/13 04:24, poma wrote: […] > *Fedora 17* > … > Building modules, stage 2. > MODPOST 1 modules > WARNING: "vesa_modes" [/tmp/linux-3.7.3/drivers/video/udlfb.ko] undefined! > … > modprobe -v udlfb > insmod /lib/modules/3.7.3-201.fc18.x86_64/kernel/drivers/video/udlfb.ko > ERROR: could not

Re: [systemd-devel] [PATCH] udev: don't create symlink or rename if it already exists

2013-02-12 Thread Kay Sievers
On Tue, Feb 12, 2013 at 3:12 PM, Robert Milasan wrote: > On Tue, 12 Feb 2013 15:09:18 +0100 "Kay Sievers" wrote: >> My wish? Will you update the patch, or should I do it? :) > Sorry, was referring to patch, it looks good to me, but I'm not really > a developer, so it's up to you to change it. L

Re: [systemd-devel] Someone working on gui for multiseat?

2013-02-12 Thread poma
On 02/11/13 21:30, Lennart Poettering wrote: […] > Of course, doing this via the command line is not user-frienldy, but > maybe this will one day get fixed and somebody writes a proper UI for > it... > Regarding 'loginctl attach seat0 ', the only thing really missing is the 'sys' path completion,

Re: [systemd-devel] Systemd fails to give shell prompt on Linux 2.6.37

2013-02-12 Thread Kay Sievers
On Tue, Feb 12, 2013 at 3:19 PM, embedded linux wrote: > Any suggestions would be of great help for me. Sorry, none of us uses these old kernel and systemd versions anymore. This mailing list is mostly used by people who develop the new stuff. It might just be that there is no response, not so m

Re: [systemd-devel] Systemd fails to give shell prompt on Linux 2.6.37

2013-02-12 Thread embedded linux
Any suggestions would be of great help for me. Thanks On Tue, Feb 12, 2013 at 5:47 PM, embedded linux < [email protected]> wrote: > Hi Reindl, > Thanks a lot for the response. > The latest Ti supported package is Linux 2.6.37 and if I have to upgrade > to 2.6.39 then I may have to ma

Re: [systemd-devel] [PATCH] udev: don't create symlink or rename if it already exists

2013-02-12 Thread Robert Milasan
On Tue, 12 Feb 2013 15:09:18 +0100 "Kay Sievers" wrote: > On Tue, Feb 12, 2013 at 3:07 PM, Robert Milasan > wrote: > > On Tue, 12 Feb 2013 14:57:28 +0100 > > "Kay Sievers" wrote: > > > >> Btw, you should use a different mailer for sending patches, or > >> attach them; this seems all mangled and

Re: [systemd-devel] [PATCH] udev: don't create symlink or rename if it already exists

2013-02-12 Thread Kay Sievers
On Tue, Feb 12, 2013 at 3:07 PM, Robert Milasan wrote: > On Tue, 12 Feb 2013 14:57:28 +0100 > "Kay Sievers" wrote: > >> Btw, you should use a different mailer for sending patches, or attach >> them; this seems all mangled and would not apply. > > OK, as you wish and yes I noticed only after I sen

Re: [systemd-devel] [PATCH] udev: don't create symlink or rename if it already exists

2013-02-12 Thread Robert Milasan
On Tue, 12 Feb 2013 14:57:28 +0100 "Kay Sievers" wrote: > > Btw, you should use a different mailer for sending patches, or attach > them; this seems all mangled and would not apply. > > Kay > OK, as you wish and yes I noticed only after I sent the patch :) -- Robert Milasan L3 Support Engi

Re: [systemd-devel] [PATCH] udev: don't create symlink or rename if it already exists

2013-02-12 Thread Kay Sievers
On Tue, Feb 12, 2013 at 2:18 PM, Robert Milasan wrote: > Under some circumstances udev mixed with multipath fails: > > udevd-work[1376]: > symlink(../../sdk, > /dev/disk/by-id/scsi-36005076305ffc0672842.udev-tmp) > failed: File exists udevd-work[1432]: > rename(/dev/disk/by-id/scsi-36

Re: [systemd-devel] bootchart: tabs to spaces?

2013-02-12 Thread Oleksii Shevchuk
> (Yeah, like hitting space 8 times instead of using tab in > most editors without "smart" identation.) notepad ? ___ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] bootchart: tabs to spaces?

2013-02-12 Thread Kay Sievers
On Tue, Feb 12, 2013 at 1:28 PM, Jan Engelhardt wrote: > > On Tuesday 2013-02-12 12:52, Kay Sievers wrote: >> >>But hey, I just don't want any tabs anymore, and don't care about >>undefined tab with as a feature. So all is totally fine with spaces >>only in systemd. We have more important stuff to

[systemd-devel] [PATCH] missing: define MS_REC and MS_SHARED if not defined already

2013-02-12 Thread Aleksander Morgado
--- src/shared/missing.h | 8 1 file changed, 8 insertions(+) diff --git a/src/shared/missing.h b/src/shared/missing.h index c53579f..d4ba0d3 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -196,6 +196,14 @@ static inline pid_t gettid(void) { #define MS_STRICTATIME (1<<2

[systemd-devel] [PATCH] udev: don't create symlink or rename if it already exists

2013-02-12 Thread Robert Milasan
Under some circumstances udev mixed with multipath fails: udevd-work[1376]: symlink(../../sdk, /dev/disk/by-id/scsi-36005076305ffc0672842.udev-tmp) failed: File exists udevd-work[1432]: rename(/dev/disk/by-id/scsi-36005076305ffc0850a88.udev-tmp, /dev/disk/by-id/scsi-36005

Re: [systemd-devel] network/openvswitch dependency loop/deadlock

2013-02-12 Thread Thomas Graf
On 02/07/2013 04:55 PM, Ian Pilcher wrote: On 02/07/2013 06:13 AM, Colin Guthrie wrote: Also re the initscripts tweaks and the if statement proposed in the bug, there is a SYSTEMCTL_IGNORE_DEPENDENCIES=1 env var you can export that will make "service openvswitch start" pass the --ignore-dependen

Re: [systemd-devel] bootchart: tabs to spaces?

2013-02-12 Thread Reindl Harald
Am 12.02.2013 13:28, schrieb Jan Engelhardt: > > On Tuesday 2013-02-12 12:52, Kay Sievers wrote: >> >> But hey, I just don't want any tabs anymore, and don't care about >> undefined tab with as a feature. So all is totally fine with spaces >> only in systemd. We have more important stuff to care

Re: [systemd-devel] bootchart: tabs to spaces?

2013-02-12 Thread Jan Engelhardt
On Tuesday 2013-02-12 12:52, Kay Sievers wrote: > >But hey, I just don't want any tabs anymore, and don't care about >undefined tab with as a feature. So all is totally fine with spaces >only in systemd. We have more important stuff to care about. :) (Yeah, like hitting space 8 times instead of u

Re: [systemd-devel] Systemd fails to give shell prompt on Linux 2.6.37

2013-02-12 Thread embedded linux
Hi Reindl, Thanks a lot for the response. The latest Ti supported package is Linux 2.6.37 and if I have to upgrade to 2.6.39 then I may have to make changes in board related files also, which I have no idea as how to do. If you can glance through, the boot logs file I have attached, it shows that s

Re: [systemd-devel] [PATCH] [RFC] Remove installation of symlinks in /etc

2013-02-12 Thread Umut Tezduyar
Hi, If I am not mistaken, moving "[email protected]" and "remote-fs.target" to $systemunitdir will cause them to be shown as "disabled" on "systemctl status .unit" even though they are enabled. These unit files have "[Install]" sections and when there is "[Install]" section on them, systemd will

Re: [systemd-devel] bootchart: tabs to spaces?

2013-02-12 Thread Kay Sievers
On Tue, Feb 12, 2013 at 9:16 AM, Jan Engelhardt wrote: > On Thursday 2013-01-10 12:35, Kay Sievers wrote: > >>On Thu, Jan 10, 2013 at 6:49 AM, Alessandro Delgado >> wrote: >>> I like tabs better. >>> >>> Though the question should answer itself looking at the involving >>> environment codebase. Co

Re: [systemd-devel] Systemd fails to give shell prompt on Linux 2.6.37

2013-02-12 Thread Reindl Harald
Am 12.02.2013 12:41, schrieb embedded linux: > I am working on bringing up Linux 2.6.37 on Ti DM8148 platform. I want use > systemd for faster boot up. I compiled > systemd37 which supports linux >=2.6.39 kernel version 2.6.37 != >= 2.6.39 signature.asc Description: OpenPGP digital signatur

Re: [systemd-devel] Someone working on gui for multiseat?

2013-02-12 Thread Stef Bon
2013/2/11 Lennart Poettering : > On Mon, 11.02.13 12:59, Stef Bon ([email protected]) wrote: > >> And since you say it's simple by just make the call, can you just >> describe what to do to make a plugable device like the UD-160-A/M turn >> into a dockingstation? > > loginctl attach seat0 > Aha

Re: [systemd-devel] RFC: Predictable Network Interface Names

2013-02-12 Thread Holger Winkelmann
Seems we need to introduce aliases available across all tools ;) What about "eth0" as label to show the heritage ??? Honestly, how are the labels exposed to userland tools? -- Holger Winkelmann Travelping GmbH +49-171-5594745 ### Sent from a mobile device. Sorry for brevity and typos... ###

[systemd-devel] [PATCH 5/6] Add hexstr function

2013-02-12 Thread Oleksii Shevchuk
Function convers byte array to hex string --- src/shared/util.c | 23 +++ src/shared/util.h | 1 + 2 files changed, 24 insertions(+) diff --git a/src/shared/util.c b/src/shared/util.c index 24f9e7e..2a5cbbb 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -1368,6 +13

Re: [systemd-devel] bootchart: tabs to spaces?

2013-02-12 Thread Jan Engelhardt
On Thursday 2013-01-10 12:35, Kay Sievers wrote: >On Thu, Jan 10, 2013 at 6:49 AM, Alessandro Delgado > wrote: >> I like tabs better. >> >> Though the question should answer itself looking at the involving >> environment codebase. Consistency is what matters. > >Tabs would make sense if we would u

Re: [systemd-devel] RFC: Predictable Network Interface Names

2013-02-12 Thread Jan Engelhardt
On Monday 2013-01-07 23:29, Lennart Poettering wrote: > >For your example the new code would pick a name of "enp0s0d0", i.e. for >pci bus 0, slot 0, and dev_id 0. Is it Solaris time yet? enp0s0d0, that's just like c0t0d0s0. And next, we'll have "/pci@0/pci@0/pci@1/pci@0/pci@2/network@0,1" as inte