Lennart Poettering
34df5a34e1
drop unnecessary suffix NULs as gcc adds them anyway
2011-03-09 19:48:02 +01:00
Andrey Borzenkov
1de4d79bf5
build-sys: add Mandriva distribution support
...
This merges several separate patches that I carry as part of
Mandriva systemd RPM. They touch those parts that are very
unlikely to be changed in near future and do not impose any
functionality change for systemd core. I also think it is
useful for troubleshooting to have real distribution name in
system logs, espicially when someone reports problem upstream.
The patch looks bigger than sum of replaced patches because
- previous patches were applied on top of distro=fedora, now
I need to add all those bits for distro=mandriva as well
- part of patch was done as spec file magic, but it seems more
logical to ship all these bits together
2011-03-08 19:47:36 +01:00
Lennart Poettering
8c7be95e5a
execute: load environment files at time of execution, not when we load the service configuration
...
https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-04 03:44:43 +01:00
Lennart Poettering
430c18ed7f
kill: always send SIGCONT after SIGTERM
...
When we kill a process to terminate it make sure to send SIGCONT to
ensure it is unpaused and processes the signal.
2011-03-03 23:55:30 +01:00
Lennart Poettering
721bca5763
virtualization: check cpuid first, since it is cheaper than DMI
2011-02-22 01:39:19 +01:00
Lennart Poettering
4e08da90d4
util: make string static
2011-02-22 00:19:03 +01:00
Lennart Poettering
07faed4f99
virtualization: beef virtualization code
2011-02-21 21:48:59 +01:00
Lennart Poettering
f73f76acff
util: retry opening a TTY on EIO
...
https://bugs.freedesktop.org/show_bug.cgi?id=33996
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245
2011-02-17 16:29:49 +01:00
Lennart Poettering
fc116c6a19
util: beef up logic to find ctty name
2011-02-17 16:29:04 +01:00
Lennart Poettering
da71f23cda
util: seperate welcome line from other output by empty lines
2011-02-16 19:34:38 +01:00
Lennart Poettering
83cc030fad
shutdown: execute all binaries in /lib/systemd/system-shutdown as last step before invoking reboot()
2011-02-15 00:30:11 +01:00
Lennart Poettering
079a09fbf7
util: properly resolve /dev/console if more than once console= argument was passed on the kernel command line
2011-02-14 19:54:15 +01:00
Lennart Poettering
f212ac125f
getty: do not auto-spawn getty's on VC ttys if console=ttyN is used
...
https://bugzilla.redhat.com/show_bug.cgi?id=676885
2011-02-14 18:56:55 +01:00
Lennart Poettering
3030ccd79f
util: when determining the right TERM for /dev/console consult /sys/class/tty/console/active
2011-02-13 19:01:47 +01:00
Lennart Poettering
46a08e3815
readahead: disable readahead in virtual machines
2011-02-13 15:46:05 +01:00
a338bab5d0
build-sys: initial support ALTLinux
...
Hi all!
I added basic support for ALTLinux.
Please see patch or
http://git.altlinux.org/people/shaba/packages/systemd.git?p=systemd.git;a=shortlog;h=refs/heads/altlinux
Thanks.
2011-02-08 12:52:06 +01:00
Lennart Poettering
0b1724894f
gcc: make gcc shut up
2011-01-22 02:19:16 +01:00
Lennart Poettering
9a57c62944
systemctl: highlight failed processes in systemctl status
2011-01-20 18:22:03 +01:00
Lennart Poettering
0058d7b91c
mount: FAT uuids are uppercase
2011-01-18 22:32:15 +01:00
Lennart Poettering
86a3475bc5
execute,util: fix two small memory leaks
2011-01-06 23:52:17 +01:00
Lennart Poettering
c4731d1135
util: don't pass invalid fd to fdopendir() on error to avoid corruption of errno
2011-01-05 16:17:26 +01:00
Lennart Poettering
5f7c426e2a
fragment: properly handle quotes in assignments in EnvironmentFile= files
2011-01-05 16:06:35 +01:00
Lennart Poettering
60b4f27794
serial: use TERM=vt100 instead of TERM=vt100-nav
...
TERM=vt100-nav was necessary for compat with some ppc hvc devices, a
long time ago. Unfortunately vt100-nav terminfo is not installed by
default on most distros, hence change the default to v100 which is
available universally and still should be a relatively safe and
conservative default.
Should it turn out that vt100 is not really the best choice we can
revert this change again and then ask distros to move vt100-nav into
their default install.
2011-01-04 21:45:52 +01:00
Tom Gundersen
71656790d6
arch: remove welcome message
...
This is now done by os-release downstream.
2011-01-01 21:36:08 +01:00
Lennart Poettering
c29597a104
util: invoke sync() implicitly on freeze()
...
Suggested by Tom Gundersen.
2011-01-01 19:50:32 +01:00
Lennart Poettering
a247755d52
tmpfiles: ensure we do no follow symlinks when cleaning up dirs
...
Patch suggested by Miloslav Trmac.
2010-12-28 14:21:28 +01:00
Lennart Poettering
c8bffa43fd
util: properly handle OOM when allocating Debian version string
2010-12-21 14:35:20 +05:30
Michael Biebl
22927a3654
debian: Prefix welcome string with "Debian "
...
For stable releases /etc/debian_version only contains a version number,
so we add a prefix "Debian ".
2010-12-21 03:07:36 +01:00
Lennart Poettering
8e1bd70d4c
sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.d
2010-11-18 21:52:26 +01:00
Lennart Poettering
10aa703482
util: introduce /etc/os-release so that distros don't need to patch systemd to get a welcome message
2010-11-18 04:46:28 +01:00
Lennart Poettering
e3aa71c38c
exec: automatically determine right TERM= setting based on tty name
2010-11-15 23:49:02 +01:00
Lennart Poettering
9381a72403
util: always highlight distro name
2010-11-14 23:48:20 +01:00
Lennart Poettering
7f4e08056d
cryptsetup: hook up tool with ask-password
2010-11-12 00:40:27 +01:00
Lennart Poettering
e9ddabc246
manager: parse RD_TIMESTAMP passed from initrd
2010-11-10 22:38:44 +01:00
Lennart Poettering
e23a0ce8ba
cryptsetup: minimal cryptsetup unit generator
2010-11-10 22:38:43 +01:00
Lennart Poettering
799fd0fd23
service: unify tstamp serialization code
2010-10-28 03:16:03 +02:00
Lennart Poettering
ade509ce73
main: move make_null_stdio() to util.c
2010-10-27 05:45:57 +02:00
Lennart Poettering
10717a1a8d
unit: serialize active timestamps
2010-10-27 00:01:12 +02:00
Lennart Poettering
e5ebf783cb
ask-password: add minimal plymouth password agent
2010-10-26 04:35:25 +02:00
Andrew Edmunds
274914f991
util: Add welcome message for Ubuntu
...
The approved method for determining the installed release of
Ubuntu is to execute "lsb_release". However, this is in /usr/bin and
is implemented in python so it is not safe to execute at this early
stage of booting. This code parses /etc/lsb-release which is
where "lsb_release" looks for the information.
2010-10-25 21:10:05 +02:00
Lennart Poettering
ec863ba65a
ask-password: add basic tty agent
2010-10-25 20:36:01 +02:00
Lennart Poettering
8a0867d6c5
systemctl: introduce systemctl kill
2010-10-22 16:11:50 +02:00
Lennart Poettering
e472d47628
util: ignore quota files by default
2010-10-18 22:39:17 +02:00
Lennart Poettering
3b63d2d31d
tmpfiles: integrate kay's directory cleanup code and otherwise beef up tmpfiles quite a bit
2010-10-18 22:38:41 +02:00
Lennart Poettering
f601daa701
inotify: properly handle multiple inotify events per read()
2010-10-13 02:34:00 +02:00
Lennart Poettering
c8f26f42e2
util: don't specifically check for the /dev/null major/minor, just check whether something is a char or block device
2010-10-08 18:22:28 +02:00
Lennart Poettering
00dc5d769a
unit: introduce 'banned' load state for units symlinked to /dev/null
2010-10-08 02:31:36 +02:00
Lennart Poettering
3c14d26c47
util: unify implementations of freeze()
2010-10-07 19:34:56 +02:00
Dave Reisner
c899f8c61a
fix typo: s/seperat/separat/g
2010-10-05 21:50:56 +02:00
Kay Sievers
dd36de4d52
parse_env_file() - return empty value strings like FOO="" as NULL value
2010-09-28 23:41:09 +02:00