Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Karel Zak
On Fri, Jul 09, 2010 at 12:02:13AM +0200, Lennart Poettering wrote: > A thinkable alternative would be if we could extract this information > directly from the ELF file, without having to execute it. That would > probably be useful when cross-building systemd. But I am not aware of > any somewhat s

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Ozan Çağlayan
Cuma 09 Temmuz 2010 günü (saat 01:06:03) Lennart Poettering şunları yazmıştı: > On Thu, 08.07.10 23:51, Ozan Çağlayan ([email protected]) wrote: > > None, as it seems that we did not hit that bug. Look I admit that > > doing things on behalf of the root user is bad, is evil, is not > > recommended

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Ozan Çağlayan
Cuma 09 Temmuz 2010 günü (saat 01:15:06) Lennart Poettering şunları yazmıştı: > On Fri, 09.07.10 00:02, Lennart Poettering ([email protected]) wrote: > > But anyway, I have now added an env var for you. Simply set > > $SYSTEMD_SKIP_API_MOUNTS and systemd won't try to mount them. > > This is n

Re: [systemd-devel] Some ambiguities in man pages

2010-07-08 Thread Ozan Çağlayan
Perşembe 08 Temmuz 2010 günü (saat 22:55:38) Lennart Poettering şunları yazmıştı: > On Thu, 08.07.10 21:07, Ozan Çağlayan ([email protected]) wrote: > > Hi, > > > > I wanted to note some ambiguous expressions in man pages in this thread > > in order for you to refactor/fix them. Here's the first

[systemd-devel] [ANNOUNCE] systemd 2

2010-07-08 Thread Lennart Poettering
Heya, I just rolled the second release, contains mostly bugfixes, but also some new functionality, such as the "systemd-cgls" tool which shows the cgroup hierarchy in a tree. Really neat, especially if pam_systemd is configured. http://www.freedesktop.org/software/systemd/systemd-2.tar.bz2 Short

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Marc-Antoine Perennou
> On Thu, 08.07.10 13:42, Steve Herber ([email protected]) wrote: > > > In gentoo, the only way I know to install packages is to run the > > emerge command as root.  The point of gentoo is to automate the > > download, untar, configure, compile, and install process.  I don't > > know of a way to

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Lennart Poettering
On Fri, 09.07.10 00:02, Lennart Poettering ([email protected]) wrote: > But anyway, I have now added an env var for you. Simply set > $SYSTEMD_SKIP_API_MOUNTS and systemd won't try to mount them. This is now set by default when we invoke systemd when we generate the dbus introspection data a

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Lennart Poettering
On Thu, 08.07.10 13:42, Steve Herber ([email protected]) wrote: > In gentoo, the only way I know to install packages is to run the > emerge command as root. The point of gentoo is to automate the > download, untar, configure, compile, and install process. I don't > know of a way to do this > with

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Lennart Poettering
On Thu, 08.07.10 23:51, Ozan Çağlayan ([email protected]) wrote: > None, as it seems that we did not hit that bug. Look I admit that > doing things on behalf of the root user is bad, is evil, is not > recommended. But okay it is under my responsibility, isn't it? (BTW > that bug wouldn't cause me

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Lennart Poettering
On Thu, 08.07.10 23:26, Ozan Çağlayan ([email protected]) wrote: > On 08.07.2010 22:57, Lennart Poettering wrote: > > On Thu, 08.07.10 19:11, Ozan Çağlayan ([email protected]) wrote: > > >> > >> Note that this is built as root too. > > > > Don't build this as root, please. > > > > Lennart > >

[systemd-devel] [HEADS-UP] Various things

2010-07-08 Thread Lennart Poettering
Heya, A few things to note: a) change of behaviour: before yesterday it was possible to pull in a native service via a symlink on the sysv init script in /etc/rcN.d/. This is no longer the case: native services are now pulled in exclusively by native dependencies (for example symlinks in

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Stephan Raue
sudo make install ? Am 08.07.2010 22:42, schrieb Steve Herber: In gentoo, the only way I know to install packages is to run the emerge command as root. The point of gentoo is to automate the download, untar, configure, compile, and install process. I don't know of a way to do this without b

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Steve Herber
In gentoo, the only way I know to install packages is to run the emerge command as root. The point of gentoo is to automate the download, untar, configure, compile, and install process. I don't know of a way to do this without being root. Does anyone know how to configure gentoo to split the

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Ozan Çağlayan
On 08.07.2010 23:42, Greg KH wrote: > > Cool, how many machines did you brick when that kernel build bug that > would delete the / partition if you built it as root was present? A > bunch of us were tempted to just leave it there to let people who were > doing this get what they deserved :) Non

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Greg KH
On Thu, Jul 08, 2010 at 11:26:20PM +0300, Ozan Çağlayan wrote: > On 08.07.2010 22:57, Lennart Poettering wrote: > > On Thu, 08.07.10 19:11, Ozan Çağlayan ([email protected]) wrote: > > >> > >> Note that this is built as root too. > > > > Don't build this as root, please. > > > > Lennart > > >

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Ozan Çağlayan
On 08.07.2010 22:57, Lennart Poettering wrote: > On Thu, 08.07.10 19:11, Ozan Çağlayan ([email protected]) wrote: >> >> Note that this is built as root too. > > Don't build this as root, please. > > Lennart > But hey I know that it's not good, preferable, safe to build packages as root *but*

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Lennart Poettering
On Thu, 08.07.10 19:11, Ozan Çağlayan ([email protected]) wrote: > > On 16.06.2010 16:32, Lennart Poettering wrote: > > On Wed, 16.06.10 15:08, [email protected] ([email protected]) wrote: > > > >> Compiling using portage in gentoo currently fails, since make > >> tries to create and moun

Re: [systemd-devel] Some ambiguities in man pages

2010-07-08 Thread Lennart Poettering
On Thu, 08.07.10 21:07, Ozan Çağlayan ([email protected]) wrote: > Hi, > > I wanted to note some ambiguous expressions in man pages in this thread in > order for you to refactor/fix them. Here's the first one: > > systemd.unit.xml:156: > "If this applies a special way to escape the path name

Re: [systemd-devel] [PATCH] man: Fix minor issues in systemd.unit.xml

2010-07-08 Thread Lennart Poettering
On Thu, 08.07.10 21:06, Ozan Çağlayan ([email protected]) wrote: > Fix minor typographic, punctuation and grammar errors. Thanks. Both patches applied and pushed! Thanks, Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list

[systemd-devel] [PATCH] man: Fix minor issues in systemd.unit.xml

2010-07-08 Thread Ozan Çağlayan
Fix minor typographic, punctuation and grammar errors. --- man/systemd.unit.xml | 50 +- 1 files changed, 25 insertions(+), 25 deletions(-) diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml index a06eed5..d6bb604 100644 --- a/man/systemd.un

[systemd-devel] Some ambiguities in man pages

2010-07-08 Thread Ozan Çağlayan
Hi, I wanted to note some ambiguous expressions in man pages in this thread in order for you to refactor/fix them. Here's the first one: systemd.unit.xml:156: "If this applies a special way to escape the path name is used, so that it is usable as part of a file name." ___

[systemd-devel] [PATCH] man: Minor typographic fixes to systemd.xml

2010-07-08 Thread Ozan Çağlayan
Fix some minor grammar and punctuation typos. --- man/systemd.xml | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/man/systemd.xml b/man/systemd.xml index 4f4a588..0798f23 100644 --- a/man/systemd.xml +++ b/man/systemd.xml @@ -232,7 +232,7 @@ c

Re: [systemd-devel] Compiling in a sandbox

2010-07-08 Thread Ozan Çağlayan
On 16.06.2010 16:32, Lennart Poettering wrote: > On Wed, 16.06.10 15:08, [email protected] ([email protected]) wrote: > >> Compiling using portage in gentoo currently fails, since make >> tries to create and mount /cgroup. Is this necessary for compilation? > > Well, not if you build from a