Commit graph

1950 commits

Author SHA1 Message Date
Lennart Poettering 0a494f1ff3 exec: introduce global defaults for the standard output of services 2011-02-15 11:52:29 +01:00
Lennart Poettering b7cf1b68a7 udev: use SYSTEMD_READY to mask uninitialized DM devices 2011-02-15 10:59:46 +01:00
Lennart Poettering 48774cf60f fsck: output to /dev/console by default in addition to syslog 2011-02-15 01:28:31 +01:00
Lennart Poettering 28dbc1e80b execute: optionally forward program output to /dev/console in addition to syslog/kmsg 2011-02-15 01:27:53 +01:00
Lennart Poettering 7b4bf06ba7 socket: refuse socket activation for SysV services
Make sure that when a .socket unit is installed without its matching
.service we don't end up activating a legacy SysV/LSB service with the
same name. SysV/LSB style services do not support passing sockets and we
don't want to extend SysV/LSB to ensure we don't break compatibility
with other systems.
2011-02-15 00:40:17 +01:00
Lennart Poettering a4c24ff75a fsck: do not fail boot if fsck returns with an error code that hasn't 2 or 6 set 2011-02-15 00:30:51 +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 3036c489fa job: make status message printing more verbose 2011-02-14 23:10:31 +01:00
Lennart Poettering a4477e6852 cryptsetup: fix unit file description 2011-02-14 23:09:27 +01:00
Lennart Poettering 17b9052533 tmpfiles: never delete AF_UNIX sockets that are alive 2011-02-14 21:55:06 +01:00
Lennart Poettering 6a3b1508f7 getty: don't parse console= anymore, use /sys/class/tty/console/active instead 2011-02-14 19:57:18 +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 7a57b332d0 fsck: skip root fsck if dracut already did it 2011-02-14 11:42:47 +01:00
Lennart Poettering cfdc0c8941 update TODO 2011-02-13 19:02:18 +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 2633eb8317 service: when guessing the main PID don't consider processes that aren't our children 2011-02-13 18:52:02 +01:00
Lennart Poettering 3185a36b05 service: make main pid guessing optional, and reread pid file after reloads 2011-02-13 18:51:30 +01:00
Lennart Poettering e9fbc77c8f pam: introduce whitelist and blacklist user list feature
This is useful to exclude root from the session logout killings or to
limit killing to the selinux guest users.
2011-02-13 18:21:18 +01:00
Lennart Poettering 7fc01d3319 systemctl: minor optimizations 2011-02-13 17:18:45 +01:00
Lennart Poettering 060ed82ec2 systemctl: don't unnecessarily close stdin/stdout/stderr for tty agent so that locking by tty works 2011-02-13 17:09:29 +01:00
Lennart Poettering 46a08e3815 readahead: disable readahead in virtual machines 2011-02-13 15:46:05 +01:00
Lennart Poettering a49728dc8c tmpfiles: simplify default tmpfiles configuration by using globs 2011-02-13 15:11:28 +01:00
Lennart Poettering 522d4a495a systemd: document systemd-tmpfiles 2011-02-13 15:08:15 +01:00
Lennart Poettering 74ce487daf tmpfiles: move binary to /bin to make it publicly available 2011-02-13 14:04:57 +01:00
Lennart Poettering fba6e68723 tmpfiles: take names of tmpfiles configuration files on the command line 2011-02-13 14:00:54 +01:00
Lennart Poettering eb0ca9ebff tmpfiles: log to stderr if possible 2011-02-12 09:31:38 +01:00
Lennart Poettering b8bb3e8f34 tmpfiles: support globs 2011-02-12 09:31:25 +01:00
Lennart Poettering 72f576bdd6 update TODO 2011-02-09 22:48:54 +01:00
Lennart Poettering 88dfa2938a units: introduce and hook up sound.target 2011-02-09 21:07:53 +01:00
Lennart Poettering abc00c62f9 dbus: allow all clients access to org.freedesktop.DBus.Peer 2011-02-09 15:21:20 +01:00
Lennart Poettering 70e911eaeb man: document SYSTEMD_READY= 2011-02-09 15:02:03 +01:00
Lennart Poettering 2958c88614 device: consider udev devices with SYSTEMD_READY=0 as unplugged 2011-02-09 14:48:52 +01:00
Lennart Poettering e1b2b49465 systemd: show status when run with plymouth, and don't start plymouth a second time when it is already running 2011-02-09 14:17:52 +01:00
Lennart Poettering 0658666bac manager: if we receive SIGRTMIN+20/21 enable/disable showing of status on the console 2011-02-09 12:12:30 +01:00
Lennart Poettering be0396695b man: clarify a few things 2011-02-09 11:00:17 +01:00
Lennart Poettering b1c0f1c136 systemctl: fix opening params 2011-02-09 01:11:19 +01:00
Lennart Poettering 715554e7b2 systemctl: don't start agent for --user 2011-02-09 01:09:09 +01:00
Lennart Poettering 7f6d613516 systemctl: make sure the tty agent does not retain a copy of stdio
https://bugzilla.redhat.com/show_bug.cgi?id=674916
2011-02-09 01:00:21 +01:00
Jeff Mahoney cd3f8b7ddb plymouth: move plymouth out of TARGET_FEDORA 2011-02-08 18:47:32 +01:00
Lennart Poettering 022ef2064f locale: unify some code between fedora and altlinux 2011-02-08 12:54:06 +01:00
Alexey Shabalin 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
Lucas De Marchi 8d7cb6e068 build-sys: make less noise when checking file
There's already a condition that gives a warning if user is
cross-compiling an relying on files from the build system. AC_CHECK_FILE
macro only tests for file in the build system. Hence use a simple
'test -f' that does the same job, without the warning.
2011-02-08 12:44:35 +01:00
Lennart Poettering e2811d6fa5 update TODO 2011-02-08 12:12:23 +01:00
Lucas De Marchi c18514440d build-sys: fix AC_COMPILE_IFELSE tests
This removes some warnings when bootstrapping. The warnings were introduced
in autoconf 2.68. Reference:

http://www.flameeyes.eu/autotools-mythbuster/forwardporting/autoconf.html

The following code

	AC_COMPILE_IFELSE([
		<MY C CODE HERE>
		], ...)

is changed to

	AC_COMPILE_IFELSE(
		[AC_COMPILE_IFELSE([AC_LANG_SOURCE([
		<MY C CODE HERE>
		])], ...)
2011-02-08 12:11:53 +01:00
Lennart Poettering 591622d7ef build-sys: ensure selinux configure check follows logic of other optional features 2011-02-08 11:46:18 +01:00
Alexey Shabalin 990d8b885b build-sys: autodetect and use pkg-config for libselinux
Hi!
libselinux has a pkg-config file:

$ rpm -qf /usr/lib64/pkgconfig/libselinux.pc
libselinux-devel-2.0.98-alt1

$ cat /usr/lib64/pkgconfig/libselinux.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib64
includedir=/usr/include

Name: libselinux
Description: SELinux utility library
Version: 2.0.98
URL: http://userspace.selinuxproject.org/
Libs.private: -lsepol
Libs: -lselinux
Cflags:

Patch for use pkg-config in attach.

--
Alexey Shabalin
2011-02-08 11:38:28 +01:00
Lennart Poettering dcafddbc08 dbus: use ControlGroup as property name to match config option 2011-02-08 11:13:42 +01:00
Lennart Poettering b20c6be697 pam: optionally reset cgroup memberships for login sessions 2011-02-04 12:46:38 +01:00
Adrian Spinu 7115593375 load-fragment: properly parse Nice= value
Hello,

     i`ve been using systemd for a while now, and found out that when
using NICE parameter for .service files the varible is not set correctly.
     i`ve found the problem in file *load-fragment.c* function
*config_parse_nice*        variable /*c->nice_set = false;*/  should be
/*c->nice_set = true;*/
     Problem is alsom manifesting on v17 but did not upgrade yet ...
2011-02-03 21:23:32 +01:00