Commit graph

1877 commits

Author SHA1 Message Date
Lennart Poettering 4bc5f808e4 systemctl: before spawning pager cache number of columns 2011-01-18 23:12:49 +01:00
Lennart Poettering 3add4d215b pam: optionally keep processes of root user around 2011-01-18 23:07:06 +01:00
Lennart Poettering d8cfa08589 service: if a reload operation fails, don't shut down the service 2011-01-18 22:57:46 +01:00
Lennart Poettering ba035df230 execute: make sending of SIGKILL on shutdown optional 2011-01-18 22:55:54 +01:00
Lennart Poettering 0058d7b91c mount: FAT uuids are uppercase 2011-01-18 22:32:15 +01:00
Lennart Poettering 2292707df5 man: document missing KillSignal= and swap options 2011-01-18 00:40:10 +01:00
Lennart Poettering b24a167b6f update TODO 2011-01-17 22:41:53 +01:00
Tom Gundersen dda9be8a99 arch: remove rc-local.service
This is now shipped downstream.
2011-01-17 22:41:28 +01:00
Tom Gundersen 521e05c7ce arch: remove support for legacy daemons
This is now done by a generator, shipped downstream.
2011-01-17 22:41:19 +01:00
Lennart Poettering c292c495fb build-sys: prepare v16 2011-01-08 02:34:55 +01:00
Lennart Poettering 47ae6e6760 device: don't warn if we cannot bump the socket buffer 2011-01-08 02:30:07 +01:00
Lennart Poettering 487a15bb72 update TODO 2011-01-07 01:12:27 +01:00
Lennart Poettering 2d011a7923 logger: when passing on PID info, fall back to our own if originating process is already gone 2011-01-07 00:49:35 +01:00
Lennart Poettering e83c7c0ba4 service: don't hit an assert if information in LSB headers is incorrectly formatted
https://bugzilla.redhat.com/show_bug.cgi?id=667665
2011-01-07 00:49:35 +01:00
Lennart Poettering 86a3475bc5 execute,util: fix two small memory leaks 2011-01-06 23:52:17 +01:00
Lennart Poettering 2c4b304e64 specifier: at minimal test 2011-01-06 23:51:52 +01:00
Lennart Poettering 1640944a84 getty: unset locale before execution
On the console indian characters cannot be displayed, hence it is
advisable to disable indian locales on the console, which most
distributions traditionally did from a shell fragment executed post
login. If getty gets started with locale settings passed it would itself
however be translated without the no-indian-on-console fixup applied.

Hence, for now don't pass any locale settings to getty/login, and thus
rely on the classic post-login script fragment to set and fix the
locale.

Eventually we probably want to drop this again since the system locale
should be read and set at one place, and not at multiple, and that one
place should be PID 1.

https://bugzilla.redhat.com/show_bug.cgi?id=663900
2011-01-06 20:38:06 +01:00
Lennart Poettering a6ff950e71 execute: drop empty assignments from env blocks on execution but keep them around otherwise to make them visible 2011-01-06 20:38:02 +01:00
Lennart Poettering 7fc942b29e umount: don't try to detach the dm device the root dir is on, to minimize warning messages 2011-01-06 19:10:17 +01:00
Lennart Poettering 35f10fccb0 update TODO 2011-01-06 18:54:10 +01:00
Lennart Poettering e624abf777 locale: fix variable names 2011-01-06 01:39:25 +01:00
Lennart Poettering afe4bfe2c1 fragment: allow prefixing of the EnvironmentFile= path with - to ignore errors 2011-01-06 01:39:08 +01:00
Lennart Poettering 06ac173943 update TODO 2011-01-05 16:17:55 +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 022707d961 tmpfiles: nicer message when two or more conflicting lines are configured for the same file 2011-01-05 16:11:15 +01:00
Lennart Poettering 5f7c426e2a fragment: properly handle quotes in assignments in EnvironmentFile= files 2011-01-05 16:06:35 +01:00
Lennart Poettering 3875282802 update TODO 2011-01-05 15:42:20 +01:00
Lennart Poettering fb8161af01 update TODO 2011-01-05 01:04:59 +01:00
Lennart Poettering 5707631ec6 sysctl: don't warn if sysctls are gone 2011-01-05 00:05:53 +01:00
Lennart Poettering a78899f541 readahead: ignore if files are removed during collection or before replay 2011-01-04 23:42:58 +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
Lennart Poettering 75d12d5767 systemctl: Don't use Debian's 'sensible-pager', use 'pager' instead 2011-01-04 14:54:53 +01:00
Michael Biebl a05ea46dc7 fix help message for --with-tty-gid configure option 2011-01-04 03:00:09 +01:00
Lennart Poettering 1d3399e6ef cryptsetup: call mkswap on dm device, not on source device 2011-01-04 02:12:07 +01:00
Lennart Poettering bef2733fae mount-setup: mount /dev/pts with mode=620,gid=5 by default and make GID overridable via configure switch 2011-01-04 01:58:38 +01:00
Lennart Poettering 4c00bf2561 systemctl: drop redundant getenv('LESS') check 2011-01-04 01:18:57 +01:00
Lennart Poettering ec14911e0d systemctl: spawn pager only for commands that generates long output 2011-01-04 01:04:20 +01:00
Lennart Poettering 1888c9074a systemctl: make the child the pager, leave systemctl as parent
It's nicer if the child process gets reinitialized cleanly instead of
the parent process.
2011-01-04 00:58:35 +01:00
Lennart Poettering 611efaac7a systemctl: try harder to find a suitable pager 2011-01-04 00:47:40 +01:00
Miklos Vajna 0736af98c6 systemctl: implement auto-pager a la git 2011-01-02 18:17:19 +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
Miklos Vajna 5471472d44 man: remaining spelling fixes 2011-01-01 20:03:56 +01:00
Lennart Poettering abd41c86b5 shutdown: drop redundant sync() invocation 2011-01-01 19:54:12 +01:00
Lennart Poettering c29597a104 util: invoke sync() implicitly on freeze()
Suggested by Tom Gundersen.
2011-01-01 19:50:32 +01:00
Kay Sievers fc84026de8 update TODO 2010-12-28 19:18:26 +01:00
Kay Sievers bf5bb5316f update TODO 2010-12-28 18:53:09 +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
Michael Biebl 5b8191986c service: ifdef (more) distro-specific compat logic
This should make it easier to get rid of that compat code later and
avoids problems like stripping of rc. from /etc/init.d/rc.local on
Debian.
2010-12-27 18:44:42 +01:00
Lennart Poettering ccbbc0f954 update TODO 2010-12-25 19:06:48 +01:00
Lennart Poettering 5e4ef5e0d2 pam: do not sort user sessions into their own cgroups in the 'cpu' hierarchy by default
While this offers quite a few benefits for normally scheduled processes
this breaks RT scheduling for all user processes, since we do not assign
an RT share to the cgroups created via this mechanism. If the user
cgroups have no RT share assigned no member process can make use of RT
functionality. However, software like JACK and PA/rtkit assume that RT
is available in some way or another, either via RLIMIT_RTPRIO or via
some privileged service. Creating implicit cpu cgroups but not adding
RT shares to them hence breaks these applications.

There is no sane way to implicitly add RT shares to these groups, since
they are pulled from a global, limited pool and it would hence be very
hard to make this work without limiting the number of concurrent
sessions, or constantly rewriting the cpu share settings of already
logged in session cgroups.

Most likely this issue needs to be fixed in-kernel because we can enable
this feature by default again.
2010-12-24 10:48:20 +01:00