chiark / gitweb /
elogind.git
11 years agohwdb: update
Kay Sievers [Fri, 16 Nov 2012 16:08:20 +0000 (17:08 +0100)]
hwdb: update

11 years agoudev: firmware - disable firmware loading when firmware file is 0 byte
Umut Tezduyar [Fri, 16 Nov 2012 16:07:19 +0000 (17:07 +0100)]
udev: firmware - disable firmware loading when firmware file is 0 byte

If firmware file is not found in the file system, udev
terminates firmware loading. This is not the case if
firmware file exists in the file system but doesn't have
any data in it.

11 years agobuild-sys: fix catalog-update-hook with older systemd
Zbigniew Jędrzejewski-Szmek [Fri, 16 Nov 2012 12:53:32 +0000 (13:53 +0100)]
build-sys: fix catalog-update-hook with older systemd

The hook would fail if preexisting journalctl doesn't support
--update-catalog. Also, the catalog would be updated before new
catalog files were installed. Both issues are fixed by moving to
INSTALL_DATA_HOOK instead of INSTALL_EXEC_HOOK, since the hook is now
executed after both journalctl and catalog files are installed.

11 years agobuild-sys: update catalog on installation
Zbigniew Jędrzejewski-Szmek [Fri, 16 Nov 2012 10:00:49 +0000 (11:00 +0100)]
build-sys: update catalog on installation

11 years agojournalctl: better error messages for --update-catalog
Zbigniew Jędrzejewski-Szmek [Fri, 16 Nov 2012 09:28:06 +0000 (10:28 +0100)]
journalctl: better error messages for --update-catalog

Also add informational message about catalog size.

11 years agocatalog: fix typo
Lennart Poettering [Fri, 16 Nov 2012 02:04:56 +0000 (03:04 +0100)]
catalog: fix typo

11 years agoman: link up journalctl man page with developer documenation
Lennart Poettering [Fri, 16 Nov 2012 02:04:08 +0000 (03:04 +0100)]
man: link up journalctl man page with developer documenation

11 years agojournal: recommend journalctl -x more often
Lennart Poettering [Fri, 16 Nov 2012 02:03:54 +0000 (03:03 +0100)]
journal: recommend journalctl -x more often

11 years agoupdate TODO
Lennart Poettering [Fri, 16 Nov 2012 02:03:30 +0000 (03:03 +0100)]
update TODO

11 years agocatalog: add catalog entries for all of systemd's own journal messages
Lennart Poettering [Fri, 16 Nov 2012 02:03:22 +0000 (03:03 +0100)]
catalog: add catalog entries for all of systemd's own journal messages

11 years agoupdate TODO
Lennart Poettering [Fri, 16 Nov 2012 00:36:29 +0000 (01:36 +0100)]
update TODO

11 years agojournal: extend catalog header to 64bit for all fields, just to be safe and follow...
Lennart Poettering [Fri, 16 Nov 2012 00:34:53 +0000 (01:34 +0100)]
journal: extend catalog header to 64bit for all fields, just to be safe and follow the rest of the file formats

11 years agoshutdown: readd explicit sync() when shutting down
Lennart Poettering [Fri, 16 Nov 2012 00:30:29 +0000 (01:30 +0100)]
shutdown: readd explicit sync() when shutting down

As it turns out reboot() doesn't actually imply a file system sync, but
only a disk sync. Accordingly, readd explicit sync() invocations
immediately before we invoke reboot().

This is much less dramatic than it might sounds as we umount all
disks/read-only remount them anyway before going down.

11 years agoudev: make blkid optional
Anders Olofsson [Fri, 16 Nov 2012 00:17:18 +0000 (01:17 +0100)]
udev: make blkid optional

I'm building systemd for an embedded system and we would prefer not having
to include the entire util-linux package just to get a libblkid whose
functionality we don't need.

11 years agojournal: implement message catalog
Lennart Poettering [Thu, 15 Nov 2012 22:03:31 +0000 (23:03 +0100)]
journal: implement message catalog

The message catalog can be used to attach short help texts to log lines,
keyed by their MESSAGE_ID= fields. This is useful to help the
administrator understand the context and cause of a message, find
possible solutions and find further related documentation.

Since this is keyed off MESSAGE_ID= this will only work for native
journal messages.

The message catalog supports i18n, and is useful to augment english
language system messages with explanations in the local language.

This commit only includes short explanatory messages for a few example
message IDs, we'll add more complete documentation for the relevant
systemd messages later on.

11 years agohostnamectl: fix parsing of --no-ask-password
Lennart Poettering [Thu, 15 Nov 2012 21:47:04 +0000 (22:47 +0100)]
hostnamectl: fix parsing of --no-ask-password

11 years agoUpdate TODO
Lennart Poettering [Thu, 15 Nov 2012 21:46:50 +0000 (22:46 +0100)]
Update TODO

11 years agopolkit: if PK is not around, consider this a permission denied error
Lennart Poettering [Thu, 15 Nov 2012 21:45:49 +0000 (22:45 +0100)]
polkit: if PK is not around, consider this a permission denied error

Uninstalling PK should cleanly disable PK authorization but not result
in further runtime errors.

11 years agoudev: hwdb - properly handle a missing database
Kay Sievers [Thu, 15 Nov 2012 16:30:03 +0000 (17:30 +0100)]
udev: hwdb - properly handle a missing database

On Thu, Nov 15, 2012 at 5:05 PM, Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> wrote:
> Something like this appeared with latest git:
>
> Nov 15 16:55:46 fedora-15 systemd-udevd[334]: worker [364] terminated by signal 11 (Segmentation fault)
> Nov 15 16:55:46 fedora-15 [387]: Process 364 (systemd-udevd) dumped core.
> Nov 15 16:55:46 fedora-15 systemd-udevd[334]: worker [364] failed while handling '/devices/virtual/net/lo'
> Nov 15 16:55:46 fedora-15 systemd-udevd[334]: worker [360] terminated by signal 11 (Segmentation fault)
> Nov 15 16:55:46 fedora-15 systemd-udevd[334]: worker [360] failed while handling '/devices/pci0000:00/0000:00:03.0/virtio0/net
> Nov 15 16:55:46 fedora-15 [389]: Process 360 (systemd-udevd) dumped core.
>
> Core was generated by usr/lib/systemd/systemd-udevd'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x0000000000423c87 in udev_hwdb_get_properties_list_entry (hwdb=0x0, modalias=0x7fffbcd155f0

11 years agodbus-manager: modernize style
Zbigniew Jędrzejewski-Szmek [Thu, 15 Nov 2012 15:30:24 +0000 (16:30 +0100)]
dbus-manager: modernize style

11 years agodbus-manager: fix a fatal dbus abort in bus_manager_message_handler()
Eelco Dolstra [Wed, 31 Oct 2012 10:53:56 +0000 (11:53 +0100)]
dbus-manager: fix a fatal dbus abort in bus_manager_message_handler()

If ListUnitFiles fails, or an OOM occurs, then dbus_message_unref()
will be called twice on "reply", causing systemd to crash.  So remove
the call to dbus_message_unref(); it is unnecessary because of
the cleanup attribute on "reply".

[zj: modified to leave one dbus_message_unref() alone, per Colin
Walters' comment.]

11 years agosched: Only setting CPUSchedulingPriority=rr doesn't work
Holger Hans Peter Freyther [Thu, 1 Nov 2012 17:48:11 +0000 (18:48 +0100)]
sched: Only setting CPUSchedulingPriority=rr doesn't work

A service that only sets the scheduling policy to round-robin
fails to be started. This is because the cpu_sched_priority is
initialized to 0 and is not adjusted when the policy is changed.

Clamp the cpu_sched_priority when the scheduler policy is set. Use
the current policy to validate the new priority.

Change the manual page to state that the given range only applies
to the real-time scheduling policies.

Add a testcase that verifies this change:

$ make test-sched-prio; ./test-sched-prio
[test/sched_idle_bad.service:6] CPU scheduling priority is out of range, ignoring: 1
[test/sched_rr_bad.service:7] CPU scheduling priority is out of range, ignoring: 0
[test/sched_rr_bad.service:8] CPU scheduling priority is out of range, ignoring: 100

11 years agojournalctl: require argument for --priority
Lekensteyn [Thu, 15 Nov 2012 11:17:03 +0000 (12:17 +0100)]
journalctl: require argument for --priority

This fixes a segfault due to a missing value for --priority. -p is
unaffected because it is specified in the getopt_long parameter list.

11 years agoman: update description of ExecStart and friends
Zbigniew Jędrzejewski-Szmek [Thu, 15 Nov 2012 14:54:17 +0000 (15:54 +0100)]
man: update description of ExecStart and friends

Semicolon separated lines are supported for all those commands,
and semicolons can now be escaped.

11 years agocore: lift restriction on order of - and @ in ExecStart
Zbigniew Jędrzejewski-Szmek [Thu, 15 Nov 2012 14:25:05 +0000 (15:25 +0100)]
core: lift restriction on order of - and @ in ExecStart

11 years agocore: interpret \; token in ExecStart as escaped ;
Oleksii Shevchuk [Sat, 3 Nov 2012 19:52:02 +0000 (21:52 +0200)]
core: interpret \; token in ExecStart as escaped ;

Some commands (like 'find') take a semicolon as separate arg. With
current parser implementation there is no way to pass one.

Patch adds token \;

11 years agotests: add tests for config_parse_exec
Zbigniew Jędrzejewski-Szmek [Thu, 15 Nov 2012 13:48:12 +0000 (14:48 +0100)]
tests: add tests for config_parse_exec

11 years agocore/load-fragment-gperf: add missing CONDITION_FILE_NOT_EMPTY
Oleksii Shevchuk [Sat, 3 Nov 2012 19:52:00 +0000 (21:52 +0200)]
core/load-fragment-gperf: add missing CONDITION_FILE_NOT_EMPTY

Unit files couldn't be properly parsed, because of
absent ConditionFileNotEmpty in load-fragment table.

11 years agocore: fix %h, %s, %p handling in templates in user session
Oleksii Shevchuk [Sat, 3 Nov 2012 19:51:59 +0000 (21:51 +0200)]
core: fix %h, %s, %p handling in templates in user session

11 years agosystemd: highlight ordering cycle deletions
Olivier Brunel [Sun, 4 Nov 2012 23:28:45 +0000 (00:28 +0100)]
systemd: highlight ordering cycle deletions

Having unit(s) removed/not started, even if it solved the issue and allowed
to boot successfully, should still be considered an error, as something
clearly isn't right.

This patch elevates the log message from warning to error, and adds a status
message to make things more obvious.

11 years agosystemctl: add help for --type/-t
Zbigniew Jędrzejewski-Szmek [Thu, 15 Nov 2012 10:54:57 +0000 (11:54 +0100)]
systemctl: add help for --type/-t

The list of types and load states if lengthy, so a little reminder
can be sometimes useful.

11 years agosystemctl: remove empty line in case of no units
Zbigniew Jędrzejewski-Szmek [Thu, 15 Nov 2012 10:39:23 +0000 (11:39 +0100)]
systemctl: remove empty line in case of no units

11 years agobuild-sys: store journald code in a noinst library
Zbigniew Jędrzejewski-Szmek [Mon, 12 Nov 2012 16:29:07 +0000 (17:29 +0100)]
build-sys: store journald code in a noinst library

The point is to allow the use of journald functions by other binaries.
Before, journald code was split into multiple files (journald-*.[ch]),
but all those files all required functions from journald.c. And
journald.c has its own main(). Now, it is possible to link against
those functions, e.g. from test binaries.

This constitutes a fix for https://bugzilla.redhat.com/show_bug.cgi?id=872638.

The patch does the following:
1. rename journald.h to journald-server.h and move corresponding code
   to journald-server.c.
2. add journald-server.c and other journald-*.c parts to
   libsystemd-journal-internal.
3. remove journald-syslog.c from test_journal_syslog_SOURCES, since
   it is now contained in libsystemd-journal-internal.
There are no code changes, apart from the removal of a few static's,
to allow function calls between files.

11 years agoman: throw in an example of timedatectl output
Zbigniew Jędrzejewski-Szmek [Fri, 2 Nov 2012 09:55:59 +0000 (10:55 +0100)]
man: throw in an example of timedatectl output

timedatectl is too cool not to advertise it a bit.

11 years agotimedatectl: break line to not exceed 80 columns
Zbigniew Jędrzejewski-Szmek [Wed, 14 Nov 2012 15:38:34 +0000 (16:38 +0100)]
timedatectl: break line to not exceed 80 columns

11 years agolawyerese: add header to make-directive-index
Zbigniew Jędrzejewski-Szmek [Tue, 13 Nov 2012 17:39:18 +0000 (18:39 +0100)]
lawyerese: add header to make-directive-index

11 years agoupdate TODO
Lennart Poettering [Wed, 14 Nov 2012 21:20:51 +0000 (22:20 +0100)]
update TODO

11 years agoshared: add API for replacing @FOO@ style variables in strings
Lennart Poettering [Wed, 14 Nov 2012 21:20:17 +0000 (22:20 +0100)]
shared: add API for replacing @FOO@ style variables in strings

11 years agoutil: add strreplace() to replace a substring by another string
Lennart Poettering [Wed, 14 Nov 2012 21:16:23 +0000 (22:16 +0100)]
util: add strreplace() to replace a substring by another string

11 years agospecifier: minor modernizations
Lennart Poettering [Wed, 14 Nov 2012 21:15:35 +0000 (22:15 +0100)]
specifier: minor modernizations

11 years agopolkit: fix type on comparison
Lennart Poettering [Wed, 14 Nov 2012 21:14:53 +0000 (22:14 +0100)]
polkit: fix type on comparison

11 years agoTODO
Lennart Poettering [Wed, 14 Nov 2012 21:14:17 +0000 (22:14 +0100)]
TODO

11 years agoREADME: don't list libgcrypt twice as dep
Lennart Poettering [Wed, 14 Nov 2012 21:13:54 +0000 (22:13 +0100)]
README: don't list libgcrypt twice as dep

11 years agoconfigure.ac: fix FTBFS with new glibc
Michal Schmidt [Wed, 14 Nov 2012 13:44:05 +0000 (14:44 +0100)]
configure.ac: fix FTBFS with new glibc

glibc moved clock_* functions from librt to the core libc. As a result,
clock_gettime is no more a suitable symbol to use when finding librt.
Look for mq_open instead.
Reference:
http://www.sourceware.org/git/gitweb.cgi?p=glibc.git&h=6e6249d0b461b952d0f544792372663feb6d792a

Fixes a FTBFS in Fedora Rawhide.

11 years agodelta.c: fix option '-t'
Thomas Hindoe Paaboel Andersen [Tue, 13 Nov 2012 23:18:02 +0000 (00:18 +0100)]
delta.c: fix option '-t'

Both the help and man page claims that it accepts -t with an argument
so let's do that.

11 years agodelta.c: use _cleanup_
Thomas Hindoe Paaboel Andersen [Tue, 13 Nov 2012 22:45:41 +0000 (23:45 +0100)]
delta.c: use _cleanup_

11 years agopython: add journal backend for the logging framework
Marti Raudsepp [Tue, 9 Oct 2012 15:12:02 +0000 (18:12 +0300)]
python: add journal backend for the logging framework

Supports Python versions 2.6 through 3.3 (tested on 2.7 and 3.2).
See JournalHandler docstring for usage details.

[zj: - use send() instead of using sendv() directly
     - do exception handling like in the logging module
     - bumped min version to python2.6, since the module
       does not work with python2.5 anyway ]

11 years agosystemd-python: use python${PYTHON_VERSION}-config as python-config
Zbigniew Jędrzejewski-Szmek [Thu, 1 Nov 2012 07:58:13 +0000 (08:58 +0100)]
systemd-python: use python${PYTHON_VERSION}-config as python-config

This is the usual setup, where pythonX.Y and pythonX.Y-config go
together. Using python-config with python3 will only lead to
confusion.

--libs is changed to --ldflags, since the latter also includes other
required flags like -L<dir>.

The tests for HAVE_PYTHON and HAVE_PYTHON_DEVEL are separated. It is
possible to have python development libraries installed without the
binary (or to want to build python modules without using python during
the build).

A line is added to the output, to show what flags will be used for
python.

11 years agosystemd-analyze: use argparse instead of getopt
Zbigniew Jędrzejewski-Szmek [Sat, 3 Nov 2012 17:26:28 +0000 (18:26 +0100)]
systemd-analyze: use argparse instead of getopt

Makes the output way nicer with shorter code. Also brings
systemd-analyze behaviour more in line with other systemd-programs.

Argparse is in Python since 2.6, and is available as a package for
previous versions, if someone is stuck with very old Python.

11 years agosystemd-python: fix nesting of #ifs and #pragmas
Zbigniew Jędrzejewski-Szmek [Wed, 31 Oct 2012 23:10:47 +0000 (00:10 +0100)]
systemd-python: fix nesting of #ifs and #pragmas

11 years agoshared/socket-util: kill gcc warning about uninitialized variable
Zbigniew Jędrzejewski-Szmek [Wed, 31 Oct 2012 20:44:54 +0000 (21:44 +0100)]
shared/socket-util: kill gcc warning about uninitialized variable

The warning was invalid, but distracting.

11 years agoudev: properly handle symlink removal by 'change' event
Kay Sievers [Tue, 13 Nov 2012 01:05:06 +0000 (02:05 +0100)]
udev: properly handle symlink removal by 'change' event

If a 'change' event is supposed to remove created symlinks, we create
a new device structure from the sysfs device and fill it with the list
of links, to compute the delta of the old and new list of links to apply.
If the device is already 'remove'd by the kernel though, udev fails to
create the device structure, so the links are not removed properly.

> From: Neil Brown <nfbrown@suse.com>
> Date: Thu, 8 Nov 2012 10:39:06 +0100
> Subject: [PATCH] If a 'change' event does not get handled by udev until
> after the device has subsequently disappeared, udev mis-handles
> it. This can happen with 'md' devices which emit a change
> event and then a remove event when they are stopped. It is
> normally only noticed if udev is very busy (lots of arrays
> being stopped at once) or the machine is otherwise loaded
> and reponding slowly.
>
> There are two problems.
>
> 1/ udev_device_new_from_syspath() will refuse to create the device
>    structure if the device does not exist in /sys, and particularly if
>    the uevent file does not exist.
>    If a 'db' file does exist, that is sufficient evidence that the device
>    is genuine and should be created.  Equally if we have just received an
>    event from the kernel about the device, it must be real.
>
>    This patch just disabled the test for the 'uevent' file, it doesn't
>    try imposing any other tests - it isn't clear that they are really
>    needed.
>
> 2/ udev_event_execute_rules() calls udev_device_read_db() on a 'device'
>    structure that is largely uninitialised and in particular does not
>    have the 'subsystem' set.  udev_device_read_db() needs the subsystem
>    so it tries to read the 'subsystem' symlink out of sysfs.  If the
>    device is already deleted, this naturally fails.
>    udev_event_execute_rules() knows the subsystem (as it was in the
>    event message) so this patch simply sets the subsystem for the device
>    structure to be loaded to match the subsystem of the device structure
>    that is handling the event.
>
> With these two changes, deleted handling of change events will still
> correctly remove any symlinks that are not needed any more.

Use udev_device_new() instead of allowing udev_device_new_from_syspath()
to proceed without a sysfs device.

11 years agolibudev: avoid leak during realloc failure
Mauro Dreissig [Mon, 12 Nov 2012 00:07:51 +0000 (22:07 -0200)]
libudev: avoid leak during realloc failure

11 years agoremove duplicate semicolons
Thomas Hindoe Paaboel Andersen [Mon, 12 Nov 2012 21:37:20 +0000 (22:37 +0100)]
remove duplicate semicolons

11 years agosystemd-delta.xml: document default value for --diff
Thomas Hindoe Paaboel Andersen [Mon, 12 Nov 2012 21:34:47 +0000 (22:34 +0100)]
systemd-delta.xml: document default value for --diff

11 years agoutil: nicer tree drawings
Michal Schmidt [Mon, 12 Nov 2012 21:27:48 +0000 (22:27 +0100)]
util: nicer tree drawings

Draw trees more similar to pstree/findmnt/lsblk/...

11 years agoenable localization for common *ctl commands
Dave Reisner [Mon, 12 Nov 2012 19:16:07 +0000 (14:16 -0500)]
enable localization for common *ctl commands

11 years agouse the same email address everywhere
Kay Sievers [Mon, 12 Nov 2012 18:36:23 +0000 (19:36 +0100)]
use the same email address everywhere

11 years agolibudev: update copyright headers
Kay Sievers [Mon, 12 Nov 2012 16:50:33 +0000 (17:50 +0100)]
libudev: update copyright headers

11 years agoTODO: update
Kay Sievers [Sun, 11 Nov 2012 19:47:15 +0000 (20:47 +0100)]
TODO: update

11 years agoudev: use usec_t and now()
Kay Sievers [Sun, 11 Nov 2012 19:45:05 +0000 (20:45 +0100)]
udev: use usec_t and now()

11 years agoman/sd-id128.xml: typo fix
Holger Hans Peter Freyther [Sun, 11 Nov 2012 20:36:21 +0000 (21:36 +0100)]
man/sd-id128.xml: typo fix

11 years agotimedatectl: properly print 30 minutes DST transitions
Kay Sievers [Sun, 11 Nov 2012 15:55:25 +0000 (16:55 +0100)]
timedatectl: properly print 30 minutes DST transitions

11 years agocoredumpctl: add missing -F, --field option to help
Dave Reisner [Fri, 9 Nov 2012 19:14:53 +0000 (14:14 -0500)]
coredumpctl: add missing -F, --field option to help

11 years agobash-completion: add 'gdb' verb for coredumpctl
Dave Reisner [Fri, 9 Nov 2012 17:51:24 +0000 (12:51 -0500)]
bash-completion: add 'gdb' verb for coredumpctl

This also fixes value completion for journal fields, as the completion
for the RHS of the '=' was missing when it was borrowed from journalctl.

11 years agosystemd-coredumpctl: add 'gdb' to usage output
Dave Reisner [Thu, 8 Nov 2012 15:13:46 +0000 (10:13 -0500)]
systemd-coredumpctl: add 'gdb' to usage output

11 years agodbus: when verifying PK privs, bypass PK if uid=0 of client
Lennart Poettering [Fri, 9 Nov 2012 14:54:22 +0000 (15:54 +0100)]
dbus: when verifying PK privs, bypass PK if uid=0 of client

This reduces the number of roundtrips when the client is privileged and
makes the PK dep optional for root clients.

11 years agohwdb: change pci.ids location
Tom Gundersen [Fri, 9 Nov 2012 14:35:11 +0000 (15:35 +0100)]
hwdb: change pci.ids location

According to pciutils' TODO, the sourceforge location is scheduled for
removal, use the new one instead.

11 years agoudev: hwdb - update usb class descriptions
Kay Sievers [Fri, 9 Nov 2012 14:23:41 +0000 (15:23 +0100)]
udev: hwdb - update usb class descriptions

11 years agoudev: hwdb - add usb class descriptions
Kay Sievers [Fri, 9 Nov 2012 13:53:55 +0000 (14:53 +0100)]
udev: hwdb - add usb class descriptions

11 years agoudev: hwdb - add pci class descriptions
Kay Sievers [Fri, 9 Nov 2012 13:29:10 +0000 (14:29 +0100)]
udev: hwdb - add pci class descriptions

11 years agoudev: net_id - add builtin to retrieve data for network devices
Kay Sievers [Fri, 9 Nov 2012 11:37:40 +0000 (12:37 +0100)]
udev: net_id - add builtin to retrieve data for network devices

11 years agoudev: hwdb - search parents for 'modalias' and data
Kay Sievers [Fri, 9 Nov 2012 11:35:02 +0000 (12:35 +0100)]
udev: hwdb - search parents for 'modalias' and data

11 years agoudev: update file headers
Kay Sievers [Thu, 8 Nov 2012 21:20:36 +0000 (22:20 +0100)]
udev: update file headers

11 years agohwdb: OUI - use ID_OUI_FROM_DATABASE=
Kay Sievers [Thu, 8 Nov 2012 00:51:10 +0000 (01:51 +0100)]
hwdb: OUI - use ID_OUI_FROM_DATABASE=

11 years agofstab-generator: more specific error messages
Michal Schmidt [Fri, 9 Nov 2012 11:00:46 +0000 (12:00 +0100)]
fstab-generator: more specific error messages

11 years agohwdb: add IEEE OUI data
Kay Sievers [Wed, 7 Nov 2012 13:05:21 +0000 (14:05 +0100)]
hwdb: add IEEE OUI data

11 years agohwdb: update pci data
Kay Sievers [Wed, 7 Nov 2012 13:00:21 +0000 (14:00 +0100)]
hwdb: update pci data

11 years agoTODO: update
Kay Sievers [Wed, 7 Nov 2012 12:59:50 +0000 (13:59 +0100)]
TODO: update

11 years agoman: typo fixes for new files in 195
Thomas Hindoe Paaboel Andersen [Tue, 6 Nov 2012 19:27:38 +0000 (20:27 +0100)]
man: typo fixes for new files in 195

11 years agocryptsetup: fix inverted comparison in pass_volume_key
Dave Reisner [Tue, 6 Nov 2012 15:17:18 +0000 (10:17 -0500)]
cryptsetup: fix inverted comparison in pass_volume_key

11 years agoRevert "Implement SocketUser= and SocketGroup= for [Socket]"
Dave Reisner [Tue, 6 Nov 2012 14:54:17 +0000 (09:54 -0500)]
Revert "Implement SocketUser= and SocketGroup= for [Socket]"

This was never intended to be pushed.

This reverts commit aea54018a5e66a41318afb6c6be745b6aef48d9e.

11 years agocryptsetup: hash=plain means don't use a hash
Dave Reisner [Tue, 6 Nov 2012 14:49:27 +0000 (09:49 -0500)]
cryptsetup: hash=plain means don't use a hash

"plain" is a semantic value that cryptsetup(8) uses to describe a plain
dm-crypt volume that does not use a hash. Catch this value earlier and
ensure that a NULL params.hash is passed to crypt_format to avoid
passing an invalid hash type to the libcryptsetup backend.

FDO bug #56593.

11 years agoImplement SocketUser= and SocketGroup= for [Socket]
Dave Reisner [Mon, 5 Nov 2012 17:50:19 +0000 (12:50 -0500)]
Implement SocketUser= and SocketGroup= for [Socket]

Since we already allow defining the mode of AF_UNIX sockets and FIFO, it
makes sense to also allow specific user/group ownership of the socket
file for restricting access.

11 years agoREADME,TODO: typo fixes
Thomas Hindoe Paaboel Andersen [Mon, 5 Nov 2012 20:13:28 +0000 (21:13 +0100)]
README,TODO: typo fixes

11 years agosystemd.socket.xml: fix typo
Dave Reisner [Mon, 5 Nov 2012 13:32:44 +0000 (08:32 -0500)]
systemd.socket.xml: fix typo

11 years agoadd zsh completion for all the commands
Daniel Wallace [Mon, 5 Nov 2012 06:09:13 +0000 (01:09 -0500)]
add zsh completion for all the commands

Most of the completion for systemctl and loginctl provided by Foudil Brétel

11 years agoTODO: fix typo
Kay Sievers [Mon, 5 Nov 2012 01:17:23 +0000 (02:17 +0100)]
TODO: fix typo

11 years agomount-setup: try mounting 'efivarfs' only if the system bootet with EFI
Kay Sievers [Sun, 4 Nov 2012 16:03:48 +0000 (17:03 +0100)]
mount-setup: try mounting 'efivarfs' only if the system bootet with EFI

11 years agokmod-setup: mounting efivarfs, *after* we tried to mount it, is pointless
Kay Sievers [Sun, 4 Nov 2012 15:55:23 +0000 (16:55 +0100)]
kmod-setup: mounting efivarfs, *after* we tried to mount it, is pointless

The mount() system call, which we issue before loading modules, will trigger
a modprobe by the kernel and block until it returns. Trying to load it again
later, will have exactly the same result as the first time.

11 years agokmod-setup: add conditional module loading callback
Kay Sievers [Sun, 4 Nov 2012 15:54:19 +0000 (16:54 +0100)]
kmod-setup: add conditional module loading callback

11 years agoshared: add is_efiboot()
Kay Sievers [Sun, 4 Nov 2012 15:06:27 +0000 (16:06 +0100)]
shared: add is_efiboot()

11 years agoTODO: update RTC, DST stuff
Kay Sievers [Sun, 4 Nov 2012 14:47:08 +0000 (15:47 +0100)]
TODO: update RTC, DST stuff

11 years agoTODO: add efi check
Kay Sievers [Sun, 4 Nov 2012 11:17:05 +0000 (12:17 +0100)]
TODO: add efi check

11 years agodrop Arch Linux support for reading /etc/rc.conf
Dave Reisner [Sun, 4 Nov 2012 00:11:52 +0000 (20:11 -0400)]
drop Arch Linux support for reading /etc/rc.conf

11 years agodrop Arch Linux support for reading /etc/rc.conf
Dave Reisner [Sat, 3 Nov 2012 23:59:42 +0000 (19:59 -0400)]
drop Arch Linux support for reading /etc/rc.conf

11 years agobash-completion > shell-completion
Kay Sievers [Sat, 3 Nov 2012 21:10:32 +0000 (22:10 +0100)]
bash-completion > shell-completion

11 years agodocs: gtk-doc warnings are annoying
Kay Sievers [Sat, 3 Nov 2012 21:04:06 +0000 (22:04 +0100)]
docs: gtk-doc warnings are annoying

11 years agovconsole: remove Frugalware legacy file support
Miklos Vajna [Sat, 3 Nov 2012 15:23:00 +0000 (16:23 +0100)]
vconsole: remove Frugalware legacy file support

11 years agoutil : fallback to plain ASCII drawing if locale is not UTF-8
Michal Schmidt [Fri, 2 Nov 2012 16:35:30 +0000 (17:35 +0100)]
util : fallback to plain ASCII drawing if locale is not UTF-8

When printing cgroup and sysfs hierarchies, avoid using UTF-8 box drawing
characters if the locale is not UTF-8.

https://bugzilla.redhat.com/show_bug.cgi?id=871153