Lennart Poettering
97c4a07df9
vconsole: add new utility to initialize the virtual console
2010-09-16 00:36:41 +02:00
Lennart Poettering
8e12a6aed3
util: use waitid() instead of waitpid() everywhere to avoid confusion due to SIGSTOP
2010-09-15 14:48:59 +02:00
Lennart Poettering
2e78aa9988
util: introduce waitpid_loop()
2010-09-15 14:37:45 +02:00
Lennart Poettering
b036fc0050
systemctl: use sizeof() instead of strlen() on literal strings
2010-09-15 03:12:04 +02:00
Zbyszek Szmek
9b2fcafba4
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
2010-09-15 03:05:02 +02:00
Lennart Poettering
5275d3c13d
mount-setup: fix selinux label after mounting
...
rhbz 629268
2010-09-15 01:38:07 +02:00
Zbigniew Jędrzejewski-Szmek
3333022269
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
2010-09-14 22:16:28 +02:00
Zbigniew Jędrzejewski-Szmek
eb68c413aa
systemctl: split job list writing to a seperate function
2010-09-14 22:15:41 +02:00
Zbigniew Jędrzejewski-Szmek
ef639c5f9e
systemctl: use on_tty() helper everywhere
2010-09-14 22:14:52 +02:00
Lennart Poettering
f26ee0b931
util: SIGSTKFLT is unknown on Linux for SPARC
2010-09-14 13:56:08 +02:00
Lennart Poettering
6f0d624ec7
systemctl: use isolate when called as telinit for a runlevel
2010-09-14 02:22:55 +02:00
Lennart Poettering
e43ac8788b
manager: log job mode when running job
2010-09-14 02:16:14 +02:00
Lennart Poettering
ac83842a55
initctl: properly use isolate when activating runlevels
2010-09-14 01:56:14 +02:00
Lennart Poettering
bba34eedc7
target: add implicit target/unit ordering deps only if both sides have been fully loaded
2010-09-14 01:51:30 +02:00
Lennart Poettering
83a95334c9
socket: fix output of TCP congestion options
2010-09-14 01:31:41 +02:00
Lennart Poettering
f21781d57f
service: fix check for non-LSB files
2010-09-14 00:23:15 +02:00
Lennart Poettering
32159d3a94
service: add generic LSB provides handling for facilities
2010-09-13 23:54:21 +02:00
Lennart Poettering
4f7dcad328
service: translate 'httpd' LSB Provides into '$httpd' on Fedora
2010-09-13 23:53:59 +02:00
Rainer Gerhards
e702c2c07d
minor nit: printf attribute was removed by -DSD_EXPORT_SYMBOLS
2010-09-13 20:08:29 +02:00
Tom Gundersen
17dbb83dee
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.
2010-09-13 19:19:54 +02:00
Sedat Dilek
5a6225fd2e
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 >
2010-09-13 18:03:00 +02:00
Lennart Poettering
98bc20006d
target: add default unit ordering deps from the unit not the target
2010-09-13 12:06:49 +02:00
Michal Schmidt
54ec68b6f6
manager: report correctly which job was deleted when breaking cycle
2010-09-11 02:00:27 +02:00
Lennart Poettering
ee0dd8021b
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
2010-09-11 01:31:58 +02:00
Lennart Poettering
b00bad3641
logger: support SOCK_STREAM /dev/log sockets as necessary for syslog-ng
2010-09-10 17:11:48 +02:00
Gustavo Sverzut Barbieri
0d37b36b28
util: add Gentoo welcome message.
2010-09-09 00:17:34 +02:00
Lennart Poettering
c31e14954b
log: support logging into SOCK_STREAM /dev/log sockets for comaptibility with syslog-ng
2010-09-08 03:07:44 +02:00
Lennart Poettering
da5fcb1060
sd-daemon: optionally, avoid hiding the ELF symbols
2010-09-08 01:55:35 +02:00
Lennart Poettering
ed370f5daa
main: when we encounter 'emergency' on the kernel cmdline start the emergency shell
2010-09-08 01:55:35 +02:00
Michael Biebl
96d4ce0110
man: Fix small typo: s/seperate/separate/
2010-09-06 03:13:14 +02:00
Lennart Poettering
7d568925bd
systemctl: make --version a little bit more verbose
2010-09-06 03:11:24 +02:00
Lennart Poettering
35df8f27fa
systemctl: implement --version
...
https://bugs.freedesktop.org/show_bug.cgi?id=29912
2010-09-06 02:42:49 +02:00
Lennart Poettering
2a8cd298f4
dbus: downgrade activation failure messages
2010-09-06 02:42:42 +02:00
Lennart Poettering
7573916f63
automount: make sure we don't crash if there's an automount unit without mount unit
2010-09-06 01:05:38 +02:00
Kay Sievers
dacdf15367
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.
2010-09-03 12:26:30 +02:00
Lennart Poettering
f73d93a4d9
service: calculate sysv startup priority only in start runlevels
2010-09-03 04:08:16 +02:00
Lennart Poettering
c68364b790
service: make sure we properly figure out whether a sysv service is enabled before creating $foo wants links
2010-09-03 03:56:05 +02:00
Lennart Poettering
5ed9f5d65e
unit: don't retroactively start units if we failed to shutdown a unit
2010-09-03 01:45:53 +02:00
Lennart Poettering
53c6a358a8
dbus: don't send cgroup agent messages directly to system bus to avoid dbus activation loop
2010-09-03 01:45:53 +02:00
Lennart Poettering
b401e1fb9d
target: implicitly shutdown targets on shutdown, so that they are pulled into the final transaction and may be used for synchronization
2010-09-03 01:42:57 +02:00
Lennart Poettering
7f97f0fee4
service: properly handle if the main process is down and we wait for the cgroup to die, too
2010-09-03 01:42:57 +02:00
Lennart Poettering
5d452f9cec
dbus: make sure to flush bus connection before disconnecting, so that no messages are lost
2010-09-02 23:26:04 +02:00
Lennart Poettering
18ffdfda48
unit: unify some code
2010-09-01 03:35:04 +02:00
Lennart Poettering
8f6df3fa98
dbus: don't accept activation requests anymore if we are going down anyway
2010-09-01 03:30:59 +02:00
Lennart Poettering
aabd9b11ba
systemctl: make sure daemon-reexec and friends return a correct error code
2010-09-01 02:11:52 +02:00
Lennart Poettering
706900b704
systemctl: fix return value of systemctl start and friends
2010-09-01 02:03:41 +02:00
Lennart Poettering
28708d8aa0
service: recheck PID status when a cgroup runs empty
2010-09-01 01:33:12 +02:00
Lennart Poettering
f5a501146a
service: wait for process exit only if we actually killed somebody
2010-09-01 00:48:05 +02:00
Lennart Poettering
fe71c02cf5
manager: reword some error messages regarding "logs"
...
https://bugzilla.redhat.com/show_bug.cgi?id=627785
2010-09-01 00:32:32 +02:00
Lennart Poettering
eed1d0e33d
util: leave locked terminal attributes untouched so that we don't interfere with plymouth
...
https://bugzilla.redhat.com/show_bug.cgi?id=628913
2010-09-01 00:10:41 +02:00