Re: [systemd-devel] [PATCH] udev/rules: Add default user access and permissions for vfio

2013-04-30 Thread Kay Sievers
On Tue, Apr 30, 2013 at 9:16 PM, Alex Williamson wrote: > The /dev/vfio/vfio device file is intended to be an unprivileged > interface. If that is common, and not subject to system policy, the kernel driver should request that right away, and better not rely on udev rules to adjust that. Like it

Re: [systemd-devel] EFI boot generator failing to detect I'm actually booting on EFI

2013-04-30 Thread Kay Sievers
On Tue, Apr 30, 2013 at 6:59 PM, Léo Gillot-Lamure wrote: > My module is built in the kernel (actually modules support is disabled > on my kernel), and the /sys/firmware/efi/ is here and properly usable > (for example efibootmgr works). You need: /sys/firmware/efi/efivars/ You have that? Not o

Re: [systemd-devel] [PATCH] test-hashmap.c: added unit-test for hashmap

2013-04-26 Thread Kay Sievers
On Fri, Apr 26, 2013 at 8:49 PM, Daniel Buch wrote: > Version 2, with leak fix. This should be good enough to be pushed. > +static void test_uint64_compare_func(void) { > +assert_se((uint64_t)trivial_compare_func("a", "a") == (uint64_t)0); > +assert_se((uint64_t)trivial_compare_fu

Re: [systemd-devel] [PATCH 1/2] test-hashmap.c first part

2013-04-26 Thread Kay Sievers
On Fri, Apr 26, 2013 at 7:46 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Apr 26, 2013 at 06:40:07PM +0200, Daniel Buch wrote: >> Hi, >> >> So this is comming along, and i want to finish this soon but i got a >> question; > Looks good. I haven't looked at the details, but if passes valgrind,

Re: [systemd-devel] [PATCH 2/2] hashmap.h: fix coding style issue

2013-04-26 Thread Kay Sievers
On Fri, Apr 26, 2013 at 7:49 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Fri, Apr 26, 2013 at 06:40:08PM +0200, Daniel Buch wrote: >> --- >> src/shared/hashmap.h | 14 +++--- >> 1 file changed, 7 insertions(+), 7 deletions(-) >> >> diff --git a/src/shared/hashmap.h b/src/shared/hashmap.h

Re: [systemd-devel] [PATCH] journal: remove build warning when SELinux is disabled

2013-04-24 Thread Kay Sievers
On Wed, Apr 24, 2013 at 10:04 PM, Greg Kroah-Hartman wrote: > From: Greg Kroah-Hartman > > A small patch to remove a build warnining when SELinux is disabled. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] [PATCH] TODO: passwd.d, group.d

2013-04-23 Thread Kay Sievers
On Tue, Apr 23, 2013 at 2:38 PM, Reindl Harald wrote: >> More of this type of comments and you will have a problem posting on >> this list. If you are unable to moderate your style yourself, I will >> do that for you, no problem > > sorry but you are hyper-sensible I just have enough of your att

Re: [systemd-devel] [PATCH] TODO: passwd.d, group.d

2013-04-23 Thread Kay Sievers
On Tue, Apr 23, 2013 at 12:26 AM, Reindl Harald wrote: > > Am 22.04.2013 23:53, schrieb Josh Triplett: >> 1) Leave only root in /etc/passwd and /etc/group > > why? > >> 2) Add passwd.d and group.d directories in /etc and under /usr, which >>accept one record per file (with name given by the fi

Re: [systemd-devel] [PATCH] TODO: passwd.d, group.d

2013-04-23 Thread Kay Sievers
On Mon, Apr 22, 2013 at 11:53 PM, Josh Triplett wrote: > 1) Leave only root in /etc/passwd and /etc/group. > 2) Add passwd.d and group.d directories in /etc and under /usr, which >accept one record per file (with name given by the filename) and >which do not include UIDs or GIDs. > 3) Whe

Re: [systemd-devel] [PATCH] man: link systemd-static-nodes.service

2013-04-23 Thread Kay Sievers
On Tue, Apr 23, 2013 at 10:06 AM, Umut Tezduyar wrote: > I have attached the rebased & updated patch. Applied. > I am working on git and I can't > run "make all update-man-list". Sorry for the trouble. I just added it to your patch. Thanks, Kay ___ s

Re: [systemd-devel] [PATCH] TODO: passwd.d, group.d

2013-04-22 Thread Kay Sievers
On Mon, Apr 22, 2013 at 9:29 PM, Josh Triplett wrote: > On Thu, Apr 18, 2013 at 12:26:15AM +0200, Kay Sievers wrote: >> On Wed, Apr 17, 2013 at 11:50 PM, Josh Triplett >> wrote: >> > --- >> > TODO |5 + >> > 1 file changed, 5 insertions(+) >

Re: [systemd-devel] [PATCH] man: link systemd-static-nodes.service

2013-04-22 Thread Kay Sievers
On Mon, Apr 22, 2013 at 6:27 PM, Tom Gundersen wrote: > On Mon, Apr 22, 2013 at 5:13 PM, Umut Tezduyar wrote: >> The way I see it is "systemd-tmpfiles-setup.service" is no different than >> "systemd-static-nodes.service" except later is restricted to /dev and runs >> before udev. > > Hm, if we wa

Re: [systemd-devel] [PATCH] man: link systemd-static-nodes.service

2013-04-22 Thread Kay Sievers
On Mon, Apr 22, 2013 at 3:16 PM, Umut Tezduyar wrote: > --- > man/systemd-tmpfiles.xml|2 ++ > units/systemd-static-nodes.service.in |1 + > units/systemd-tmpfiles-clean.service.in |2 +- > units/systemd-tmpfiles-clean.timer |2 +- > units/systemd-tmpfiles-s

Re: [systemd-devel] [PATCHv2] TODO: journal enhancements

2013-04-20 Thread Kay Sievers
On Fri, Apr 19, 2013 at 11:13 PM, Josh Triplett wrote: > --- > > Resubmitting the uncontroversial bits. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] [PATCH] systemd-logind: Fix linking by reordering libraries in LDADD

2013-04-18 Thread Kay Sievers
On Thu, Apr 18, 2013 at 8:32 PM, Josh Triplett wrote: > libsystemd-audit needs functions from libsystemd-shared, so > libsystemd-audit needs to appear first. Otherwise: > > CCLD systemd-logind > ./.libs/libsystemd-audit.a(audit.o): In function `audit_session_from_pid': > /home/josh/src/system

Re: [systemd-devel] [PATCH] TODO: add various journal enhancements

2013-04-17 Thread Kay Sievers
On Thu, Apr 18, 2013 at 12:28 AM, Josh Triplett wrote: > On Thu, Apr 18, 2013 at 12:12:38AM +0200, Kay Sievers wrote: >> On Wed, Apr 17, 2013 at 11:49 PM, Josh Triplett >> wrote: >> >> > + - Replace utmp, wtmp, btmp, and lastlog completely with journal >>

Re: [systemd-devel] [PATCH] TODO: timer unit generation

2013-04-17 Thread Kay Sievers
On Thu, Apr 18, 2013 at 12:30 AM, Josh Triplett wrote: > On Thu, Apr 18, 2013 at 12:15:22AM +0200, Kay Sievers wrote: >> On Thu, Apr 18, 2013 at 12:11 AM, Josh Triplett >> wrote: >> > On Thu, Apr 18, 2013 at 12:04:24AM +0200, Kay Sievers wrote: >> >> On

Re: [systemd-devel] [PATCH] TODO: passwd.d, group.d

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 11:50 PM, Josh Triplett wrote: > --- > TODO |5 + > 1 file changed, 5 insertions(+) > > diff --git a/TODO b/TODO > index eb482d0..6cf632a 100644 > --- a/TODO > +++ b/TODO > @@ -679,6 +679,11 @@ External: > - put bootcharts in the journal > - kernel cmdline

Re: [systemd-devel] [PATCH] TODO: timer unit generation

2013-04-17 Thread Kay Sievers
On Thu, Apr 18, 2013 at 12:11 AM, Josh Triplett wrote: > On Thu, Apr 18, 2013 at 12:04:24AM +0200, Kay Sievers wrote: >> On Wed, Apr 17, 2013 at 11:50 PM, Josh Triplett >> wrote: >> >> > + - unit generator for compatibility with crontab and cron.d >> >

Re: [systemd-devel] [PATCH] TODO: add various journal enhancements

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 11:49 PM, Josh Triplett wrote: > + - Replace utmp, wtmp, btmp, and lastlog completely with journal We should definitely add the data needed to constuct this information, if they are not already there. The tools could just use the journal directly, but there is the glibc

Re: [systemd-devel] [PATCH] TODO: timer unit generation

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 11:50 PM, Josh Triplett wrote: > + - unit generator for compatibility with crontab and cron.d We kind of decided to port the 40-60 things that use the .d/ dirs to native units right away, and leave cron as it is, and not parse its config files from systemd. If people wa

Re: [systemd-devel] [PATCH] core: Remove unnecessary typedef

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 6:08 PM, Henrik Grindal Bakken wrote: > ExecContext isn't used in this header file, and everything seems to > build just fine without this typedef. The typedef doesn't really belong > here, and at least my gcc-4.4.6 gives an error on type redefined. Weird, this type of fo

Re: [systemd-devel] [PATCH] bus: Use memalign() if aligned_alloc() isn't available

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 6:09 PM, Henrik Grindal Bakken wrote: > Kay Sievers writes: > >> On Wed, Apr 17, 2013 at 5:49 PM, Henrik Grindal Bakken >> wrote: >>> Use and _GNU_SOURCE to determine if _ISOC11_SOURCE is >>> available, and with that, aligned_allo

Re: [systemd-devel] [PATCH] buildsys: Add --disable-tests to avoid building tests

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 5:49 PM, Henrik Grindal Bakken wrote: > This patch adds --disable-tests to configure. It is based on a patch > posted by Thierry Reding in 2010. The motivation for adding it is that > some tests fail link-time when cross-compiling. Can't the tests get its own variables,

Re: [systemd-devel] [PATCH] bus: Use memalign() if aligned_alloc() isn't available

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 5:49 PM, Henrik Grindal Bakken wrote: > Use and _GNU_SOURCE to determine if _ISOC11_SOURCE is > available, and with that, aligned_alloc(). Can't you just define the missing function in missing.h to the one we use, instead of directly blowing up the code with compat stuff

Re: [systemd-devel] system shutdown: what unit is taking so long?

2013-04-17 Thread Kay Sievers
On Wed, Apr 17, 2013 at 4:55 PM, Michal Schmidt wrote: > On 04/17/2013 04:33 PM, Lennart Poettering wrote: >> >> It's so pretty in fact, that it almost makes me want to >> add sleep(30) or so to all my daemons' startup and shutdown code just to >> see it. It's like KITT, but in ASCII! > > > No, no

Re: [systemd-devel] [PATCH v3] tools: add static-nodes tool

2013-04-16 Thread Kay Sievers
On Tue, Apr 16, 2013 at 8:51 PM, Lucas De Marchi wrote: > Kay, what's your opinion regarding this command? Is this sufficient to > drop CAP_MKNOD from udev? Sounds all good to me. Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] shell-completion/bash/systemctl: add completion for properties

2013-04-16 Thread Kay Sievers
On Tue, Apr 16, 2013 at 6:00 PM, Zbigniew Jędrzejewski-Szmek wrote: >> Perhaps we can come up with a way of creating this list dynamically so >> that we're not forever indebted to keeping this list up to date. > My thoughts exactly. Would be best if we created it at compilation time. > Hm, we hav

Re: [systemd-devel] Start and stop actions of device units

2013-04-13 Thread Kay Sievers
On Sat, Apr 13, 2013 at 12:11 PM, Léo Gillot-Lamure wrote: > Hi. > Would it be possible to bind something to the start and stop actions of > a device unit ? > I've got a device (a hard drive) that I can programmatically plug/unplug > using commands such as "echo '0 0 0' > /sys/class/scsi_host/host

Re: [systemd-devel] [PATCH] Add support for initial state of NumLock

2013-04-12 Thread Kay Sievers
On Sat, Apr 13, 2013 at 12:36 AM, Cristian Rodríguez wrote: > El 12/04/13 13:53, Stanislav Brabec escribió: >> >> Add support for setting of initial state of NumLock. Supported values >> >> are "yes", "no" and "bios" (on x86 platforms). >> >> It sets NumLock in virtual consoles. If NumLock should

Re: [systemd-devel] PATCH - add ARM based Chromebook lid switch

2013-04-12 Thread Kay Sievers
On Fri, Apr 12, 2013 at 10:58 PM, Cristian Rodríguez >> +SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="gpio-keys.8", >> TAG+="power-switch" >> >> LABEL="power_switch_end" > > Hrmm.. I think we need a vendor/device check here too.. otherwise it will > trigger on other unrelated machines.. Yea

Re: [systemd-devel] Systemd and cgroups

2013-04-11 Thread Kay Sievers
On Thu, Apr 11, 2013 at 12:46 PM, Kevin Wilson wrote: > Hello, > This is a default fedore 18 machine with default kernel. Kernel came > with the F18 disto, no changes. No special things like LXC/OpenVZ. So > I guess no 3rd party mount any cgroup. > >>then systemd itself will mount all the resource

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Kay Sievers
On Thu, Apr 11, 2013 at 1:46 PM, Colin Guthrie wrote: > Should we then consider trying to push a new default name scheme into > the kernel side such that they come up as "eth-ng0" etc. by default > allowing any userspace stuff to rename them to "eth1" or whatever > without so much likelihood of s

Re: [systemd-devel] 70-persistent-net.rules

2013-04-11 Thread Kay Sievers
On Thu, Apr 11, 2013 at 12:41 PM, Colin Guthrie wrote: > 'Twas brillig, and Andrey Borzenkov at 11/04/13 10:25 did gyre and gimble: >> On Thu, Apr 11, 2013 at 2:50 AM, Reindl Harald >> wrote: >>> /usr/share/doc/systemd/README.Fedora-18 >>> >>> - A hacky workaround that allows udev to rename netw

Re: [systemd-devel] [PATCH] [RFC] Add DropIn paths to status message

2013-04-05 Thread Kay Sievers
On Fri, Apr 5, 2013 at 7:58 PM, Oleksii Shevchuk wrote: >> dctl status null.target > null.target - NYAN >Loaded: loaded (/home/alxchk/.config/systemd/user/null.target; disabled) > Drop-In: /home/alxchk/.config/systemd/user/null.target.d >└─ descr.conf, install-1.conf, install.con

Re: [systemd-devel] [PATCH] [RFC][PLEASE TEST] readahead: chunk on spinning media

2013-03-27 Thread Kay Sievers
On Sun, Mar 24, 2013 at 3:38 AM, Kok, Auke-jan H wrote: >>> I don't see anything in udev code setting IOPRIO... perhaps elevating >>> the few calls doing bklid and mount might be helpful? >> >> Maybe that really makes a difference, we should definitely try that. >> The blkid calls are really limi

Re: [systemd-devel] src/login/uaccess.c: Dead code?

2013-03-26 Thread Kay Sievers
On Tue, Mar 26, 2013 at 11:51 AM, Martin Pitt wrote: > I just noticed that src/login/uaccess.c seems to be dead code, not > being referenced anywhere in the build system. It looks like it was > forgotten to clean up when moving that functionality to > src/udev/udev-builtin-uaccess.c? > > OK to pus

Re: [systemd-devel] [PATCH] build-sys: configurable debug shell tty path

2013-03-25 Thread Kay Sievers
On Sat, Mar 23, 2013 at 3:00 AM, Lennart Poettering wrote: > On Thu, 14.03.13 14:58, Umut Tezduyar (u...@tezduyar.com) wrote: > > Hmm, do we really want this configurable? I mean, it's a debug shell, > not more... > > Generally we have been very conservative with making too many things > configura

Re: [systemd-devel] [PATCH] support statically configured acls

2013-03-24 Thread Kay Sievers
On Sat, Mar 23, 2013 at 1:57 PM, Kay Sievers wrote: > On Sat, Mar 23, 2013 at 12:16 AM, Lennart Poettering > wrote: >> On Tue, 19.03.13 17:36, Ludwig Nussel (ludwig.nus...@suse.de) wrote: >> >>> useful to get ACLs on files, sockets etc not known to udev >> >

Re: [systemd-devel] [PATCH] [RFC][PLEASE TEST] readahead: chunk on spinning media

2013-03-23 Thread Kay Sievers
On Sun, Mar 24, 2013 at 12:02 AM, Kok, Auke-jan H wrote: > On Sat, Mar 23, 2013 at 3:54 PM, Kay Sievers wrote: >> On Sat, Mar 23, 2013 at 11:47 PM, Lennart Poettering >> wrote: >>> On Sat, 23.03.13 23:42, Tom Gundersen (t...@jklm.no) wrote: >>> >>>>

Re: [systemd-devel] [PATCH] [RFC][PLEASE TEST] readahead: chunk on spinning media

2013-03-23 Thread Kay Sievers
On Sat, Mar 23, 2013 at 11:47 PM, Lennart Poettering wrote: > On Sat, 23.03.13 23:42, Tom Gundersen (t...@jklm.no) wrote: > >> >> On Sat, Mar 23, 2013 at 2:16 AM, Lennart Poettering >> wrote: >> > Then, I generally believe better than trying to be smart when reading >> > things we should much rat

Re: [systemd-devel] [PATCH] support statically configured acls

2013-03-23 Thread Kay Sievers
On Sat, Mar 23, 2013 at 12:16 AM, Lennart Poettering wrote: > On Tue, 19.03.13 17:36, Ludwig Nussel (ludwig.nus...@suse.de) wrote: > >> useful to get ACLs on files, sockets etc not known to udev > > Can't say I like this one. Sounds like an awful lot of code to me to > support evil closed source d

Re: [systemd-devel] PATCH: ensure systemd-udev is started before local-fs-pre.target

2013-03-23 Thread Kay Sievers
On Fri, Mar 22, 2013 at 11:44 PM, Lennart Poettering wrote: > On Thu, 21.03.13 17:32, Frederic Crozat (fcro...@suse.com) wrote: >> on https://bugzilla.novell.com/show_bug.cgi?id=809820 we noted loopback >> mountpoint could failed if systemd was trying to mount them before >> systemd-udevd was sta

Re: [systemd-devel] [PATCH] fstab-generator: handle mount units with "x-rootfs.mount"

2013-03-23 Thread Kay Sievers
On Sat, Mar 23, 2013 at 5:49 AM, Harald Hoyer wrote: > Am 23.03.2013 03:05, schrieb Lennart Poettering: >> On Thu, 14.03.13 13:15, har...@redhat.com (har...@redhat.com) wrote: >> >>> From: Harald Hoyer >>> >>> Mount units with "x-rootfs.mount" are now ordered before root-fs.target. >>> As we some

Re: [systemd-devel] [HEADSUP] libsystemd-bus + kdbus plans

2013-03-21 Thread Kay Sievers
On Thu, Mar 21, 2013 at 6:49 AM, Maksim Melnikau wrote: > On Thu, Mar 21, 2013 at 2:12 AM, Lennart Poettering > wrote: >> >> We >> also keep the app and OS containers in mind, right from the beginning, >> i.e. that we can easily apply extra app policy on a bus for specific >> processes and that w

Re: [systemd-devel] [PATCH] Add BUILD_ID to os-release

2013-03-21 Thread Kay Sievers
On Wed, Mar 20, 2013 at 10:54 PM, William Douglas wrote: > BUILD_ID is a generic field that can uniquely identify all a > distributions default packages in a release or image build > when VERSION is used as broader identifier. > > Signed-off-by: William Douglas > --- > man/os-release.xml | 11 ++

Re: [systemd-devel] [PATCH 1/3] build-sys: fix typo in human-readable output

2013-03-20 Thread Kay Sievers
On Wed, Mar 20, 2013 at 3:23 PM, Jan Engelhardt wrote: > --- > configure.ac |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org

Re: [systemd-devel] [PATCH 3/3] build: avoid potential misaligned accesses

2013-03-20 Thread Kay Sievers
On Wed, Mar 20, 2013 at 3:23 PM, Jan Engelhardt wrote: > clang reports: > > src/libudev/libudev-util.c:665:35: warning: cast from > "const unsigned char *" to "unsigned int *" increases required alignment > from 1 to 4 [-Wcast-align] > --- > src/libudev/libudev-util.c | 11 ++- > 1 file

Re: [systemd-devel] [RFC PATCH 1/3] journal: add sd_journal_add_file

2013-03-18 Thread Kay Sievers
On Tue, Mar 19, 2013 at 2:29 AM, Zbigniew Jędrzejewski-Szmek wrote: > --- > A serie composed of three patches: > 1. this one: make sd_journal_add_file available to the wide public > 2. second one: allow opening of the journal in "stub" mode, without >any files > 3. third one: journalctl --file

Re: [systemd-devel] bootchart issues on slow hardware

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 7:40 PM, Kok, Auke-jan H wrote: > On Sun, Mar 17, 2013 at 6:54 AM, Kay Sievers wrote: >> Here is a chart: >> http://people.freedesktop.org/~kay/bootchart-20130317-1434.svg >> >> Rotating media and really cheap hardware looks very sad, and we

Re: [systemd-devel] [PATCH 4/5] udev: net-name-slot - disable by kernel command line switch

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 6:27 PM, Tom Gundersen wrote: > On Mon, Mar 18, 2013 at 3:20 PM, Tom Gundersen wrote: >> So perhaps "net.predictable-names" > > Pushed this. Feel free to rename. Renamed to net.ifnames= to be more digestible for the kernel. If that ever happens ... I removed the initrd s

Re: [systemd-devel] [PATCH 2/5] udev: builtin - use RUN rather than IMPORT where it makes sense

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 4:04 PM, Tom Gundersen wrote: > On Mon, Mar 18, 2013 at 3:31 PM, Kay Sievers wrote: >> On Mon, Mar 18, 2013 at 3:24 PM, Tom Gundersen wrote: >>> On Mon, Mar 18, 2013 at 3:01 PM, Kay Sievers wrote: >> >>>> IMPORT is used to be called

Re: [systemd-devel] [PATCH 2/5] udev: builtin - use RUN rather than IMPORT where it makes sense

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 3:24 PM, Tom Gundersen wrote: > On Mon, Mar 18, 2013 at 3:01 PM, Kay Sievers wrote: >> IMPORT is used to be called immediately and not be queued up to the >> end of the rules handling, so that later rules could assume that this >> rule has finished.

Re: [systemd-devel] [PATCH 5/5] udev: make firmware loading optional and disable by default

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 2:17 PM, Tom Gundersen wrote: > Distros that whish to support old kernels should set > --with-firmware-dirs="/usr/lib/firmware/updates:/usr/lib/firmware" > to retain the old behaviour. Applied. > The hack which makes firmware events skip the dependency tracking is still

Re: [systemd-devel] [PATCH 3/5] man: udev - document kernel commandline options

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 3:07 PM, Tom Gundersen wrote: > On Mon, Mar 18, 2013 at 3:02 PM, Kay Sievers wrote: >> On Mon, Mar 18, 2013 at 2:17 PM, Tom Gundersen wrote: >>> --- >>> man/udev.xml | 43 --- >>> 1 file ch

Re: [systemd-devel] [PATCH 4/5] udev: net-name-slot - disable by kernel command line switch

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 2:17 PM, Tom Gundersen wrote: > The properties will still be set in the udev database, but they will not be > used > for setting the interface names. As for the other kernel commandline switches, > we allow it to be prefixed by 'rd.' to only apply in the initrd. > +IMPORT

Re: [systemd-devel] [PATCH 3/5] man: udev - document kernel commandline options

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 2:17 PM, Tom Gundersen wrote: > --- > man/udev.xml | 43 --- > 1 file changed, 36 insertions(+), 7 deletions(-) Hmm, they are documented in systemd-udevd, what's the right place? Kay ___

Re: [systemd-devel] [PATCH 2/5] udev: builtin - use RUN rather than IMPORT where it makes sense

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 2:17 PM, Tom Gundersen wrote: > The 'kmod' and 'firmware' builtin's do not set any variables, so no need to > use > IMPORT. Use RUN as is already the case for the 'uaccess' builtin. IMPORT is used to be called immediately and not be queued up to the end of the rules handl

Re: [systemd-devel] [PATCH 1/5] man: document 'builtin'

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 2:17 PM, Tom Gundersen wrote: > The new IMPORT{builtin} and RUN{builtin} were not documented. Also make it > clear that RUN= is > really an alias for RUN{program}=. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-de

Re: [systemd-devel] bootchart issues on slow hardware

2013-03-18 Thread Kay Sievers
On Mon, Mar 18, 2013 at 5:06 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Sun, Mar 17, 2013 at 02:54:01PM +0100, Kay Sievers wrote: >> Here is a chart: >> http://people.freedesktop.org/~kay/bootchart-20130317-1434.svg >> >> Rotating media and really cheap hardware

[systemd-devel] bootchart issues on slow hardware

2013-03-17 Thread Kay Sievers
Here is a chart: http://people.freedesktop.org/~kay/bootchart-20130317-1434.svg Rotating media and really cheap hardware looks very sad, and we take like 5 times longer to boot than Windows 8. Why does bootchart stop before all the *really* slow desktop stuff starts? Why does bootchart claim a

Re: [systemd-devel] [PATCH] [Up: 1h default] Add sync timer to journal server

2013-03-16 Thread Kay Sievers
On Sat, Mar 16, 2013 at 2:01 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Mar 16, 2013 at 12:43:09PM +0200, Oleksii Shevchuk wrote: >> Sync journal with fdatasync every 1h (by default). Interval configured >> via SyncInterval option at journal.conf. Manual sync can be performed >> via sending

Re: [systemd-devel] [PATCH] core: reuse the same /tmp, /var/tmp and inaccessible dir

2013-03-14 Thread Kay Sievers
On Thu, Mar 14, 2013 at 2:07 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Thu, Mar 14, 2013 at 11:43:32AM +0100, Michal Sekletár wrote: >> Do you prefer to have it /run or in /tmp? > It seems to be without much difference, but I'd go for /run, since this > way there'll be less chance that somebody

Re: [systemd-devel] [PATCH] systemd-random-seed: start random-seed service after fedora-readonly

2013-03-14 Thread Kay Sievers
On Thu, Mar 14, 2013 at 9:55 AM, Vaclav Pavlin wrote: > From: Václav Pavlín > > When using readonly-root systemd-random-seed.service fails because > /var/lib/random-seed is not writable at the time. Adding > fedora-readonly.service to > systemd-randomd-seed's After solves this issue - mentioned

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 6:37 PM, Reindl Harald wrote: > Am 13.03.2013 17:44, schrieb Kay Sievers: >> On Wed, Mar 13, 2013 at 5:30 PM, Kok, Auke-jan H >> wrote: >>> On Wednesday, March 13, 2013, Kay Sievers wrote: >>>> On Wed, Mar 13, 2013 at 3:17 PM, Reindl H

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 5:30 PM, Kok, Auke-jan H wrote: > On Wednesday, March 13, 2013, Kay Sievers wrote: >> On Wed, Mar 13, 2013 at 3:17 PM, Reindl Harald >> wrote: >> >>> so and what are you guys saying if i explain you that >>> i WANT THIS MESSAG

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 3:17 PM, Reindl Harald wrote: > so and what are you guys saying if i explain you that > i WANT THIS MESSAGES bedcause I WANT to SEE > /dev/sda2: clean, 435608/1310720 files Now, that you ask, I would say: I don't care. :) Kay _

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 1:32 PM, John wrote: > On 13/03/13 11:58, Kay Sievers wrote: >> >> On the host, "newinstance" is not strictly needed, it is useful inside the >> container though. > > How do I make it use newinstance inside the container? is that a

Re: [systemd-devel] devpts inside Linux Container

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 11:38 AM, John Lane wrote: > Good morning, I am trying to get LXC guests working with systemd. I am at > the point where I can start a container but it is affecting the host. I've > been discussing over on lxc-users and it's been suggested that systemd may > be incorrectly

Re: [systemd-devel] systemd-fsck-root.service without initrd prints ugly message on clean fsck

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 11:29 AM, Colin Guthrie wrote: > As I'm doing some initrd-less experiments of late I'm seeing an ugly > fsck message pop up on boot. > > In systemd-fsck-root.service I see: > > StandardOutput=journal+console > > which results in: > > systemd-fsck[116]: /dev/sda2: clean, 435

Re: [systemd-devel] The enum udev_monitor_netlink_group contains bit masks

2013-03-13 Thread Kay Sievers
On Wed, Mar 13, 2013 at 6:09 AM, Andrey Wagin wrote: > 2013/3/13 Kay Sievers >> >> On Tue, Mar 12, 2013 at 9:35 PM, Andrey Wagin wrote: >> > According to netlink(7) nl_groups is a bit mask with every bit >> > representing >> > a netlink group number

Re: [systemd-devel] [PATCH] shutdown: move attribute packed to the end of the declaration, so it is not ignored

2013-03-12 Thread Kay Sievers
On Tue, Mar 12, 2013 at 6:32 PM, Michal Sekletar wrote: > --- > src/systemd/sd-shutdown.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.

Re: [systemd-devel] Disconnect while running journalctl on F17

2013-03-12 Thread Kay Sievers
On Tue, Mar 12, 2013 at 8:47 PM, David Strauss wrote: > We're repeatedly seeing an issue where "journalctl -f" seems to lose > its journal "connection" and show no new output. Ctrl-C exits the > hanging trace normally, and re-running "journalctl -f" gets it back to > showing new data. > > Is this

Re: [systemd-devel] The enum udev_monitor_netlink_group contains bit masks

2013-03-12 Thread Kay Sievers
On Tue, Mar 12, 2013 at 9:35 PM, Andrey Wagin wrote: > According to netlink(7) nl_groups is a bit mask with every bit representing > a netlink group number. Netlink uses "numbers" not "a mask" since many years, we have just a 32bit number, not 32 groups today. The man page should really be update

Re: [systemd-devel] [PATCH] journald: Make the group that owns journal files configurable

2013-03-07 Thread Kay Sievers
On Thu, Mar 7, 2013 at 6:07 PM, Gergely Nagy wrote: > Kay Sievers writes: > >> On Thu, Mar 7, 2013 at 5:38 PM, Gergely Nagy wrote: >> >>> Apart from the case I outlined above, all other reasons I'd have boil >>> down to convenience. Similarly how the

Re: [systemd-devel] [PATCH] journald: Make the group that owns journal files configurable

2013-03-07 Thread Kay Sievers
On Thu, Mar 7, 2013 at 5:38 PM, Gergely Nagy wrote: > Apart from the case I outlined above, all other reasons I'd have boil > down to convenience. Similarly how the 'tty' group's ID is configurable, > the journal group being similarly configurable would make it much easier > downstream to adapt t

Re: [systemd-devel] Binary launched in ExecStartPre gets killed...

2013-03-04 Thread Kay Sievers
On Mon, Mar 4, 2013 at 12:02 PM, Belal, Awais wrote: > I have a unit file which does something like this: > In ExecStartPre -> Start A > In ExecStart -> Start B > > Now the thing is B depends on A to function correctly and A is a binary > itself. The behavior I am seeing is a little obvious but st

Re: [systemd-devel] [PATCH] bash-completion: split completions and move to new location

2013-03-03 Thread Kay Sievers
On Mon, Mar 4, 2013 at 12:18 AM, Michael Biebl wrote: > 2013/3/3 Michael Biebl : >> 2013/3/3 Kay Sievers : >>> On Sat, Mar 2, 2013 at 10:46 PM, Michael Biebl wrote: >>>> That said, I can prep a follow-up patch, which makes that configurable >>>> and

Re: [systemd-devel] [PATCH 2/2] udev: fix for devices without PCI

2013-03-03 Thread Kay Sievers
On Sun, Mar 3, 2013 at 7:10 PM, Rob Clark wrote: > On Sun, Mar 3, 2013 at 1:06 PM, Kay Sievers wrote: >> On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark wrote: >>> On many arm embedded SoC's (phones, tablets, etc), there is no PCI bus. >>> So it is not an error if na

Re: [systemd-devel] [PATCH 2/2] udev: fix for devices without PCI

2013-03-03 Thread Kay Sievers
On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark wrote: > On many arm embedded SoC's (phones, tablets, etc), there is no PCI bus. > So it is not an error if names_pci() fails to find a parent PCI device. As the comment in the code lines above states, all these names work on for PCI based setups. Other

Re: [systemd-devel] [PATCH 1/2] udev: fix segfault with android rndis

2013-03-03 Thread Kay Sievers
On Sun, Mar 3, 2013 at 6:55 PM, Rob Clark wrote: > The android gadget driver for network tethering over rndis somehow has a > parent device with a null name. Probably this is bug in android driver, > but it is easy enough to make systemd/udev behave gracefully and not > segfault. And this will h

Re: [systemd-devel] [PATCH] bash-completion: split completions and move to new location

2013-03-02 Thread Kay Sievers
On Sat, Mar 2, 2013 at 10:46 PM, Michael Biebl wrote: > since this has been on the TODO list and Kay has poked me about this, > I went ahead and made the bash completion compatible with the new > scheme. I.e. move the files to /usr/share/bash-completions/completions > and make them available under

Re: [systemd-devel] [PATCH] core: check system call auditing is enabled

2013-02-19 Thread Kay Sievers
On Tue, Feb 19, 2013 at 9:06 PM, Kok, Auke-jan H wrote: > On Tue, Feb 19, 2013 at 11:29 AM, Jon Masters wrote: >> From: Jon Masters >> >> Systemd relies upon CONFIG_AUDITSYSCALL support being present in the kernel. >> This is because systemd-logind calls audit_session_from_pid, which uses >> /pr

Re: [systemd-devel] usb_id gets bogus serial and makes a mess

2013-02-17 Thread Kay Sievers
On Sun, Feb 17, 2013 at 11:11 PM, Reindl Harald wrote: > > Am 17.02.2013 22:59, schrieb Kay Sievers: >> On Sun, Feb 17, 2013 at 10:33 PM, Reindl Harald >> wrote: >>> Am 17.02.2013 22:30, schrieb Kay Sievers: >> >>>>> Initially was believed

Re: [systemd-devel] usb_id gets bogus serial and makes a mess

2013-02-17 Thread Kay Sievers
On Sun, Feb 17, 2013 at 10:33 PM, Reindl Harald wrote: > Am 17.02.2013 22:30, schrieb Kay Sievers: >>> Initially was believed that usb_id is to blame, then the kernel, but it >> >> We use the same rules now as described here: >> http://msdn.microsoft.com/en-us/lib

Re: [systemd-devel] usb_id gets bogus serial and makes a mess

2013-02-17 Thread Kay Sievers
On Thu, Feb 7, 2013 at 3:52 PM, Robert Milasan wrote: > Hi, seems that using some strange usb devices with really bogus serial > numbers usb_id creates links with junk strings in it: > > /dev/disk/by-id/usb-TSSTcorp_BDDVDW_SE-506AB_㡒䍌䜶䉗ぁㄴ㌴†ँ-0:0 > > Initially was believed that usb_id is to blame,

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

2013-02-16 Thread Kay Sievers
On Sun, Feb 17, 2013 at 2:21 AM, Zeeshan Ali (Khattak) wrote: > From: "Zeeshan Ali (Khattak)" > --- > src/udev/udev-builtin-blkid.c | 16 > 1 file changed, 16 insertions(+) Applied. Thanks, Kay ___ systemd-devel mailing list systemd

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

2013-02-16 Thread Kay Sievers
On Sat, Feb 16, 2013 at 10:53 PM, Zeeshan Ali (Khattak) wrote: > On Sat, Feb 16, 2013 at 8:04 PM, Kay Sievers wrote: >> We just hex encode stuff that isn't ascii or valid utf8, udev just >> mangles some old values for compat reasons, new stuff should only use >> encodi

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

2013-02-16 Thread Kay Sievers
On Sat, Feb 16, 2013 at 5:52 PM, Zeeshan Ali (Khattak) wrote: > On Sat, Feb 16, 2013 at 5:45 PM, Zbigniew Jędrzejewski-Szmek > wrote: >> On Wed, Feb 13, 2013 at 05:39:54AM +0200, Zeeshan Ali (Khattak) wrote: >>> From: "Zeeshan Ali (Khattak)" >>> >>> This version 2 removes the bogus 'FS_' prefix

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

2013-02-16 Thread Kay Sievers
On Sat, Feb 16, 2013 at 4:45 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Feb 13, 2013 at 05:39:54AM +0200, Zeeshan Ali (Khattak) wrote: >> +} else if (streq(name, "SYSTEM_ID")) >> +udev_builtin_add_property(dev, test, "ID_FS_SYSTEM_ID", >> value); >> + >> +el

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

2013-02-14 Thread Kay Sievers
On Thu, Feb 14, 2013 at 6:35 PM, Holger Winkelmann wrote: > we just start using the network name schema. Anybody > can explain how the LAbels: > > "ID_NET_NAME_ONBOARD_LABEL=Ethernet Port 1" > > defined here: > > http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-builtin-net_id.c#n52

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

2013-02-13 Thread Kay Sievers
On Wed, Feb 13, 2013 at 9:52 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Wed, Feb 13, 2013 at 08:07:07PM +0100, Lennart Poettering wrote: >> On Wed, 13.02.13 20:05, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) >> wrote: >> >> > Actually, the syntax already is _not_ a subset of the shell, and h

Re: [systemd-devel] [PATCH] bootchart: use conf-parser & CamelCase names in .conf

2013-02-13 Thread Kay Sievers
On Thu, Feb 14, 2013 at 12:42 AM, Kok, Auke-jan H wrote: > On Wed, Feb 13, 2013 at 3:32 PM, Lennart Poettering > wrote: >> On Wed, 13.02.13 14:27, Kok, Auke-jan H (auke-jan.h@intel.com) wrote: >> >>> > Hmm, what does this stand for? Wikipedia doesn't have it, can't be that >>> > well known...

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

2013-02-13 Thread Kay Sievers
On Wed, Feb 13, 2013 at 7:35 PM, Tomasz Torcz wrote: > On Wed, Feb 13, 2013 at 07:29:10PM +0100, Kay Sievers wrote: >> On Wed, Feb 13, 2013 at 7:19 PM, Tomasz Torcz wrote: >> > On Tue, Feb 12, 2013 at 09:07:00AM +0100, Jan Engelhardt wrote: >> >> >> &g

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

2013-02-13 Thread Kay Sievers
On Wed, Feb 13, 2013 at 7:19 PM, Tomasz Torcz wrote: > On Tue, Feb 12, 2013 at 09:07:00AM +0100, Jan Engelhardt wrote: >> >> 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. >

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

2013-02-13 Thread Kay Sievers
On Wed, Feb 13, 2013 at 12:10 PM, Colin Guthrie wrote: > Either way, is a generator the way to go here longer term, or is there > some other plan afoot to modernise the static network configs? The static network config files, file format and parsing will some day be part of the core systemd. Lo

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

2013-02-13 Thread Kay Sievers
On Wed, Feb 13, 2013 at 10:56 AM, Thierry Parmentelat wrote: > Thanks for the feedback; I didn't know that, so it might come in handy in > understanding the problem > > However, I'm puzzled because it looks like there's no attempt at all to > launch pl_sysinit The background here is: ExecStartP

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,

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] [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 yo

<    3   4   5   6   7   8   9   10   11   12   >