1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 11:55:44 +03:00
Commit Graph

1978 Commits

Author SHA1 Message Date
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
Ozan Çağlayan
550c4dcc41 src/quotacheck.c: Fix typo
Fix quota misspelling in quotacheck.c

Signed-off-by: Ozan Çağlayan <ozan@pardus.org.tr>
2010-12-01 16:32:58 +01:00
Ran Benita
9bee76ee44 man: systemctl - clarify condrestart, force-reload 2010-11-30 19:51:48 +01:00
Miklos Vajna
f5c88ec133 build-sys: frugalware linux support 2010-11-29 17:07:41 +01:00
Ran Benita
3d428115cf man: systemctl - spelling fixes 2010-11-28 14:00:49 +01:00
Michael Biebl
ab85c225e0 Ensure LIBNOTIFY07 conditional is always set
Also use PKG_CHECK_EXISTS to test if libnotify is recent enough
2010-11-27 13:29:14 +01:00
Kay Sievers
c1c8ca815b update README 2010-11-26 20:48:29 +01:00
Michael Biebl
2f6a1ab18e Create convenience library libsystemd_daemon.la for sd-daemon.c
Instead of compiling sd-daemon.c 10 times, create a noinst convenience
library libsystemd_daemon.la.
2010-11-26 20:41:52 +01:00
Kay Sievers
d0ef2204b4 gnome-ask-password-agent: also support libnotify < 0.7 for now 2010-11-26 17:59:53 +01:00
Kay Sievers
0c8744ccde update TODO 2010-11-26 16:08:35 +01:00
Kay Sievers
2e6081f2ff udev: make sure we aleways read from netlink, if there is data 2010-11-26 16:06:30 +01:00
Kay Sievers
99448c1f01 udev: increase event buffer size, handle -ENOBUFS, handle filtered-out devices 2010-11-26 04:51:30 +01:00
Lennart Poettering
3d84d050bd update TODO 2010-11-26 01:54:50 +01:00
Lennart Poettering
85f6a8688f update TODO 2010-11-26 01:42:51 +01:00
Kay Sievers
351c7e74db update TODO 2010-11-25 16:01:22 +01:00
Kay Sievers
3ae05c8eb9 update TODO 2010-11-25 07:01:01 +01:00
Lennart Poettering
920dc3dee0 build-sys: prepare release 15 2010-11-25 01:41:25 +01:00
Lennart Poettering
d83685ac1b dbus: use the right data slot allocator
Thanks to 'trapni' on IRC for tracking this down.
2010-11-25 01:37:24 +01:00
Gustavo Sverzut Barbieri
d2ffe6deac units: Remove Gentoo specific xdm.service
That unity pulls in OpenRC which in turn pulls in most of legacy
system that causes lots of troubles as it is too smart, thus not
recommended.

Moreover, SystemD developers seems to agree that a service file per DM
is the best approach, so having gdm.service, kdm.service, slim.service
is better than a single wrapper for them.
2010-11-25 00:30:16 +01:00
Lennart Poettering
9b8a535f4d bump version in preparation for release 2010-11-24 23:41:37 +01:00
Lennart Poettering
59d1a83370 manager: bump up max number of units to 128K
https://bugzilla.redhat.com/show_bug.cgi?id=655857
2010-11-24 23:36:40 +01:00
Lennart Poettering
28cdc98ae8 build-sys: get rid of special fedor install target 2010-11-24 23:26:33 +01:00
Thierry Reding
46891d97b2 build-sys: distribute introspect.awk 2010-11-24 22:28:43 +01:00
Thierry Reding
382a0310f6 build-sys: fix out-of-tree build
The introspect AWK script is located in the source tree, which is not
necessarily the same as the build tree, so prepend $(srcdir).
2010-11-24 22:28:34 +01:00
Lennart Poettering
46ff0ed7b0 mount: trivial typo fix 2010-11-24 22:28:28 +01:00
Thierry Reding
9a60da2834 build-sys: allow cross-compilation
When cross-compiling systemd, the introspection XML files fail to be
generated because the systemd host binary is not executable. This patch
works around this by putting the introspection XML data into separate
ELF sections and extracting them from the binary when generating the XML
files.

The extracted XML data is passed through the strings utility in order to
strip the trailing NUL character. A small AWK script is used to prepend
the doctype and add the opening and closing node tags respectively.
Finally, the C preprocessor is used to substitute the correct doctype
information from the D-Bus header files.
2010-11-23 22:38:55 +01:00
Lennart Poettering
3686ced6d7 update TODO 2010-11-23 19:42:35 +01:00
Lennart Poettering
d4a80c1243 units: simplify shutdown scripts 2010-11-23 01:37:18 +01:00
Lennart Poettering
aeb70c8d60 logger: fix error handling 2010-11-23 01:36:54 +01:00
Lennart Poettering
cfcfd4aefe swap: order file-based swap devices after remount-rootfs 2010-11-22 21:06:56 +01:00
Kay Sievers
16f6682d0b mount_cgroup_controllers: expect 2 items from fscanf() 2010-11-22 11:06:38 +01:00
Lennart Poettering
6bd2127711 man: make clear that VERSION and VERSION_ID is not mandatory in os-release.5 2010-11-22 00:26:08 +01:00
Lennart Poettering
be8088a2fb systemctl: don't return LSB status error codes for systemctl show
Use them only for systemctl status.

https://bugzilla.redhat.com/show_bug.cgi?id=637183
2010-11-21 22:40:03 +01:00
Lennart Poettering
600a328fc2 mount: do not try to mount disable cgroup controllers
https://bugzilla.redhat.com/show_bug.cgi?id=655222
2010-11-21 22:29:10 +01:00
Lennart Poettering
c8b2e52cf6 systemctl: redirect enable/disable to chkconfig if applicable 2010-11-21 22:17:04 +01:00