1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00
Commit Graph

1573 Commits

Author SHA1 Message Date
Lennart Poettering
d9c7a87b35 readahead: ignore replay events when collecting 2010-09-28 21:46:30 +02:00
Michael Biebl
c457e08335 update fixme 2010-09-28 21:26:46 +02:00
Lennart Poettering
ee95669fb6 service: first lookup LSB facility names in tables, only then suppress self-provides 2010-09-28 21:08:39 +02:00
Lennart Poettering
55888fa400 readahead: fix SSD check 2010-09-28 20:53:08 +02:00
Matthias Schiffer
409db00299 service: Don't crash because of double free when Arch services are disabled in rc.conf 2010-09-28 19:41:04 +02:00
Lennart Poettering
30b89475ee build-sys: add missing header files to tarball 2010-09-28 18:49:02 +02:00
Lennart Poettering
0b5d26f95d service: filter out empty LSB description strings 2010-09-28 18:30:43 +02:00
Lennart Poettering
a7d3cc26f9 service: when resolving sysv names drop leading $ 2010-09-28 18:30:43 +02:00
Kay Sievers
15917fb09b modules-load: use /etc/modules-load.d/?*.conf 2010-09-28 17:02:29 +02:00
Kay Sievers
fd5bf055ac use .conf for new config files: locale, vconsole, modules.d 2010-09-28 11:51:24 +02:00
Kay Sievers
915d22e4f0 vconsole-setup: ignore empty strings like FOO="", imported from config files 2010-09-28 11:49:47 +02:00
Lennart Poettering
4bb2357f77 units: add readahead unit files 2010-09-28 03:44:22 +02:00
Lennart Poettering
c0a1b6e926 units: enable mount units by default and hook binary units into base.target instead of sysinit.target, leaving the latter for sysv compatibility 2010-09-28 03:18:23 +02:00
Lennart Poettering
5008d5815a tempfiles: add little utility for creating volatile files/dirs in tmpfs hierarchies 2010-09-28 02:34:02 +02:00
Lennart Poettering
5c78d8e242 mount: properly handle bind mounts 2010-09-28 01:03:19 +02:00
Lennart Poettering
caca31b576 service: shortcut sysv provides on ourselves 2010-09-28 00:29:09 +02:00
Lennart Poettering
cb33e40000 service: ignore sysv $null service 2010-09-28 00:28:16 +02:00
Lennart Poettering
b4a16b7b8a fix spelling of 'unneeded' at various places 2010-09-27 23:27:21 +02:00
Lennart Poettering
089527607f update fixme 2010-09-27 23:24:40 +02:00
Lennart Poettering
9f151f29fd service: don't create sysv order deps on merged units 2010-09-27 23:24:17 +02:00
Lennart Poettering
6ccb1b4429 load-fragment: reset fragment_path if we couldn't find a unit file for it 2010-09-27 20:31:57 +02:00
Lennart Poettering
2e7485f021 readahead: avoid collisions with the NULL pointer 2010-09-27 20:23:17 +02:00
Lennart Poettering
aed5e44d50 Revert "hashmap: HASHMAP_FOREACH* iterate until ITERATOR_LAST"
This reverts commit 66d9b3b595.

If we check for i == ITERATOR_LAST we exit the loop one entry before the
end. Instead we should return if e is NULL.
2010-09-27 20:13:21 +02:00
Lennart Poettering
313ed05bdb update fixme 2010-09-27 20:10:11 +02:00
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