Commit Graph
57095 Commits
Author SHA1 Message Date
Lennart Poettering 835c60f50c build-sys: local-fs, remote-fs and swap are active anyway when user sessions are created, there is no point in having these units known in sessions 2011-06-15 15:54:50 +02:00
Lennart Poettering 1365b53ff9 execute: fix function prototype 2011-06-15 15:50:26 +02:00
Lennart Poettering 7c3d67eff3 dbus: fix name of capability property 2011-06-15 15:49:29 +02:00
Lennart Poettering 5552b1c1b3 build-sys: fix build 2011-06-14 22:01:44 +02:00
Michal Schmidt b647f10da7 systemctl: fix a FILE* leak
In practice it does not really matter, but let's be nice and close the
file.
2011-06-14 21:59:14 +02:00
Michal Schmidt b77398f7a0 systemctl: fix 'is-enabled' for native units under /lib
The units always showed up as enabled.

The config file has to be parsed before we can check what's in
the [Install] section.

https://bugzilla.redhat.com/show_bug.cgi?id=699027
2011-06-14 21:58:29 +02:00
Tom Gundersen 54763e1266 remote-fs.target: do not order after network.target
remote-fs.target is ordered after the {auto,}mount units. In case of automount
we do not want to wait for the network to come up before proceeding. In case
of a regular mount unit, the unit will be ordered after network.target
so the behavior is unchanged.

This speeds up boot quite a bit for me when having some services needing
NetworkManager-wait-online.service, and having my home partition on nfs
under an automountpoint.
2011-06-14 17:30:46 +02:00
Kay Sievers fbe092cc70 mount /run without MS_NOEXEC 2011-06-14 14:15:40 +02:00
Keshav P.R 693b6344e1 rules: support for gpt partition uuid/label 2011-06-11 13:41:34 +02:00
Marco d'Itri 7dc39c9cad Add missing commas to 95-keymap.rules
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-06-11 12:20:34 +02:00
Kay Sievers 5671bdefd1 configure: add AC_CONFIG_AUX_DIR, AC_CONFIG_SRCDIR 2011-06-10 16:26:19 +02:00
Michal Schmidt 597b99b09a readahead-common: fix total memory size detection
sysinfo returns the total memory size in multiples of mem_unit bytes.
As long as the size in bytes fits into unsigned long, the kernel uses
mem_unit = 1, but this is not true on i386 with more than 4 GB RAM.

https://bugzilla.redhat.com/show_bug.cgi?id=712341
2011-06-10 14:57:12 +02:00
Lee, Chun-Yi cbdb9c39f6 Support more MSI notebook by using asterisk on dmi vendor name
MSI machines have some different vendor name, and the refix on those vendor
name are "MICRO-STAR" or "Micro-Star". So, merge the original two rules to
one, and use asterisk on dmi vendor name for support more MSI machines.

Tested on MSI U270 netbook.

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-06-10 10:51:53 +02:00
Frederic Crozat dc725264f3 enable chkconfig support in systemctl for openSUSE 2011-06-09 13:31:26 +02:00
Martin Pitt 310aba9bca keymap: Add Microsoft Natural Keyboard
http://bugs.debian.org/629647
2011-06-09 06:55:57 +02:00
Michal Schmidt ef9d7dca54 selinux: selinuxfs can be mounted on /sys/fs/selinux
The kernel now provides the /sys/fs/selinux mountpoint and libselinux
prefers it if it's available.

systemd currently tests only for /selinux and this leads to an infinite
loop of policy reloads in the latest Rawhide.

Fix it by checking both possible mountpoints.
Also add the new path to ignore_paths[].

/selinux appears also in nspawn.c. I don't think it's necessary to
change it there at this point.

https://bugzilla.redhat.com/show_bug.cgi?id=711015
2011-06-07 00:53:39 +02:00
Michal Schmidt aae5220d96 cryptsetup-generator: fix /etc/cryptsetup options
cryptsetup-generator parses the options in /etc/cryptsetup incorrectly.
It fails to find the 'swap' option in
  swap,foo
and instead it matches on
  swaplalala,foo

The condition for the comma separator is reversed.

https://bugzilla.redhat.com/show_bug.cgi?id=710839
2011-06-06 22:59:19 +02:00
Peter Jones 761e089b0d ata_id: show the error message when HDIO_GET_IDENTITY fails
Show an error message so that it's possible to determine why the
HDIO_GET_IDENTITY ioctl has failed.
2011-06-06 20:15:21 +02:00
Kay Sievers 812bfef52f update TODO 2011-06-06 20:10:35 +02:00
Bastien Nocera 7236c6c40a accelerometer: add documentation 2011-06-06 20:05:20 +02:00
Bastien Nocera ac5c41ab70 udev-acl: fix memleak 2011-06-06 18:50:13 +02:00
Kay Sievers eb042a2c92 rules: run input_id for main input devices too 2011-06-06 18:46:23 +02:00
Bastien Nocera 24569e24dc accelerometer: add orientation property 2011-06-06 18:44:09 +02:00
Michal Schmidt 78e39b43b8 systemctl: fix double unref of a dbus message 2011-06-05 17:22:37 +02:00
Kay Sievers 6cadb40abf make: use 'git tag' 2011-06-03 14:38:43 +02:00
Kay Sievers be903bf9c4 rule-syntax-check.py: use print() 2011-05-31 02:18:33 +02:00
Kay Sievers c112873b5b rules: static_node - use 0660 if group is given to get the cigar
>> On Tue, May 24, 2011 at 15:33, Tom Gundersen <teg@jklm.no> wrote:
>
> Close, but no cigar. Looks like the static nodes are not assigned
> permissions 0660 even if a gid is set (the nodes have perms 0600).
>
> Cheers,
>
> Tom
2011-05-30 02:12:02 +02:00
Kay Sievers ea69e8217b Makefile: add tar-sync 2011-05-30 02:06:12 +02:00
Ozan Çağlayan 9a66640832 exec: Fix number of unit types
There are four unit types mentioned in here, not three
2011-05-27 08:28:40 +02:00
Kay Sievers 3e227830ad rules: apply 'audio' group of the static snd/{seq,timer} nodes 2011-05-27 02:50:29 +02:00
Kay Sievers 4c748b05a3 release 171 2011-05-27 01:46:08 +02:00
Kay Sievers f4c80a5264 systemd: run udev.service and udev-trigger.service in parallel 2011-05-26 21:45:49 +02:00
Lennart Poettering 0e8eb2d2e2 build-sys: prepare v28 2011-05-26 19:18:54 +02:00
Kay Sievers 3821339d2d path_id: allow to be asked about usb_devices not only usb_interfaces 2011-05-26 17:39:32 +02:00
Kay Sievers 1eb037a7bf rules: support substitutions in TAG= 2011-05-26 14:46:12 +02:00
Kay Sievers e6a3081a62 sd-daemon: remove superfluous _sd_hidden_ from static function 2011-05-26 14:23:01 +02:00
Kay Sievers 19e47d9725 libudev: enumerate - do not ignore other matches when add_match_tag() is used 2011-05-26 02:15:43 +02:00
Kay Sievers 7df0ed83c1 rules: implement TAGS== match 2011-05-25 21:08:52 +02:00
Kay Sievers 38932b9fba rules: fix whitespace 2011-05-25 20:07:34 +02:00
Kay Sievers da26173785 drop hwclock-save.service
We don't want to fiddle around changing the RTC, not on bootup, not
on shutdown.

If we don't run NTP, we have absolutely no clue what's the current
time to store in the RTC. If we run NTP, the kernel syncs the system
time every 11 minutes to the RTC.

Especially in multi-boot environents we must not call hwclock(8)
which tries to be smart with calculating/storing/applying drifts
and such.

Live-CDs must never touch the RTC, because we don't know if it is
running in UTC or locatime.
2011-05-25 18:21:36 +02:00
Michal Schmidt cda2b84a69 dbus-common: fix segfault when a DBus message has no interface
dbus_message_get_interface() may return NULL.

https://bugzilla.redhat.com/show_bug.cgi?id=707483
2011-05-25 18:07:31 +02:00
William Swanson d636fa3d67 man: update the list of unit search locations 2011-05-25 18:04:53 +02:00
Lennart Poettering cf37e24688 readahead: explain that it is safe to ignore EACCES 2011-05-25 18:02:28 +02:00
Harald Hoyer 3afe3725fc readahead-collect: ignore EACCES for fanotify
At the start of auditd, we are temporarily not able to read
from the fanotify fd. Ignoring it, seems to work.
2011-05-25 17:59:00 +02:00
Kay Sievers e52e0846fc systemd: add missing socket files 2011-05-25 13:30:16 +02:00
Kay Sievers 5a6583ecb4 systemd: split socket file 2011-05-25 00:56:48 +02:00
Kay Sievers 235b28269a update TODO 2011-05-25 00:38:36 +02:00
Kay Sievers 7948c4dfbe rtc in localtime: use settimeofday(NULL, tz) instead of hwclock(8)
We check for LOCAL in /etc/adjtime and if needed, ask the kernel to
apply the timezone delta to the system clock.

The very first call of settimeofday() without a time, but a timezone
warps the system clock, so that it properly runs in UTC.
2011-05-24 20:23:07 +02:00
Kay Sievers 359306dfe5 update TODO 2011-05-24 03:20:19 +02:00
Kay Sievers 8bf7fea558 update TODO 2011-05-24 01:30:51 +02:00