[systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Colin Guthrie
Hi, Just thinking outload here as dealing with some packages where stuff in /etc was marked in the spec as %config and it really shouldn't be (I'm thinking dbus policy files and rootcerts mainly but there are do doubt countless other examples where this is true also). I was thinking, is it a

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

2013-01-07 Thread Tollef Fog Heen
]] Bryan Kadzban Tollef Fog Heen wrote: ]] Tom Gundersen This was what the old nss-myhostname did. Lennart: any good reason to exclude the .la or should nss-myhostname be treated the same as the other libs? .la files are only useful for static linking. Untrue. They're

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

2013-01-07 Thread Alexander E. Patrakov
2013/1/7 Bryan Kadzban br...@kadzban.is-a-geek.net: Untrue. They're perfectly useful for dynamic linking as well: http://www.sourceware.org/autobook/autobook/autobook_68.html#SEC68 Second paragraph. Also the page several sections after this one, about installing a shared library with

Re: [systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Lennart Poettering
On Mon, 07.01.13 11:48, Colin Guthrie (gm...@colin.guthr.ie) wrote: Hi, Just thinking outload here as dealing with some packages where stuff in /etc was marked in the spec as %config and it really shouldn't be (I'm thinking dbus policy files and rootcerts mainly but there are do doubt

Re: [systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Colin Guthrie
'Twas brillig, and Lennart Poettering at 07/01/13 13:37 did gyre and gimble: On Mon, 07.01.13 11:48, Colin Guthrie (gm...@colin.guthr.ie) wrote: Hi, Just thinking outload here as dealing with some packages where stuff in /etc was marked in the spec as %config and it really shouldn't be (I'm

Re: [systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Peeters Simon
I was thinking, is it a general stated aim that we should be able to boot with an empty /etc? I know this isn't true today, but with appropriate effort is that where we should be aiming? I have been thinking about this too, and I am even planning on doing some experiments with this. Currently

Re: [systemd-devel] merge nss-myhostname into systemd

2013-01-07 Thread Lennart Poettering
On Sat, 05.01.13 21:41, Tom Gundersen (t...@jklm.no) wrote: 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

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

2013-01-07 Thread Lennart Poettering
On Sun, 06.01.13 00:12, Tom Gundersen (t...@jklm.no) wrote: Looks good! Please commit! --- tmpfiles.d/legacy.conf | 22 +- tmpfiles.d/systemd.conf | 4 2 files changed, 17 insertions(+), 9 deletions(-) diff --git a/tmpfiles.d/legacy.conf

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

2013-01-07 Thread Lennart Poettering
On Sun, 06.01.13 00:59, Reindl Harald (h.rei...@thelounge.net) wrote: jesus christ, i have disabled on any server fsck after x days or x boots because this will hit you always at the wrong moment after a routine kernel update Fedora disables that anyway. Only Debian retains this automatic

[systemd-devel] OnFailure= and killing services

2013-01-07 Thread Albert Strasheim
Hello all A question about a slightly older version of systemd. We are running systemd-37-25.fc16.x86_64. We have a service called alarmist with a .service file like so: [Unit] Description=Raise alarms for %i DefaultDependencies=no [Service] Type=oneshot TimeoutSec=0

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

2013-01-07 Thread Lennart Poettering
On Sun, 06.01.13 19:56, Reindl Harald (h.rei...@thelounge.net) wrote: As Lennart explained this is still *supported*. after many years i know what still means udev without systemd will still be supported after the merge is one example, will still menas for a short timeframe in

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

2013-01-07 Thread Lennart Poettering
On Sun, 06.01.13 10:46, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: Tollef Fog Heen wrote: ]] Tom Gundersen This was what the old nss-myhostname did. Lennart: any good reason to exclude the .la or should nss-myhostname be treated the same as the other libs? .la files are

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

2013-01-07 Thread Lennart Poettering
On Sun, 06.01.13 02:16, Tom Gundersen (t...@jklm.no) wrote: +INSTALL_EXEC_HOOKS += \ + myhostname-install-exec-hook + +UNINSTALL_EXEC_HOOKS += \ + myhostname-uninstall-hook +endif Are those hooks necessary? Other libs have hooks only if they are moved to rootlibdir

Re: [systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Lennart Poettering
On Mon, 07.01.13 09:13, Colin Walters (walt...@verbum.org) wrote: On Mon, 2013-01-07 at 11:48 +, Colin Guthrie wrote: H I was thinking, is it a general stated aim that we should be able to boot with an empty /etc? Definitely quite useful for my plan:

Re: [systemd-devel] [PATCH v2] localectl: support systems without locale-archive

2013-01-07 Thread Lennart Poettering
On Sat, 05.01.13 01:29, Giovanni Campagna (scampa.giova...@gmail.com) wrote: Not all systems ships with locales inside /usr/lib/locale-archive, some prefer to have locale data as individual subdirectories of /usr/lib/locale. (A notable example of this is OpenEmbeddded, and OSes deriving from

Re: [systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Colin Walters
On Mon, 2013-01-07 at 15:26 +0100, Lennart Poettering wrote: BTW, Kay and I were thinking about coming up with a simple scheme that could pre-initialize a couple of files in /etc and /var that cannot really sensibly be dropped. For example, UID assignemnts unfortunately cannot be shipped in

Re: [systemd-devel] shutdown umount order

2013-01-07 Thread Lennart Poettering
On Sat, 05.01.13 02:22, Ilya Basin (basini...@gmail.com) 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 out the

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

2013-01-07 Thread Lennart Poettering
On Sat, 05.01.13 21:01, Oleg Samarin (osamari...@gmail.com) wrote: В Пт., 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

Re: [systemd-devel] merge nss-myhostname into systemd

2013-01-07 Thread Lennart Poettering
On Mon, 07.01.13 16:41, Eelco Dolstra (eelco.dols...@logicblox.com) wrote: This merges the nss-myhostname repo with the systemd repo (as requested in TODO). Eh. Nss-myhostname is a very useful package, but I'm wondering what the motivation is for merging it into systemd? (The TODO

Re: [systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Lennart Poettering
On Mon, 07.01.13 09:36, Colin Walters (walt...@verbum.org) wrote: On Mon, 2013-01-07 at 15:26 +0100, Lennart Poettering wrote: BTW, Kay and I were thinking about coming up with a simple scheme that could pre-initialize a couple of files in /etc and /var that cannot really sensibly be

Re: [systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Tomasz Torcz
On Mon, Jan 07, 2013 at 02:54:49PM +0100, Peeters Simon wrote: - Some files are needed quiet hard (passwd, group, shadow ,...) That's not really true, as any consumer of those files should go through getpwname() and similar functions. And glibc implementation of those functions could be made

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

2013-01-07 Thread Michael Biebl
2013/1/7 Lennart Poettering lenn...@poettering.net: Well, for the NSS modules .la files make particularly little sense as nobody ever links against them except with dlopen() called from inside libc. And naked dlopen() doesn't know .la files, hence we can just unconditionally remove them.

Re: [systemd-devel] CoreOS Goal Question: Should we be aiming to be able to boot with an empty /etc?

2013-01-07 Thread Tomasz Torcz
On Mon, Jan 07, 2013 at 07:35:54PM +0100, Lennart Poettering wrote: But dynamically allocating system users per-boot and ensuring that /etc and /var matches would still be interesting. Uh, yeah, there's still the question out there what to do with fully dynamic throw-away UIDs, for example

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

2013-01-07 Thread Lennart Poettering
On Mon, 07.01.13 19:47, Michael Biebl (mbi...@gmail.com) wrote: 2013/1/7 Lennart Poettering lenn...@poettering.net: Well, for the NSS modules .la files make particularly little sense as nobody ever links against them except with dlopen() called from inside libc. And naked dlopen()

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

2013-01-07 Thread Zbigniew Jędrzejewski-Szmek
On Mon, Jan 07, 2013 at 03:14:42PM +0100, Lennart Poettering wrote: On Sun, 06.01.13 10:46, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: On Linux the .la files are probably not necessary for shared libs, no -- but using libtool to find them still is, if the code ever expects to

[systemd-devel] RFC: Predictable Network Interface Names

2013-01-07 Thread Lennart Poettering
Heya, a few days ago Kay commited a change to git that made predictable network interface names the default for the upcoming systemd/udev 197. To explain what this is about we put together this wiki document: http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames

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

2013-01-07 Thread Holger Winkelmann
Hi, Generally great idea specially embedded people like us will welcome. Do you have any idea it's possible to allow the / slash in interface names as known and seen in other network devices? It could be used to name interface regarding the slot and port? I.e. fe0/01 for fast Ethernet

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

2013-01-07 Thread Lennart Poettering
On Mon, 07.01.13 23:06, Holger Winkelmann (h...@travelping.com) wrote: Hi, Generally great idea specially embedded people like us will welcome. Do you have any idea it's possible to allow the / slash in interface names as known and seen in other network devices? It could be used to name

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

2013-01-07 Thread Michael Biebl
2013/1/7 Lennart Poettering lenn...@poettering.net: On Mon, 07.01.13 19:47, Michael Biebl (mbi...@gmail.com) wrote: Well, there is libltdl which ttbomk requires the .la files for dlopen. Not that this matters much for systemd, though. libltdl doesn't need .la files really. Good to know. It

Re: [systemd-devel] [PATCH] [RFC] systemd-bootchart: merge bootchart.

2013-01-07 Thread Kay Sievers
merged without history. It's not that big. Merged now. Sorry for the long delay and all the discussions. We should just go ahead with the code in git now. Here is an example of: init=/usr/lib/systemd/systemd-bootchart http://people.freedesktop.org/~kay/bootchart-20130107-2346.svg Thanks, Kay

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

2013-01-07 Thread Kay Sievers
On Mon, Jan 7, 2013 at 8:29 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Mon, Jan 07, 2013 at 03:14:42PM +0100, Lennart Poettering wrote: On Sun, 06.01.13 10:46, Bryan Kadzban (br...@kadzban.is-a-geek.net) wrote: On Linux the .la files are probably not necessary for shared libs,

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

2013-01-07 Thread Michael Biebl
2013/1/8 Kay Sievers k...@vrfy.org: Maybe it isn't worth to do it in the buildsys, and we leave it to the packagers Sounds like the most sensible approach to me. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?

[systemd-devel] [ANNOUNCE] systemd 197

2013-01-07 Thread Lennart Poettering
Heya, There's quite some cool new stuff in this release: http://www.freedesktop.org/software/systemd/systemd-197.tar.xz CHANGES WITH 197: * Timer units now support calendar time events in addition to monotonic time events. That means you can now trigger a unit based

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

2013-01-07 Thread Bryan Kadzban
Alexander E. Patrakov wrote: 2013/1/7 Bryan Kadzban br...@kadzban.is-a-geek.net: Untrue. They're perfectly useful for dynamic linking as well: http://www.sourceware.org/autobook/autobook/autobook_68.html#SEC68 Second paragraph. Also the page several sections after this one, about