Commit Graph

1862 Commits

Author SHA1 Message Date
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
Lennart Poettering
501c875bff mount-setup: drop noexec flag from default mount options for /dev/shm
We shouldn't break PROT_EXEC which is a valid mmap() flag.
2010-12-23 22:33:24 +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
Miklos Vajna
01c3a63e17 Fix misspellings in os-release manpage and hwclock-load.service 2010-12-20 16:30:59 +01:00
Miklos Vajna
6279e1f014 Frugalware: start gettys after local.service 2010-12-16 15:02:19 +01:00
Kay Sievers
e1992852c8 service: ifdef distro-specific compat logic 2010-12-16 14:29:34 +01:00
Miklos Vajna
65530632c7 service: drop rc. prefix on frugalware linux 2010-12-16 14:22:21 +01:00
Miklos Vajna
2dddca4a8d man: daemon - fix misspellings 2010-12-16 09:49:03 +01:00
Kay Sievers
dd04863e17 update TODO 2010-12-15 17:24:22 +01:00
Jesse Zhang
8a9ef77c02 systemd.pc: change 'session' to 'user'
commit af2d49f ("drop support for MANAGER_SESSION, introduce
MANAGER_USER instead") forgot to update systemd.pc.

Signed-off-by: Jesse Zhang <zh.jesse@gmail.com>
2010-12-10 10:23:07 +01:00
Kay Sievers
0b603b4e76 suse: add 'smtp' LSB facility 2010-12-09 18:50:30 +01:00
Miklos Vajna
ae92f4266a man: modules-load.d - fix misspellings 2010-12-07 10:16:15 +01:00
Kay Sievers
fc00b89add update README 2010-12-01 21:02:46 +01:00
Kay Sievers
da2400b374 update TODO 2010-12-01 16:56:41 +01:00
Michal Schmidt
67575eef76 path: fix watching the root directory
If you have a path unit with:
  DirectoryNotEmpty=/foo
and "/foo" does not exist, creating it later escapes the attention of systemd.

When adding watches for parent directories, systemd never adds one for the root
directory. It attempts to add a watch for an empty string instead, which fails.

If the path is "/", we must not trim the slash.
2010-12-01 16:39:58 +01:00