Re: [systemd-devel] [PATCH 3/6] nss-myhostname: integrate into systemd buildsystem

2013-01-05 Thread Tom Gundersen
Sorry, I accidentally dropped the ML. On Sun, Jan 6, 2013 at 2:01 AM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Jan 05, 2013 at 10:58:01PM +0100, Tom Gundersen wrote: >> On Sat, Jan 5, 2013 at 10:30 PM, Zbigniew Jędrzejewski-Szmek >> wrote: >> >> +myhostname-install-exec-hook: >> >> + rm

Re: [systemd-devel] systemd-way for initialization zram swap

2013-01-05 Thread Maksim Melnikau
On Tue, Nov 20, 2012 at 2:30 AM, Lennart Poettering wrote: > If this is upstream in the kernel I think the nicest way to handle this > would be to extend util-linux to learn a new "zram" option or so we can > just add to the fstab lines, which sets up everything as needed. This > would then be sim

Re: [systemd-devel] [PATCH] tmpfiles: move legacy flag-files handling to legacy.conf

2013-01-05 Thread Reindl Harald
Am 06.01.2013 01:13, schrieb Tom Gundersen: > On Sun, Jan 6, 2013 at 12:59 AM, Reindl Harald wrote: >> on a running system the rootfs is not readonly > > It may be (i.e., systemd supports that setup if the rest of your > software does), so it cannot be that a reboot always causes writes to > th

Re: [systemd-devel] [PATCH] tmpfiles: move legacy flag-files handling to legacy.conf

2013-01-05 Thread Reindl Harald
Am 06.01.2013 00:53, schrieb Tom Gundersen: > On Sun, Jan 6, 2013 at 12:47 AM, Reindl Harald wrote: >> * the reboot itself is touching the FS too > > Surely not, as we support the rootfs being read-only. Or maybe I > misunderstood what you meant. on a running system the rootfs is not readonly

Re: [systemd-devel] [PATCH] tmpfiles: move legacy flag-files handling to legacy.conf

2013-01-05 Thread Reindl Harald
Am 06.01.2013 00:25, schrieb Lennart Poettering: > On Sun, 06.01.13 00:17, Reindl Harald (h.rei...@thelounge.net) wrote: > >> >> >> Am 06.01.2013 00:12, schrieb Tom Gundersen: >>> +# /forcefsck, /fastboot and /forcequotecheck are deprecated in favor of the >>> +# kernel command line options 'fsc

Re: [systemd-devel] [PATCH] [RFC]logind: set locale in user sessions

2013-01-05 Thread Mantas Mikulėnas
On Sun, Jan 6, 2013 at 1:08 AM, Tom Gundersen wrote: > 3) How do you deal with user accounts being accessed from different > machines? Assuming > /home is shared and /var is not, I'm struggling to see how storing > user-config in /var can work > (though I could not find any documentation, so it is

Re: [systemd-devel] [PATCH] tmpfiles: move legacy flag-files handling to legacy.conf

2013-01-05 Thread Lennart Poettering
On Sun, 06.01.13 00:17, Reindl Harald (h.rei...@thelounge.net) wrote: > > > Am 06.01.2013 00:12, schrieb Tom Gundersen: > > +# /forcefsck, /fastboot and /forcequotecheck are deprecated in favor of the > > +# kernel command line options 'fsck.mode=force', 'fsck.mode=skip' and > > +# 'quotacheck.m

Re: [systemd-devel] [PATCH] tmpfiles: move legacy flag-files handling to legacy.conf

2013-01-05 Thread Reindl Harald
Am 06.01.2013 00:12, schrieb Tom Gundersen: > +# /forcefsck, /fastboot and /forcequotecheck are deprecated in favor of the > +# kernel command line options 'fsck.mode=force', 'fsck.mode=skip' and > +# 'quotacheck.mode=force' oh yeah add a kernel-param is so much easier as "touch /forcefsck" bef

[systemd-devel] [PATCH] tmpfiles: move legacy flag-files handling to legacy.conf

2013-01-05 Thread Tom Gundersen
--- tmpfiles.d/legacy.conf | 22 +- tmpfiles.d/systemd.conf | 4 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/tmpfiles.d/legacy.conf b/tmpfiles.d/legacy.conf index 92bd71b..3fff347 100644 --- a/tmpfiles.d/legacy.conf +++ b/tmpfiles.d/legacy.conf @@ -8,

Re: [systemd-devel] [PATCH] [RFC]logind: set locale in user sessions

2013-01-05 Thread Tom Gundersen
Hi Bastien, On Fri, Jan 4, 2013 at 5:36 PM, Bastien Nocera wrote: > On Fri, 2013-01-04 at 11:23 -0500, Bill Nottingham wrote: >> Lennart Poettering (lenn...@poettering.net) said: >> > Bill Nottingham (nott...@redhat.com) said: >> > > FWIW, GNOME stores this in the accounts service, outside of the

[systemd-devel] [PATCH 6/6] nss-myhostname: remove reference to libnss_myhostname_minimal

2013-01-05 Thread Tom Gundersen
I can find no reference to this library, might it be a copy-paste error from nss-mdns? --- Makefile.am | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index b87b704..cb27026 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3602,11 +3602,9 @@ lib_LTLIBRARIES += \ myh

[systemd-devel] [PATCH 5/6] nss-myhostname: remove redundant .gitignore

2013-01-05 Thread Tom Gundersen
--- src/nss-myhostname/.gitignore | 24 1 file changed, 24 deletions(-) delete mode 100644 src/nss-myhostname/.gitignore diff --git a/src/nss-myhostname/.gitignore b/src/nss-myhostname/.gitignore deleted file mode 100644 index b35d629..000 --- a/src/nss-myhostname/.g

[systemd-devel] [PATCH 4/6] nss-myhostname: integrate documentation

2013-01-05 Thread Tom Gundersen
Converted from html to xml and changed the style to fit into the other manpages. --- Makefile.am | 5 + man/nss-myhostname.xml| 139 src/nss-myhostname/doc/.gitignore | 2 - src/nss-myhostname/doc/Makefile.am| 38 -

[systemd-devel] [PATCH 3/6] nss-myhostname: integrate into systemd buildsystem

2013-01-05 Thread Tom Gundersen
--- Makefile.am | 35 + configure.ac | 20 +++ src/nss-myhostname/Makefile.am | 62 - src/nss-myhostname/bootstrap.sh | 66 - src/nss-myhostname/configure.ac | 79 --- src/nss-myhostname/m4/attributes

[systemd-devel] [PATCH 2/6] nss-myhostname: remove duplicate LICENCE

2013-01-05 Thread Tom Gundersen
Also update the licence in the source files. --- src/nss-myhostname/LICENSE | 510 src/nss-myhostname/ifconf.h | 19 +- src/nss-myhostname/netlink.c| 19 +- src/nss-myhostname/nss-myhostname.c | 19 +- 4 files changed, 27 insertions(

[systemd-devel] [PATCH 1/6] nss-myhostname: remove non-Linux support

2013-01-05 Thread Tom Gundersen
--- src/nss-myhostname/Makefile.am | 4 -- src/nss-myhostname/configure.ac | 5 --- src/nss-myhostname/legacy.c | 92 - 3 files changed, 101 deletions(-) delete mode 100644 src/nss-myhostname/legacy.c diff --git a/src/nss-myhostname/Makefile.am b/sr

[systemd-devel] merge nss-myhostname into systemd

2013-01-05 Thread Tom Gundersen
This merges the nss-myhostname repo with the systemd repo (as requested in TODO). The git history is preserved, but to avoid spamming the ML only the commits following the merge are posted. I could put up the full git repo if people want to have a look. I believe the only potentially non-trivial

Re: [systemd-devel] [PATCH 2/2] logind: user access to shared devices

2013-01-05 Thread Oleg Samarin
reformatted patch is here >From eade2b14853eb56917fcf3ec8c7cfc2af0affdcb Mon Sep 17 00:00:00 2001 From: Oleg Samarin Date: Sat, 5 Jan 2013 20:57:56 +0400 Subject: [PATCH 2/2] logind: user access to shared devices Supporting of acls on devices shared between all seats (like /dev/snd/seq): A user

Re: [systemd-devel] [PATCH 1/2] logind: Capability of making seats without framebuffer devices

2013-01-05 Thread Oleg Samarin
В Пт., 04/01/2013 в 00:40 +0100, Lennart Poettering пишет: > On Thu, 27.12.12 22:54, Oleg Samarin (osamari...@gmail.com) wrote: > > > В Пн., 24/12/2012 в 13:08 +0100, Lennart Poettering пишет: > > > On Thu, 20.12.12 22:08, Oleg Samarin (osamari...@gmail.com) wrote: > > > > > > Could you please sp

Re: [systemd-devel] shutdown umount order

2013-01-05 Thread Ilya Basin
DR> On Sat, Jan 05, 2013 at 02:22:11AM +0400, Ilya Basin wrote: >> Hi list. >> On shutdown I have >>Buffer I/O error on device dm-... >> because the truecrypt disk is unmounted later than the usb disk >> containing the truecrypt image. >> I think this happens, because >> 1) systemd can't figure