Commit Graph
20913 Commits
Author SHA1 Message Date
Lennart Poettering a40593a0d0 TODO 2011-11-08 19:12:29 +01:00
Lennart Poettering de190aef08 journal: implement multiple field matches 2011-11-08 18:20:03 +01:00
Lennart Poettering 9b3c575ed9 macro: fix ALIGN_TO macro definition 2011-11-08 18:18:48 +01:00
Kay Sievers 6f410b81aa release 175 2011-11-07 23:28:10 +01:00
Kay Sievers eabac232a5 rules: fix typo 2011-11-07 23:21:29 +01:00
Harald Hoyer 7b9cebf082 extras/keymap/findkeyboards: beautify shell code and get rid of grep
- save some extra forks and grep with shell code instead of calling
  grep
- use $() instead of backticks (improves readability and addes
  nesting capabilities)

Signed-off-by: Harald Hoyer <harald@redhat.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-11-07 17:54:04 +01:00
Michal Schmidt 75c982a79f man: fix a typo in signal number 2011-11-07 01:10:35 +01:00
Michal Schmidt 4743137a4b utmp: for DEAD_PROCESS write the current time to wtmp
Zeroed .ut_tv values in wtmp confuse chkrootkit.

Reported and debugged by Norman Smith. This is based on his patch,
but modified to behave more like upstart did in F14 and cleaned up.

https://bugzilla.redhat.com/show_bug.cgi?id=743696
2011-11-07 01:10:35 +01:00
Michal Schmidt fa4ad7ceca utmp: initialize store with the found entry, not with the lookup key 2011-11-07 01:10:35 +01:00
Michal Schmidt b8e47420b3 utmp: no need to zero a struct before overwriting it with memcpy 2011-11-07 01:10:34 +01:00
Michal Schmidt 0ad26e09de utmp: remove unneded parameters
With these functions no caller ever passes anything else than 0
for 't' (meaning the current time will be used).
2011-11-07 01:09:53 +01:00
Kay Sievers 5101923ff9 rules: restore rule to set cdrom group for optical drives
On Sun, Nov 6, 2011 at 21:45, William Hubbs <w.d.hubbs@gmail.com> wrote:
> someone on gentoo just reported to me that the following rule has been
> deleted from udev-174, which is leaving his optical devices in the
> standard "disk" group. He does not want to add his users to this group.
2011-11-06 23:30:31 +01:00
Kay Sievers 6a90a5124a make: tweak some autofoo according to Flameeyes' recommendations for libabc 2011-11-04 15:16:35 +01:00
Lennart Poettering 4cbd9ecf45 update TODO 2011-11-03 19:55:36 +01:00
Lennart Poettering 353fa6a21a cgroup: immediately remove all cgroups which run empty
Some controllers have scaling problems when many empty cgroups exist.
Hence, as soon as we get a notification that a cgroup is empty, delete
it. This is also nice to keep the systemd-cgls output short.
2011-11-03 19:42:53 +01:00
Lennart Poettering 263653e103 Merge remote-tracking branch 'zbigniew/systemadm_changes' 2011-11-02 14:08:49 +01:00
Ran Benita f5a613c03c bash-completion: rename file since it is no longer for systemctl only 2011-11-02 13:07:47 +01:00
Ran Benita 3cdbf916d3 bash-completion: add completions for systemd-loginctl
This script is straightforward and should give proper completions for
all of systemd-loginctl's verbs.
2011-11-02 13:07:43 +01:00
Ran Benita 8aea83c718 bash-completion: update with new verbs and arguments
Adds arguments --root= --runtime --no-legend.
Adds verbs link mask unmask reenable list-unit-files.
Also uses list-unit-files to make nicer enable and disable completions.

Rebased due to changes in systemctl.
2011-11-02 13:07:36 +01:00
Dexter Morgan 6fdae8a6a4 Add Mageia support
This patch adds support for the Mageia Linux distribution:
 http://www.mageia.org/

Mageia is a fork of Mandriva although some divergence has already occured
and thus inclusion of these changes upstream allow us to (hopefully)
migrate more rapidly to the new standard approaches systemd offers.
Indeed, we already use the preferred mechanism of OS identification via
the /etc/os-release file rather than a distro specific variation.

This patch mostly mirrors the patch added previously for Mandriva
support. In addition to those original authors, this patch was mostly
written by Dexter Morgan with help from Colin Guthrie and Eugeni Dodonov.
2011-11-02 02:16:39 +01:00
Kay Sievers 6dd19db57c replace AC_DISABLE_STATIC with LT_INIT([disable-static]) 2011-11-02 00:07:59 +01:00
Lennart Poettering 25d6283acf update TODO 2011-11-01 23:53:15 +01:00
Tom Gundersen 87e75fddbb cryptsetup-generator: avoid ordering cycle on swap
Devices with random keys (swap), should not be ordered before local-fs.target,
as this creates a cycle with systemd-load-random-seed.service (and also it
does not make sense, a swap device is not a local-fs).
2011-11-01 23:42:41 +01:00
Lennart Poettering fc8f0b5c9c units: drop [Install] section from remote-fs-pre.target
remote-fs-pre.target is not a unit a user should ever explicitly enable.
Instead services which need to hook before network mounts should pull it
in.
2011-11-01 22:29:48 +01:00
Lennart Poettering 7fc2a89a73 mount: order remote mounts after both network.target and remote-fs-pre.target
Since remote-fs-pre.target is optional we cannot count on it to order
remote mounts after network.target, so let's add that order explicitly
in addition to remote-fs-pre.target.

https://bugzilla.redhat.com/show_bug.cgi?id=749940
2011-11-01 22:28:59 +01:00
Lennart Poettering 6ddaf1ca4a cgroup: always recreate cgroup before we try to apply attributes
We might have trimmed the cgroup tree previously, hence don't trust our
own "realized" flag, always recreate cgroup tree before applying our
attributes to make sure this actually works out.

https://bugzilla.redhat.com/show_bug.cgi?id=749687
2011-11-01 22:02:36 +01:00
Lennart Poettering f632a6634d initctl: don't use dbus connection after PID 1 got respawned
After reexec PID 1 our bus connection is invalidated. Hence don't try to
reuse it, just terminate so that when we are spawned the next time we
just get a new one.

Spotted by Marti Raudsepp.
2011-11-01 18:21:32 +01:00
Thomas Jarosch 7670e5a2aa condition: Fix file descriptor leak in test_capability()
Detected by cppcheck.
2011-11-01 17:02:32 +01:00
Tom Gundersen 7c2ec00930 random-seed: convert poolsize from bits to bytes
The problem was first noted in a bug report against Arch's initscripts.

Reported-by: Taylan Ulrich Bayırlı <taylanbayirli@gmail.com>
Reported-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-11-01 14:45:52 +01:00
Lennart Poettering bb53abeb8c plymouth: fix ply proto endianess issues
Plymouth enforces LE even for the local Ply proto, hence we should do
the conversion properly for BE arch compat.

Tracked down by Harald Hoyer.

https://bugzilla.redhat.com/show_bug.cgi?id=744415
2011-11-01 14:20:31 +01:00
Lennart Poettering b7f44df59a README: explain dependency on cgroups 2011-11-01 13:52:46 +01:00
Lennart Poettering a6eb9147a8 update TODO 2011-11-01 13:52:43 +01:00
Kay Sievers dbfb570586 do not skip /dev/{disk,char}/M:m removal when the device node is already gone 2011-11-01 13:33:33 +01:00
David Zeuthen 45197c02a5 gudev: Use g_ascii_strtoull() instead of strtoul()
This ensures that we get the same behavior on both 32- and
64-bit. Pointed out on the mailing list:

 http://permalink.gmane.org/gmane.linux.hotplug.devel/17145

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-10-31 22:20:34 +01:00
David Zeuthen 39649a8b3a gudev: Use strtoul to parse unsigned 64-bit integers
Otherwise it will return 0x7fffffffffffffff instead of
0x8000000000000004 for e.g. this property

 ID_PART_ENTRY_FLAGS=0x8000000000000004

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-10-31 13:47:22 +01:00
Martin Pitt 092a53bb92 keymap: Fix stuck keys on BenQ nScreen
https://launchpad.net/bugs/606599
2011-10-26 15:32:57 +02:00
Martin Pitt 18ba176189 keymap: Fix bluetooth key on Acer TravelMate 7720
https://launchpad.net/bugs/696671
2011-10-26 15:14:03 +02:00
Martin Pitt b3ffede4d9 keymap: Fix "internet" key on HP G62
https://launchpad.net/bugs/763525
2011-10-26 15:10:19 +02:00
Martin Pitt 6415f89732 keymap: More Asus module variants
https://launchpad.net/bugs/795694
2011-10-26 15:06:08 +02:00
Martin Pitt 23afb57f29 keymap: Fix stuck keys on GIGABYTE i1520M
Thanks Lukáš Mojžíš!

https://launchpad.net/bugs/770680
2011-10-26 14:30:26 +02:00
Martin Pitt 6882949d7a findkeyboards: Consistently use spaces instead of tabs 2011-10-26 11:11:15 +02:00
Martin Pitt 8ab7a9be03 extras/keymap/findkeyboards: Filter out non-event devices
This avoids running udevadm info --query=name against a non-existing devnode,
which aborts the script early.
2011-10-26 11:03:21 +02:00
Martin Pitt 3aa3be179f check-keymaps.sh: Allow running separately
Provide default arguments for SRCDIR and KEYLIST, so that you can just run this
from the root of the source tree, separately from make distcheck.
2011-10-26 07:38:06 +02:00
Jerone Young 7796af6ae6 keymap: Fix micmute remap for Lenovo Thinkpads
Linux Kernel 3.1 now has proper support for a mic mute button:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=33009557bd

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-10-26 07:34:53 +02:00
Zbigniew Jędrzejewski-Szmek 1c0a113fd3 systemctl: make list-unit-files output more economical
The first column is given the width of the widest entry,
if possible, otherwise all entries are ellipsized to fit
in ($COLUMNS - (width of second column)).

[ Added a few fixes, calculate state_cols too, respect '--no-legend',
  better handling of '--full' -- michich ]
2011-10-24 19:40:05 +02:00
Kay Sievers 9569148736 ignore entire rules line if unknown keys are used 2011-10-22 20:50:23 +02:00
Kay Sievers af9cfc1190 make: add gpg signing bits 2011-10-20 00:01:02 +02:00
Kay Sievers b3eccdce81 release 174 2011-10-19 20:49:35 +02:00
Kay Sievers 09637f7434 rules: do not load sg module 2011-10-19 20:42:10 +02:00
Jerone Young 6ac6c3a04c Add mic mute keycode support for Lenovo Thinkpad USB keyboard
This patch adds mic mute keycode support for the Lenovo Thinkpad USB
keyboard. Support for this keycode was introduced upstream, and will be
defined in upcoming 3.1 Linux Kernel input.h header:

  http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=33009557bd

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-10-19 20:29:07 +02:00