On Wed, Sep 8, 2010 at 2:04 AM, Michael Biebl wrote:
> 2010/9/8 Gustavo Sverzut Barbieri :
>> - calling any of /etc/init.d scripts is bad, as it will call openrc
>> and it will bring all dependencies on its own, including services
>> managed by systemd that are up already. This means we better di
2010/9/8 Gustavo Sverzut Barbieri :
> - calling any of /etc/init.d scripts is bad, as it will call openrc
> and it will bring all dependencies on its own, including services
> managed by systemd that are up already. This means we better disable
> sysv support there (more on this later).
Not sure
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to
isolate code dealing with /etc/init.d and /etc/rcN.d for systems where
it does not make sense (one that does not use sysv or one that is fully
systemd native).
The patch tries to be as little intrusive as possible, however in
order
Hi all,
I'm a gentoo user previously using openrc-0.6.3 and baselayout-2, but
given the promising future of systemd and the not-so-promising future
for openrc, I'm willing to help with Gentoo support.
So first things first, I needed to move my system and although
http://en.gentoo-wiki.com/w/index
On Tue, 07.09.10 20:07, Michael Biebl (mbi...@gmail.com) wrote:
> On Debian there is no distinction by default between runlevels 2-5
>
> The attached patch accounts for that.
Thanks! Applied!
Lennart
--
Lennart Poettering - Red Hat, Inc.
___
systemd
On Tue, 07.09.10 19:49, Michael Biebl (mbi...@gmail.com) wrote:
> 2010/9/7 Lennart Poettering :
> >> +StandardInput=tty
> >
> > It's probably smart to remove the StandardInput=tty lines from all these
> > units, as this might create a problem if some process continues running
> > that owns the con
2010/9/7 Michael Biebl :
> On Debian there is no distinction by default between runlevels 2-5
>
> The attached patch accounts for that.
Forgot to add, that this patch must be applied on top of
0001-units-add-umount-unit-files-for-Debian.patch
--
Why is it that all of the instruments seeking inte
On Debian there is no distinction by default between runlevels 2-5
The attached patch accounts for that.
The patch is based on
http://git.err.no/cgi-bin/gitweb.cgi?p=systemd;a=blob;f=units/multi-user.target.m4;h=bbb5224f2b18be755fe4371ca5b024b29e7fce3b;hb=cf586269a3a738275d31cf24403f94ca0946ecfb
2010/9/7 Lennart Poettering :
>> +StandardInput=tty
>
> It's probably smart to remove the StandardInput=tty lines from all these
> units, as this might create a problem if some process continues running
> that owns the console (e.g. a left-over getty or so). Because in this
> case these units will
Lennart Poettering (lenn...@poettering.net) said:
> > It reads confusingly, in that if sysinit is 'Before' emergency, the
> > implication would be that if you enable emergency mode, sysinit would be
> > started before it. It isn't, as the dependency isn't there.
>
> sysinit.target has a Conflicts
On Tue, 07.09.10 12:41, Bill Nottingham (nott...@redhat.com) wrote:
>
> Lennart Poettering (lenn...@poettering.net) said:
> > And I hope this is not too confusing...
>
> It reads confusingly, in that if sysinit is 'Before' emergency, the
> implication would be that if you enable emergency mode,
Lennart Poettering (lenn...@poettering.net) said:
> And I hope this is not too confusing...
It reads confusingly, in that if sysinit is 'Before' emergency, the
implication would be that if you enable emergency mode, sysinit would be
started before it. It isn't, as the dependency isn't there.
Two
On Tue, 07.09.10 12:09, Bill Nottingham (nott...@redhat.com) wrote:
>
> Lennart Poettering (lenn...@poettering.net) said:
> > In systemd, "emergency" is little more than an equivalent to
> > init=/bin/sh on the kernel command like. i.e. you get a shell
>
> Not as it's currently configured. sysi
Lennart Poettering (lenn...@poettering.net) said:
> In systemd, "emergency" is little more than an equivalent to
> init=/bin/sh on the kernel command like. i.e. you get a shell
Not as it's currently configured. sysinit.service has
'Before' on it. Is that not intentional?
Bill
___
On Tue, Sep 07, 2010 at 08:40:41AM -0400, Matthew Miller wrote:
> On Tue, Sep 07, 2010 at 10:30:49AM +0200, Zbigniew Jędrzejewski-Szmek wrote:
> > Those are some very simple patches to improve systemctl job-list output.
> > - Make systemctl output greppable by defaulting to --full if not
> > writ
---
src/systemctl.c | 155 ---
1 files changed, 78 insertions(+), 77 deletions(-)
diff --git a/src/systemctl.c b/src/systemctl.c
index 004d28e..cb86907 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -251,12 +251,88 @@ static int compare_
On Mon, 06.09.10 19:44, Daniel Drake (d...@laptop.org) wrote:
heya,
> After reading the systemd man pages, I believe I want it to start
> after basic.target has fully started up, but before anything in
> multi-user.target starts. And I want everything in multi-user.target
> to await the completio
On Mon, 06.09.10 06:52, Michael Biebl (mbi...@gmail.com) wrote:
> +[Unit]
> +Description=Turn off swap and umount all local file systems
> +DefaultDependencies=no
> +After=killall.service
> +Before=reboot.service poweroff.service halt.service umountroot.service
> +
> +[Service]
> +Type=oneshot
> +
Closes https://bugzilla.redhat.com/show_bug.cgi?id=626891
and duplicate https://bugs.freedesktop.org/show_bug.cgi?id=29916.
---
src/systemctl.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/systemctl.c b/src/systemctl.c
index 0832dfa..3c4dc91 100644
--- a/src/system
---
src/systemctl.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/systemctl.c b/src/systemctl.c
index 627b905..004d28e 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -337,7 +337,7 @@ static int list_units(DBusConnection *bus, char **args,
unsigned n) {
old
UNIT LOAD ACTIVE SUBJOB
dev-hugepages.automount loaded active running
Huge Page
dev-mqueue.automount loaded active waiting
POSIX Mes
proc-sys...misc.automount loaded active
Those are some very simple patches to improve systemctl job-list output.
- Make systemctl output greppable by defaulting to --full if not
writing to a tty.
- Squeeze columns to make better use of available space.
Apart from formatting, nothing should change.
_
In the sprit of https://bugs.freedesktop.org/show_bug.cgi?id=28093.
Short version: use DEFAULT_CFLAGS to store detected cflags, not CFLAGS.
Add -Wno-sign-compare and -Wno-strict-prototypes to vala code.
Long version:
Previously, CFLAGS was used to store default compile options.
Automake manual go
---
src/systemctl.c | 155 ---
1 files changed, 78 insertions(+), 77 deletions(-)
diff --git a/src/systemctl.c b/src/systemctl.c
index 004d28e..cb86907 100644
--- a/src/systemctl.c
+++ b/src/systemctl.c
@@ -251,12 +251,88 @@ static int compare_
24 matches
Mail list logo