[systemd-devel] is a unix shell (zsh, bash, sh) still required by systemd?

2014-12-31 Thread ivo welch
[1] this is an esoteric question from a new user: does systemd still need a unix shell, like sh, bash, zsh, etc.? I know the first-stage usually does (i.e., the initrd), but if the second stage systemd does not, then I could remove all shells from my linux [e.g., by removing the USB drive that hos

Re: [systemd-devel] is a unix shell (zsh, bash, sh) still required by systemd?

2014-12-31 Thread Mantas Mikulėnas
On Wed, Dec 31, 2014 at 10:16 AM, ivo welch wrote: > [1] this is an esoteric question from a new user: does systemd still > need a unix shell, like sh, bash, zsh, etc.? I know the first-stage > usually does (i.e., the initrd), but if the second stage systemd does > not, then I could remove all sh

Re: [systemd-devel] [PATCH] Fix install location of systemd.pc

2014-12-31 Thread Martin Pitt
Simon Peeters [2014-12-29 15:01 +]: > I have no preference between the 2, but moving the pc file to > $libdir/pkgconfig just does not make sense. Why not? pkg-config looks in both /usr/share and /usr/lib, so it doesn't care. And you can't install systemd for multiple architectures in parallel

Re: [systemd-devel] [PATCH] Fix install location of systemd.pc

2014-12-31 Thread Simon Peeters
2014-12-31 11:12 GMT+00:00 Martin Pitt : > Simon Peeters [2014-12-29 15:01 +]: >> I have no preference between the 2, but moving the pc file to >> $libdir/pkgconfig just does not make sense. > > Why not? pkg-config looks in both /usr/share and /usr/lib, so it > doesn't care. And you can't insta

[systemd-devel] [PATCH] improve help/usage for some more programs

2014-12-31 Thread Robert Milasan
--- src/udev/ata_id/ata_id.c | 4 ++-- src/udev/cdrom_id/cdrom_id.c | 10 +- src/udev/collect/collect.c | 10 ++ src/udev/scsi_id/scsi_id.c | 2 +- src/udev/v4l_id/v4l_id.c | 2 +- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/src/udev/ata_id/ata_i

Re: [systemd-devel] [systemd-commits] man/sd_bus_negotiate_fds.xml man/sd_event_add_child.xml man/systemd.link.xml man/systemd-machine-id-commit.service.xml man/systemd-nspawn.xml man/udev.xml NEWS sr

2014-12-31 Thread David Herrmann
Hi On Wed, Dec 31, 2014 at 2:08 AM, Zbigniew Jędrzejewski-Szmek wrote: > NEWS|2 +- > TODO|2 +- > man/sd_bus_negotiate_fds.xml|2 +- > man/sd_event_add_child.xml

Re: [systemd-devel] [systemd-commits] man/sd_bus_negotiate_fds.xml man/sd_event_add_child.xml man/systemd.link.xml man/systemd-machine-id-commit.service.xml man/systemd-nspawn.xml man/udev.xml NEWS sr

2014-12-31 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Dec 31, 2014 at 01:39:19PM +0100, David Herrmann wrote: > Hi > > On Wed, Dec 31, 2014 at 2:08 AM, Zbigniew Jędrzejewski-Szmek > wrote: > > NEWS|2 +- > > TODO|2 +- > > man/sd_bus_negotiate_fd

[systemd-devel] [PATCH 2/2] libsystemd-network : Fix resource leaks in test-lldp

2014-12-31 Thread Philippe De Swert
Fix some resources leaks in test-lldp found with coverity: CID#1261388, CID#1261385, CID#1261383 --- src/libsystemd-network/test-lldp.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/libsystemd-network/test-lldp.c b/src/libsystemd-network/test-lldp.c index e9d5d7b.

[systemd-devel] [PATCH 1/2] machine: machinectl, remove some dead code

2014-12-31 Thread Philippe De Swert
The variable r is already checked one time before and the same error returned. So the second check is unneeded. --- src/machine/machinectl.c | 4 1 file changed, 4 deletions(-) diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index 0abc251..951b3cc 100644 --- a/src/machine/ma

[systemd-devel] systemd-sysv-generator question

2014-12-31 Thread Markus Moeller
Hi, I am knew to systemd and wonder how to use it correctly. I have a simple /etc/init.d/squid startup script which works with systemd. I now copied it to /etc/init.d/mysquid and updated the content accordingly. Now /etc/init.d/mysquid start fails saying the services fail is missing. I c

Re: [systemd-devel] systemd-sysv-generator question

2014-12-31 Thread Mantas Mikulėnas
On Wed, Dec 31, 2014 at 4:31 PM, Markus Moeller wrote: > Hi, > > I am knew to systemd and wonder how to use it correctly. > > I have a simple /etc/init.d/squid startup script which works with systemd. > I now copied it to /etc/init.d/mysquid and updated the content accordingly. > Now /etc/init

[systemd-devel] [PATCH] Makefile.am : Fix build issue with machines.target

2014-12-31 Thread Philippe De Swert
When doing "make clean" the unit/machines.target file gets deleted. This causes a build error later on when trying to rebuild systemd. --- Makefile.am | 1 - 1 file changed, 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 28d2e4b..e1e0843 100644 --- a/Makefile.am +++ b/Makefile.am @@ -

[systemd-devel] [PATCH v2] Makefile.am : Fix build issue with machines.target

2014-12-31 Thread Philippe De Swert
When doing "make clean" the unit/machines.target file gets deleted. This causes a build error later on when trying to rebuild systemd. V2: The file probably belongs to dist_systemunit_DATA --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefil

Re: [systemd-devel] [PATCH] Fix install location of systemd.pc

2014-12-31 Thread Michael Biebl
Am 31.12.2014 12:54 schrieb "Simon Peeters" : > > 2014-12-31 11:12 GMT+00:00 Martin Pitt : > > Simon Peeters [2014-12-29 15:01 +]: > >> I have no preference between the 2, but moving the pc file to > >> $libdir/pkgconfig just does not make sense. > > > > Why not? pkg-config looks in both /usr/s

[systemd-devel] [PATCH] Clarify effect when both calendar day and date are listed in timer

2014-12-31 Thread Chris Atkinson
See bug 87859 (https://bugs.freedesktop.org/show_bug.cgi?id=87859). Bug reporter found the language describing the effect of specifying both a day and date unclear; hopefully the attached patch will clarify and allow the bug to be closed. Happy New Year to all,>From c118fbac2799e7d7d441c16f5cab074

[systemd-devel] [RFC PATCH] journal: pass uid.gid in the stream header

2014-12-31 Thread Zbigniew Jędrzejewski-Szmek
When systemd starts a service, it first opens /run/systemd/journal/stdout socket, and only later switches to the right user.group (if they are specified). Later on, journald looks at the credentials, and sees root.root, because credentials are stored at the time the socket is opened. As a result, a