1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
Commit Graph

722 Commits

Author SHA1 Message Date
Harald Hoyer
efe5e8f7e1 readahead-collect: check for negative return codes of fs_on_ssd() 2010-09-26 15:52:58 +02:00
Lennart Poettering
6624768c9c readahead: add interface to sd-daemon.[ch] to control readahead 2010-09-26 15:50:14 +02:00
Harald Hoyer
f0cf061eda readahead-collect: typo, free the correct pointer 2010-09-26 15:24:08 +02:00
Lennart Poettering
8260358d5a readahead: parse command line arguments 2010-09-25 15:39:38 +02:00
Lennart Poettering
437dca8b2f readahead: never readahead temporary files since their names tend not to be stable 2010-09-25 14:35:53 +02:00
Lennart Poettering
75a010e0b7 readahead: make candidate for early OOM kill 2010-09-25 14:35:34 +02:00
Lennart Poettering
408b85df83 readahead: exit after a maximum runtime 2010-09-25 14:27:16 +02:00
Lennart Poettering
902a339c93 readahead-replay: delay ready notification until we queued first read 2010-09-25 13:47:31 +02:00
Lennart Poettering
41a598e21a readahead: disable on low memory machines 2010-09-25 13:32:54 +02:00
Lennart Poettering
4030d7a923 readahead: take file system root on command line 2010-09-24 11:12:10 +02:00
Lennart Poettering
c1480dae17 readahead: normalize logging 2010-09-23 17:44:33 +02:00
Lennart Poettering
6e3eb5ba18 readahead: put limit on files we read ahead 2010-09-23 17:35:16 +02:00
Lennart Poettering
746f890636 readahead: add btrfs defrag support 2010-09-23 17:11:19 +02:00
Lennart Poettering
0511502083 fanotify: use uint64_t instead of __u64 2010-09-23 15:49:08 +02:00
Lennart Poettering
76bf48b7d0 dbus: export number of total failed jobs on D-Bus interface 2010-09-23 15:38:42 +02:00
Lennart Poettering
22be093ffb readahead: implement minimal readahead logic based on fanotify(), mincore() and readahead() 2010-09-23 15:02:13 +02:00
Gustavo Sverzut Barbieri
fa70128df1 dbus: add Progress property to introspection 2010-09-21 16:55:35 +02:00
Kay Sievers
03aeb5bed0 suse: locale + vconsole compat support 2010-09-21 15:08:04 +02:00
Lennart Poettering
05d6a3b6cf manager: calculate progress value while booting 2010-09-21 04:25:48 +02:00
Lennart Poettering
b0c918b97f manager: measure startup times 2010-09-21 04:14:38 +02:00
Lennart Poettering
e409f87570 manager: count how many jobs we executed 2010-09-21 03:51:31 +02:00
Lennart Poettering
653ab83b18 vconsole: make sure we don't merge configuration settings from different sources 2010-09-21 03:16:28 +02:00
Lennart Poettering
ce8a6aa1a0 locale: make sure we don't merge configuration settings from different sources 2010-09-21 01:51:23 +02:00
Lennart Poettering
8780d48d86 locale: unset locale vars that are not set any longer 2010-09-21 01:40:34 +02:00
Lennart Poettering
97e3d13fb4 locale: never use LC_ALL. It's evil. 2010-09-21 01:37:42 +02:00
Tom Gundersen
980900c1d9 service: start Arch daemons
Arch does not use proper SysV runlevels. Instead /etc/rc.conf contains
an array of daemons to load in a multi-user runlevel, and some
dependencies between them.

This patch enables this behaviour in SystemD (only when compiled with
Arch support), which allows SystemD to be a drop in replacement on Arch
(modulo some minor bugs).

v2: simplified after suggestion from Lennart
2010-09-21 01:32:21 +02:00
Fabiano Fidencio
5bfcc1c6ef socket: Support IPv6-less systems with runtime check.
This patch introduces socket_ipv6_is_supported() call that checks for
IPv6 availability. Code then check for it before using specific calls.

In order to be less intrusive, this patch avoids IPv6 entries being
parsed at all, this way we don't get such entries in the system and
all other code paths are automatically ignored. However an extra check
is done at socket_address_listen() to make sure of that.

As the number of Netlink messages is not know upfront anymore,
loopback-setup.c was refactored to dynamically calculate the sequence
number and count.

Lennart's suggestions were fixed and squashed with the original patch,
that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-09-21 01:00:38 +02:00
Gustavo Sverzut Barbieri
918f4c69fa gentoo: locale-setup support
Use locale variables from /etc/profile.env as Gentoo's openrc
runscript does (tool that is used by /etc/init.d/* services).
2010-09-21 00:49:13 +02:00
Gustavo Sverzut Barbieri
9841e8e3d3 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.
2010-09-21 00:43:16 +02:00
Luis Felipe Strano Moraes
3e21c85da3 ask-password. Initializing socket_fd inside ask_agent.
Garbage value could have been used if there was an error creating the
password file.
2010-09-21 00:29:37 +02:00
Michal Schmidt
aa5939a3ba 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
2010-09-21 00:24:23 +02:00
Tom Gundersen
f2fcd59ffa locale: set LANG on Arch
This variable is defined in /etc/rc.conf
2010-09-20 23:14:28 +02:00
Tom Gundersen
424313503a vconsole: set keyboard mapping and font settings on Arch
These variables are defined in /etc/rc.conf
2010-09-20 23:14:23 +02:00
Gustavo Sverzut Barbieri
b56e57470c 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.
2010-09-20 23:12:50 +02:00
Lennart Poettering
a18fb4823b vconsole: drop vconsole config file var prefix 2010-09-18 01:20:13 +02:00
Lennart Poettering
ae509abccc vconsole: more completely cover fedora legacy vconsole configuration 2010-09-18 01:19:46 +02:00
Lennart Poettering
efb3237ee6 ask-password: popup notification when we ask for a password 2010-09-17 02:32:48 +02:00
Lennart Poettering
ad6ab0af1e ask-password: extend help text a little 2010-09-17 02:13:12 +02:00
Lennart Poettering
1b39d4b9d2 ask-password: optionally ask questions on tty 2010-09-17 02:10:08 +02:00
Lennart Poettering
490aed5849 ask-password: add minimal framework to allow services query SSL/harddisk passphrases from the user 2010-09-17 01:26:29 +02:00
Lennart Poettering
1ebdf5b684 vconsole: fall back to fedora specific configuration 2010-09-16 01:58:16 +02:00
Lennart Poettering
e7db37dd19 util: fix handling of quotes in parse_env_file() 2010-09-16 01:57:59 +02:00
Lennart Poettering
72bca11ba2 locale: initialize locale from /etc/locale by default 2010-09-16 01:57:42 +02:00
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
Michal Schmidt
7b2603e646 service: properly pass dbus error structure 2010-08-31 23:52:51 +02:00
Lennart Poettering
60dc72b563 manager: make sure we free the dbus error only if we actually use one 2010-08-31 23:51:12 +02:00
Lennart Poettering
ca949c9dcf 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
2010-08-31 23:24:47 +02:00
Lennart Poettering
22f4096ca9 systemctl: rework exit codes for all utility programs to follow LSB or other standards 2010-08-31 21:05:54 +02:00
Lennart Poettering
f73e33d9ec 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
2010-08-31 16:56:08 +02:00
Lennart Poettering
9ed95f4336 util: look at STDOUT, not STDIN, when determining tty columns
https://bugzilla.redhat.com/show_bug.cgi?id=626891
2010-08-31 16:53:58 +02:00
Lennart Poettering
dd6c17b159 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.
2010-08-31 01:33:43 +02:00
Matthew Miller
fdf20a3160 manager: add missing second part of s/maintenance/failed/ 2010-08-31 00:23:34 +02:00
Matthew Miller
74ac3cbd50 manager: rename 'maintenance' state to 'failed' to avoid user confusion
https://bugzilla.redhat.com/show_bug.cgi?id=614619
2010-08-31 00:17:56 +02:00
Lennart Poettering
c88e7f4e57 manager: don't try to minimize transaction when using isolate
We should not avoid stopping services when using isolate, since that
kinda defeats the point of it.

http://bugzilla.redhat.com/show_bug.cgi?id=627014
2010-08-30 23:51:52 +02:00
Lennart Poettering
da726a4d4d exec: make sure O_NONBLOCK is off for all sockets passed as STDIN/STDOUT/STDERR 2010-08-30 23:31:27 +02:00
Lennart Poettering
2528a7a62c unit: introduce AllowIsolate= switch 2010-08-30 23:04:36 +02:00
Lennart Poettering
b2bb3dbed9 console: rework automatic getty on kernel console logic again
It is essential that the gettys are proper dependencies from
getty.target so that they aren't killed and immediately restarted on
runlevel changes. Hence rework the logic to implicitly add console
gettys to getty.target as dependencies.

This also adds an automatic hvc console for virtualizers.

https://bugzilla.redhat.com/show_bug.cgi?id=501720
2010-08-30 23:03:58 +02:00
Lennart Poettering
3177a49ce9 service: properly handle Fedora's broken MTA meta-service name 2010-08-26 04:10:40 +02:00
Lennart Poettering
43a3754933 service: reword warnings a little 2010-08-26 04:10:17 +02:00
Lennart Poettering
42a097a253 service: if we cannot add an alias to a sysv service, ignore this and go on 2010-08-26 04:08:28 +02:00
Lennart Poettering
eb9e50de3e device: allow aliases on devices 2010-08-26 04:08:01 +02:00
Matthew Miller
cc8a7a6129 systemctl: very very trivial typo patch :) 2010-08-26 02:04:25 +02:00
Lennart Poettering
81bf310edc mount: imply noauto for mount points configured with native mount files 2010-08-25 21:24:21 +02:00
Lennart Poettering
173a8d04fc mount: rework automatic mounting to follow the 'nofail' option in fstab 2010-08-25 20:37:04 +02:00
Lennart Poettering
4cf5d67507 dbus: simplify some dbus error messages a bit 2010-08-25 19:50:06 +02:00
Lennart Poettering
50f74deea3 sd-daemon: drop SCM_CREDENTIALS passing since it is redundant, the kernel fills this in anyway 2010-08-25 19:50:05 +02:00
Lennart Poettering
77d5f105bf cgroup: mount cgroup file systems to /sys/fs/cgroup instead of /cgroup
This requires the /sys/fs/cgroup to exist. Current git kernels have
this, released kernels need a backport of a single patch.
2010-08-25 04:58:24 +02:00
Lennart Poettering
ee2083d5ca utmp: document that the order of preference for runlevel numbers might be something to change in other distributions 2010-08-25 03:31:59 +02:00
Lennart Poettering
3006982d93 utmp: write out runlevels 5 and 3 preferrably if multiples make sense, and S instead of 1 2010-08-25 03:14:53 +02:00
Lennart Poettering
f3d41013e2 systemctl: rename a few status lines 2010-08-25 03:14:04 +02:00
Lennart Poettering
584be568b9 systemctl: show timestamps for state changes 2010-08-25 03:13:44 +02:00
Lennart Poettering
f1e36d677a systemctl: add --sysv-compat 2010-08-25 03:13:09 +02:00
Lennart Poettering
44bcea6654 log: SCM_CREDENTIALS will be added by the kernel anyway, so there's no need to write them manually 2010-08-25 03:12:19 +02:00
Lennart Poettering
d3689161a2 mount: add global configuration options for handling of auto mounts 2010-08-25 03:11:26 +02:00
Lennart Poettering
93a45c562a serial: use seperate getty template for serial ttys 2010-08-25 03:09:57 +02:00
Lennart Poettering
addab137cd syslog: add minimal syslog/kmsg bridge syslogd 2010-08-21 03:57:47 +02:00
Lennart Poettering
8e4d105ddf mount: don't create depdency for device node of root fs, since it is always there 2010-08-21 01:51:55 +02:00
Lennart Poettering
6309077509 log: pass SCM_CREDENTIALS when logging to syslog 2010-08-21 01:51:16 +02:00
Lennart Poettering
5845b46ba3 device: handle properly if two devices want to have the same name
https://bugzilla.redhat.com/show_bug.cgi?id=624539
2010-08-20 04:04:08 +02:00
Lennart Poettering
1afbdcb06b exit-status: add missing files src/exit-status.h src/exit-status.c 2010-08-20 03:26:37 +02:00
Lennart Poettering
449ddb2d23 remount: add tool that applies /etc/fstab mount options to all api mounts 2010-08-20 03:26:15 +02:00
Lennart Poettering
11ce342724 mount: properly handle LABEL="" in fstab 2010-08-20 02:46:15 +02:00
Lennart Poettering
049f86421b selinux: properly query policy for FIFO files 2010-08-20 02:31:54 +02:00
Lennart Poettering
c4e2ceae94 dbus: follow standardized fdo PropertiesChanged signal spec 2010-08-20 02:31:54 +02:00
Lennart Poettering
d06dacd002 service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and decode exit codes in systemctl 2010-08-20 02:31:54 +02:00
Lennart Poettering
8a2b3c097b service: make sure sysv services marked as interactive in the LSB header get output on the TTY in all cases 2010-08-20 02:31:54 +02:00
Lennart Poettering
be11c12e49 kmod: downgrade modprobe log message for since ipv6 might be compiled as module for blacklisting 2010-08-19 03:30:36 +02:00
Lennart Poettering
28695e0fac hostname: if no hostname is configured use localhost 2010-08-19 03:29:43 +02:00
Lennart Poettering
e59077036b hostname: on all distros make the name configured in /etc/hostname take precedence over distro-specific configuration
In order to unify configuration across distributions we pick the
simple-most option by default (Debian's /etc/hostname) and then fall
back to distro-specific hacks if that doesn't exist.
2010-08-19 03:02:22 +02:00
Lennart Poettering
b2423f1f43 modules-load: add systemd-modules-load tool that can load a configured list of modules in /etc/modules.d/ on boot, replacing distro-dependent shell hacks for this 2010-08-19 02:03:17 +02:00
Matthias Clasen
5948ee7cef dbus: small typo in introspection data
Hey,

here is a patch to fix a small typo in the systemd dbus introspection data.
I found this while trying to explore the systemd dbus API via bash
completion with gdbus. You should try this, it is really fun, and,
evidently, helps to find some bugs...

Matthias
2010-08-18 23:10:43 +02:00
Lennart Poettering
26192dfc21 random-seed: honour kernel pool size when saving/restoring seed 2010-08-18 19:38:45 +02:00
Lennart Poettering
2dc11f9948 udev: dm has been fixed in the meantime 2010-08-18 01:04:51 +02:00
Lennart Poettering
4252a5b66d udev: fix syntax 2010-08-18 01:01:22 +02:00
Tero Roponen
a9c501a590 main: restore an accidentally removed 'else'
I just noticed this when reading the latest commits.
2010-08-17 23:45:57 +02:00
Lennart Poettering
9028d0ecba dbus: downgrade disconnection message 2010-08-17 22:15:02 +02:00
Lennart Poettering
1c27d3f3fd main: properly fallback to rescue.target if default.target is hosed 2010-08-17 20:42:53 +02:00
Lennart Poettering
02ee865a46 service: rename ValidNoProcess= to RemainAfterExit= 2010-08-17 19:37:36 +02:00
Lennart Poettering
4694836523 service: prefix descriptions when they come from legacy sources 2010-08-17 18:59:05 +02:00
Lennart Poettering
85ad5b18ad systemctl: break output properly for 80ch terminals 2010-08-17 18:53:47 +02:00
Lennart Poettering
1cba2c90e8 modprobe: kill support for nomodules
this should happen in the kernel itself, not be controlled from
userspace, if at all. So let's kill this here.
2010-08-17 18:13:47 +02:00