Commit Graph

1154 Commits

Author SHA1 Message Date
Lennart Poettering
08a67ac43d locale: fix LC_MESSAGES variable name
https://bugs.freedesktop.org/show_bug.cgi?id=35534
2011-03-29 01:38:06 +02:00
Kay Sievers
1f7f38f6d4 udev: systemd-tag all ttys 2011-03-29 01:19:39 +02:00
Michael Olbrich
6edef9c587 udev: expose some more tty's for various embedded hardware 2011-03-28 23:36:32 +02:00
Lennart Poettering
58fc840b83 ask-password: use TAB instead of backspace to disable asterisk password echo 2011-03-28 23:27:04 +02:00
Jan Engelhardt
d167623084 crypto: to show stars or not to show them
On Friday 2011-03-18 01:41, Lennart Poettering wrote:

>On Fri, 18.03.11 00:18, Jan Engelhardt (jengelh@medozas.de) wrote:
>
>> Meanwhile, I have two new suggestions.
>
>I have one too (or actually Kay came up with it), and I think you are
>going to like it:
>
>Start with showing input feedback as we currently do. If the user then
>presses TAB the stars disappear, and instead we show "(no echo)" or
>so. Then, the user can proceed with typing his password without
>asterisks.
>[...]

Incorporating Graham's suggestion to use BKSP instead:

The following changes since commit 65c9e46752:

  tainted: don't check if /usr is a mount point, only if it's not already mounted at startup (2011-03-24 22:32:21 +0100)

are available in the git repository at:
  git://dev.medozas.de/systemd master

Jan Engelhardt (1):
      ask-password: provide a way to activate a silent prompt

 src/ask-password-api.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
2011-03-28 23:13:59 +02:00
Lennart Poettering
3731f1eaa8 conf-parser: fix remaining parser functions according to new prototype 2011-03-28 23:04:30 +02:00
Lennart Poettering
03b4471dc3 execute: socket isn't abstract anymore 2011-03-28 23:04:07 +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
cee1
37f85e66e8 util: detect page size runtime.
Some architectures support multiple machine types with diffenent
page sizes, and some machine types even support multiple
page sizes themselves.
2011-03-28 21:42:31 +02:00
Kay Sievers
65c9e46752 tainted: don't check if /usr is a mount point, only if it's not already mounted at startup 2011-03-24 22:32:21 +01: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
9700edb4e8 service: pull in sysv facility targets from the sysv units, not the other way round
For an explanation see:

http://lists.freedesktop.org/archives/systemd-devel/2011-March/001692.html
2011-03-18 05:26:25 +01:00
Lennart Poettering
28cf382a0a man: document pidns containers 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
Lennart Poettering
260abb780a exec: properly apply capability bounding set, add inverted bounding sets 2011-03-18 04:52:45 +01:00
Andrey Borzenkov
893844ed43 dbus: add service D-Bus property "Sockets" 2011-03-17 23:22:49 +03:00
Andrey Borzenkov
cb7f69965d dbus: consolidate service SysV conditionals
No need to define the same set of properties twice. While on it,
add FsckPassNo to introspection.
2011-03-17 23:22:49 +03:00
Lennart Poettering
2791a8f8dc unit: serialize condition test results 2011-03-17 04:36:19 +01:00
cee1
d59d0a2b4b read-ahead: Fix broken systemd-readahead-collect on mips.
This actually adjust the __NR_fanotify* system call numbers to proper
ones on mips(according userspace ABI).
2011-03-17 04:03:44 +01:00
Lennart Poettering
f6a6225e41 def: centralize definition of default timeout in one place 2011-03-17 04:02:35 +01:00
Lennart Poettering
b74949bcdc chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter 2011-03-17 03:42:25 +01:00
Lennart Poettering
a76f7be2b0 systemctl: accept condstop as alias for stop 2011-03-17 03:41:51 +01:00
Lennart Poettering
e677657e8d dbus: allow LoadUnit to unprivileged users 2011-03-17 03:41:29 +01:00
Lennart Poettering
d72238fcb3 umount: make sure skip_ro is always correctly initialized 2011-03-16 22:30:00 +01:00
Jan Engelhardt
bba6cb45a5 main: revert recognition of "b" argument
Commit 099663ff8c added "b" as a
recognized argument, however, B is not a runlevel like S. (B appears
as a pseudo runlevel in openSUSE's init.d scripts only for the sake of
insserv being able to manage /etc/init.d/boot.d like the other dirs).
2011-03-16 03:53:13 +01:00
Lennart Poettering
d821e6d69a main: interpret all argv[] arguments unconditionally when run in a container 2011-03-16 03:41:49 +01:00
Lennart Poettering
a2c422cbbe loopback: downgrade an error to warning 2011-03-16 03:35:38 +01:00
Lennart Poettering
715ac17a84 nspawn: bind mount /etc/localtime 2011-03-16 03:27:02 +01:00
Lennart Poettering
fd14078a3a nspawn: make tty code more robust against closed/reopened /dev/console 2011-03-16 03:18:23 +01:00
Lennart Poettering
14f3c8252b util: make touched files non-writable by default 2011-03-16 02:58:05 +01:00
Lennart Poettering
a258bf2648 nspawn: allocate a new pty instead of passing ours through to avoid terminal settings chaos 2011-03-16 02:57:52 +01:00
Lennart Poettering
6ef1b05339 main: parse the whole arv[] as kernel command line 2011-03-16 02:56:30 +01:00
Lennart Poettering
dfa7f7e139 main: check if we have a valid PID before getting the name of it 2011-03-16 02:55:55 +01:00
Lennart Poettering
f9b72cd804 ask-password: reset signal mask after we are done 2011-03-16 02:55:27 +01:00
Lennart Poettering
0ac1082273 cgroup: don't recheck all the time whether the systemd hierarchy is mounted, to make strace outputs nicer and save a few stat()s 2011-03-15 21:21:38 +01:00
Lennart Poettering
b9a8e638ed cgls: don't strip user processes and kernel threads from default output 2011-03-15 18:43:47 +01:00
Lennart Poettering
f3accc08d3 umount: don't try to remount bind mounts ro during shutdown 2011-03-15 02:42:28 +01:00
Lennart Poettering
2a796654b9 getty: move automatic serial getty logic into generator 2011-03-15 00:45:46 +01:00
Lennart Poettering
2fc9784656 container: skip a few things when we are run in a container such as accessing /proc/cmdline 2011-03-14 23:41:47 +01:00
Lennart Poettering
1f16b4a6c4 cgls: by default start with group of PID 1 2011-03-14 23:40:41 +01:00
Lennart Poettering
1f73f0f163 pam: determine user cgroup tree from cgroup of PID 1 2011-03-14 23:13:57 +01:00
Lennart Poettering
04d391dabc nspawn: move container into its own name=systemd cgroup 2011-03-14 22:33:58 +01:00
Lennart Poettering
e03ae6615a manager: don't show kernel boot-up time for containers 2011-03-14 21:47:41 +01:00
Lennart Poettering
72fe22f930 manager: show who killed us 2011-03-14 21:30:54 +01:00
Lennart Poettering
9bec0b1e8d hostname: don't override the hostname with localhost if it is already set and /etc/hostname unset 2011-03-14 18:05:52 +01:00
Lennart Poettering
391ade8606 audit: give up sending auditing messages when it failed due to EPERM 2011-03-14 17:48:48 +01:00
Lennart Poettering
3bd66c05d5 nspawn: don't require selinux on if it is compiled in 2011-03-14 17:44:03 +01:00
Lennart Poettering
6f79c579ec main: remove AF_UNIX sockets before binding 2011-03-14 16:15:31 +01:00
Lennart Poettering
f41de95966 shutdown: print a nice message when terminating a container 2011-03-14 15:37:09 +01:00