chiark / gitweb /
elogind.git
7 years agobuild-sys: invoke scripts with $PYTHON during build
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:24 +0000 (10:09 +0100)]
build-sys: invoke scripts with $PYTHON during build

Python binary to be used during compilation can be set with
./configure PYTHON=...

The she-bang line is removed, since it is not used anymore.

7 years agosystemd-analyze: use specified binary, add --version
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:23 +0000 (10:09 +0100)]
systemd-analyze: use specified binary, add --version

Python binary used in the she-bang line in installed
scripts can be set with ./configure PYTHON_BINARY=...
Defaults to the same path as python used during compilation.

Adding --version makes systemd-analyze behave consistently with the
rest of installed programs.

The lines in ./configure output are reordered to keep all yes/no lines
separate.  I think that this makes the output clearer.

7 years agosystemd-analyze: pipe through SED_PROCESS
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:22 +0000 (10:09 +0100)]
systemd-analyze: pipe through SED_PROCESS

To be able to add --version and change python binary.

7 years agoservice: fixup after ifdef dropping
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 02:18:17 +0000 (21:18 -0500)]
service: fixup after ifdef dropping

Commit 88516c0 removed one line too much.

7 years agosystemd-analyze: reword comments
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:48:30 +0000 (14:48 -0500)]
systemd-analyze: reword comments

7 years agobuild-sys: allow update-hwdb with seperate build dir
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:48:24 +0000 (14:48 -0500)]
build-sys: allow update-hwdb with seperate build dir

7 years agobuild-sys: drop unused $RUNTIME_DIR
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:49:30 +0000 (14:49 -0500)]
build-sys: drop unused $RUNTIME_DIR

7 years agobuild-sys: drop all distribution specfic checks
Lennart Poettering [Fri, 4 Jan 2013 22:24:38 +0000 (23:24 +0100)]
build-sys: drop all distribution specfic checks

Yay, we now have a completely generic systemd. No distribution specific checks anymore!

7 years agobuild-sys: make path of loadkeys/setfont configurable in configure
Lennart Poettering [Fri, 4 Jan 2013 22:19:02 +0000 (23:19 +0100)]
build-sys: make path of loadkeys/setfont configurable in configure

7 years agoservice: drop inserv.conf parsing
Lennart Poettering [Fri, 4 Jan 2013 21:45:34 +0000 (22:45 +0100)]
service: drop inserv.conf parsing

This Suse specific configuration file should really be done in a generator
that is shipped downstream by suse.

7 years agoservice: drop the per-distro ifdefs in service.c
Lennart Poettering [Fri, 4 Jan 2013 21:43:41 +0000 (22:43 +0100)]
service: drop the per-distro ifdefs in service.c

They don't really hurt on other distros, and this allows us to ship
the same code on all distros

7 years agounits: always use sulogin in rescue.service
Lennart Poettering [Fri, 4 Jan 2013 21:38:11 +0000 (22:38 +0100)]
units: always use sulogin in rescue.service

sushell makes much less sense than sulogin. If distros want to stick to sushell
they should patch this downstream.

7 years agounits: drop distro specific stuff from units
Lennart Poettering [Fri, 4 Jan 2013 21:36:48 +0000 (22:36 +0100)]
units: drop distro specific stuff from units

Since rc-local is now enabled via the SysV compatibility we should only refer
to it based on that too.

7 years agosystemctl: enable chkconfig compat only if chkconfig is found rather than based on...
Lennart Poettering [Fri, 4 Jan 2013 21:32:31 +0000 (22:32 +0100)]
systemctl: enable chkconfig compat only if chkconfig is found rather than based on distro

7 years agofsck: remove distro specific hacks from fsck/quotacheck
Lennart Poettering [Fri, 4 Jan 2013 21:00:46 +0000 (22:00 +0100)]
fsck: remove distro specific hacks from fsck/quotacheck

Move forcefsck file checks under a HAVE_SYSV_COMPAT #ifdef, and warn if this is used.

7 years agoMake gcc a bit quieter
Lennart Poettering [Fri, 4 Jan 2013 20:51:47 +0000 (21:51 +0100)]
Make gcc a bit quieter

7 years agobuild-sys: make rc-local support part of SYSV compat
Lennart Poettering [Fri, 4 Jan 2013 20:48:47 +0000 (21:48 +0100)]
build-sys: make rc-local support part of SYSV compat

This also drops automatic selection of the rc local scripts
based on the local distro. Distributions now should specify the paths
of the rc-local and halt-local scripts on the configure command line.

7 years agocore: drop support for old per-distro configuration files for console, hostname,...
Lennart Poettering [Fri, 4 Jan 2013 17:37:49 +0000 (18:37 +0100)]
core: drop support for old per-distro configuration files for console, hostname, locale, timezone

This simplifies the upstream system code quite a bit. If downstream distributions want to maintain compatibility with their old configuration files, they are welcome to do so, but need to maintain this as patches downstream. The burden needs to be on the distributions to maintain differences here. Our suggestion however is to just convert the old configuration files on upgrade, as multiple distributions already do.

7 years agoudev: net_id - append "dev_id" value if needed
Kay Sievers [Fri, 4 Jan 2013 18:08:08 +0000 (19:08 +0100)]
udev: net_id - append "dev_id" value if needed

7 years agoudev: set device node permissions only at "add" events
Kay Sievers [Fri, 4 Jan 2013 15:15:46 +0000 (16:15 +0100)]
udev: set device node permissions only at "add" events

7 years agoAdded globbing support to EnvironmentFile
Pekka Lundstrom [Wed, 2 Jan 2013 11:41:52 +0000 (13:41 +0200)]
Added globbing support to EnvironmentFile

This patch allows globbing to be used with EnvironmentFile option.
Example:
EnvironmentFile=/etc/foo.d/*.conf

t. Pekka

7 years agosystemctl: add is-failed
Thomas Hindoe Paaboel Andersen [Thu, 27 Dec 2012 16:39:48 +0000 (17:39 +0100)]
systemctl: add is-failed

Adds is-failed to join is-active and is-enabled.

I grabbed this one from the todo list. Most of the functionality was
already there for is-active. I just needed to make check_one_unit take
the states to check for as an argument instead of the hardcoded
"active" and "reloading".

is-failed will return 1 if none of the units given are failed. This is
different from is-active which will return 3 if none of the units
given are active. It returns 3 with this comment:
/* According to LSB: "program is not running" */
As that does not make sense when looking for failed units I simply
chose 1 instead.

7 years agoman: fix parameter in systemd-fstab-generator(8)
Michał Bartoszkiewicz [Sat, 29 Dec 2012 01:06:06 +0000 (02:06 +0100)]
man: fix parameter in systemd-fstab-generator(8)

There is no parameter named luks.fstab.

7 years agolocaled: create /etc/X11/xorg.conf.d if needed
Michał Bartoszkiewicz [Fri, 28 Dec 2012 21:40:41 +0000 (22:40 +0100)]
localed: create /etc/X11/xorg.conf.d if needed

Use mkdir_p_label instead of mkdir_parents_label, so that the final
directory component is created too.

7 years agocorrect Macedonian keyboard mapping (X layout is 'mk', not 'mkd')
Adam Williamson [Thu, 3 Jan 2013 21:37:08 +0000 (13:37 -0800)]
correct Macedonian keyboard mapping (X layout is 'mk', not 'mkd')

7 years agoadd Lithuanian keyboard mapping (lt/lt)
Adam Williamson [Thu, 3 Jan 2013 21:28:41 +0000 (13:28 -0800)]
add Lithuanian keyboard mapping (lt/lt)

7 years agoadd Kazakh keyboard mapping (kazakh/kz)
Adam Williamson [Thu, 3 Jan 2013 21:25:36 +0000 (13:25 -0800)]
add Kazakh keyboard mapping (kazakh/kz)

7 years agoadd Hebrew (Israel) - simple, il/il
Adam Williamson [Thu, 3 Jan 2013 21:20:08 +0000 (13:20 -0800)]
add Hebrew (Israel) - simple, il/il

7 years agoFrench Canadian xlayout is just "ca", not "ca(fr)" any more
Adam Williamson [Thu, 3 Jan 2013 20:43:09 +0000 (12:43 -0800)]
French Canadian xlayout is just "ca", not "ca(fr)" any more

7 years agoadd Belarussian mapping: simple, 'by' and 'by'
Adam Williamson [Thu, 3 Jan 2013 20:57:58 +0000 (12:57 -0800)]
add Belarussian mapping: simple, 'by' and 'by'

7 years agotmpfiles: Fix file descriptor leak on error
Thomas Jarosch [Tue, 25 Dec 2012 12:46:46 +0000 (13:46 +0100)]
tmpfiles: Fix file descriptor leak on error

Detected by cppcheck

7 years agoreadahead: don't complain that we cannot precache symlinks
Lennart Poettering [Thu, 3 Jan 2013 21:37:38 +0000 (22:37 +0100)]
readahead: don't complain that we cannot precache symlinks

http://lists.freedesktop.org/archives/systemd-devel/2012-December/007847.html

7 years agoman: clarify that specifiers cannot be used in ExecStart='s first argument
Lennart Poettering [Thu, 3 Jan 2013 21:37:31 +0000 (22:37 +0100)]
man: clarify that specifiers cannot be used in ExecStart='s first argument

7 years agoTODO
Lennart Poettering [Mon, 31 Dec 2012 20:24:05 +0000 (21:24 +0100)]
TODO

7 years agounit: add ConditionACPower=
Lennart Poettering [Tue, 25 Dec 2012 15:29:51 +0000 (16:29 +0100)]
unit: add ConditionACPower=

7 years agoanalyze: properly parse firmware/loader time and handle times for container boots...
Lennart Poettering [Tue, 25 Dec 2012 11:58:54 +0000 (12:58 +0100)]
analyze: properly parse firmware/loader time and handle times for container boots correctly

7 years agoTODO
Lennart Poettering [Tue, 25 Dec 2012 11:22:15 +0000 (12:22 +0100)]
TODO

7 years agounits: add CAP_DAC_OVERRIDE+CAP_SYS_PTRACE to hostnamed so that detection of virtuali...
Lennart Poettering [Tue, 25 Dec 2012 11:16:48 +0000 (12:16 +0100)]
units: add CAP_DAC_OVERRIDE+CAP_SYS_PTRACE to hostnamed so that detection of virtualization works

7 years agomacro: use C11 static_assert() macro for static assertions
Lennart Poettering [Tue, 25 Dec 2012 10:52:14 +0000 (11:52 +0100)]
macro: use C11 static_assert() macro for static assertions

7 years agoTODO
Lennart Poettering [Tue, 25 Dec 2012 10:37:06 +0000 (11:37 +0100)]
TODO

7 years agopolkit: add "imply" rules to a number of polkit actions
Lennart Poettering [Tue, 25 Dec 2012 10:36:37 +0000 (11:36 +0100)]
polkit: add "imply" rules to a number of polkit actions

7 years agohwdb: Add database for Bluetooth company identifiers
Marcel Holtmann [Fri, 28 Dec 2012 07:53:26 +0000 (23:53 -0800)]
hwdb: Add database for Bluetooth company identifiers

7 years agoudev: in addition to DEVMODE, honor DEVUID, DEVGID from the uevent
Kay Sievers [Mon, 31 Dec 2012 03:48:44 +0000 (04:48 +0100)]
udev: in addition to DEVMODE, honor DEVUID, DEVGID from the uevent

7 years agofstab-generator: fix typo
Tom Gundersen [Fri, 28 Dec 2012 23:21:28 +0000 (00:21 +0100)]
fstab-generator: fix typo

7 years agofstab-generator: generate new_root.mount in initrd
Tom Gundersen [Fri, 23 Nov 2012 02:41:13 +0000 (03:41 +0100)]
fstab-generator: generate new_root.mount in initrd

The configuration is taken from /proc/cmdline, aiming at emulating the
behavior of the kernel when no initramfs is used.

The supported options are: root=, rootfstype=, rootwait=, rootflags=,
ro, and rw. rootdelay= was dropped, as it is not really useful in a
systemd world, but could easily be added.

v2: fix comments by Lennart, and complain loudly if root= can not be found

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Reisner <dreisner@archlinux.org>
7 years agosystemctl: switch-root - read init= from /proc/cmdline
Tom Gundersen [Wed, 21 Nov 2012 22:22:03 +0000 (23:22 +0100)]
systemctl: switch-root - read init= from /proc/cmdline

If the path to init is not specified as an argumnt to systemctl, but
init= is given on the kernel commandline, use that.

This means the initrd does not need glue code to parse the kernel
commandline before passing on init= to systemctl.

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Reisner <dreisner@archlinux.org>
7 years agopam_systemd: new option for the session class
Matthew Monaco [Mon, 24 Dec 2012 13:25:58 +0000 (06:25 -0700)]
pam_systemd: new option for the session class

7 years agoupdate TODO
Lennart Poettering [Mon, 24 Dec 2012 18:12:22 +0000 (19:12 +0100)]
update TODO

7 years agohostnamed: make chassis type configurable via /etc/machine-info
Lennart Poettering [Mon, 24 Dec 2012 18:03:59 +0000 (19:03 +0100)]
hostnamed: make chassis type configurable via /etc/machine-info

For many usecases it is useful to store the chassis type somewhere, and
/etc/machine-info sounds like a good place. Ideally we could always
detect the chassis type from firmware, but frequently that's not
available and in many embedded devices probably entirely unrealistic.

This patch adds a configurable setting CHASSIS= to /etc/machine-info and
exposes this via hostnamectl/hostnamed. hostnamed will guess the chassis
type from DMI if nothing is set explicitly. I also added support for
detecting it from ACPI, which should be more useful as ACPI 5.0 actually
knows a "tablet" chassis type, which neither DMI nor previous ACPI
versions knew.

This also enables DMI-based and ACPI-based detection for non-x86 systems
as ACPI is apparently coming to ARM platforms soon.

I tried to minimize the vocabulary of chassis types understood and
added: desktop, laptop, server, tablet, handset. This is much less than
either APCI or DMI know. If we need more types later on we can easily
add them.

7 years agofstab-generator: properly detect bind mounts
Lennart Poettering [Mon, 24 Dec 2012 12:01:00 +0000 (13:01 +0100)]
fstab-generator: properly detect bind mounts

This kinda undoes a83cbaccd03c3f28e47e9330f4a22ff65ce4b561 and
1d634e21b453f3c80d7c6c4bd90a6b84e42a3d2a but corrects the original code
to compare the mount type with "bind" rather than the mount options.

7 years agoupdate TODO
Lennart Poettering [Sun, 23 Dec 2012 21:38:21 +0000 (22:38 +0100)]
update TODO

7 years agologind: don't allow suspending/hibernating if the kernel doesn't support it
Lennart Poettering [Sun, 23 Dec 2012 21:12:01 +0000 (22:12 +0100)]
logind: don't allow suspending/hibernating if the kernel doesn't support it

7 years agoutil: if /sys mounted read-only we can't suspend/hibernate
Lennart Poettering [Sun, 23 Dec 2012 20:58:37 +0000 (21:58 +0100)]
util: if /sys mounted read-only we can't suspend/hibernate

7 years agoutil: when determining controlling tty of a process properly handle processes without
Lennart Poettering [Sun, 23 Dec 2012 16:28:17 +0000 (17:28 +0100)]
util: when determining controlling tty of a process properly handle processes without

7 years agologind: add support for automatic suspend/hibernate/shutdown on idle
Lennart Poettering [Sun, 23 Dec 2012 21:32:48 +0000 (22:32 +0100)]
logind: add support for automatic suspend/hibernate/shutdown on idle

7 years agopam: properly handle SSH logins lacking the PAM tty field
Lennart Poettering [Sun, 23 Dec 2012 21:31:17 +0000 (22:31 +0100)]
pam: properly handle SSH logins lacking the PAM tty field

7 years agoupdate TODO
Lennart Poettering [Sun, 23 Dec 2012 10:56:22 +0000 (11:56 +0100)]
update TODO

7 years agosystemctl: don't show cgroup field for a unit if cgroup is empty
Lennart Poettering [Sun, 23 Dec 2012 10:56:13 +0000 (11:56 +0100)]
systemctl: don't show cgroup field for a unit if cgroup is empty

7 years agobuild-sys: Make libsystemd-shared link to libsystemd-daemon
Colin Walters [Sun, 23 Dec 2012 15:18:21 +0000 (10:18 -0500)]
build-sys: Make libsystemd-shared link to libsystemd-daemon

Commit f934051c4d17d167bd8e46dd3c70a745e26fd2eb broke the build
because it made libsystemd-shared call sd_listen_fds() which is
defined in libsystemd-daemon.

This is a bit of a contortion because libsystemd-shared.la is a
noinst_LTLIBRARY, but libtool should do the right thing here and emit
DT_NEEDED on libsystemd-daemon.so for things that consume
libsystemd-shared.la.

7 years agohwdb: update
Kay Sievers [Sun, 23 Dec 2012 13:21:19 +0000 (14:21 +0100)]
hwdb: update

7 years agoshared: move fdset.c from core/ to shared/ since it is used by more than the core now
Lennart Poettering [Sun, 23 Dec 2012 10:27:20 +0000 (11:27 +0100)]
shared: move fdset.c from core/ to shared/ since it is used by more than the core now

7 years agojournalctl: strip TABs and ANSI color sequences from log messages when displaying...
Lennart Poettering [Sun, 23 Dec 2012 10:23:59 +0000 (11:23 +0100)]
journalctl: strip TABs and ANSI color sequences from log messages when displaying them

7 years agoupdate TODO
Lennart Poettering [Sat, 22 Dec 2012 21:17:37 +0000 (22:17 +0100)]
update TODO

7 years agonspawn: try to orderly shutdown container when receiving SIGTERM
Lennart Poettering [Sat, 22 Dec 2012 20:21:09 +0000 (21:21 +0100)]
nspawn: try to orderly shutdown container when receiving SIGTERM

7 years agosocket: support socket activation of containers
Lennart Poettering [Sat, 22 Dec 2012 18:30:07 +0000 (19:30 +0100)]
socket: support socket activation of containers

7 years agonspawn: allow passing socket activation fds through nspawn
Lennart Poettering [Sat, 22 Dec 2012 18:29:04 +0000 (19:29 +0100)]
nspawn: allow passing socket activation fds through nspawn

7 years agofdset: add calls for initializing fdset from socket activation fds
Lennart Poettering [Sat, 22 Dec 2012 18:28:19 +0000 (19:28 +0100)]
fdset: add calls for initializing fdset from socket activation fds

7 years agosocket: properly serialize/desrialize mqueue fds
Lennart Poettering [Sat, 22 Dec 2012 18:25:10 +0000 (19:25 +0100)]
socket: properly serialize/desrialize mqueue fds

7 years agonspawn: allow nspawn to be invoked without tty
Lennart Poettering [Sat, 22 Dec 2012 12:11:17 +0000 (13:11 +0100)]
nspawn: allow nspawn to be invoked without tty

This allows invoking nspawn containers as systemd services, to create a
minimal, light-weight OS container solution for servers.

7 years agoudevd: add missing ':' to getopt_long 'e'
Lukas Nykryn [Wed, 19 Dec 2012 12:12:26 +0000 (13:12 +0100)]
udevd: add missing ':' to getopt_long 'e'

Parameter -e is set without additional argument in getopt
and this leads to segfault when calling 'systemd-udevd -e'.

7 years agoupdate TODO
Lennart Poettering [Fri, 21 Dec 2012 21:20:46 +0000 (22:20 +0100)]
update TODO

7 years agosocket: Too many incoming connections
Dimitrios Apostolou [Wed, 19 Dec 2012 21:32:52 +0000 (22:32 +0100)]
socket: Too many incoming connections

Hello list,

some socket activated service gave me the error message you can see on
the subject, maybe systemd should be more verbose in that case.

Thanks,
Dimitris

7 years agoupdate TODO
Lennart Poettering [Wed, 19 Dec 2012 19:50:42 +0000 (20:50 +0100)]
update TODO

7 years agozsh: add hibernate and hybrid-sleep to zsh-completion
Daniel Wallace [Wed, 19 Dec 2012 17:28:38 +0000 (12:28 -0500)]
zsh: add hibernate and hybrid-sleep to zsh-completion

7 years agounit: add %U for uids in units
Daniel Wallace [Fri, 7 Dec 2012 05:01:15 +0000 (00:01 -0500)]
unit: add %U for uids in units

7 years agoupdate TODO
Lennart Poettering [Wed, 19 Dec 2012 14:27:27 +0000 (15:27 +0100)]
update TODO

7 years agocoredumpctl: check return of strndup
Lukas Nykryn [Wed, 19 Dec 2012 13:38:53 +0000 (14:38 +0100)]
coredumpctl: check return of strndup

7 years agobash-completion: update list of verbs
Dave Reisner [Wed, 19 Dec 2012 13:11:20 +0000 (08:11 -0500)]
bash-completion: update list of verbs

Add suspend, hibernate, hybrid-sleep

7 years agologind: allow HybridSleep methods in default DBus context
Mantas Mikulėnas [Mon, 17 Dec 2012 20:32:21 +0000 (22:32 +0200)]
logind: allow HybridSleep methods in default DBus context

7 years agosocket-util: added check of return value
Michal Sekletar [Thu, 13 Dec 2012 13:59:40 +0000 (14:59 +0100)]
socket-util: added check of return value

7 years agopath-util: set pointer to null after calling free()
Michal Sekletar [Thu, 13 Dec 2012 13:59:39 +0000 (14:59 +0100)]
path-util: set pointer to null after calling free()

In cases where path_strv_canonicalize() returns NULL, strv_free() is
called afterwards and it will call free() on pointers which were freed
already in path_strv_canonicalize()

7 years agosd-daemon: fix cppcheck warnings
Sami Kerola [Mon, 17 Dec 2012 10:13:17 +0000 (11:13 +0100)]
sd-daemon: fix cppcheck warnings

Found with 'cppcheck --enable=all --inconclusive --std=posix' while
working with util-linux, which has a copy of this file.

[misc-utils/sd-daemon.c:363]: (style) Checking if unsigned variable \
'length' is less than zero.
[misc-utils/sd-daemon.c:366]: (style) Checking if unsigned variable \
'length' is less than zero.

References: http://www.spinics.net/lists/util-linux-ng/msg07031.html

7 years agolicence: remove references to old FSF address
Sami Kerola [Sun, 16 Dec 2012 22:23:23 +0000 (22:23 +0000)]
licence: remove references to old FSF address

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=57206

7 years agojournal: move _packed_ attribute to the end
Zbigniew Jędrzejewski-Szmek [Mon, 17 Dec 2012 10:38:47 +0000 (11:38 +0100)]
journal: move _packed_ attribute to the end

GCC manual states that "For an enum, struct or union type, you may
specify attributes either between the enum, struct or union tag and
the name of the type, or just past the closing curly brace of the
definition. The former syntax is preferred." This means that the
attribute should not be located before 'struct'. Putting it between
'struct' and the name seems cluttered. Putting it at the end seems
most readable.

This avoids clang warnings.

7 years agoFix "attribute 'packed' is ignored" warnings when using Clang
Richard Yao [Sun, 18 Nov 2012 19:55:10 +0000 (14:55 -0500)]
Fix "attribute 'packed' is ignored" warnings when using Clang

Clang 3.1 warned that "attribute 'packed' is ignored". This stems from
placing "__attribute__ ((packed))" at the start of structure
declarations when common practice is to place it at the end.

Signed-off-by: Richard Yao <ryao@gentoo.org>
7 years agohwdb: update comments and data
Kay Sievers [Fri, 14 Dec 2012 17:23:36 +0000 (18:23 +0100)]
hwdb: update comments and data

7 years agolibudev: validate 'udev' argument to udev_enumerate_new()
Michael Terry [Fri, 14 Dec 2012 14:02:13 +0000 (09:02 -0500)]
libudev: validate 'udev' argument to udev_enumerate_new()

https://bugs.freedesktop.org/show_bug.cgi?id=58289

7 years agoRemove frugalware display-manager.service
Tollef Fog Heen [Fri, 14 Dec 2012 08:17:14 +0000 (09:17 +0100)]
Remove frugalware display-manager.service

Frugalware are shipping their own .service file now, so stop shipping
it here.

This effectively reverts 196e3fa74a88a04b0ecec7d3af648287dd088f8a

7 years agolocalectl: fix dbus call arguments in set_x11_keymap
Michal Schmidt [Wed, 12 Dec 2012 21:24:04 +0000 (22:24 +0100)]
localectl: fix dbus call arguments in set_x11_keymap

Fixes an assertion failure in the dbus lib.
https://bugzilla.redhat.com/show_bug.cgi?id=882212

7 years agolibudev: hwdb: add missing endianess conversion
Eric Benoit [Tue, 11 Dec 2012 14:32:39 +0000 (15:32 +0100)]
libudev: hwdb: add missing endianess conversion

https://bugs.freedesktop.org/show_bug.cgi?id=58067

7 years agoudev: net_id: update comments
Kay Sievers [Sun, 9 Dec 2012 13:49:28 +0000 (14:49 +0100)]
udev: net_id: update comments

7 years agohwdb: update
Kay Sievers [Sun, 9 Dec 2012 13:48:55 +0000 (14:48 +0100)]
hwdb: update

7 years agoshutdown, umount: use verbs consistently
Michal Schmidt [Fri, 7 Dec 2012 17:02:43 +0000 (18:02 +0100)]
shutdown, umount: use verbs consistently

Mounts are "unmounted".
Swaps are "deactivated", not "turned off" nor "disabled".
Loop and DM devices are "detached", not "deleted".

Especially the deleting sounded a bit scary.

7 years agoshutdown, umount: logging improvements
Michal Schmidt [Fri, 7 Dec 2012 16:44:50 +0000 (17:44 +0100)]
shutdown, umount: logging improvements

In bugreports about hangs during the late shutdown we are often missing
important information - what were we trying to unmount/detach when it hung.

Instead of printing what we successfully unmounted, print what we are
going to unmount/detach. And add messages to mark the completion of
categories (mount/swap/loop/DM).

7 years agoumount: fix check for DM changed
Michal Schmidt [Fri, 7 Dec 2012 16:34:21 +0000 (17:34 +0100)]
umount: fix check for DM changed

delete_dm() returns 0 on success. The check for "r > 0" was likely
a copy&paste error from the loopback code where "r > 0" makes sense.

7 years agoshutdown: downgrade a warning
Michal Schmidt [Fri, 7 Dec 2012 16:28:30 +0000 (17:28 +0100)]
shutdown: downgrade a warning

All messages of the kind "not all done, %d left" are log_info, except
the one for DM devices. Make it info too.

7 years agohwdb: update
Kay Sievers [Thu, 6 Dec 2012 21:46:22 +0000 (22:46 +0100)]
hwdb: update

7 years agohwdb: ids-update: close the right file handles
Mantas Mikulėnas [Thu, 6 Dec 2012 21:34:25 +0000 (23:34 +0200)]
hwdb: ids-update: close the right file handles

The script was closing *INP and *OUTP, which never actually existed.

Also fix pci_vendor() opening usb.ids and immediately discarding the fh.

7 years agorules: usb-hid-pm - remove AMI devices
Kay Sievers [Thu, 6 Dec 2012 20:48:49 +0000 (21:48 +0100)]
rules: usb-hid-pm - remove AMI devices

On Thu, Dec 6, 2012 at 9:20 AM, Robert Milasan <rmilasan@suse.com> wrote:
> It seems that the added rules:
>
> ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="046b",
> ATTR{idProduct}=="ff10", TEST=="power/control",
> ATTR{power/control}="auto"
>
> creates problems for people with Supermicro X8ST3 mb (and maybe
> other Supermicro mb's) and renders the KVM-over-IP unusable, at BIOS
> and GRUB the KVM works perfectly, but after that the device is unusable.
>
> Dropping the rule fixes the issue.
>
> Reference bug: https://bugzilla.novell.com/show_bug.cgi?id=792576

7 years agoudev: net_id - fix OUI handling
Kay Sievers [Thu, 6 Dec 2012 20:37:10 +0000 (21:37 +0100)]
udev: net_id - fix OUI handling