chiark / gitweb /
elogind.git
9 years agogentoo: vconsole-setup support.
Gustavo Sverzut Barbieri [Mon, 20 Sep 2010 22:07:09 +0000 (19:07 -0300)]
gentoo: vconsole-setup support.

This patch is a bit bigger than expected since Gentoo being
non-standard in some places.

 1. it is installing binaries at /usr/bin instead of /bin.

 2. it is using CamelCase names for consolefonts.

 3. /etc/rc.conf:unicode=(yes|no) just forbids loadkeys and setfont
    "-u" options, but do not disable the actual kernel default_utf8
    from vt module.

9 years agoask-password. Initializing socket_fd inside ask_agent.
Luis Felipe Strano Moraes [Fri, 17 Sep 2010 02:30:01 +0000 (23:30 -0300)]
ask-password. Initializing socket_fd inside ask_agent.

Garbage value could have been used if there was an error creating the
password file.

9 years agosystemctl: make condrestart equivalent to try-restart
Michal Schmidt [Mon, 20 Sep 2010 18:45:08 +0000 (20:45 +0200)]
systemctl: make condrestart equivalent to try-restart

"condrestart" should be equivalent to "try-restart", i.e. it should be
translated into "TryRestartUnit". See
http://fedoraproject.org/wiki/Packaging:SysVInitScript#condrestart_and_try-restart

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=635780

9 years agolocale: set LANG on Arch
Tom Gundersen [Sat, 18 Sep 2010 22:43:53 +0000 (23:43 +0100)]
locale: set LANG on Arch

This variable is defined in /etc/rc.conf

9 years agovconsole: set keyboard mapping and font settings on Arch
Tom Gundersen [Sat, 18 Sep 2010 22:45:39 +0000 (23:45 +0100)]
vconsole: set keyboard mapping and font settings on Arch

These variables are defined in /etc/rc.conf

9 years agorandom-seed: create parents of RANDOM_SEED if they do not exist.
Gustavo Sverzut Barbieri [Mon, 20 Sep 2010 13:04:10 +0000 (10:04 -0300)]
random-seed: create parents of RANDOM_SEED if they do not exist.

it may happen that parent directories of RANDOM_SEED do not exist, in
that case we must create it otherwise save will not work.

9 years agoupdate fixme
Lennart Poettering [Mon, 20 Sep 2010 19:47:32 +0000 (21:47 +0200)]
update fixme

9 years agoupdate fixme
Lennart Poettering [Fri, 17 Sep 2010 23:38:46 +0000 (01:38 +0200)]
update fixme

9 years agovconsole: drop vconsole config file var prefix
Lennart Poettering [Fri, 17 Sep 2010 23:20:13 +0000 (01:20 +0200)]
vconsole: drop vconsole config file var prefix

9 years agovconsole: more completely cover fedora legacy vconsole configuration
Lennart Poettering [Fri, 17 Sep 2010 23:19:46 +0000 (01:19 +0200)]
vconsole: more completely cover fedora legacy vconsole configuration

9 years agoask-password: popup notification when we ask for a password
Lennart Poettering [Fri, 17 Sep 2010 00:32:48 +0000 (02:32 +0200)]
ask-password: popup notification when we ask for a password

9 years agoask-password: extend help text a little
Lennart Poettering [Fri, 17 Sep 2010 00:13:12 +0000 (02:13 +0200)]
ask-password: extend help text a little

9 years agoask-password: optionally ask questions on tty
Lennart Poettering [Fri, 17 Sep 2010 00:10:08 +0000 (02:10 +0200)]
ask-password: optionally ask questions on tty

9 years agoask-password: add minimal framework to allow services query SSL/harddisk passphrases...
Lennart Poettering [Thu, 16 Sep 2010 23:26:29 +0000 (01:26 +0200)]
ask-password: add minimal framework to allow services query SSL/harddisk passphrases from the user

9 years agovconsole: fall back to fedora specific configuration
Lennart Poettering [Wed, 15 Sep 2010 23:58:16 +0000 (01:58 +0200)]
vconsole: fall back to fedora specific configuration

9 years agoutil: fix handling of quotes in parse_env_file()
Lennart Poettering [Wed, 15 Sep 2010 23:57:59 +0000 (01:57 +0200)]
util: fix handling of quotes in parse_env_file()

9 years agolocale: initialize locale from /etc/locale by default
Lennart Poettering [Wed, 15 Sep 2010 23:57:42 +0000 (01:57 +0200)]
locale: initialize locale from /etc/locale by default

9 years agovconsole: add new utility to initialize the virtual console
Lennart Poettering [Wed, 15 Sep 2010 22:36:41 +0000 (00:36 +0200)]
vconsole: add new utility to initialize the virtual console

9 years agoutil: use waitid() instead of waitpid() everywhere to avoid confusion due to SIGSTOP
Lennart Poettering [Wed, 15 Sep 2010 12:48:59 +0000 (14:48 +0200)]
util: use waitid() instead of waitpid() everywhere to avoid confusion due to SIGSTOP

9 years agoutil: introduce waitpid_loop()
Lennart Poettering [Wed, 15 Sep 2010 12:37:16 +0000 (14:37 +0200)]
util: introduce waitpid_loop()

9 years agosystemctl: use sizeof() instead of strlen() on literal strings
Lennart Poettering [Wed, 15 Sep 2010 01:12:04 +0000 (03:12 +0200)]
systemctl: use sizeof() instead of strlen() on literal strings

9 years agosystemctl: split job list writing to a seperate function
Zbyszek Szmek [Tue, 14 Sep 2010 23:54:15 +0000 (01:54 +0200)]
systemctl: split job list writing to a seperate function

On Tue, Sep 14, 2010 at 10:23:28PM +0200, Lennart Poettering wrote:
> On Tue, 07.09.10 17:02, Zbigniew Jędrzejewski-Szmek (zbyszek@in.waw.pl) wrote:
>
> Urks, now I commited the wrong one... Can you prep an updated patch against
> current git?
Once more sorry about that.

Fix below.

Zbyszek

9 years agoman: document that first param to ExecStart= cannot be variable substitution
Lennart Poettering [Tue, 14 Sep 2010 23:44:26 +0000 (01:44 +0200)]
man: document that first param to ExecStart= cannot be variable substitution

https://bugzilla.redhat.com/show_bug.cgi?id=630156

9 years agomount-setup: fix selinux label after mounting
Lennart Poettering [Tue, 14 Sep 2010 23:38:07 +0000 (01:38 +0200)]
mount-setup: fix selinux label after mounting

rhbz 629268

9 years agosystemctl: limit some column widths to widest actually used
Zbigniew Jędrzejewski-Szmek [Tue, 7 Sep 2010 08:30:52 +0000 (10:30 +0200)]
systemctl: limit some column widths to widest actually used

old
UNIT                      LOAD   ACTIVE       SUB                JOB
dev-hugepages.automount   loaded active       running                            Huge Page
dev-mqueue.automount      loaded active       waiting                            POSIX Mes
proc-sys...misc.automount loaded active       waiting                            Arbitrary
sys-kern...ebug.automount loaded active       running                            Debug Fil

new
UNIT                      LOAD   ACTIVE SUB       JOB
dev-hugepages.automount   loaded active running       Huge Pages File System Automount Poi
dev-mqueue.automount      loaded active waiting       POSIX Message Queue File System Auto
systemd-shutdownd.socket  loaded active listening     systemd Delayed Shutdown Socket

9 years agosystemctl: split job list writing to a seperate function
Zbigniew Jędrzejewski-Szmek [Tue, 7 Sep 2010 08:30:51 +0000 (10:30 +0200)]
systemctl: split job list writing to a seperate function

9 years agosystemctl: use on_tty() helper everywhere
Zbigniew Jędrzejewski-Szmek [Tue, 7 Sep 2010 08:30:50 +0000 (10:30 +0200)]
systemctl: use on_tty() helper everywhere

9 years agoman: include reference to the interface stability promise
Lennart Poettering [Tue, 14 Sep 2010 19:52:33 +0000 (21:52 +0200)]
man: include reference to the interface stability promise

9 years agoutil: SIGSTKFLT is unknown on Linux for SPARC
Lennart Poettering [Tue, 14 Sep 2010 11:56:08 +0000 (13:56 +0200)]
util: SIGSTKFLT is unknown on Linux for SPARC

9 years agobuild-sys: bump version v10
Lennart Poettering [Tue, 14 Sep 2010 00:29:58 +0000 (02:29 +0200)]
build-sys: bump version

9 years agosystemctl: use isolate when called as telinit for a runlevel
Lennart Poettering [Tue, 14 Sep 2010 00:22:55 +0000 (02:22 +0200)]
systemctl: use isolate when called as telinit for a runlevel

9 years agomanager: log job mode when running job
Lennart Poettering [Tue, 14 Sep 2010 00:16:14 +0000 (02:16 +0200)]
manager: log job mode when running job

9 years agoprefdm: make sure we start prefdm only after the getty is killed
Lennart Poettering [Tue, 14 Sep 2010 00:02:06 +0000 (02:02 +0200)]
prefdm: make sure we start prefdm only after the getty is killed

9 years agoinitctl: properly use isolate when activating runlevels
Lennart Poettering [Mon, 13 Sep 2010 23:56:14 +0000 (01:56 +0200)]
initctl: properly use isolate when activating runlevels

9 years agotarget: add implicit target/unit ordering deps only if both sides have been fully...
Lennart Poettering [Mon, 13 Sep 2010 23:51:30 +0000 (01:51 +0200)]
target: add implicit target/unit ordering deps only if both sides have been fully loaded

9 years agosocket: fix output of TCP congestion options
Lennart Poettering [Mon, 13 Sep 2010 23:31:41 +0000 (01:31 +0200)]
socket: fix output of TCP congestion options

9 years agounits: make sure the file system is writable before we write utmp data
Lennart Poettering [Mon, 13 Sep 2010 23:07:06 +0000 (01:07 +0200)]
units: make sure the file system is writable before we write utmp data

9 years agoservice: fix check for non-LSB files
Lennart Poettering [Mon, 13 Sep 2010 22:23:15 +0000 (00:23 +0200)]
service: fix check for non-LSB files

9 years agounits: add generic description for http-daemon.target
Lennart Poettering [Mon, 13 Sep 2010 22:22:47 +0000 (00:22 +0200)]
units: add generic description for http-daemon.target

9 years agoservice: add generic LSB provides handling for facilities
Lennart Poettering [Mon, 13 Sep 2010 21:54:21 +0000 (23:54 +0200)]
service: add generic LSB provides handling for facilities

9 years agoservice: translate 'httpd' LSB Provides into '$httpd' on Fedora
Lennart Poettering [Mon, 13 Sep 2010 21:53:59 +0000 (23:53 +0200)]
service: translate 'httpd' LSB Provides into '$httpd' on Fedora

9 years agoman: s/triggerin/triggerun/ for rpm upgrades
Lennart Poettering [Mon, 13 Sep 2010 18:51:40 +0000 (20:51 +0200)]
man: s/triggerin/triggerun/ for rpm upgrades

https://bugzilla.redhat.com/show_bug.cgi?id=626966

9 years agominor nit: printf attribute was removed by -DSD_EXPORT_SYMBOLS
Rainer Gerhards [Wed, 8 Sep 2010 10:17:15 +0000 (12:17 +0200)]
minor nit: printf attribute was removed by -DSD_EXPORT_SYMBOLS

9 years agofedora: don't quit plymouth too early
Michal Schmidt [Mon, 13 Sep 2010 12:44:44 +0000 (14:44 +0200)]
fedora: don't quit plymouth too early

Do not quit plymouth until the dependencies for getty@tty1.service are
ready, in order to minimize the time a black screen is displayed.

9 years agoutil: add Arch welcome message
Tom Gundersen [Mon, 13 Sep 2010 16:27:36 +0000 (18:27 +0200)]
util: add Arch welcome message

Arch has no release name, so juts prints 'Welcome to Arch Linux!'.
The color is the same as used by Arch's native rc.sysinit.

9 years agoutil: add Debian welcome message
Sedat Dilek [Sun, 12 Sep 2010 21:17:05 +0000 (23:17 +0200)]
util: add Debian welcome message

Hi,

after talked with Michael on IRC, here is the patch to see a systemd
Welcome message on Debian systems.
FYI: I had to remove "quiet" from Kernel-command-line to see it.

"Stolen from Gentoo" :-) [1,2]?

Kind Regards,
- Sedat -

[1] http://lists.freedesktop.org/archives/systemd-devel/2010-September/000267.html
[2] http://cgit.freedesktop.org/systemd/commit/?id=0d37b36b2890fdf8149d12460ebb00822e555977

From 76d860ca774cb8724de25c3ed3c455ebe5d548e3 Mon Sep 17 00:00:00 2001
From: Sedat Dilek <sedat.dilek@gmail.com>
Date: Sun, 12 Sep 2010 23:02:22 +0200
Subject: [PATCH] util: add Debian welcome message

Include the "Debian" string as /etc/debian_version contains only the Distribution name like "squeeze".
Use Light Red color for Debian.

Based on a proposal patch of Michael Biebl <biebl@debian.org>

9 years agotarget: add default unit ordering deps from the unit not the target
Lennart Poettering [Mon, 13 Sep 2010 10:06:49 +0000 (12:06 +0200)]
target: add default unit ordering deps from the unit not the target

9 years agoman: some clarifications
Lennart Poettering [Mon, 13 Sep 2010 10:05:54 +0000 (12:05 +0200)]
man: some clarifications

9 years agomanager: report correctly which job was deleted when breaking cycle
Michal Schmidt [Sat, 11 Sep 2010 00:00:27 +0000 (02:00 +0200)]
manager: report correctly which job was deleted when breaking cycle

9 years agoservice: don't automatically add D-Bus service name as an alias to all dbus service...
Lennart Poettering [Fri, 10 Sep 2010 23:31:58 +0000 (01:31 +0200)]
service: don't automatically add D-Bus service name as an alias to all dbus service, rely on manual symlinks to allow disabling of dbus services

9 years agounits: pull in syslog.target for synchronization purposes by systemd-logger.service
Lennart Poettering [Fri, 10 Sep 2010 16:20:35 +0000 (18:20 +0200)]
units: pull in syslog.target for synchronization purposes by systemd-logger.service

9 years agounits: start logger only after syslog is up
Lennart Poettering [Fri, 10 Sep 2010 15:47:36 +0000 (17:47 +0200)]
units: start logger only after syslog is up

9 years agounits: we should be able to reach syslog.target even if no logger is enabled at all
Lennart Poettering [Fri, 10 Sep 2010 15:17:57 +0000 (17:17 +0200)]
units: we should be able to reach syslog.target even if no logger is enabled at all

9 years agounits: set working directory to /root for sulogin, since sulogin is crazy
Lennart Poettering [Fri, 10 Sep 2010 15:11:29 +0000 (17:11 +0200)]
units: set working directory to /root for sulogin, since sulogin is crazy

9 years agologger: support SOCK_STREAM /dev/log sockets as necessary for syslog-ng
Lennart Poettering [Fri, 10 Sep 2010 15:11:11 +0000 (17:11 +0200)]
logger: support SOCK_STREAM /dev/log sockets as necessary for syslog-ng

9 years agounits: set HOME=/root when running shells
Lennart Poettering [Fri, 10 Sep 2010 14:53:53 +0000 (16:53 +0200)]
units: set HOME=/root when running shells

9 years agoupdate fixme
Kay Sievers [Fri, 10 Sep 2010 13:11:51 +0000 (15:11 +0200)]
update fixme

9 years agoupdate fixme
Kay Sievers [Fri, 10 Sep 2010 13:10:39 +0000 (15:10 +0200)]
update fixme

9 years agoutil: add Gentoo welcome message.
Gustavo Sverzut Barbieri [Wed, 8 Sep 2010 14:12:47 +0000 (11:12 -0300)]
util: add Gentoo welcome message.

9 years agolog: support logging into SOCK_STREAM /dev/log sockets for comaptibility with syslog-ng
Lennart Poettering [Wed, 8 Sep 2010 01:07:44 +0000 (03:07 +0200)]
log: support logging into SOCK_STREAM /dev/log sockets for comaptibility with syslog-ng

9 years agounits: On Debian Runlevel 2, 3, 4 and 5 are multi-user
Michael Biebl [Tue, 7 Sep 2010 17:58:14 +0000 (19:58 +0200)]
units: On Debian Runlevel 2, 3, 4 and 5 are multi-user

Patch by Tollef Fog Heen <tfheen@err.no>
Extended to re-create the runlevel5.target symlink by Michael Biebl <biebl@debian.org>

9 years agounits: add umount unit files for Debian
Michael Biebl [Mon, 6 Sep 2010 03:44:00 +0000 (05:44 +0200)]
units: add umount unit files for Debian

Add unit files to call

/etc/init.d/umountnfs.sh stop (network file systems)
/etc/init.d/umountfs stop     (local file systems)
/etc/init.d/umountroot stop   ("/" file system)

in the right order and hook them up in the umount.target so they are run
on shutdown and reboot.

9 years agosd-daemon: optionally, avoid hiding the ELF symbols
Lennart Poettering [Tue, 7 Sep 2010 23:55:17 +0000 (01:55 +0200)]
sd-daemon: optionally, avoid hiding the ELF symbols

9 years agomain: when we encounter 'emergency' on the kernel cmdline start the emergency shell
Lennart Poettering [Tue, 7 Sep 2010 23:52:39 +0000 (01:52 +0200)]
main: when we encounter 'emergency' on the kernel cmdline start the emergency shell

9 years agounits: make sure we always fully write the utmp data
Lennart Poettering [Mon, 6 Sep 2010 13:01:31 +0000 (15:01 +0200)]
units: make sure we always fully write the utmp data

9 years agoman: Fix small typo: s/seperate/separate/
Michael Biebl [Fri, 3 Sep 2010 14:30:48 +0000 (16:30 +0200)]
man: Fix small typo: s/seperate/separate/

9 years agounits: Provide separate fsck.target for Debian
Michael Biebl [Fri, 3 Sep 2010 14:23:05 +0000 (16:23 +0200)]
units: Provide separate fsck.target for Debian

On Debian sysinit is not a single script but a separate runlevel.
Split of fsck.target into separate unit file as otherwise we get an
unbreakable cycle on shutdown/reboot.

9 years agounits: Add halt, killall, poweroff and reboot unit files for Debian
Michael Biebl [Fri, 3 Sep 2010 13:16:35 +0000 (15:16 +0200)]
units: Add halt, killall, poweroff and reboot unit files for Debian

9 years agosystemctl: make --version a little bit more verbose
Lennart Poettering [Mon, 6 Sep 2010 01:11:24 +0000 (03:11 +0200)]
systemctl: make --version a little bit more verbose

9 years agosystemctl: implement --version
Lennart Poettering [Mon, 6 Sep 2010 00:42:49 +0000 (02:42 +0200)]
systemctl: implement --version

https://bugs.freedesktop.org/show_bug.cgi?id=29912

9 years agodbus: downgrade activation failure messages
Lennart Poettering [Mon, 6 Sep 2010 00:42:42 +0000 (02:42 +0200)]
dbus: downgrade activation failure messages

9 years agoautomount: make sure we don't crash if there's an automount unit without mount unit
Lennart Poettering [Sun, 5 Sep 2010 23:04:59 +0000 (01:04 +0200)]
automount: make sure we don't crash if there's an automount unit without mount unit

9 years agowork around busted capability.h
Kay Sievers [Fri, 3 Sep 2010 10:26:30 +0000 (12:26 +0200)]
work around busted capability.h

It contains things like:
  #ifndef _LINUX_TYPES_H
  #define _LINUX_TYPES_H
  #include <stdint.h>
  typedef uint32_t __u32;
  typedef __u32 __le32;
  ...

which result in:
  /usr/include/asm-generic/int-ll64.h:30:42: error: conflicting types for ‘__u64’
  /usr/include/sys/capability.h:39:18: note: previous declaration of ‘__u64’ was here
  make[1]: *** [src/libsystemd_core_la-unit.lo] Error 1
  make[1]: Leaving directory `/home/kay/work/src/systemd'
  make: *** [all] Error 2

So, include linux/types.h to get around that.

9 years agobuild-sys: fix fedpkg git path
Lennart Poettering [Fri, 3 Sep 2010 03:39:22 +0000 (05:39 +0200)]
build-sys: fix fedpkg git path

9 years agobuild-sys: prepare new release v9
Lennart Poettering [Fri, 3 Sep 2010 02:51:02 +0000 (04:51 +0200)]
build-sys: prepare new release

9 years agoman: extend documentation on systemctl isolate
Matthew Miller [Tue, 31 Aug 2010 16:25:22 +0000 (12:25 -0400)]
man: extend documentation on systemctl isolate

Lennart has convinced me that it's more helpful to participate than to sit
on the sidelines and complain. So, hello everyone.

I'm starting by giving up the battle to change the systemctl "isolate"
command to "switch-to". Can't win them all. :) I've got a suggested patch
to expand the documentation a bit, hopefully making it more clear to new
systemd users.

Is there an easy way to list all units where AllowIsolate is enabled? That
should be included alongside this, I think.

9 years agoservice: calculate sysv startup priority only in start runlevels
Lennart Poettering [Fri, 3 Sep 2010 02:08:16 +0000 (04:08 +0200)]
service: calculate sysv startup priority only in start runlevels

9 years agoupdate fixme
Lennart Poettering [Fri, 3 Sep 2010 01:58:11 +0000 (03:58 +0200)]
update fixme

9 years agoservice: make sure we properly figure out whether a sysv service is enabled before...
Lennart Poettering [Fri, 3 Sep 2010 01:56:05 +0000 (03:56 +0200)]
service: make sure we properly figure out whether a sysv service is enabled before creating $foo wants links

9 years agounits: don't add shutdown conflicts dep to umount.target
Lennart Poettering [Fri, 3 Sep 2010 00:20:39 +0000 (02:20 +0200)]
units: don't add shutdown conflicts dep to umount.target

9 years agounit: don't retroactively start units if we failed to shutdown a unit
Lennart Poettering [Thu, 2 Sep 2010 23:45:35 +0000 (01:45 +0200)]
unit: don't retroactively start units if we failed to shutdown a unit

9 years agodbus: don't send cgroup agent messages directly to system bus to avoid dbus activatio...
Lennart Poettering [Thu, 2 Sep 2010 23:45:14 +0000 (01:45 +0200)]
dbus: don't send cgroup agent messages directly to system bus to avoid dbus activation loop

9 years agotarget: implicitly shutdown targets on shutdown, so that they are pulled into the...
Lennart Poettering [Thu, 2 Sep 2010 23:42:19 +0000 (01:42 +0200)]
target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization

9 years agoservice: properly handle if the main process is down and we wait for the cgroup to...
Lennart Poettering [Thu, 2 Sep 2010 23:41:40 +0000 (01:41 +0200)]
service: properly handle if the main process is down and we wait for the cgroup to die, too

9 years agodbus: make sure to flush bus connection before disconnecting, so that no messages...
Lennart Poettering [Thu, 2 Sep 2010 21:26:04 +0000 (23:26 +0200)]
dbus: make sure to flush bus connection before disconnecting, so that no messages are lost

9 years agounit: unify some code
Lennart Poettering [Wed, 1 Sep 2010 01:35:04 +0000 (03:35 +0200)]
unit: unify some code

9 years agodbus: don't accept activation requests anymore if we are going down anyway
Lennart Poettering [Wed, 1 Sep 2010 01:30:59 +0000 (03:30 +0200)]
dbus: don't accept activation requests anymore if we are going down anyway

9 years agosystemctl: make sure daemon-reexec and friends return a correct error code
Lennart Poettering [Wed, 1 Sep 2010 00:11:52 +0000 (02:11 +0200)]
systemctl: make sure daemon-reexec and friends return a correct error code

9 years agosystemctl: fix return value of systemctl start and friends
Lennart Poettering [Wed, 1 Sep 2010 00:03:41 +0000 (02:03 +0200)]
systemctl: fix return value of systemctl start and friends

9 years agoservice: recheck PID status when a cgroup runs empty
Lennart Poettering [Tue, 31 Aug 2010 23:33:12 +0000 (01:33 +0200)]
service: recheck PID status when a cgroup runs empty

9 years agoservice: wait for process exit only if we actually killed somebody
Lennart Poettering [Tue, 31 Aug 2010 22:48:05 +0000 (00:48 +0200)]
service: wait for process exit only if we actually killed somebody

9 years agomanager: reword some error messages regarding "logs"
Lennart Poettering [Tue, 31 Aug 2010 22:32:32 +0000 (00:32 +0200)]
manager: reword some error messages regarding "logs"

https://bugzilla.redhat.com/show_bug.cgi?id=627785

9 years agoutil: leave locked terminal attributes untouched so that we don't interfere with...
Lennart Poettering [Tue, 31 Aug 2010 22:10:41 +0000 (00:10 +0200)]
util: leave locked terminal attributes untouched so that we don't interfere with plymouth

https://bugzilla.redhat.com/show_bug.cgi?id=628913

9 years agoservice: properly pass dbus error structure
Michal Schmidt [Tue, 31 Aug 2010 21:52:51 +0000 (23:52 +0200)]
service: properly pass dbus error structure

9 years agomanager: make sure we free the dbus error only if we actually use one
Lennart Poettering [Tue, 31 Aug 2010 21:51:12 +0000 (23:51 +0200)]
manager: make sure we free the dbus error only if we actually use one

9 years agoservice: rework killing logic so that we always kill the main process, even if it...
Lennart Poettering [Tue, 31 Aug 2010 21:24:47 +0000 (23:24 +0200)]
service: rework killing logic so that we always kill the main process, even if it left our service cgroup

Related to:

http://bugzilla.redhat.com/show_bug.cgi?id=626477

9 years agosystemctl: rework exit codes for all utility programs to follow LSB or other standards
Lennart Poettering [Tue, 31 Aug 2010 19:05:54 +0000 (21:05 +0200)]
systemctl: rework exit codes for all utility programs to follow LSB or other standards

9 years agosystemctl: avoid wrapping of headers/footers
Lennart Poettering [Tue, 31 Aug 2010 14:56:08 +0000 (16:56 +0200)]
systemctl: avoid wrapping of headers/footers

This change makes sure that our output never exceeds 80ch on 80ch
terminals.

https://bugzilla.redhat.com/show_bug.cgi?id=626443

9 years agoutil: look at STDOUT, not STDIN, when determining tty columns
Lennart Poettering [Tue, 31 Aug 2010 14:53:58 +0000 (16:53 +0200)]
util: look at STDOUT, not STDIN, when determining tty columns

https://bugzilla.redhat.com/show_bug.cgi?id=626891

9 years agoexec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interface
Lennart Poettering [Mon, 30 Aug 2010 23:33:39 +0000 (01:33 +0200)]
exec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interface

This replaces OOMAdjust= by OOMScoreAdjust= in the config files,
breaking compatibility with older unit files. However, this keeps compat
with older kernels which lack the new OOM rework.