Commit Graph
57095 Commits
Author SHA1 Message Date
Lennart Poettering 68ce1b7f2d build-sys: prepare v11 2010-10-07 15:39:28 +02:00
Kay Sievers d7628fbfcd release 163 2010-10-07 15:07:48 +02:00
Kay Sievers 392ef7a28a udevd: add sd-daemon.c 2010-10-07 14:59:11 +02:00
Kay Sievers d8b9a5c12b systemd: sort before basic.target 2010-10-07 10:49:13 +02:00
Lennart Poettering db6f54595b update fixme 2010-10-07 03:56:11 +02:00
Lennart Poettering f3c15784a1 units: make sure we run all early boot units before entering basic.target 2010-10-07 03:47:39 +02:00
Lennart Poettering 0ea969e6f2 update fixme 2010-10-07 03:34:14 +02:00
Lennart Poettering 0e098b15c7 util: never use sizeof(sa_family_t) when calculating sockaddr sizes 2010-10-07 02:34:17 +02:00
Lennart Poettering e983b76024 manager: notify plymouth about progress if it is running 2010-10-06 03:55:49 +02:00
Lennart Poettering 273f54cdc2 unit: continue boot when exiting emergency/resuce shell 2010-10-06 02:44:15 +02:00
Lennart Poettering 71fad67514 systemctl: require correctly formed unit names when enabling units 2010-10-06 02:33:40 +02:00
Lennart Poettering 647f1fafb5 README: mention libcap dependency
https://bugs.freedesktop.org/show_bug.cgi?id=30060
2010-10-05 23:41:27 +02:00
Matthias Schiffer 0b021426fb timer: Add missing break in switch 2010-10-05 23:28:13 +02:00
Fabiano Fidêncio 1ddff895f3 mount: Don't stop the mountinfo parser if one line can't be read
The current behavior of the /proc/self/mountinfo parser
is to stop the parser on parse failures

I'm only changing this behavior to try the next line and adding
a warning if occurs a fail.
2010-10-05 22:26:28 +02:00
Lennart Poettering 1bc5d57ae3 notify: fix include properly 2010-10-05 21:52:37 +02:00
Dave Reisner c899f8c61a fix typo: s/seperat/separat/g 2010-10-05 21:50:56 +02:00
Lennart Poettering 7607fea6a1 readahead: fix printf format string 2010-10-05 21:49:17 +02:00
Lennart Poettering f031e85fc0 notify: add missing include 2010-10-05 21:49:01 +02:00
Gustavo Sverzut Barbieri 9b85fc6a89 build-sys: Add compiler and linker flags to reduce binary size
Reduce number of exported symbols with -fvisibility=hidden by default,
this is safe as we're not generating and loadable library and our
binaries should have no exported symbol other than main(). This alone
reduces around 4kb per binary.

It will also request GCC to emit every function and data variable in
its own section, then request the linker to remove unused
sections. This reduces the size of utility tools
(/lib/systemd/systemd-*) by half or even more (in my system some
binaries went from 84kb to 32kb).
2010-10-05 21:45:51 +02:00
Mike Kelly df37291a51 unit-name: fix unit name escaping
we want to do a bitwise shift, not a greater-than comparision
2010-10-05 21:23:30 +02:00
Lennart Poettering a1102c1f63 man: fix typo 2010-10-05 21:22:41 +02:00
Lennart Poettering f72192c0c9 man: document Sockets= switch 2010-10-05 20:51:00 +02:00
Lennart Poettering e62e6670f7 man: document readahdea split-off 2010-10-05 20:44:37 +02:00
Lennart Poettering 525ee6f4a1 service: rename settings for Restart= from 'restart-always' to 'always' and similar 2010-10-05 20:30:44 +02:00
Lennart Poettering d0b4880988 sd-daemon: split off sd_readahead() since it is not a feature of systemd itself but of an auxiliary tool 2010-10-05 20:20:38 +02:00
Lennart Poettering a55da3cd5e mount: sort network mounts after network.target by default 2010-10-05 19:50:00 +02:00
Lennart Poettering f976f3f67c socket: make sockets to pass to a service configurable 2010-10-05 19:50:00 +02:00
Lennart Poettering d9ff321ad9 socket: make service to start on incoming traffic configurable 2010-10-05 19:50:00 +02:00
Lennart Poettering 20ed365678 man: fix suggested autoconf snippet 2010-10-05 19:50:00 +02:00
Lennart Poettering 0840ce2d49 readahead: ignore deleted files 2010-10-05 19:50:00 +02:00
Martin Pitt 1ebd2a5620 cdrom_id: Don't read beyond "last track" in TOC
Read the first and last track from the TOC header, and do not go beyond that
stated number of tracks when reading the TOC. Otherwise we interpret random
data which leads to bogus tracks. (Reported on an IronKey, which reported 1
data track, and 4 audio tracks which weren't actually present.)
2010-10-05 17:56:19 +02:00
Martin Pitt 678df8a461 cdrom_id: Fall back to CDROM_DRIVE_STATUS if all MMC commands fail
Reportedly, some "when I'm grown up I want to be a CD drive" fake USB CD sticks
like the IronKey neither support the SCSI "GET CONFIGURATION" nor the older
(pre-MMC2) "READ DISC INFORMATION" command. In that case, check if
cd_media_compat() detected that there is a disc present, and assume that we
have a CD-ROM medium.
2010-10-05 14:59:51 +02:00
Martin Pitt 13e0fca5df Revert "cdrom_id: Try reading the medium if all MMC commands fail"
Turns out we can do this much simpler by assuming that cd_media_compat() works,
which seems to be the case for the IronKey.

This reverts commit ea88774a92.
2010-10-05 14:57:04 +02:00
Martin Pitt ea88774a92 cdrom_id: Try reading the medium if all MMC commands fail
Reportedly, some "when I'm grown up I want to be a CD drive" fake USB CD sticks
like the IronKey neither support the SCSI "GET CONFIGURATION" nor the older
(pre-MMC2) "READ DISC INFORMATION" command. In that case, check if we can read
data from the drive, and assume that we have a CD-ROM medium if it succeeds.
2010-10-05 14:34:55 +02:00
Kay Sievers 7e911837c1 update fixme 2010-10-02 15:09:22 +02:00
Lennart Poettering 5b61848df2 readahead: minor 32bit fixes 2010-09-30 18:06:02 +02:00
Andreas Jaeger 010004791c tmpfiles: fix typo in comment 2010-09-29 10:08:24 +02:00
Lennart Poettering bdb0e14d27 readahead: preload pack file 2010-09-29 03:11:35 +02:00
Lennart Poettering cf895f3076 units: getty.target is pulled in via /lib these days 2010-09-29 03:03:37 +02:00
Lennart Poettering 43be53513a readahead: make sure /dev/.systemd/readahead exists 2010-09-29 02:55:40 +02:00
Lennart Poettering c7b508592b units: properly terminate readahead collection 10s after boot 2010-09-29 02:55:36 +02:00
Lennart Poettering 89a2f23dcf update fixme 2010-09-29 01:39:54 +02:00
Lennart Poettering 93ca9714e6 units: get rid of special setup services for /var/run, /var/lock and /tmp, and rely on tmpfiles.d/ instead 2010-09-29 01:39:31 +02:00
Lennart Poettering afbf835326 units: ship unit file for systemd-tmpfiles by default 2010-09-29 01:39:31 +02:00
Kay Sievers 0bd77e2acd systemd: hook into basic.target instead of sysinit.target 2010-09-29 00:49:24 +02:00
Kay Sievers dd36de4d52 parse_env_file() - return empty value strings like FOO="" as NULL value 2010-09-28 23:41:09 +02:00
Lennart Poettering 34c8deaae1 tmpfiles: install default tmpfiles configuration 2010-09-28 22:32:53 +02:00
Lennart Poettering 7fcde28044 tmpfiles: move dir to /etc/tempfiles.d/ 2010-09-28 22:32:27 +02:00
Lennart Poettering 4aa8b15b0c tmpfiles: return sensible error code 2010-09-28 22:32:05 +02:00
Lennart Poettering bfaf42d22b tmpfiles: rename tempfiles to tmpfiles since this isn't windows 2010-09-28 22:11:27 +02:00