Commit Graph

1399 Commits

Author SHA1 Message Date
Lennart Poettering a84d748025 update fixme 2010-09-27 19:14:52 +02:00
Michael Biebl f6943caa53 Need to use #elif defined(DEBIAN) here...
This fixes a c&p error in 7472744bf9
2010-09-27 19:11:21 +02:00
Michael Biebl 7472744bf9 debian: add locale compat support
Read LANG from /etc/default/locale.
2010-09-27 18:40:51 +02:00
Lennart Poettering 858209c51f readahead: properly initialize variable 2010-09-27 03:25:10 +02:00
Lennart Poettering 1a34d367d1 update fixme 2010-09-27 03:25:10 +02:00
Fabiano Fidencio 07459bb6b9 sysv: optionally disable of SysV init/rcN.d support at compile time
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to
isolate code dealing with /etc/init.d and /etc/rcN.d for systems where
it does not make sense (one that does not use sysv or one that is fully
systemd native).

The patch tries to be as little intrusive as possible, however in
order to minimize the number of #ifdef'ed regions I've reordered some
code in path-lookup.c:lookup_paths_init() where all code dealing with
sysv is now isolated under running_as == MANAGER_SYSTEM as well.

Moreover, In struct Service, some fields were rearranged to reduce
the number of ifdefs.

Lennart's suggestions were fixed and squashed with the original patch,
that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-09-27 03:25:05 +02:00
Harald Hoyer 66d9b3b595 hashmap: HASHMAP_FOREACH* iterate until ITERATOR_LAST 2010-09-27 02:09:47 +02:00
Lennart Poettering 0ebd74d8d9 job: show failure message only for start jobs 2010-09-27 01:37:22 +02:00
Fabiano Fidencio 334d0069f5 mount: Remove double include of "mount.h" 2010-09-27 01:34:58 +02:00
Lennart Poettering 82526d7218 update fixme 2010-09-27 01:24:35 +02:00
Harald Hoyer 6e66797af4 readahead-replay: use posix_fadvise instead of readahead 2010-09-26 15:53:23 +02:00
Harald Hoyer efe5e8f7e1 readahead-collect: check for negative return codes of fs_on_ssd() 2010-09-26 15:52:58 +02:00
Lennart Poettering 6624768c9c readahead: add interface to sd-daemon.[ch] to control readahead 2010-09-26 15:50:14 +02:00
Harald Hoyer f0cf061eda readahead-collect: typo, free the correct pointer 2010-09-26 15:24:08 +02:00
Lennart Poettering 8260358d5a readahead: parse command line arguments 2010-09-25 15:39:38 +02:00
Lennart Poettering 437dca8b2f readahead: never readahead temporary files since their names tend not to be stable 2010-09-25 14:35:53 +02:00
Lennart Poettering 75a010e0b7 readahead: make candidate for early OOM kill 2010-09-25 14:35:34 +02:00
Lennart Poettering 408b85df83 readahead: exit after a maximum runtime 2010-09-25 14:27:16 +02:00
Lennart Poettering 902a339c93 readahead-replay: delay ready notification until we queued first read 2010-09-25 13:47:31 +02:00
Lennart Poettering 41a598e21a readahead: disable on low memory machines 2010-09-25 13:32:54 +02:00
Lennart Poettering 4030d7a923 readahead: take file system root on command line 2010-09-24 11:12:10 +02:00
Lennart Poettering c1480dae17 readahead: normalize logging 2010-09-23 17:44:33 +02:00
Lennart Poettering 6e3eb5ba18 readahead: put limit on files we read ahead 2010-09-23 17:35:16 +02:00
Lennart Poettering 746f890636 readahead: add btrfs defrag support 2010-09-23 17:11:19 +02:00
Lennart Poettering 0511502083 fanotify: use uint64_t instead of __u64 2010-09-23 15:49:08 +02:00
Lennart Poettering 76bf48b7d0 dbus: export number of total failed jobs on D-Bus interface 2010-09-23 15:38:42 +02:00
Lennart Poettering 22be093ffb readahead: implement minimal readahead logic based on fanotify(), mincore() and readahead() 2010-09-23 15:02:13 +02:00
Kay Sievers 647703fecb update fixme 2010-09-22 18:26:20 +02:00
Kay Sievers 6efb256c1a units: add tmp.service to file list 2010-09-22 13:51:05 +02:00
Kay Sievers 3e24da51b9 units: enable getty.target by default 2010-09-22 13:31:53 +02:00
Kay Sievers 8a7702cd06 units: add optional tmp.service 2010-09-22 13:01:15 +02:00
Kay Sievers 45cf971672 units: move ctrl-alt-delete, default getty targets from /etc to /lib 2010-09-22 12:49:17 +02:00
Kay Sievers 6ebf598c40 units: hwclock support for non-UTC must not be in the default 2010-09-22 12:00:07 +02:00
Kay Sievers 65ae3821ff units: enable var-run + var-lock service by default 2010-09-21 21:43:40 +02:00
Kay Sievers f9ccc72499 units: enable sysctl by default 2010-09-21 21:38:21 +02:00
Kay Sievers 7376cffd56 units: enable hwclock by default 2010-09-21 21:33:24 +02:00
Kay Sievers d3f09cf396 units: always enable random-seed, module-load, vconsole 2010-09-21 21:25:44 +02:00
Gustavo Sverzut Barbieri fa70128df1 dbus: add Progress property to introspection 2010-09-21 16:55:35 +02:00
Kay Sievers c2a4755857 tmpwatch: fix typo and remove [Install] 2010-09-21 16:22:10 +02:00
Kay Sievers 03aeb5bed0 suse: locale + vconsole compat support 2010-09-21 15:08:04 +02:00
Kay Sievers b15124f166 tmpwatch: install the unit files 2010-09-21 15:07:43 +02:00
Lennart Poettering 05d6a3b6cf manager: calculate progress value while booting 2010-09-21 04:25:48 +02:00
Lennart Poettering b0c918b97f manager: measure startup times 2010-09-21 04:14:38 +02:00
Lennart Poettering e409f87570 manager: count how many jobs we executed 2010-09-21 03:51:31 +02:00
Lennart Poettering f0a73e245c units: add default tmpwatch units 2010-09-21 03:38:32 +02:00
Lennart Poettering 653ab83b18 vconsole: make sure we don't merge configuration settings from different sources 2010-09-21 03:16:28 +02:00
Lennart Poettering ce8a6aa1a0 locale: make sure we don't merge configuration settings from different sources 2010-09-21 01:51:23 +02:00
Lennart Poettering 8780d48d86 locale: unset locale vars that are not set any longer 2010-09-21 01:40:34 +02:00
Lennart Poettering 97e3d13fb4 locale: never use LC_ALL. It's evil. 2010-09-21 01:37:42 +02:00
Tom Gundersen 980900c1d9 service: start Arch daemons
Arch does not use proper SysV runlevels. Instead /etc/rc.conf contains
an array of daemons to load in a multi-user runlevel, and some
dependencies between them.

This patch enables this behaviour in SystemD (only when compiled with
Arch support), which allows SystemD to be a drop in replacement on Arch
(modulo some minor bugs).

v2: simplified after suggestion from Lennart
2010-09-21 01:32:21 +02:00