Commit graph

2469 commits

Author SHA1 Message Date
Lennart Poettering 2076cf8831 timedated: sync clock down to RTC where necessary 2011-06-21 19:29:45 +02:00
Lennart Poettering d3fc81bd6a update TODO 2011-06-21 19:29:45 +02:00
Lennart Poettering f401e48c2d mechanisms: add mechanisms to change system locale and clock 2011-06-21 19:29:45 +02:00
Lennart Poettering 34ca941cec util: make a couple of files we write atomic 2011-06-21 19:29:45 +02:00
Lennart Poettering 5f4b19f4bc service: check whether sysv scripts where changed 2011-06-21 19:29:45 +02:00
Lennart Poettering 8d0e38a2b9 dbus: introduce UnsetAndSetEnvironment() 2011-06-21 19:29:45 +02:00
Lennart Poettering 48f82119ce util: return errno in close_nointr() 2011-06-21 19:29:44 +02:00
Lennart Poettering 3f49d45a45 logind: implement D-Bus properties 2011-06-21 19:29:44 +02:00
Lennart Poettering bd253d1b91 dbus: add api for append gid/uid properties 2011-06-21 19:29:44 +02:00
Lennart Poettering c9f09cda77 udev: simplify udev rules a bit 2011-06-21 19:29:44 +02:00
Lennart Poettering d2f92cdfd0 logind: unlink state files when stopping 2011-06-21 19:29:44 +02:00
Lennart Poettering 14c3baca3e logind: implement GC 2011-06-21 19:29:44 +02:00
Lennart Poettering 5a3ab509b5 util: add fopen_temporary() 2011-06-21 19:29:44 +02:00
Lennart Poettering 5eda94dda2 logind: implement ACL management 2011-06-21 19:29:44 +02:00
Lennart Poettering 90821c935e logind: split up logind.h 2011-06-21 19:29:44 +02:00
Lennart Poettering 202630822f logind: first version that compiles fine 2011-06-21 19:29:44 +02:00
Lennart Poettering f41607a6e1 util: move string enum mapping to the end 2011-06-21 19:29:44 +02:00
Lennart Poettering 1325aa4202 util: add pipe_eof() 2011-06-21 19:29:44 +02:00
Lennart Poettering ab5c3e3ff1 english: s/_per_/_by_/ 2011-06-21 19:29:44 +02:00
Lennart Poettering fb19a739d5 util: introduce dirent_is_file() 2011-06-21 19:29:43 +02:00
Lennart Poettering d0baa06fda hostnamed: split dbus initialization into a separate function 2011-06-21 19:29:43 +02:00
Lennart Poettering 3df5bf6123 dbus: make bus_flags_to_events() and friends generally useful 2011-06-21 19:29:43 +02:00
Lennart Poettering 3661ac04b4 manager: include full systemctl status command line in error message 2011-06-20 21:39:28 +02:00
Ville Skyttä abebb5af9a systemctl: Add SYSTEMD_PAGER for setting the pager to use in systemctl 2011-06-20 17:59:59 +02:00
Ville Skyttä 9f7dad774e man: Documentation spelling fixes 2011-06-20 17:57:22 +02:00
Ville Skyttä c98a949fb2 bash: Add host, privileged, and no-pager bash option completions. 2011-06-20 17:56:07 +02:00
William Douglas 4160ec67ba sd-daemon: Add sd_is_special for special file descriptors
With the addition of ListenSpecial as a socket option we need the
the usual sd_is_ functions for special files.  This patch does
that.
2011-06-20 17:54:17 +02:00
Lennart Poettering 8003c705f2 update TODO 2011-06-20 17:49:22 +02:00
Michal Vyskocil f8e08a77e7 main: Fix a typo emergency shall->emergency shell 2011-06-20 17:48:58 +02:00
Lennart Poettering f9a61ef2c9 build-sys: prepare new release 2011-06-16 13:17:51 +02:00
Lennart Poettering c798c40ec9 update TODO 2011-06-15 22:49:54 +02:00
Michal Schmidt 0e318cad06 pam-module: add debug= parameter
It is customary that pam modules do not log debugging information by default.
Usually they offer a 'debug' option.

Add a boolean debug= option to pam_systemd.so.

This will solve bug
https://bugzilla.redhat.com/show_bug.cgi?id=705427

Commit 53d5582fa0 was not sufficient to fix it,
because in Fedora rsyslog is configured to write even LOG_DEBUG messages to
/var/log/secure by default.
2011-06-15 22:23:39 +02:00
Lennart Poettering f9f0c31ae5 man: clarify os-release in regards to spaces a bit 2011-06-15 21:09:04 +02:00
Jim Meyering 23b2a3300c systemctl: plug a leak upon create_symlink mismatch 2011-06-15 20:44:28 +02:00
Alexey Shabalin d9eaa2d538 systemctl: enable chkconfig support in systemctl for ALTLinux 2011-06-15 20:13:36 +02:00
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
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
Frederic Crozat dc725264f3 enable chkconfig support in systemctl for openSUSE 2011-06-09 13:31:26 +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
Michal Schmidt 78e39b43b8 systemctl: fix double unref of a dbus message 2011-06-05 17:22:37 +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
Lennart Poettering 0e8eb2d2e2 build-sys: prepare v28 2011-05-26 19:18:54 +02:00