Commit Graph
54455 Commits
Author SHA1 Message Date
Thomas Egerer 6ee9b2cb8c udevd: add 'N:' to optstring in getopt_long 2011-03-31 17:26:37 +02:00
Lee, Chun-Yi ff4a035a8a Add rule for Acer Aspire One ZG8 to use acer-aspire_5720 keymap
Acer Aspire One ZG8's bluetooth HW key emit 0xD9 scancode, it must map
to KEY_BLUETOOTH like Acer Aspire 5720. So, add rule for Acer Aspire One
ZG8 use acer-aspire_5720 keymap.

Tested on Acer Aspire One ZG8 netbook.

Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2011-03-31 16:37:31 +02:00
Lennart Poettering da19d5c19f src: our lord is coverity 2011-03-31 15:35:40 +02:00
Kay Sievers daf32d3217 systemd: let settle depend on trigger, do not block basic with trigger 2011-03-31 13:16:42 +02:00
Lennart Poettering ba1a55152c random: do not print warning if random seed doesn't exist yet 2011-03-31 04:40:02 +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 f695b3b09b build-sys: install systemd-analyze by default 2011-03-31 03:25:30 +02:00
Lennart Poettering fe8954ab47 analyze: improve output 2011-03-31 03:18:14 +02:00
Kay Sievers 3f7a8c4e9f update TODO 2011-03-31 02:36:32 +02:00
Lennart Poettering 8e028bb1ed analyze: add plotter 2011-03-31 01:19:12 +02:00
Lennart Poettering 3b2775c5ce unit: when deserializing do reconnect to dbus/syslog when they show up 2011-03-30 20:16:07 +02:00
Lennart Poettering fac9f8df1f analyze: beautify output a bit 2011-03-30 20:15:45 +02:00
Lennart Poettering f39133ac7f analyze: add systemd-analyze tool 2011-03-30 20:04:37 +02:00
Lennart Poettering bdbf995180 unit: don't override timestamps due to state changes when deserializing 2011-03-30 20:04:20 +02:00
David Zeuthen 42b9482ab2 Run ata_id on non-removable USB devices
If a USB device is marked as removable, it is often a SATA/PATA disk
in an enclosure (note that flash card readers and usb storage sticks
are always marked as removable). In this case, try running ata_id
(which sends ATA commands wrapped in SCSI ATA PASS THROUGH commands)
to get information about the disk. If this fails, just fall back to
running usb_id since it could be the device isn't an ATA device at
all or the device doesn't have a SAT layer.

This extra information is nice to have as it indicates if it is
suitable to send e.g. SMART commands to the disk, whether the disk
supports power management and so on. Additionally, the VPD and serial
number returned by ata_id is usually more accurate as it stems from
the disk itself instead of the enclosure.

Note that udisks has been doing this for a while

 KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"

so this change shouldn't be too disruptive (udisks-probe-ata-smart
also sends ATA commands via the ATA PASS THROUGH command).

Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-03-30 10:28:24 -04:00
Kay Sievers a138cd0714 version bump 2011-03-30 16:03:56 +02:00
Kay Sievers 30b0fee9be release 167 2011-03-30 15:58:14 +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 6faa11140b status: show status messages unconditionally if plymouth is around 2011-03-30 02:21:48 +02:00
Lennart Poettering 871c44a747 taint: add missing cgroups taint flag 2011-03-30 02:12:46 +02:00
Lennart Poettering d885ac661b locale: don't access misinitialized variable 2011-03-30 02:09:15 +02:00
Lennart Poettering cb39ed3fde quota: do not pull in quota tools for mounts that do not originate in neither /etc/fstab nor fragment files 2011-03-30 01:53:34 +02:00
Lennart Poettering 72bc8d0056 manager: fix taint check for /usr 2011-03-30 00:47:50 +02:00
Lennart Poettering ea87ca5a9e unit: never apply /etc/rcN.d/ priority to native services 2011-03-30 00:43:16 +02:00
Lennart Poettering efbac6d29c unit: fix parsing of condition-result 2011-03-29 23:32:31 +02:00
Lennart Poettering d325ef27a7 unit: don't complain about failed units when deserializing 2011-03-29 23:32:10 +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 12235040ec cgroup: explain when we cannot initialize the cgroup stuff 2011-03-29 20:29:02 +02:00
Florian Kriener 34f0fd8187 locale: full fledged /etc/default/locale support for debian
debian uses /etc/default/locale for all locale setup, this patch
adds full support for it to systemd.
2011-03-29 19:41:06 +02:00
Lennart Poettering 964d124efa systemctl: don't truncate description when using pager
https://bugs.freedesktop.org/show_bug.cgi?id=35725
2011-03-29 18:54:37 +02:00
Lennart Poettering 441dfe092a ask-password: also accept Backspace as first keypress as silent mode switch 2011-03-29 18:32:46 +02:00
Kay Sievers 7ce99fece5 systemd: udev.socket - disable implicit dependencies
Set hostname to <eeepc>.
  Found ordering cycle on sysinit.target/start
  Walked on cycle path to systemd-tmpfiles-setup.service/start
  Walked on cycle path to local-fs.target/start
  Walked on cycle path to fedora-storage-init.service/start
  Walked on cycle path to fedora-wait-storage.service/start
  Walked on cycle path to udev-settle.service/start
  Walked on cycle path to udev.service/start
  Walked on cycle path to udev.socket/start
  Walked on cycle path to sysinit.target/start
  Breaking ordering cycle by deleting job systemd-tmpfiles-setup.service/start
2011-03-29 17:59:29 +02:00
Lennart Poettering e6402d1077 unit: when deserializing jobs, don't pull in dependencies 2011-03-29 13:11:13 +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
Lennart Poettering 18a5d7fffb build-sys: bump version 2011-03-29 12:12:31 +02:00
Kay Sievers e30b45bb84 udev: tty - re-add accidentially removed hvc* match 2011-03-29 01:44:06 +02:00
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
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 1f7f38f6d4 udev: systemd-tag all ttys 2011-03-29 01:19:39 +02:00
Kay Sievers ce440d1c1b systemd: do not enable udev-settle.service by default
This barrier service is usually not enabled by default. If enabled,
it acts as a barrier for basic.target -- so all later services will
wait for udev completely finishing its coldplug run.

It might be enabled just unconditionally, or pulled-in on-demand by
broken or non-hotplug-aware services that assume a fully populated
/dev at startup.
2011-03-29 01:14:53 +02:00
Kay Sievers 6f4ed5203a tmpfiles fix /run/lock permissions
<mbiebl> kay: just wondering: d /run/lock 0755 root lock -
<mbiebl> shouldn't that rather be 0775?
<mbiebl> otherwise it doesn't make sense
2011-03-29 00:15:14 +02:00
Lennart Poettering 2d87855ae8 man: fix references to systemd.unit= on the kernel cmdline
https://bugs.freedesktop.org/show_bug.cgi?id=35720
2011-03-28 23:39:18 +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
Lennart Poettering f9276855a1 man: explain a couple of default dependencies 2011-03-28 21:36:13 +02:00