Kay Sievers [Fri, 10 Aug 2012 17:56:57 +0000 (19:56 +0200)]
udev: export udev_device_new_from_device_id()
Simon Peeters [Fri, 10 Aug 2012 15:32:19 +0000 (17:32 +0200)]
systemctl: fix issue with systemctl daemon-reexec
Dave Reisner [Fri, 10 Aug 2012 15:02:04 +0000 (11:02 -0400)]
shared/utf8: mark char* as const
Avoids compiler warning:
src/shared/utf8.c: In function 'ascii_filter':
src/shared/utf8.c:278:16: warning: assignment discards 'const' qualifier
from pointer target type [enabled by default]
Dave Reisner [Fri, 10 Aug 2012 15:02:03 +0000 (11:02 -0400)]
shutdown: recursively mark root as private before pivot
Because root is now recursively marked as shared on bootup, we need to
recursively mark root as private. This prevents a pivot_root failure on
shutdown:
Cannot finalize remaining file systems and devices, giving up.
pivot failed: Invalid argument
Lennart Poettering [Fri, 10 Aug 2012 15:58:46 +0000 (17:58 +0200)]
id128: don't use C99 bool in public headers
Lennart Poettering [Thu, 9 Aug 2012 15:52:05 +0000 (17:52 +0200)]
journald: never read the same kernel msg twice, and generate message when we lose one
Lennart Poettering [Thu, 9 Aug 2012 15:25:22 +0000 (17:25 +0200)]
update TODO
Lennart Poettering [Thu, 9 Aug 2012 15:12:07 +0000 (17:12 +0200)]
man: document kernel journal fields
Lennart Poettering [Thu, 9 Aug 2012 15:05:29 +0000 (17:05 +0200)]
journalctl: support device node matches as shortcut
Lennart Poettering [Thu, 9 Aug 2012 14:49:28 +0000 (16:49 +0200)]
journald: properly unescape messages from /dev/kmsg
Lennart Poettering [Thu, 9 Aug 2012 14:29:16 +0000 (16:29 +0200)]
journald: also parse kernel key/value fields and store them prefixed with _KERNEL_ as journal fields
Lennart Poettering [Thu, 9 Aug 2012 13:57:24 +0000 (15:57 +0200)]
journald: basic support for /dev/kmsg parsing
Lennart Poettering [Thu, 9 Aug 2012 13:57:01 +0000 (15:57 +0200)]
man: clarify the order of seats in sd_get_seats() is undefined
Lennart Poettering [Thu, 9 Aug 2012 10:52:49 +0000 (12:52 +0200)]
update mailmap
Huang Hang [Thu, 9 Aug 2012 03:22:08 +0000 (11:22 +0800)]
build-sys: use more generic regular expression to generate syscall-list.txt correctly
Currently MIPS and ARM define syscall numbers for multiple ABI in one
<asm/unistd.h>. The #define statments for each syscall are formated as:
#define __NR_scname (BASE_OFFSET + sc_number)
Thus we need a more generic regular expression to match these in awk.
Lennart Poettering [Thu, 9 Aug 2012 00:10:44 +0000 (02:10 +0200)]
update TODO
Lennart Poettering [Wed, 8 Aug 2012 21:54:21 +0000 (23:54 +0200)]
fix a couple of issues found with llvm-analyze
Lennart Poettering [Wed, 8 Aug 2012 19:49:01 +0000 (21:49 +0200)]
build-sys: prepare release 188
Lennart Poettering [Wed, 8 Aug 2012 17:30:18 +0000 (19:30 +0200)]
update TODO
Peter Alfredsen [Wed, 8 Aug 2012 19:33:42 +0000 (21:33 +0200)]
build-sys: add CFLAGS to CPP calls
It changes the defines WORDSIZE and __I386, CFLAGS=-m32.
Zbigniew Jędrzejewski-Szmek [Wed, 8 Aug 2012 17:00:35 +0000 (19:00 +0200)]
build-sys: really override CFLAGS for gtk-doc
In
29a00c41 an override was added, but commandline variables have
higher precedence than Makefile variables, so the override was not
effective for commandline variables.
While at it, duplicate for libudev.
Lennart Poettering [Wed, 8 Aug 2012 17:19:45 +0000 (19:19 +0200)]
update TODO
Lennart Poettering [Wed, 8 Aug 2012 17:09:59 +0000 (19:09 +0200)]
update TODO
Lennart Poettering [Wed, 8 Aug 2012 16:44:15 +0000 (18:44 +0200)]
Merge remote-tracking branch 'simonpe/cleanup'
Lennart Poettering [Wed, 8 Aug 2012 16:10:35 +0000 (18:10 +0200)]
update TODO
Kay Sievers [Wed, 8 Aug 2012 16:24:50 +0000 (18:24 +0200)]
udev: fix typo in copyright
Kay Sievers [Wed, 8 Aug 2012 16:16:50 +0000 (18:16 +0200)]
gudev: docs - work around the broken gtk-doc mess
gtk-doc add CFLAGS/LDFLAGS multiple times to the gcc command line,
which breaks options that must be listed only once.
For now, clear CFLAGS/LDFLAGS for the intermediate documentation
binary.
Michal Sekletar [Tue, 7 Aug 2012 12:41:48 +0000 (14:41 +0200)]
systemd: introduced new timeout types
Makes possible to specify separate timeout for start and stop of
the service.
[ Improved the manpage. Coding style fix. -- michich ]
Simon Peeters [Wed, 8 Aug 2012 15:20:04 +0000 (17:20 +0200)]
logind: use bus_method_call_with_reply() where posible
Simon Peeters [Wed, 8 Aug 2012 15:19:30 +0000 (17:19 +0200)]
update-utmp: use bus_method_call_with_reply() where posible
Kay Sievers [Wed, 8 Aug 2012 14:27:11 +0000 (16:27 +0200)]
udev: re-initialize builtins in the daemon process, not in the worker
Kay Sievers [Wed, 8 Aug 2012 12:45:16 +0000 (14:45 +0200)]
udev: initialize rules dir timestamps when reading rules
On Wed, Aug 8, 2012 at 11:48 AM, Michael Schroeder <mls@suse.de> wrote:
> if rules are installed in the first 3 seconds after the udev start,
> the stamps will all be zero, so the [first] call to check_rules_timestamp()
> will just copy the current mtime [and not cause a rules re-load].
Simon Peeters [Wed, 8 Aug 2012 12:38:05 +0000 (14:38 +0200)]
loginctl: use bus_method_call_with_reply() where posible
Kay Sievers [Wed, 8 Aug 2012 11:16:57 +0000 (13:16 +0200)]
autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible
Kay Sievers [Wed, 8 Aug 2012 10:28:45 +0000 (12:28 +0200)]
build-sys: link internal selinux lib to systemd-remount-fs
Lennart Poettering [Wed, 8 Aug 2012 10:26:53 +0000 (12:26 +0200)]
build-sys: pass param to stack protector
Lennart Poettering [Wed, 8 Aug 2012 10:26:41 +0000 (12:26 +0200)]
build-sys: drop obsolete gcc switch
Lennart Poettering [Wed, 8 Aug 2012 10:26:27 +0000 (12:26 +0200)]
build-sys: typo fix
Kay Sievers [Wed, 8 Aug 2012 10:09:33 +0000 (12:09 +0200)]
TODO: misleading socket warning
Lennart Poettering [Wed, 8 Aug 2012 10:03:34 +0000 (12:03 +0200)]
build-sys: enable a couple of security features
Most distributions enable these downstream anyway, but it probably makes
sense to enable them unconditionally upstream too.
Simon Peeters [Wed, 8 Aug 2012 00:04:40 +0000 (02:04 +0200)]
move bus_method_call_with_reply() to dbus-common
Simon Peeters [Tue, 7 Aug 2012 23:32:30 +0000 (01:32 +0200)]
systemctl: use bus_method_call_with_reply() where posible
use the method introduced by the previous commit
Simon Peeters [Tue, 7 Aug 2012 23:29:55 +0000 (01:29 +0200)]
systemctl: add bus_method_call_with_reply
this method combines the folowing dbus calls and there error handling:
dbus_message_new_method_call()
dbus_message_append_args()
dbus_connection_send_with_reply_and_block()
Lennart Poettering [Tue, 7 Aug 2012 15:07:35 +0000 (17:07 +0200)]
units: remove prefdm
It's time to get rid of prefdm. Distributions which still want to use
this should maintain this downstream, but it's probably better to just
provide proper units for the various display managers, like Fedora is
doing this, for example:
https://fedoraproject.org/wiki/Features/DisplayManagerRework
Lennart Poettering [Mon, 6 Aug 2012 23:01:33 +0000 (01:01 +0200)]
update TODO
Lennart Poettering [Mon, 6 Aug 2012 22:51:17 +0000 (00:51 +0200)]
journalctl: include corrupted files in output
If a journal file was rotated away because it was corrupted or dirty we
should still show its contents via "journalctl".
Lennart Poettering [Mon, 6 Aug 2012 16:28:42 +0000 (18:28 +0200)]
mount-setup: change system mount propagation to shared by default
In order to make containers work nicely out of the box it is highly
desirable to have the mount propagation mode for the root fs is set as
"shared" by default so that containers receive system mounts by default.
(See mount --make-shared for more information).
As it is unlikely that the kernel will change the default to "shared"
for this, do this early at boot-up from PID 1. Setups which prefer the
default of "private" should undo this change via invoking "mount
--make-private /" or a similar command after boot.
In the long run /etc/fstab should take the propagation mode as a mount
option like any other, so that this may be used to change the default
mode. However, if fstab is not around or doesn't list / we still should
default to shared as propagation mode, hence this change now.
Michal Sekletar [Fri, 3 Aug 2012 14:20:31 +0000 (16:20 +0200)]
sysctl: apply configuration at once
https://bugzilla.redhat.com/show_bug.cgi?id=767795
[ Simplified by iterating the config files in the backwards order -
no need for hashmap_update(). Other minor cleanups. -- michich ]
Lennart Poettering [Mon, 6 Aug 2012 14:41:29 +0000 (16:41 +0200)]
main: fix typo
Shawn Landden [Sat, 4 Aug 2012 00:22:09 +0000 (17:22 -0700)]
continue work with error messages, log_oom()
Adds messages for formally silent errors: new "Failed on cmdline argument %s: %s".
Removes some specific error messages for -ENOMEM in mount-setup.c. A few specific
ones have been left in other binaries.
Lennart Poettering [Mon, 6 Aug 2012 14:35:44 +0000 (16:35 +0200)]
update TODO
Michal Sekletar [Mon, 30 Jul 2012 15:25:39 +0000 (17:25 +0200)]
shutdown: allow to specify broadcast message when cancelling shutdown
makes shutdown behaviour more compatible
Kay Sievers [Mon, 6 Aug 2012 13:09:46 +0000 (15:09 +0200)]
TODO: /etc/timezone
Lennart Poettering [Fri, 3 Aug 2012 19:49:06 +0000 (21:49 +0200)]
update TODO
Tom Gundersen [Fri, 3 Aug 2012 10:47:24 +0000 (12:47 +0200)]
cryptsetup: add keyfile-size= support
This is useful e.g. if the keyfile is a raw device, where only parts of it
should be read. It is typically used whenever the keyfile-offset= option is
specified.
Tested-by: Erik Westrup <erik.westrup@gmail.com>
Simon Peeters [Fri, 3 Aug 2012 15:09:21 +0000 (17:09 +0200)]
build-sys: do not link systemctl against journal-internal and id128-internal
systemctl does not need the internal journal and id128 libraries to
function, so don't link against them.
Shawn Landen [Fri, 3 Aug 2012 02:28:28 +0000 (02:28 +0000)]
logs-show: fix off-by-one error
Ellipsize lines that are one character too long.
Zbigniew Jędrzejewski-Szmek [Fri, 3 Aug 2012 15:42:04 +0000 (17:42 +0200)]
man: document three new cgtop options
Zbigniew Jędrzejewski-Szmek [Wed, 1 Aug 2012 15:48:29 +0000 (17:48 +0200)]
test: allow deletion of temporary files from normal fs
Not everybody has /tmp on tmpfs, and this was breaking 'make check'.
Martin Pitt [Fri, 3 Aug 2012 11:52:48 +0000 (13:52 +0200)]
keyboard-force-release: Fix previous commit
Was missing a * for the globbing.
Martin Pitt [Fri, 3 Aug 2012 11:50:46 +0000 (13:50 +0200)]
keyboard-force-release: Apply to all Fujitso AMILO models
https://launchpad.net/bugs/1011323 reports more AMILO models which need this
quirk; enough to assume that all of them need it, and applying it on working
models does not really hurt.
Kay Sievers [Fri, 3 Aug 2012 08:52:24 +0000 (10:52 +0200)]
udev: path_id - add comment about the unrteliable rebase logic
Lennart Poettering [Wed, 1 Aug 2012 17:53:01 +0000 (19:53 +0200)]
update TODO
Lennart Poettering [Tue, 31 Jul 2012 14:09:01 +0000 (16:09 +0200)]
journal: add sd_journal_perror() to API
Lennart Poettering [Tue, 31 Jul 2012 12:35:42 +0000 (14:35 +0200)]
update TODO
Artur Zaprzala [Tue, 31 Jul 2012 12:14:51 +0000 (14:14 +0200)]
journald: fixed memory leak
Arvydas Sidorenko [Tue, 31 Jul 2012 09:38:08 +0000 (11:38 +0200)]
libudev-queue.c: simplified open_queue_file
There is no apparent justification for using util_strscpyl
on the filename since it's a plain hardcoded path.
Older versions used:
util_strscpyl(filename, sizeof(filename), SOME_DIR, "/queue.bin", NULL);
and when changed nobody bothered to simplify it.
Zbigniew Jędrzejewski-Szmek [Wed, 13 Jul 2011 12:13:31 +0000 (14:13 +0200)]
doc: clarification in system.unit man page
Zbigniew Jędrzejewski-Szmek [Wed, 13 Jul 2011 12:06:42 +0000 (14:06 +0200)]
automount: print mount point in debug message
Old: systemd[1]: Got direct mount request for
ffff88003bb10c00, triggered by 14476 (fuser)
New: systemd[1]: Got direct mount request on /dev/mqueue, triggered by 2177 (ls)
Zbigniew Jędrzejewski-Szmek [Tue, 12 Jul 2011 11:57:48 +0000 (13:57 +0200)]
Add a few more dependencies to README
Zbigniew Jędrzejewski-Szmek [Mon, 30 Jul 2012 22:06:12 +0000 (00:06 +0200)]
build-sys: fix path to src/gudev/gudevenumtypes.h
This file is generated, so it should be referred to as
$(top_builddir)/src/gudev/gudevenumtypes.h. It could only appear in
$(top_srcdir) as a result of previous build in $(top_srcdir). Better
to just let automake add the prefix for us, so there's no need to
spell it out.
Remove the prefix from other source files too, $(top_srcdir) is the
default anyway.
Zbigniew Jędrzejewski-Szmek [Mon, 30 Jul 2012 21:57:50 +0000 (23:57 +0200)]
build-sys: always create the output directory first
$(MKDIR_P) is added where missing, and rules are standardized on one
form of $(MKDIR_P), to make it easier to spot when it is missing.
Single line $(MKDIR)&&command form is broken into two line form.
https://bugs.freedesktop.org/show_bug.cgi?id=49459
For compilation in a separate build directory to work, when a file is
generated, the rule must include an explicit mkdir first, unless the
file is created at the top level. Even when building in a separate
build-dir, automake would normally create all directories as a side
result of creating the dependencies files. Therefore the bug was only
visible with -C (turning off dependency generation).
Kay Sievers [Mon, 30 Jul 2012 20:34:07 +0000 (22:34 +0200)]
udev: set log.c's log level from udev's kernel command line option
Harald Hoyer [Mon, 30 Jul 2012 19:21:37 +0000 (21:21 +0200)]
99-systemd.rules.in: ignore nbd in the "add" uevent
Harald Hoyer [Mon, 30 Jul 2012 18:27:52 +0000 (20:27 +0200)]
rules/99-systemd.rules.in: ENV{SYSTEMD_READY}="0" for incomplete md
Kay Sievers [Mon, 30 Jul 2012 18:03:00 +0000 (20:03 +0200)]
update TODO
Kay Sievers [Mon, 30 Jul 2012 15:07:49 +0000 (17:07 +0200)]
udev: add missing newline when writing to /dev/kmsg
Lennart Poettering [Sun, 29 Jul 2012 15:08:47 +0000 (17:08 +0200)]
logind: add new loginctl lock-sessions command
Lennart Poettering [Sun, 29 Jul 2012 14:17:06 +0000 (16:17 +0200)]
logind: add LockSessions() call to lock all local sessions at once
Lennart Poettering [Sun, 29 Jul 2012 09:58:41 +0000 (11:58 +0200)]
Revert "man: ship systemd-udevd as the real manpage"
We want to keep things uniform, and hence treat udevd's man page like
any other in the repo. What matters is how users primarily interface
with a service, and that is not the binary path in /usr/lib/systemd but
the service name.
This reverts commit
6c1f3ba54ac1f42598c543b86daaf294b29294b1.
Zbigniew Jędrzejewski-Szmek [Sat, 28 Jul 2012 21:10:15 +0000 (23:10 +0200)]
man: grammar fixes for systemd-udev(8)
Dave Reisner [Sat, 28 Jul 2012 00:02:00 +0000 (20:02 -0400)]
selinux: avoid inclusion of null_log without selinux
Avoids a compile time warning:
warning: 'null_log' defined but not used [-Wunused-function]
Dave Reisner [Sat, 28 Jul 2012 00:46:40 +0000 (20:46 -0400)]
man: ship systemd-udevd as the real manpage
Instead of making systemd-udevd a so-link to systemd-udevd.service,
ship the real page as systemd-udevd to integrate better with distros
where udevd might be run standalone.
Bryan Kadzban [Sat, 28 Jul 2012 02:43:38 +0000 (19:43 -0700)]
build-sys: always populate EXTRA_DIST
"make dist" can build a different tarball depending on the flags passed
to ./configure and the (optional) dependencies found on the system.
Move all append-to-EXTRA_DIST operations out of automake conditionals to
fix this.
Introduce a polkitpolicy_files so that the policy files built still
correctly depend on the automake conditionals, but the .in files that
get distributed do not.
Lennart Poettering [Sat, 28 Jul 2012 11:20:35 +0000 (13:20 +0200)]
systemctl: append .service to unit names lacking suffix
https://bugs.freedesktop.org/show_bug.cgi?id=39386
Lennart Poettering [Fri, 27 Jul 2012 10:21:39 +0000 (12:21 +0200)]
update TODO
Lennart Poettering [Fri, 27 Jul 2012 08:31:33 +0000 (10:31 +0200)]
journalctl: add --priority= switch for filtering by priority
Zbigniew Jędrzejewski-Szmek [Thu, 26 Jul 2012 21:09:02 +0000 (23:09 +0200)]
cgtop: add --version option
Zbigniew Jędrzejewski-Szmek [Thu, 26 Jul 2012 18:23:28 +0000 (20:23 +0200)]
cgtop: use full terminal width
David Strauss [Wed, 25 Jul 2012 23:33:07 +0000 (16:33 -0700)]
Add a 'b' option to cgtop, equivalent to the same option in top
[zj: use static]
David Strauss [Wed, 25 Jul 2012 23:33:06 +0000 (16:33 -0700)]
Add an 'n' option to cgtop (equivalent to top)
Lennart Poettering [Thu, 26 Jul 2012 14:51:58 +0000 (16:51 +0200)]
journald: log driver messages at LOG_INFO
Lennart Poettering [Thu, 26 Jul 2012 14:50:35 +0000 (16:50 +0200)]
journalctl: hightlight log lines by priority
warn/notice = bright white
< error = red
Lennart Poettering [Thu, 26 Jul 2012 14:05:26 +0000 (16:05 +0200)]
logs-show: fix OOM path
Peeters Simon [Thu, 26 Jul 2012 13:41:02 +0000 (15:41 +0200)]
build-sys: use correct cpp
this solves issues where $(CPP) has differend include paths than 'cpp'
Lennart Poettering [Thu, 26 Jul 2012 13:56:43 +0000 (15:56 +0200)]
update README
Lennart Poettering [Thu, 26 Jul 2012 13:56:36 +0000 (15:56 +0200)]
login: lose policy a bit: allow user suspend unauthenticated when multiple sessions exist
Michal Schmidt [Thu, 26 Jul 2012 12:23:49 +0000 (14:23 +0200)]
log: out-of-line __log_oom()
The callers' code gets smaller.
Michal Schmidt [Thu, 26 Jul 2012 12:07:27 +0000 (14:07 +0200)]
log: log_oom() must be a macro
Kay Sievers [Thu, 26 Jul 2012 10:03:25 +0000 (12:03 +0200)]
udev: cdrom_id, accelerometer - enable debug output for --debug