Commit Graph
20913 Commits
Author SHA1 Message Date
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
Kay Sievers e99cc72398 man: generate html pages for www.kernel.org
http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/
2010-12-26 16:01:13 +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
Kay Sievers 0e6a2e7d3c version bump 2010-12-16 13:37:45 +01:00
Kay Sievers f3f86e483a release 165 2010-12-16 13:17:02 +01:00
Kay Sievers b4dd18ae52 update NEWS 2010-12-16 10:12:22 +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
David Zeuthen d4c2307cc2 gudev: Add Device.get_usec_since_initialized
Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-15 10:46:34 -05:00
Kay Sievers 2363d33e10 gudev: bump minor version 2010-12-15 09:06:05 +01:00
Kay Sievers 9c6a11b1c6 libudev: record and export "age" of device record 2010-12-15 08:58:46 +01:00
Kay Sievers 93a724d3f8 libudev: fix renamed device nodes detection logic 2010-12-15 08:58:45 +01:00
David Zeuthen ab17a7ef55 Add g_udev_device_get_is_initialized() method
Also nuke the "Index of deprecated symbols" since we have no
deprecated symbols just yet.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14 12:50:04 -05:00
David Zeuthen 0976fd063e Add GUdevEnumerator type and Device.get_tags() method
Also add JS example to check the added API works.

Signed-off-by: David Zeuthen <davidz@redhat.com>
2010-12-14 12:37:40 -05:00
Kay Sievers 48a0170b11 libudev: enumerate - allow to filter-out not-already-initialized devices 2010-12-14 14:18:32 +01:00
Kay Sievers ff0e1f4e5d check ifindex > 0 instead of subsystem == "net" 2010-12-14 11:27:02 +01:00
Kay Sievers 14996e80d4 udevd: write full database file for (unsupported) renamed device nodes 2010-12-14 02:30:36 +01:00
Kay Sievers cad40a5fe7 udevd: switch to common id_filename functions 2010-12-12 20:07:15 +01:00
Kay Sievers 24d1076696 udevd: simplify udev database and fix DEVNAME handling 2010-12-11 14:00:46 +01:00
Kay Sievers 2713e6ab0a udevd: always create /dev/{char,block}/$major:$minor 2010-12-10 13:27:03 +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 4281da1fa6 udevd: use dev_t or netif ifindex as database key
We need to preserve the database of network interfaces while we
rename them. Use the kernel's numbers wherever possible, instead
of the device names.

Fix wrong database filenames which contain a '/', translated
from '!' in the kernel name.

Fix segfault for kobject pathes where the subsystem can not be
determined from sysfs.
2010-12-10 01:18:15 +01:00
Kay Sievers dc1791a9e6 udevadm: info - honor --export, --export-prefix= 2010-12-10 01:18:15 +01:00
Kay Sievers 88163971b9 udevadm: info - honor --export and --export-prefix for property query
The output will always be quoted:
  $ udevadm info --export --export-prefix=MY_ --query=property --name=sda
  MY_UDEV_LOG='3'
  MY_DEVPATH='/devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sda'
  MY_MAJOR='259'
  MY_MINOR='0'
  MY_DEVNAME='sda'
  MY_DEVTYPE='disk'
  MY_SUBSYSTEM='block'
2010-12-10 01:18:14 +01:00
Kay Sievers 8ba13ec1cd libudev: do not overwrite path with readlink() call 2010-12-10 01:18:14 +01:00
Kay Sievers 0b603b4e76 suse: add 'smtp' LSB facility 2010-12-09 18:50:30 +01:00
Martin Pitt 329239f506 keymap: Fix struck Touchpad key on Dell Precision M series
https://launchpad.net/bugs/686662
2010-12-08 18:41:42 +01:00
Martin Pitt a2f8d21431 keymap: Fix struck Touchpad key on Dell Latitude E series
https://launchpad.net/bugs/686662
2010-12-08 16:21:02 +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
Kay Sievers 310f99d335 rules: revert bsg use until the event ordering problem is sorted out
The bsg devices node are created after the LUN, so we fail in the
hotplug case, but succeed at coldplug, and create inconsistent data
that way.

The bsg device event order will need to be sorted out, by changing the
kernel.
2010-11-30 11:48:08 +01:00
Miklos Vajna f5c88ec133 build-sys: frugalware linux support 2010-11-29 17:07:41 +01:00
Kay Sievers 5113029acb rules: drop alsa jack-plug input devices 2010-11-29 12:01:58 +01:00