Commit graph

9995 commits

Author SHA1 Message Date
Lennart Poettering 748ebafa7a systemctl: honour inhibitors only when running unprivileged 2013-01-14 21:24:57 +01:00
Lennart Poettering d255133d8e systemctl: don't hit an assert if we try to reboot and dbus is dead
https://bugzilla.redhat.com/show_bug.cgi?id=889624
2013-01-14 21:24:57 +01:00
Lennart Poettering 60f9ba0b94 systemctl: rework is-active and is-failed code 2013-01-14 21:24:57 +01:00
Lennart Poettering 83dd76170d core: fix double free 2013-01-14 21:24:57 +01:00
Lennart Poettering fbeefb45ac service: for Type=forking services, ignore exit status of main process depending on ExecStart's ignore setting
https://bugzilla.redhat.com/show_bug.cgi?id=860464
2013-01-14 21:05:17 +01:00
Lennart Poettering e5e991a11c core: document that JoinControllers= might be ineffective in initrd uses
https://bugzilla.redhat.com/show_bug.cgi?id=875531
2013-01-14 20:37:12 +01:00
Lennart Poettering 6eebcda6a2 update TODO 2013-01-14 20:34:56 +01:00
Lennart Poettering 65426b7632 locale: make sense of "dvorak-alt-intel" X variant in mapping database
https://bugzilla.redhat.com/show_bug.cgi?id=873634
2013-01-14 18:24:00 +01:00
Kay Sievers 7352486439 man: localectl - s/set-keyboard/set-keymap/ 2013-01-13 11:19:37 +01:00
Kay Sievers 20771ae336 service: remove distribution specific comments, the code runs unconditional now 2013-01-12 23:50:56 +01:00
Kay Sievers 85a3fa0e19 service: remove distribution specific comments, the code run unconditional now 2013-01-12 23:31:46 +01:00
Zbigniew Jędrzejewski-Szmek acbeb42770 nspawn: add --version 2013-01-11 16:03:49 -05:00
Zbigniew Jędrzejewski-Szmek 6a17986542 build-sys: use _FORTIFY_SOURCE only if optimizing
Rather then force the user to undefine _FORTIFY_SOURCE,
don't define it in the first place if it cannot be used.

I'm assuming that -O* can only be sensibly specified in $CFLAGS.
2013-01-11 10:03:16 -05:00
Lennart Poettering b37844d3d7 systemctl: honour inhibitors when shutting down or entering sleep state 2013-01-11 04:24:05 +01:00
Lennart Poettering 946c11ed25 update TODO 2013-01-11 01:10:17 +01:00
Lennart Poettering 5926cccae2 unit: instead of directly loading drop-in configuration snippets use conf_files_list_strv()
This has the benefit of allowing the usual overriding/masking knowledge
everybody loves so much.
2013-01-11 01:04:11 +01:00
Lennart Poettering 8afbb8e118 unit: allow extension of unit files with .d/*.conf drop-ins
For all unit files foobar.service we will now read
foobar.service.d/*.conf, too. This may be used to override certain unit
settings without having to edit unit files directly.

This makes it really easy to change specific settings for services
without having to edit any unit file:

mkdir /etc/systemd/system/avahi-daemon.service.d/
echo -e '[Service]\nNice=99' > /etc/systemd/system/avahi-daemon.service.d/nice.conf
systemctl daemon-reload
2013-01-11 00:21:06 +01:00
Lennart Poettering 5dd9014faf dbus: duplicate Job.Cancel() as CancelJob() and Snapshot.Remove() as RemoveSnapshot() on the Manager interface
For all other object mehtods there are already counterparts on the
manager object, as they help us reduce round-trips. So let's complete
this, and reduce complexity on the client side a bit.

As a side effect this also makes "systemctl snapshot" without arguments
work again.
2013-01-10 23:03:48 +01:00
Zbigniew Jędrzejewski-Szmek d354315ff7 build-sys: do not install to / in 'make distcheck' 2013-01-10 15:43:20 -05:00
Zbigniew Jędrzejewski-Szmek 52edb22835 build-sys: fix 'make distcheck' w/o sysvinit compat
EXTRA_DIST must unconditionally contain all source files.
2013-01-10 15:42:31 -05:00
Auke Kok 2c408fbf64 bootchart: fix a -Wshadow warning for "now" 2013-01-10 15:21:52 -05:00
Auke Kok a2e9b33808 bootchart: Convert malloc/memset to calloc 2013-01-10 15:21:48 -05:00
Auke Kok 53f5329f7a bootchart: Convert !strcmp usage to streq 2013-01-10 15:21:42 -05:00
Zbigniew Jędrzejewski-Szmek db91ea32aa journald: use automatic cleanup 2013-01-10 15:19:15 -05:00
Lukas Nykryn ef2648c127 bootchart: make sure that every read buffer is null terminated 2013-01-10 15:22:58 +01:00
Bastien Nocera 1d010426c0 udev: Fix device matching in the accelerometer
As we were searching by ID_PATH, it would have been possible
for us to find a sibling device instead of the device we were
looking for.

This fixes device matching on the WeTab with the upstream kernel,
as it was trying to use the "Asus Laptop extra buttons" device
instead of the accelerometer.
2013-01-10 14:28:48 +01:00
Lennart Poettering 988d77ef2e update TODO 2013-01-10 03:10:47 +01:00
Lennart Poettering b719810db4 dbus: properly serialize calendar timer data
As it turns out the bus properties for timer units wre really broken,
so let's clean this up for good and properly add calendar timer
serialization. We really should get that right before finalizing the
bus API documentation in the wiki...
2013-01-10 00:56:32 +01:00
Thomas Hindoe Paaboel Andersen 28989b63f5 bootchart: tabs to spaces 2013-01-10 00:24:48 +01:00
Thomas Hindoe Paaboel Andersen e711d102df man/systemd.unit.xml: fix typos 2013-01-10 00:19:44 +01:00
Thomas Hindoe Paaboel Andersen 1959c6ce94 man/systemd-bootchart.xml: fix typo 2013-01-09 21:25:02 +01:00
Thomas Hindoe Paaboel Andersen b929bf049d tabs to spaces
Skipped bootchart and various files that looked like they should be
kept in sync with external sources.
2013-01-09 21:20:43 +01:00
Kay Sievers 99f861310d timedated: remove left-over distribution specific code 2013-01-09 19:14:44 +01:00
Kay Sievers d5a89d7dc1 udev: move string copy functions to shared/ 2013-01-09 19:06:46 +01:00
Lukas Nykryn 0908dd2fd5 bootchart: check return of fopen before setvbuf in log.c 2013-01-09 17:15:19 +01:00
Lukas Nykryn 3c123e0899 udev: don't call fclose on NULL in is_pci_multifunction 2013-01-09 17:14:40 +01:00
Lennart Poettering 9096ad367f update TODO 2013-01-08 21:39:44 +01:00
Lennart Poettering 3761902e2e dbus: fix serialization of calendar timers 2013-01-08 20:00:01 +01:00
Lennart Poettering 788f75a0e7 update TODO 2013-01-08 19:44:04 +01:00
Umut Tezduyar 5088d19fa5 bootchart: install missing man page and config file 2013-01-08 16:55:55 +01:00
Kay Sievers 72bc96f078 udev: net_id - skip stacked network devices 2013-01-08 14:54:12 +01:00
Lennart Poettering dee4c24425 build-sys: fix spelling of sysvrcndir 2013-01-08 02:37:37 +01:00
Lennart Poettering 8ad2685909 update NEWS 2013-01-08 02:27:22 +01:00
Lennart Poettering 71c474864c build-sys: bump version and so revisions 2013-01-08 01:42:41 +01:00
Lennart Poettering cae0c5e042 core: properly initialize kernel timestamp 2013-01-08 01:27:39 +01:00
Lennart Poettering 6ee667aeeb analyze: add emacs mode header 2013-01-08 01:27:18 +01:00
Lennart Poettering a752addf67 git: ignore bootchart binary 2013-01-08 00:49:39 +01:00
Kay Sievers 8666abb452 build-sys: disable static libraries 2013-01-07 23:48:43 +01:00
Kay Sievers ddcbd96ae6 Revert "build-sys: remove .la files after installation"
"make distcheck" fails with:
  ERROR: files left after uninstall:
  ./usr/lib64/security/pam_systemd.so
  ./lib/libnss_myhostname.so.2
  ./lib64/python2.7/site-packages/systemd/_journal.so

This reverts commit ca25fde748.
2013-01-07 23:48:43 +01:00
Auke Kok 83fdc450aa bootchart: merge bootchart
Bootchart is renamed to 'systemd-bootchart' and installed as
/usr/lib/systemd/systemd-bootchart. The configuration file
will reside in /etc/systemd/bootchart.conf.
2013-01-07 23:48:43 +01:00