Commit graph

281 commits

Author SHA1 Message Date
Lennart Poettering 33bd08a97a units: call the logger a bridge too 2011-04-05 23:22:35 +02:00
Lennart Poettering f1159d7c78 logger: name socket like service 2011-04-04 15:27:35 +02:00
Lennart Poettering 30d6500340 units: improve logger descriptions 2011-04-04 04:06:24 +02:00
Lennart Poettering 151b190e79 binfmt: add binfmt tool to set up binfmt_misc at boot 2011-04-04 03:36:42 +02:00
Lennart Poettering 99ee2e9295 initctl: /dev/initctl is a named pipe, not a socket 2011-04-03 22:15:14 +02:00
Lennart Poettering 9408a2d295 plymouth: use PID file to detect whether ply is running 2011-03-31 04:26:40 +02:00
Lennart Poettering 39366bacda plymouth: don't explicitly enable status message when plymouth is up
https://bugzilla.redhat.com/show_bug.cgi?id=676302

systemd now watches /run/initramfs/plymouth and generates messages
exactly when that file exists. Hence we don't need the sending of the
signals anymore.
2011-03-30 03:03:35 +02:00
Lennart Poettering cd25cce98f exec: drop process group kill mode since it has little use and confuses the user 2011-03-29 23:31:38 +02:00
Lennart Poettering 1ead1cad4b man: really fix all LC_MESSAGE to LC_MESSAGES
https://bugs.freedesktop.org/show_bug.cgi?id=35534
2011-03-29 12:12:31 +02:00
William Jon McCann c20deda415 plymouth: Remove the calls to plymouth message
* messages aren't translated
 * console text is ugly
 * they are jargonny
 * they really aren't needed

https://bugs.freedesktop.org/show_bug.cgi?id=35711
2011-03-29 01:21:54 +02:00
Kay Sievers 2b583ce657 use /run instead of /dev/.run
Instead of the /dev/.run trick we have currently implemented, we decided
to move the early-boot runtime dir to /run.

An existing /var/run directory is bind-mounted to /run. If /var/run is
already a symlink, no action is taken.

An existing /var/lock directory is bind-mounted to /run/lock.
If /var/lock is already a symlink, no action is taken.

To implement the directory vs. symlink logic, we have a:
  ConditionPathIsDirectory=
now, which is used in the mount units.

Skipped mount unit in case of symlink:
  $ systemctl status var-run.mount
  var-run.mount - Runtime Directory
    Loaded: loaded (/lib/systemd/system/var-run.mount)
    Active: inactive (dead)
            start condition failed at Fri, 25 Mar 2011 04:51:41 +0100; 6min ago
     Where: /var/run
      What: /run
    CGroup: name=systemd:/system/var-run.mount

The systemd rpm needs to make sure to add something like:
  %pre
  mkdir -p -m0755 /run >/dev/null 2>&1 || :
or it needs to be added to filesystem.rpm.

Udev -git already uses /run if that exists, and is writable at bootup.
Otherwise it falls back to the current /dev/.udev.

Dracut and plymouth need to be adopted to switch from /dev/.run to run
too.

Cheers,
Kay
2011-03-28 23:00:00 +02:00
Andrey Borzenkov 8c944383c2 units: replace Names=dm.service with symlink for mandriva prefdm 2011-03-18 19:32:49 +03:00
Andrey Borzenkov 0c380104cf mount: pull in quota services from local mountpoints with usr/grpquota options 2011-03-18 19:12:58 +03:00
Lennart Poettering a0e155d440 units: pull in syslog.target from syslog.socket 2011-03-18 05:17:02 +01:00
Lennart Poettering d94ac66d32 units: don't ever pull in SysV targets from other SysV targets 2011-03-18 05:13:06 +01:00
Lennart Poettering 1c7c17ea61 units: document that some targets exists only for compat with SysV 2011-03-18 05:12:34 +01:00
Lennart Poettering 6699c857a2 units: we don't need to generate syslog.target with sed anymore 2011-03-18 05:01:30 +01:00
Lennart Poettering db25d1d765 units: we no longer need m4 to build graphical.target or multi-user.taregt 2011-03-18 04:59:05 +01:00
Lennart Poettering b1c66c44ef units: on mandriva/fedora create single.service alias via symlink, not Names= 2011-03-18 04:53:31 +01:00
Lennart Poettering 97df13c0ac units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more useful 2011-03-18 04:53:31 +01:00
Lennart Poettering 997a624029 units: get rid of empty units/suse/ subdir 2011-03-18 04:53:31 +01:00
Lennart Poettering f1dd0c3f9b syslog: rework syslog detection so that we need no compile-time option what the name of the syslog implementation is 2011-03-18 04:53:31 +01:00
Lennart Poettering 177b3ffedb special: get rid of dbus.target 2011-03-18 04:53:12 +01:00
Miklos Vajna 196e3fa74a Add Frugalware display-manager service 2011-03-16 03:53:55 +01:00
Lennart Poettering 1063dc3a52 units: add console-shell.service which can be used insted of the gettys to get a shell on /dev/console 2011-03-14 21:00:53 +01:00
Lennart Poettering 91b22f21f3 core: move abstract namespace sockets to /dev/.run
Now that we have /dev/.run there's no need to use abstract namespace
sockets. So, let's move things to /dev/.run, to make things more easily
discoverable and improve compat with chroot() and fs namespacing.
2011-03-14 03:12:25 +01:00
Lennart Poettering 7d640cdf66 units: move the last flag files to /dev/.run 2011-03-11 01:06:53 +01:00
Lennart Poettering b925e72633 dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd 2011-03-09 22:45:47 +01:00
Lennart Poettering cc5524ecc6 mount: use /dev/.run as an early boot alias for /var/run
During early boot, mount a tmpfs to /dev/.run and then bind mount it to
/var/run as soon as /var is available.

This makes it possible for programs involved in early boot to put
runtime data in /dev/.run which later on will show up in /var/run like
any other.

This can be used to solve the early-boot D-Bus problem: D-Bus may start
up with its socket bound to /dev/.run/dbus/system_bus_socket and after
/var it will also be available under the traditional name
/var/run/dbus/system_bus_socket.

This also is intended to be used as a better place for systemd, mount,
mdadm, blkid, plymouth, bootchart and dracut runtime data, which is
currently stored in various places in /dev/.xxx.
2011-03-09 02:51:45 +01:00
Andrey Borzenkov 1de4d79bf5 build-sys: add Mandriva distribution support
This merges several separate patches that I carry as part of
Mandriva systemd RPM. They touch those parts that are very
unlikely to be changed in near future and do not impose any
functionality change for systemd core. I also think it is
useful for troubleshooting to have real distribution name in
system logs, espicially when someone reports problem upstream.

The patch looks bigger than sum of replaced patches because

- previous patches were applied on top of distro=fedora, now
I need to add all those bits for distro=mandriva as well

- part of patch was done as spec file magic, but it seems more
logical to ship all these bits together
2011-03-08 19:47:36 +01:00
Lennart Poettering 267632f0ab unit: distuingish mandatory from triggering conditions 2011-03-08 03:04:47 +01:00
Lennart Poettering c4b5a3d66f mount: make /media a tmpfs 2011-03-07 17:38:15 +01:00
Alexey Shabalin 53bdb7c186 build-sys: update ALTLinux support
Please apply patch for update ALTLinux support.
2011-02-28 22:10:13 +01:00
Lennart Poettering aa2e211587 units: synchronize gettys to plymouth even if plymouth is killed by gdm 2011-02-24 02:32:50 +01:00
Lennart Poettering be12dd0cb8 rescue: terminate plymouth entirely when going into rescue mode 2011-02-23 18:42:08 +01:00
Lennart Poettering 3642d1c988 plymouth: don't wait forever for plymouth in case it is stuck 2011-02-22 18:51:44 +01:00
Lennart Poettering b7ff1e47da plymouth: ensure we start not a single getty before plymouth is gone because we never know which ttys plymouth still controls 2011-02-21 23:55:17 +01:00
Lennart Poettering 80f7378c5d unit: don't timeout fsck 2011-02-20 20:27:59 +01:00
Lennart Poettering 783bd61209 units: order fsck@.service before basic.target instead of local-fs.target to relax things a little 2011-02-18 12:39:30 +01:00
Lennart Poettering 70db8e3a0b rescue: make 'systemctl default' fail if there is already something running when the shell exited 2011-02-16 19:34:38 +01:00
Lennart Poettering 0a494f1ff3 exec: introduce global defaults for the standard output of services 2011-02-15 11:52:29 +01:00
Lennart Poettering 48774cf60f fsck: output to /dev/console by default in addition to syslog 2011-02-15 01:28:31 +01:00
Lennart Poettering 7a57b332d0 fsck: skip root fsck if dracut already did it 2011-02-14 11:42:47 +01:00
Lennart Poettering 74ce487daf tmpfiles: move binary to /bin to make it publicly available 2011-02-13 14:04:57 +01:00
Lennart Poettering 88dfa2938a units: introduce and hook up sound.target 2011-02-09 21:07:53 +01:00
Lennart Poettering e1b2b49465 systemd: show status when run with plymouth, and don't start plymouth a second time when it is already running 2011-02-09 14:17:52 +01:00
Jeff Mahoney cd3f8b7ddb plymouth: move plymouth out of TARGET_FEDORA 2011-02-08 18:47:32 +01:00
Alexey Shabalin a338bab5d0 build-sys: initial support ALTLinux
Hi all!
I added basic support for ALTLinux.
Please see patch or
http://git.altlinux.org/people/shaba/packages/systemd.git?p=systemd.git;a=shortlog;h=refs/heads/altlinux
Thanks.
2011-02-08 12:52:06 +01:00
Lennart Poettering 63c862b051 cryptsetup: fix ordering loop when dealing with encrypted swap devices
https://bugzilla.redhat.com/show_bug.cgi?id=657234
2011-01-21 03:30:18 +01:00
Lennart Poettering c32e0c40f7 serial-getty: invoking /sbin/securetty is no longer necessary since pam_securetty can now look for console= in /proc/cmdline 2011-01-18 23:51:06 +01:00