chiark / gitweb /
elogind.git
11 years agocore: add bus API and systemctl commands for altering cgroup parameters during runtime
Lennart Poettering [Sat, 12 Jan 2013 03:24:12 +0000 (04:24 +0100)]
core: add bus API and systemctl commands for altering cgroup parameters during runtime

11 years agosystemctl: honour inhibitors only when running unprivileged
Lennart Poettering [Fri, 11 Jan 2013 23:09:22 +0000 (00:09 +0100)]
systemctl: honour inhibitors only when running unprivileged

11 years agosystemctl: don't hit an assert if we try to reboot and dbus is dead
Lennart Poettering [Fri, 11 Jan 2013 23:00:22 +0000 (00:00 +0100)]
systemctl: don't hit an assert if we try to reboot and dbus is dead

https://bugzilla.redhat.com/show_bug.cgi?id=889624

11 years agosystemctl: rework is-active and is-failed code
Lennart Poettering [Fri, 11 Jan 2013 22:59:41 +0000 (23:59 +0100)]
systemctl: rework is-active and is-failed code

11 years agocore: fix double free
Lennart Poettering [Fri, 11 Jan 2013 22:39:23 +0000 (23:39 +0100)]
core: fix double free

11 years agoservice: for Type=forking services, ignore exit status of main process depending...
Lennart Poettering [Mon, 14 Jan 2013 20:05:17 +0000 (21:05 +0100)]
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

11 years agocore: document that JoinControllers= might be ineffective in initrd uses
Lennart Poettering [Mon, 14 Jan 2013 19:37:12 +0000 (20:37 +0100)]
core: document that JoinControllers= might be ineffective in initrd uses

https://bugzilla.redhat.com/show_bug.cgi?id=875531

11 years agoupdate TODO
Lennart Poettering [Mon, 14 Jan 2013 19:34:56 +0000 (20:34 +0100)]
update TODO

11 years agolocale: make sense of "dvorak-alt-intel" X variant in mapping database
Lennart Poettering [Mon, 14 Jan 2013 17:23:18 +0000 (18:23 +0100)]
locale: make sense of "dvorak-alt-intel" X variant in mapping database

https://bugzilla.redhat.com/show_bug.cgi?id=873634

11 years agoman: localectl - s/set-keyboard/set-keymap/
Kay Sievers [Sun, 13 Jan 2013 10:19:37 +0000 (11:19 +0100)]
man: localectl - s/set-keyboard/set-keymap/

11 years agoservice: remove distribution specific comments, the code runs unconditional now
Kay Sievers [Sat, 12 Jan 2013 22:50:56 +0000 (23:50 +0100)]
service: remove distribution specific comments, the code runs unconditional now

11 years agoservice: remove distribution specific comments, the code run unconditional now
Kay Sievers [Sat, 12 Jan 2013 22:31:46 +0000 (23:31 +0100)]
service: remove distribution specific comments, the code run unconditional now

11 years agonspawn: add --version
Zbigniew Jędrzejewski-Szmek [Fri, 11 Jan 2013 21:03:49 +0000 (16:03 -0500)]
nspawn: add --version

11 years agobuild-sys: use _FORTIFY_SOURCE only if optimizing
Zbigniew Jędrzejewski-Szmek [Fri, 11 Jan 2013 15:03:04 +0000 (10:03 -0500)]
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.

11 years agosystemctl: honour inhibitors when shutting down or entering sleep state
Lennart Poettering [Fri, 11 Jan 2013 03:24:05 +0000 (04:24 +0100)]
systemctl: honour inhibitors when shutting down or entering sleep state

11 years agoupdate TODO
Lennart Poettering [Fri, 11 Jan 2013 00:10:17 +0000 (01:10 +0100)]
update TODO

11 years agounit: instead of directly loading drop-in configuration snippets use conf_files_list_...
Lennart Poettering [Fri, 11 Jan 2013 00:04:11 +0000 (01:04 +0100)]
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.

11 years agounit: allow extension of unit files with .d/*.conf drop-ins
Lennart Poettering [Thu, 10 Jan 2013 23:21:06 +0000 (00:21 +0100)]
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

11 years agodbus: duplicate Job.Cancel() as CancelJob() and Snapshot.Remove() as RemoveSnapshot...
Lennart Poettering [Thu, 10 Jan 2013 21:45:45 +0000 (22:45 +0100)]
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.

11 years agobuild-sys: do not install to / in 'make distcheck'
Zbigniew Jędrzejewski-Szmek [Thu, 10 Jan 2013 20:43:20 +0000 (15:43 -0500)]
build-sys: do not install to / in 'make distcheck'

11 years agobuild-sys: fix 'make distcheck' w/o sysvinit compat
Zbigniew Jędrzejewski-Szmek [Thu, 10 Jan 2013 20:42:31 +0000 (15:42 -0500)]
build-sys: fix 'make distcheck' w/o sysvinit compat

EXTRA_DIST must unconditionally contain all source files.

11 years agobootchart: fix a -Wshadow warning for "now"
Auke Kok [Thu, 10 Jan 2013 19:34:59 +0000 (11:34 -0800)]
bootchart: fix a -Wshadow warning for "now"

11 years agobootchart: Convert malloc/memset to calloc
Auke Kok [Thu, 10 Jan 2013 19:35:00 +0000 (11:35 -0800)]
bootchart: Convert malloc/memset to calloc

11 years agobootchart: Convert !strcmp usage to streq
Auke Kok [Thu, 10 Jan 2013 19:34:58 +0000 (11:34 -0800)]
bootchart: Convert !strcmp usage to streq

11 years agojournald: use automatic cleanup
Zbigniew Jędrzejewski-Szmek [Thu, 10 Jan 2013 00:14:32 +0000 (19:14 -0500)]
journald: use automatic cleanup

11 years agobootchart: make sure that every read buffer is null terminated
Lukas Nykryn [Thu, 10 Jan 2013 13:36:42 +0000 (14:36 +0100)]
bootchart: make sure that every read buffer is null terminated

11 years agoudev: Fix device matching in the accelerometer
Bastien Nocera [Thu, 10 Jan 2013 13:23:23 +0000 (14:23 +0100)]
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.

11 years agoupdate TODO
Lennart Poettering [Thu, 10 Jan 2013 02:10:47 +0000 (03:10 +0100)]
update TODO

11 years agodbus: properly serialize calendar timer data
Lennart Poettering [Wed, 9 Jan 2013 23:54:46 +0000 (00:54 +0100)]
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...

11 years agobootchart: tabs to spaces
Thomas Hindoe Paaboel Andersen [Wed, 9 Jan 2013 21:38:03 +0000 (22:38 +0100)]
bootchart: tabs to spaces

11 years agoman/systemd.unit.xml: fix typos
Thomas Hindoe Paaboel Andersen [Wed, 9 Jan 2013 23:19:44 +0000 (00:19 +0100)]
man/systemd.unit.xml: fix typos

11 years agoman/systemd-bootchart.xml: fix typo
Thomas Hindoe Paaboel Andersen [Wed, 9 Jan 2013 20:25:02 +0000 (21:25 +0100)]
man/systemd-bootchart.xml: fix typo

11 years agotabs to spaces
Thomas Hindoe Paaboel Andersen [Wed, 9 Jan 2013 20:03:11 +0000 (21:03 +0100)]
tabs to spaces

Skipped bootchart and various files that looked like they should be
kept in sync with external sources.

11 years agotimedated: remove left-over distribution specific code
Kay Sievers [Wed, 9 Jan 2013 18:14:44 +0000 (19:14 +0100)]
timedated: remove left-over distribution specific code

11 years agoudev: move string copy functions to shared/
Kay Sievers [Wed, 9 Jan 2013 18:06:46 +0000 (19:06 +0100)]
udev: move string copy functions to shared/

11 years agobootchart: check return of fopen before setvbuf in log.c
Lukas Nykryn [Wed, 9 Jan 2013 16:10:57 +0000 (17:10 +0100)]
bootchart: check return of fopen before setvbuf in log.c

11 years agoudev: don't call fclose on NULL in is_pci_multifunction
Lukas Nykryn [Wed, 9 Jan 2013 16:10:56 +0000 (17:10 +0100)]
udev: don't call fclose on NULL in is_pci_multifunction

11 years agoupdate TODO
Lennart Poettering [Tue, 8 Jan 2013 20:39:44 +0000 (21:39 +0100)]
update TODO

11 years agodbus: fix serialization of calendar timers
Lennart Poettering [Tue, 8 Jan 2013 19:00:01 +0000 (20:00 +0100)]
dbus: fix serialization of calendar timers

11 years agoupdate TODO
Lennart Poettering [Tue, 8 Jan 2013 18:43:01 +0000 (19:43 +0100)]
update TODO

11 years agobootchart: install missing man page and config file
Umut Tezduyar [Tue, 8 Jan 2013 12:23:32 +0000 (13:23 +0100)]
bootchart: install missing man page and config file

11 years agoudev: net_id - skip stacked network devices
Kay Sievers [Tue, 8 Jan 2013 13:54:12 +0000 (14:54 +0100)]
udev: net_id - skip stacked network devices

11 years agobuild-sys: fix spelling of sysvrcndir v197
Lennart Poettering [Tue, 8 Jan 2013 01:37:37 +0000 (02:37 +0100)]
build-sys: fix spelling of sysvrcndir

11 years agoupdate NEWS
Lennart Poettering [Tue, 8 Jan 2013 01:27:22 +0000 (02:27 +0100)]
update NEWS

11 years agobuild-sys: bump version and so revisions
Lennart Poettering [Tue, 8 Jan 2013 00:42:41 +0000 (01:42 +0100)]
build-sys: bump version and so revisions

11 years agocore: properly initialize kernel timestamp
Lennart Poettering [Tue, 8 Jan 2013 00:27:39 +0000 (01:27 +0100)]
core: properly initialize kernel timestamp

11 years agoanalyze: add emacs mode header
Lennart Poettering [Tue, 8 Jan 2013 00:27:18 +0000 (01:27 +0100)]
analyze: add emacs mode header

11 years agogit: ignore bootchart binary
Lennart Poettering [Mon, 7 Jan 2013 23:49:39 +0000 (00:49 +0100)]
git: ignore bootchart binary

11 years agobuild-sys: disable static libraries
Kay Sievers [Mon, 7 Jan 2013 22:48:21 +0000 (23:48 +0100)]
build-sys: disable static libraries

11 years agoRevert "build-sys: remove .la files after installation"
Kay Sievers [Mon, 7 Jan 2013 22:39:17 +0000 (23:39 +0100)]
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 ca25fde748dba7ee74e24dff2db6aff1d9faea00.

11 years agobootchart: merge bootchart
Auke Kok [Wed, 17 Oct 2012 23:01:12 +0000 (16:01 -0700)]
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.

11 years agoTODO: update
Kay Sievers [Mon, 7 Jan 2013 22:15:47 +0000 (23:15 +0100)]
TODO: update

11 years agoupdate TODO
Lennart Poettering [Mon, 7 Jan 2013 21:15:48 +0000 (22:15 +0100)]
update TODO

11 years agobuild-sys: fix help text for --disable-myhostname
Lennart Poettering [Mon, 7 Jan 2013 21:15:42 +0000 (22:15 +0100)]
build-sys: fix help text for --disable-myhostname

11 years agobuild-sys: remove .la files after installation
Zbigniew Jędrzejewski-Szmek [Mon, 7 Jan 2013 18:25:15 +0000 (13:25 -0500)]
build-sys: remove .la files after installation

Define KEEP_LA_FILES to keep them.

The hook is repeated because both install-exec-hook and
install-data-hook can install libraries and with parallel make
it's not possible to predict which one will run first.

http://lists.freedesktop.org/archives/systemd-devel/2013-January/008016.html
tl;dr: Libtool .la files are not very useful for linking linux
libraries.

11 years agolocalectl: use automatic cleanup
Zbigniew Jędrzejewski-Szmek [Mon, 7 Jan 2013 16:43:41 +0000 (11:43 -0500)]
localectl: use automatic cleanup

set_freep() is added to automatize set_free().

11 years agoUpdate .mailmap
Zbigniew Jędrzejewski-Szmek [Mon, 7 Jan 2013 16:20:05 +0000 (11:20 -0500)]
Update .mailmap

11 years agologind: Capability of making seats without framebuffer devices
Oleg Samarin [Sat, 5 Jan 2013 16:33:37 +0000 (20:33 +0400)]
logind: Capability of making seats without framebuffer devices

file logind.c: The seat is now activated by any device with udev tag "seat-master"
file 71-seat.rules.in: All framebuffer devices have this tag

11 years agolocalectl: support systems without locale-archive
Giovanni Campagna [Sat, 5 Jan 2013 00:29:53 +0000 (01:29 +0100)]
localectl: support systems without locale-archive

Not all systems ships with locales inside /usr/lib/locale-archive, some
prefer to have locale data as individual subdirectories of /usr/lib/locale.
(A notable example of this is OpenEmbeddded, and OSes deriving from it
like gnome-ostree).
Given that glibc supports both ways, localectl should too.

11 years agotmpfiles: move legacy flag-files handling to legacy.conf
Tom Gundersen [Sat, 5 Jan 2013 00:35:27 +0000 (01:35 +0100)]
tmpfiles: move legacy flag-files handling to legacy.conf

11 years agoTODO
Tom Gundersen [Mon, 7 Jan 2013 14:17:12 +0000 (15:17 +0100)]
TODO

11 years agonss-myhostname: remove redundant .gitignore
Tom Gundersen [Sat, 5 Jan 2013 18:56:13 +0000 (19:56 +0100)]
nss-myhostname: remove redundant .gitignore

11 years agonss-myhostname: integrate documentation
Tom Gundersen [Sat, 5 Jan 2013 17:39:09 +0000 (18:39 +0100)]
nss-myhostname: integrate documentation

Converted from html to xml and changed the style to fit into the other
manpages.

11 years agonss-myhostname: integrate into systemd buildsystem
Tom Gundersen [Sat, 5 Jan 2013 17:37:52 +0000 (18:37 +0100)]
nss-myhostname: integrate into systemd buildsystem

Note that there are still some rome for cleanups. In particular,
the .la files are now installed, which we probably don't want; and
some of the macros in Makefile.am are likely redundan.

11 years agonss-myhostname: remove duplicate LICENCE
Tom Gundersen [Sat, 5 Jan 2013 17:42:40 +0000 (18:42 +0100)]
nss-myhostname: remove duplicate LICENCE

Also update the licence in the source files.

11 years agonss-myhostname: remove non-Linux support
Tom Gundersen [Thu, 3 Jan 2013 08:52:48 +0000 (09:52 +0100)]
nss-myhostname: remove non-Linux support

11 years agoMerge nss-myhostname
Tom Gundersen [Mon, 7 Jan 2013 14:14:01 +0000 (15:14 +0100)]
Merge nss-myhostname

11 years agobuild: Drop "=" from move-to-rootlibdir define
Michael Biebl [Sun, 6 Jan 2013 20:52:44 +0000 (21:52 +0100)]
build: Drop "=" from move-to-rootlibdir define

The variable assignment operator was introduced in make 3.82 and thus
breaks "make install" with older versions of make. Since "=" is optional
in make 3.82 it is safe to drop.

11 years agoupdate TODO
Zbigniew Jędrzejewski-Szmek [Sun, 6 Jan 2013 18:52:38 +0000 (13:52 -0500)]
update TODO

11 years agosystemd: use unit logging macros
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 17:00:35 +0000 (12:00 -0500)]
systemd: use unit logging macros

11 years agojournal: new logging macros to include UNIT=
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 16:59:46 +0000 (11:59 -0500)]
journal: new logging macros to include UNIT=

Adding UNIT= to log lines allows them to be shown
in 'systemctl status' output, etc.

A new set of macros and functions is added. This allows for less
verbose notation than using log_struct() explicitly.

The set of logging functions is expanded to take a pair of arguments
(e.g. "UNIT=" and the RHS) which add an extra line to the structured
log entry. This can be used to add macros which add a different
identifier later on.

11 years agofstab-generator: modernize style
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 22:15:55 +0000 (17:15 -0500)]
fstab-generator: modernize style

11 years agocore/path: modernize style
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 01:46:49 +0000 (20:46 -0500)]
core/path: modernize style

11 years agocore/mount: modernize style
Zbigniew Jędrzejewski-Szmek [Fri, 4 Jan 2013 20:29:48 +0000 (15:29 -0500)]
core/mount: modernize style

11 years agocore/dbus-unit: modernize style
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 21:19:07 +0000 (16:19 -0500)]
core/dbus-unit: modernize style

11 years agocore/manager: modernize style
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 21:03:35 +0000 (16:03 -0500)]
core/manager: modernize style

11 years agobuild-sys: use VALGRIND not __OPTIMIZE__ as condition for valgrind compat
Zbigniew Jędrzejewski-Szmek [Thu, 6 Dec 2012 12:23:16 +0000 (13:23 +0100)]
build-sys: use VALGRIND not __OPTIMIZE__ as condition for valgrind compat

Actually, one might want to run valgrind even on optimized code.
Now the same check is used in the jenkins hash functions and
hashtable.

11 years agobuild-sys: use recipe for moving libs
Zbigniew Jędrzejewski-Szmek [Sun, 6 Jan 2013 04:47:47 +0000 (23:47 -0500)]
build-sys: use recipe for moving libs

Just avoids repeating the same code a few times.
The way that hooks are named is standardized.
No functional change.

11 years agoTODO: update
Kay Sievers [Sun, 6 Jan 2013 18:14:56 +0000 (19:14 +0100)]
TODO: update

11 years agoudev: fix net name rules matches
Kay Sievers [Sun, 6 Jan 2013 16:05:10 +0000 (17:05 +0100)]
udev: fix net name rules matches

11 years agoanalyze: add .gitignore
Kay Sievers [Sun, 6 Jan 2013 15:18:48 +0000 (16:18 +0100)]
analyze: add .gitignore

11 years agoudev: enable persistent network device naming
Kay Sievers [Sun, 6 Jan 2013 15:17:33 +0000 (16:17 +0100)]
udev: enable persistent network device naming

11 years agobuild-sys: use full path to python in scripts
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 18:15:50 +0000 (13:15 -0500)]
build-sys: use full path to python in scripts

Commit c4eb236a2c didn't take into account the situation when the user
sets e.g. PYTHON=python3 (without the full path).  This value would
then be used verbatim for PYTHON_BINARY and in she-bang lines in
scripts, which is incorrect. To fix this, $PYTHON is passed through
which, which expands the path.  If $PYTHON_BINARY is desired which is
not installed on the build system, then PYTHON_BINARY must be set
separately.

11 years agobuild-sys: fix message about gintrospection
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 03:52:32 +0000 (22:52 -0500)]
build-sys: fix message about gintrospection

When gobject-introspection-devel was not available, the message
was missing the yes/no part

11 years agobuild-sys: invoke scripts with $PYTHON during build
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:24 +0000 (10:09 +0100)]
build-sys: invoke scripts with $PYTHON during build

Python binary to be used during compilation can be set with
./configure PYTHON=...

The she-bang line is removed, since it is not used anymore.

11 years agosystemd-analyze: use specified binary, add --version
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:23 +0000 (10:09 +0100)]
systemd-analyze: use specified binary, add --version

Python binary used in the she-bang line in installed
scripts can be set with ./configure PYTHON_BINARY=...
Defaults to the same path as python used during compilation.

Adding --version makes systemd-analyze behave consistently with the
rest of installed programs.

The lines in ./configure output are reordered to keep all yes/no lines
separate.  I think that this makes the output clearer.

11 years agosystemd-analyze: pipe through SED_PROCESS
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:22 +0000 (10:09 +0100)]
systemd-analyze: pipe through SED_PROCESS

To be able to add --version and change python binary.

11 years agoservice: fixup after ifdef dropping
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 02:18:17 +0000 (21:18 -0500)]
service: fixup after ifdef dropping

Commit 88516c0 removed one line too much.

11 years agosystemd-analyze: reword comments
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:48:30 +0000 (14:48 -0500)]
systemd-analyze: reword comments

11 years agobuild-sys: allow update-hwdb with seperate build dir
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:48:24 +0000 (14:48 -0500)]
build-sys: allow update-hwdb with seperate build dir

11 years agobuild-sys: drop unused $RUNTIME_DIR
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:49:30 +0000 (14:49 -0500)]
build-sys: drop unused $RUNTIME_DIR

11 years agobuild-sys: drop all distribution specfic checks
Lennart Poettering [Fri, 4 Jan 2013 22:24:38 +0000 (23:24 +0100)]
build-sys: drop all distribution specfic checks

Yay, we now have a completely generic systemd. No distribution specific checks anymore!

11 years agobuild-sys: make path of loadkeys/setfont configurable in configure
Lennart Poettering [Fri, 4 Jan 2013 22:19:02 +0000 (23:19 +0100)]
build-sys: make path of loadkeys/setfont configurable in configure

11 years agoservice: drop inserv.conf parsing
Lennart Poettering [Fri, 4 Jan 2013 21:45:34 +0000 (22:45 +0100)]
service: drop inserv.conf parsing

This Suse specific configuration file should really be done in a generator
that is shipped downstream by suse.

11 years agoservice: drop the per-distro ifdefs in service.c
Lennart Poettering [Fri, 4 Jan 2013 21:43:41 +0000 (22:43 +0100)]
service: drop the per-distro ifdefs in service.c

They don't really hurt on other distros, and this allows us to ship
the same code on all distros

11 years agounits: always use sulogin in rescue.service
Lennart Poettering [Fri, 4 Jan 2013 21:38:11 +0000 (22:38 +0100)]
units: always use sulogin in rescue.service

sushell makes much less sense than sulogin. If distros want to stick to sushell
they should patch this downstream.

11 years agounits: drop distro specific stuff from units
Lennart Poettering [Fri, 4 Jan 2013 21:36:48 +0000 (22:36 +0100)]
units: drop distro specific stuff from units

Since rc-local is now enabled via the SysV compatibility we should only refer
to it based on that too.

11 years agosystemctl: enable chkconfig compat only if chkconfig is found rather than based on...
Lennart Poettering [Fri, 4 Jan 2013 21:32:31 +0000 (22:32 +0100)]
systemctl: enable chkconfig compat only if chkconfig is found rather than based on distro

11 years agofsck: remove distro specific hacks from fsck/quotacheck
Lennart Poettering [Fri, 4 Jan 2013 21:00:46 +0000 (22:00 +0100)]
fsck: remove distro specific hacks from fsck/quotacheck

Move forcefsck file checks under a HAVE_SYSV_COMPAT #ifdef, and warn if this is used.

11 years agoMake gcc a bit quieter
Lennart Poettering [Fri, 4 Jan 2013 20:51:47 +0000 (21:51 +0100)]
Make gcc a bit quieter