1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-26 17:25:34 +03:00
Commit Graph

8197 Commits

Author SHA1 Message Date
Michal Schmidt
7cf55dd070 man: overwrite vs. override
'overwrite' conveys the idea of the old text being destroyed.
'override' does not. It is more similar to 'overrule'.
2012-05-15 08:26:29 +02:00
Michal Schmidt
ba49b4a1a2 install: fix inverted meaning of '--force' in systemctl enable 2012-05-15 08:13:29 +02:00
Andreas Schwab
990478a0ef missing: Fix broken syscall(__NR_fanotify_mark... on ppc32
The same situation as on o32 mips.
2012-05-14 22:57:07 +02:00
Lennart Poettering
ee1f44bd9a sd-login: update header docs a bit 2012-05-14 22:41:30 +02:00
Lennart Poettering
c1d70f7ca5 namespace: make PrivateTmp= apply to both /tmp and /var/tmp 2012-05-14 22:41:30 +02:00
Lennart Poettering
1c334d993a update TODO 2012-05-14 22:41:30 +02:00
Lennart Poettering
957eb8cab2 systemctl: add switch-root verb 2012-05-14 22:41:30 +02:00
Lennart Poettering
50913bc0c8 core: add extra safety check before switching root 2012-05-14 22:41:30 +02:00
Michal Schmidt
7cf82e0bb1 job: info message if JOB_VERIFY_ACTIVE detects an inactive unit 2012-05-14 14:29:54 +02:00
Michal Schmidt
1f136e7acf job: report the status of first half of JOB_RESTART the same as JOB_STOP 2012-05-14 14:29:54 +02:00
Michal Schmidt
c69182961b unit: unit type dependent status messages
Instead of generic "Starting..." and "Started" messages for all unit use
type-dependent messages. For example, mounts will announce "Mounting..."
and "Mounted".

Add status messages to units of types that used to be entirely silent
(automounts, sockets, targets, devices). For unit types whose jobs are
instantaneous, report only the job completion, not the starting event.
Socket units with non-instantaneous jobs are rare (Exec*= is not used
often in socket units), so I chose not to print the starting messages
for them either.

This will hopefully give people better understanding of the boot.
2012-05-14 14:29:53 +02:00
Michal Schmidt
9ab7a8d2a3 unit: print the color status marks on the left
The alignment of the "[  OK  ]" and "[FAILED]" status marks to the right
side of the terminal makes it difficult to link them with the messages
on the left if your console is wide.

I considered the options:
 1. Align them to the 80th column regardless of the console width.
    Disadvantage - either:
    - truncating messages needlessly, not using available space; or
    - If the message is long, write the mark over it. => ugly
 2. Write them to the 80th column for short messages,
    and further to the right for longer ones.
    Disadvantage:
    - jagged look
 3. Write the marks on the left, before the message.
    Disadvantage:
    - Breaks tradition from RHL.
    Advantages:
    + slightly simpler code
    + Will annoy holy-traditionalists.

I chose option 3.
BTW, Debian now uses similar marks on the left with its makefile-style
boot.

Special values of the "status" argument to status_vprintf are:
  NULL - no status mark, no message indentation
  ""   - no status mark, message indented as if the mark was there
2012-05-14 14:29:53 +02:00
Michal Schmidt
5f23d5b149 job: change red [ABORT] status to yellow [DEPEND]
The red "[ABORT]" for a dependency failure is too scary.
It suggests a crash. And it suggests a problem with the unit itself.
Change it to a yellow "[DEPEND]" message. The color communicates the
level of seriousness better.
2012-05-14 14:29:53 +02:00
Michal Schmidt
66aa6f7fbb job: only jobs on the runqueue can be run 2012-05-14 14:29:53 +02:00
Michal Schmidt
7c99edf85b units: do not quit plymouth too early 2012-05-14 14:29:53 +02:00
Martin Pitt
0e5ba4e782 keymap: Add Mio N890
https://launchpad.net/bugs/998621
2012-05-14 13:06:48 +02:00
Martin Pitt
b650827875 update mailmap for Martin Pitt 2012-05-14 13:06:20 +02:00
Kay Sievers
9e055fb8fc udev: path_id - cciss - set "we have a bus" flag 2012-05-10 21:35:54 +02:00
Hannes Reinecke
68acb21d79 udev: path_id - add cciss support 2012-05-10 14:03:49 +02:00
Michal Schmidt
1ebf0cb73d dbus-manager: fix tainted string
The pointer to the end of the string was not advanced after adding
the "cgroups-missing" taint. If "local-hwclock" was detected too,
it would overwrite the previous string.

With 'e' always pointing to the end of the string, removing the last
delimiter is easier.
2012-05-09 21:42:56 +02:00
Michal Schmidt
b809bd0940 main: fix uninitialized variable 2012-05-09 11:20:35 +02:00
Michal Schmidt
e564a98237 main: fix assertion failure due to use of ELEMENTSOF on a non-array 2012-05-09 11:13:26 +02:00
Michal Schmidt
f6a6814947 bash-completion: use printf instead of echo
If the expanded argument begins with '-', echo would try to interpret
it as options.
printf does not have this problem. Use it everywhere.
2012-05-09 09:44:09 +02:00
Michal Schmidt
f3b1766155 bash-completion: avoid losing backslashes in unit names
Use 'read -r' everywhere to consider backslashes as parts of the input line.
Single-quote the arguments to 'compgen -W' to avoid immediate expansion.
compgen itself will expand the argument.

Fixes a possible reason for "Failed to issue method call: Unknown unit"
after requesting completion.

https://bugzilla.redhat.com/show_bug.cgi?id=814966
2012-05-09 09:26:55 +02:00
Lennart Poettering
07f74a7ebd update TODO 2012-05-09 01:26:30 +02:00
Lennart Poettering
d4d046e3fd util: a few updates for rm_rf() 2012-05-09 01:25:52 +02:00
Lennart Poettering
664f88a7e6 manager: introduce SwitchRoot bus call for initrd/main transition 2012-05-09 01:24:50 +02:00
Lennart Poettering
14753f3419 path-util: there is no function path_parent() 2012-05-08 23:37:25 +02:00
Lennart Poettering
a5d87bf0ea main: simplify+unify logic for parsing runtime booleans 2012-05-08 23:36:55 +02:00
Lennart Poettering
d889a2069a logind: implement suspend/hibernate calls with inhibition logic 2012-05-08 19:02:25 +02:00
Lennart Poettering
6edd7d0a09 sleep: implement suspend/hibernate as first class targets 2012-05-08 13:54:23 +02:00
Lennart Poettering
4943c1c94b logind: use "sleep" as generic term for "suspend", "hibernate", and later on "hybrid suspend" 2012-05-08 13:54:23 +02:00
Lennart Poettering
dd5f0a96f7 logind: fix test-inhibit 2012-05-08 13:54:23 +02:00
Kay Sievers
66be655480 autogen.sh: undef _FORTIFY_SOURCE, which now logs warnings when used with -O0 2012-05-08 02:51:26 +02:00
Kay Sievers
9eb977db5b util: split-out path-util.[ch] 2012-05-08 02:33:10 +02:00
Kay Sievers
bbc98d3256 util: split-out hwclock.[ch] 2012-05-08 01:57:17 +02:00
Frederic Crozat
b80efeb9ae logind: fix memory leak 2012-05-07 22:57:50 +02:00
Lennart Poettering
14038c2e83 update TODO 2012-05-07 22:20:56 +02:00
Lennart Poettering
465349c06d Update TODO 2012-05-07 22:20:55 +02:00
Kay Sievers
2c21044f05 util: split-out conf-file.[ch] 2012-05-07 19:01:24 +02:00
Kay Sievers
7fdd367e6d udev: path_id - skip PCI-only-parents for block devices 2012-05-07 18:47:58 +02:00
Kay Sievers
775f8b3c74 udev: use conf_files_list() to search rules files 2012-05-07 13:21:05 +02:00
Kay Sievers
0a1a17aa2d conf_files_list(): split out conf_files_list_strv() 2012-05-07 13:20:29 +02:00
Kay Sievers
cd9556cc84 conf_files_list(): files-add() - do not canonicalize file names
File names in /etc, /run, /usr/lib are sorted/overridden by basename.
Sorting things like "/dev/null" with the basename "null" in the hash
of config files breaks the ordering and the overriding logic.
2012-05-07 13:15:25 +02:00
Lennart Poettering
eecd1362f7 logind: implement delay inhibitor locks in addition to block inhibitor locks
This is useful to allow applications to synchronously save data before
the system is suspended or shut down.
2012-05-05 00:36:08 +02:00
Kay Sievers
a26336da87 update TODO 2012-05-04 19:06:07 +02:00
Kay Sievers
395ea97815 udev: fix the ENV{} blacklist logic 2012-05-04 02:29:36 +02:00
Lennart Poettering
59ddae9f9c systemctl: fix typo
as Sergey Ptashnick pointed out we should write "poweroff" once instead
of "reboot" twice.
2012-05-04 01:02:32 +02:00
Patrick McCarty
6fc08fc789 systemd-analyze: add a --user option to support user instances 2012-05-04 00:57:26 +02:00
Shawn Landden
57da3da15a man: clarify _TRANSPORT
"resp." where it was confuses reader that stdout and stderr might go to differn't places
2012-05-04 00:54:17 +02:00