1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00
Commit Graph

1644 Commits

Author SHA1 Message Date
Lennart Poettering
e5ebf783cb ask-password: add minimal plymouth password agent 2010-10-26 04:35:25 +02:00
Lennart Poettering
5f36328f55 units: now that we don't set TERM anymore by default, make sure to pass it to our rescue sessions 2010-10-26 02:58:59 +02:00
Lennart Poettering
9865f3b4ca service: make sure to pass TERM=linux to all sysv scripts 2010-10-26 02:32:42 +02:00
Lennart Poettering
39439087bf main: don't unset HOME/TERM when run in session mode 2010-10-26 02:32:02 +02:00
Lennart Poettering
d9be8f8f32 update fixme 2010-10-26 00:01:52 +02:00
Franz Dietrich
5b40d54851 units: Remove the distro specific references to killall.service.
Maybe debian and fedora still have the killall.service but usually it shouldn't be necessary anymore.
2010-10-26 00:01:12 +02:00
Franz Dietrich
9ef9c0b3a3 units: Since killall.service does not exist anymore remove all references.
This commit deletes all references to killall.service for the default
services.  The distribution specific services will be modified in a
separate commit.
2010-10-25 23:54:36 +02:00
Lennart Poettering
98e1f931a2 update fixme 2010-10-25 23:51:49 +02:00
Lennart Poettering
a55c7d2ea0 mount: add nosuid,nodev,noexec switches to /var/lock and /var/run 2010-10-25 23:28:42 +02:00
Bill Nottingham
4d91b19eb6 tmpfiles: Don't clean /var/lock/subsys; it is not aged content
It will get 'cleaned' on boot due to being tmpfs anyway.
2010-10-25 23:25:51 +02:00
Bill Nottingham
f448d9e7c4 tmpfiles: Make wtmp match utmp perms, and add btmp. 2010-10-25 22:21:56 +02:00
Tom Gundersen
ac52853d6d arch: remove obsolete sysinit.service
This is now split into smaller units and shipped with the downstream package.
2010-10-25 22:03:22 +02:00
Tom Gundersen
72de7bbf39 fsck: remove symlink from fsck.target to sysinit.target 2010-10-25 22:02:52 +02:00
Michael Biebl
9279749b84 umount: Make sure / is remounted ro on shutdown
Increment n_failed in mount_points_list_umount() if we skip /.
Otherwise it can happen that mount_points_list_remount_read_only() is
not called in umount_all().
2010-10-25 21:51:57 +02:00
Andrew Edmunds
274914f991 util: Add welcome message for Ubuntu
The approved method for determining the installed release of
Ubuntu is to execute "lsb_release".  However, this is in /usr/bin and
is implemented in python so it is not safe to execute at this early
stage of booting.  This code parses /etc/lsb-release which is
where "lsb_release" looks for the information.
2010-10-25 21:10:05 +02:00
Andrew Edmunds
858dae181b ubuntu: Treat Ubuntu as a distinct distro in configure.ac etc
Previously Ubuntu was treated as being equivalent to Debian, but the two
distributions require different behaviour in certain places.  This commit does
not change the behaviour of systemd on either distro but it creates a
framework for changes to be introduced by later commits.

The following previously meant "Target is Debian or Ubuntu".
    * configure option "--with-distro=debian"
    * C preprocessor symbol "TARGET_DEBIAN"
    * Automake conditional "TARGET_DEBIAN"
After this commit, all of the above are redefined to mean "Target is Debian"

The following are introduced to mean "Target is Ubuntu".
    * configure option "--with-distro=ubuntu"
    * C preprocessor symbol "TARGET_UBUNTU"
    * Automake conditional "TARGET_UBUNTU"

Most code written for Debian will also be applicable to Ubuntu. An extra
Automake conditional "TARGET_DEBIAN_OR_UBUNTU" is introduced to avoid
duplication of code that would otherwise occur.

This commit updates configure.ac, Makefile.am and distro-specific source files
in line with the above definitions.
2010-10-25 21:09:56 +02:00
Lennart Poettering
1104f3c160 systemd: unset HOME and TERM set from the kernel 2010-10-25 21:05:04 +02:00
Lennart Poettering
306a7fd82e units: activate wall agent automatically if something is dropped in /dev/.systemd/ask-password 2010-10-25 21:02:01 +02:00
Lennart Poettering
50f298ec0f update fixme 2010-10-25 20:43:34 +02:00
Lennart Poettering
ec863ba65a ask-password: add basic tty agent 2010-10-25 20:36:01 +02:00
Kay Sievers
f015eca2a2 TODO: add getty on-demand, man: --system 2010-10-25 18:02:11 +02:00
Lennart Poettering
d674a4ab52 ask-password: rename ask-password-agent to gnome-ask-password-agent 2010-10-22 16:38:14 +02:00
Lennart Poettering
b568b917b0 update fixme 2010-10-22 16:34:10 +02:00
Lennart Poettering
59cddb2338 man: numerous updates to document updated systemctl behaviour 2010-10-22 16:32:29 +02:00
Lennart Poettering
ef1de59b5e fsck: suppress error message if we cannot change into single user mode since we are already passt early bootup 2010-10-22 16:12:56 +02:00
Lennart Poettering
288c783a9d dbus: epose FsckPassNo property for service objects 2010-10-22 16:12:26 +02:00
Lennart Poettering
6f3525444e man: document systemctl --force 2010-10-22 16:12:05 +02:00
Lennart Poettering
8a0867d6c5 systemctl: introduce systemctl kill 2010-10-22 16:11:50 +02:00
Tom Gundersen
95e501f8ab unit-name: Fix unescaping
Invalid characters in unit names are escaped as \xFF. However, when
unescaping we were looking for \FF.
2010-10-21 14:04:10 +02:00
Gustavo Sverzut Barbieri
abe35cc2b7 tmpfiles: consider TRUNCATE_DIRECTORY as well.
reorder lines to match the enum declaration.
2010-10-21 13:53:47 +02:00
Lennart Poettering
5cf18f777f units: order syslog.target after syslog.socket 2010-10-21 13:49:21 +02:00
Kay Sievers
51ccf641d7 fsck: drop -C from fsck cmdline to avoid EPIPE 2010-10-21 12:22:30 +02:00
Lennart Poettering
52f319b293 syslog: enable kmsg bridge by default and enable syslogging for early boot services 2010-10-20 17:48:01 +02:00
Lennart Poettering
0206d45866 quota: fix quotaon command line 2010-10-20 16:43:55 +02:00
Lennart Poettering
9fc507041e unit: introduce %f specifier to decode file names 2010-10-20 16:16:45 +02:00
Lennart Poettering
980d87505c install: enable quota/fsck-root/hwclock load by default 2010-10-20 16:16:14 +02:00
Lennart Poettering
f875bcfe35 quota: enable quotaon/quotacheck in local-fs.target, not basic.target 2010-10-20 16:15:33 +02:00
Lennart Poettering
4c446f03e8 quota: add install hooks for basic.target 2010-10-20 15:22:20 +02:00
Lennart Poettering
7d1316aa29 fsck: wait for device to show up 2010-10-20 15:22:04 +02:00
Lennart Poettering
417e842dc3 mount: pull in quotacheck.service, not quotacheck.target 2010-10-20 15:21:44 +02:00
Lennart Poettering
0355825f59 mount: require fsck 2010-10-20 15:21:05 +02:00
Lennart Poettering
1f5558b499 manager: properly parse finish timestamp 2010-10-20 14:41:07 +02:00
Lennart Poettering
f2382a94e0 manager: properly write header marker on serialization 2010-10-20 14:40:44 +02:00
Lennart Poettering
b65a25f256 mount: do not implicitly pull in fsck service for root dir 2010-10-20 14:26:46 +02:00
Lennart Poettering
ba5beeb174 units: properly use ConditionPathExists= instead of ConditionFileExists= 2010-10-20 14:22:49 +02:00
Lennart Poettering
2ba545f1a0 service: implement FsckPassNo= option 2010-10-20 14:22:23 +02:00
Lennart Poettering
dcdf86bbb0 log: reopen console so that we have logging on shutdown 2010-10-20 00:56:26 +02:00
Lennart Poettering
dc8e15c206 fsck: don't be idempotent for root directories 2010-10-20 00:44:09 +02:00
Lennart Poettering
335aa753fa units: add missing fsck units 2010-10-20 00:13:23 +02:00
Lennart Poettering
6e8ebcc7de fsck: make fsck idempotent 2010-10-19 23:47:12 +02:00