chiark / gitweb /
elogind.git
6 years agoKeyboard map for Samsung NP700Z3C
Herczeg Zsolt [Fri, 23 Aug 2013 14:18:36 +0000 (16:18 +0200)]
Keyboard map for Samsung NP700Z3C

I'm using Ubuntu 13.04 on a Samsung Series 5 computer and found that that
Fn hotkeys does not work.

6 years agoman: Small grammar fix
Zbigniew Jędrzejewski-Szmek [Fri, 23 Aug 2013 17:13:12 +0000 (13:13 -0400)]
man: Small grammar fix

Use Oxford comma.

6 years agokeyboard: add eMachines E725
Zbigniew Jędrzejewski-Szmek [Fri, 23 Aug 2013 17:00:43 +0000 (13:00 -0400)]
keyboard: add eMachines E725

Information supplied by Ludvig <enthymeme@lavabit.com>.

6 years agozsh_completion: Fix single letter args
William Giokas [Wed, 21 Aug 2013 03:06:54 +0000 (22:06 -0500)]
zsh_completion: Fix single letter args

Things like -n to specify the lines to show with systemctl and
journalctl accepts syntax like:

  journalctl -n4
  systemctl -n14

Previously, typing `-nXX <tab>` where XX is a number, zsh would try to
complete an integer. Now it will see the XX and use the _journalctl_none
completion. This is also how any of the single letter options that take
arguments work as well.

6 years ago"-" prefix for InaccessibleDirectories and ReadOnlyDirectories
Maciej Wereski [Wed, 21 Aug 2013 14:43:55 +0000 (16:43 +0200)]
"-" prefix for InaccessibleDirectories and ReadOnlyDirectories

6 years agoman: make reference to bind(2) explicit
Shawn Landden [Wed, 21 Aug 2013 16:56:58 +0000 (09:56 -0700)]
man: make reference to bind(2) explicit

6 years agoudev: fix printf(3) type specifier
Shawn Landden [Fri, 23 Aug 2013 04:17:16 +0000 (21:17 -0700)]
udev: fix printf(3) type specifier

src/udev/udev-rules.c: In function 'add_rule':
src/udev/udev-rules.c:1078:33: warning: format '%lu' expects argument of type 'long unsigned int', but argument 8 has type 'int' [-Wformat=]
                                 log_error("invalid key/value pair in file %s on line %u,"
                                 ^

6 years agoblkio: fix incorrect setting of cpu_shares
Gao feng [Fri, 23 Aug 2013 09:53:23 +0000 (17:53 +0800)]
blkio: fix incorrect setting of cpu_shares

We should set up blockio_weight not cpu_shares.

6 years agonspawn: trivial simplification
Zbigniew Jędrzejewski-Szmek [Wed, 21 Aug 2013 23:35:32 +0000 (19:35 -0400)]
nspawn: trivial simplification

6 years agocgroup.c: check return value of unit_realize_cgroup_now()
Harald Hoyer [Fri, 23 Aug 2013 16:46:06 +0000 (18:46 +0200)]
cgroup.c: check return value of unit_realize_cgroup_now()

do not recurse further, if unit_realize_cgroup_now() failed

6 years agoRevert "udevd: simplify sigterm check"
Colin Walters [Thu, 22 Aug 2013 21:03:29 +0000 (17:03 -0400)]
Revert "udevd: simplify sigterm check"

This reverts commit 47e737dc13bf4251ae5a2249ec29b34503ed92e1 - it
introduced a use-after-free.  The only way the code would get simpler
is with a cleanup function, but eh, not worth it for just this one
bit.

Reviewed by kay on IRC.

6 years agoOptimize startswith() to macro
Kay Sievers [Wed, 21 Aug 2013 20:16:44 +0000 (22:16 +0200)]
Optimize startswith() to macro

I guess it's easier and cleaner anyway to use simple static inline
functions instead of defines.

6 years agoremove hasprefix(), use startswith()
Shawn Landden [Thu, 22 Aug 2013 01:20:55 +0000 (18:20 -0700)]
remove hasprefix(), use startswith()

6 years agouse CAP_MKNOD ConditionCapability
Khem Raj [Thu, 22 Aug 2013 03:35:44 +0000 (20:35 -0700)]
use CAP_MKNOD ConditionCapability

Fixes errors seen when booting VMs on QEMU like

systemd[1]: kmod-static-nodes.service: main process exited, code=exited, status=203/EXEC
systemd[1]: Failed to start Create list of required static device nodes for the current kernel.
systemd[1]: Unit kmod-static-nodes.service entered failed state.

Make sure that mknod capability is available

Signed-off-by: Khem Raj <raj.khem@gmail.com>
6 years agoman: typo
Zbigniew Jędrzejewski-Szmek [Thu, 22 Aug 2013 03:02:46 +0000 (23:02 -0400)]
man: typo

ohsix> ooh theres a typo in the example

6 years agotest: Make testing work on systems without or old systemd
Holger Hans Peter Freyther [Thu, 18 Jul 2013 06:30:06 +0000 (08:30 +0200)]
test: Make testing work on systems without or old systemd

* Introduce a macro to conditionally execute tests. This avoids
  skipping the entire test if some parts require systemd
* Skip the journal tests when no /etc/machine-id is present
* Change test-catalog to load the catalog from the source directory
  of systemd.
* /proc/PID/comm got introduced in v2.6.33 but travis is still
  using v2.6.32.
* Enable make check and make distcheck on the travis build
* Use -D"CATALOG_DIR=STR($(abs_top_srcdir)/catalog)" as a STRINGIY
  would result in the path '/home/ich/source/linux' to be expanded
  to '/home/ich/source/1' as linux is defined to 1.

6 years agoremove freenode verification file
Kay Sievers [Wed, 21 Aug 2013 12:11:43 +0000 (14:11 +0200)]
remove freenode verification file

6 years agoadd freenode verification
Kay Sievers [Wed, 21 Aug 2013 11:09:50 +0000 (13:09 +0200)]
add freenode verification

6 years agologs-show: fix condition for ellipsizing multi-line messages
Zbigniew Jędrzejewski-Szmek [Wed, 21 Aug 2013 05:34:57 +0000 (01:34 -0400)]
logs-show: fix condition for ellipsizing multi-line messages

falconindy> the ellipsizing seems a bit wrong here....

I got a bit carried away with putting dots everywhere :)

6 years agologs-show: show source timestamp in verbose mode
Zbigniew Jędrzejewski-Szmek [Thu, 8 Aug 2013 02:55:29 +0000 (22:55 -0400)]
logs-show: show source timestamp in verbose mode

This makes verbose behave like short mode, i.e. try to show
the source timestamp, and fall back to journald timestamp
only if unavailable or unparsable. I think verbose should
be like short, only showing more fields, and showing different
timestamps would be confusing.

6 years agologs-show: add short-precise mode with us timestamps
Zbigniew Jędrzejewski-Szmek [Sun, 4 Aug 2013 13:04:20 +0000 (09:04 -0400)]
logs-show: add short-precise mode with us timestamps

Also, always show us timestamps in verbose mode.

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

6 years agoRename F_TYPE_CMP() to F_TYPE_EQUAL()
Zbigniew Jędrzejewski-Szmek [Fri, 16 Aug 2013 03:13:48 +0000 (23:13 -0400)]
Rename F_TYPE_CMP() to F_TYPE_EQUAL()

6 years agokeymap: add Pavilion dv7 keys
Zbigniew Jędrzejewski-Szmek [Fri, 16 Aug 2013 01:40:56 +0000 (21:40 -0400)]
keymap: add Pavilion dv7 keys

6 years agoudev: when complaining about invalid characters, print them out
Zbigniew Jędrzejewski-Szmek [Fri, 16 Aug 2013 00:01:19 +0000 (20:01 -0400)]
udev: when complaining about invalid characters, print them out

systemd-udevd[6260]: invalid key/value pair in file /usr/lib/udev/rules.d/60-ffado.rules on line 46,starting at character 84 ('#')

6 years agogpt-auto-generator: do not show error for non-GPT disks
Zbigniew Jędrzejewski-Szmek [Thu, 15 Aug 2013 22:42:42 +0000 (18:42 -0400)]
gpt-auto-generator: do not show error for non-GPT disks

6 years agogpt-auto-generator: use _cleanup_ for blkid_free_probe
Zbigniew Jędrzejewski-Szmek [Thu, 15 Aug 2013 22:24:10 +0000 (18:24 -0400)]
gpt-auto-generator: use _cleanup_ for blkid_free_probe

6 years agogpt-auto-generator: include device name in error reports
Zbigniew Jędrzejewski-Szmek [Thu, 15 Aug 2013 22:05:04 +0000 (18:05 -0400)]
gpt-auto-generator: include device name in error reports

6 years agounits: disable kmod-static-nodes.service in containers
Zbigniew Jędrzejewski-Szmek [Mon, 19 Aug 2013 20:59:42 +0000 (16:59 -0400)]
units: disable kmod-static-nodes.service in containers

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

Note: upstream kmod has a patch [1] to exit with a warning if
modules.devname is missing. We could use new %v specifier to make this
service conditional on the existence of this file, but this could
mask a kernel installation error, hence we should let kmod run
even if the file doesn't exist.

[1] http://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=ae17710117

6 years agoman: fix spacing issue in systemd-nspawn(1)
Zbigniew Jędrzejewski-Szmek [Mon, 19 Aug 2013 20:00:13 +0000 (16:00 -0400)]
man: fix spacing issue in systemd-nspawn(1)

Same as 1e158d273.

6 years agobuild-sys: use no-tmpl flavour of gtkdocization
Zbigniew Jędrzejewski-Szmek [Mon, 19 Aug 2013 23:24:01 +0000 (19:24 -0400)]
build-sys: use no-tmpl flavour of gtkdocization

"tmpl" flavour is deprecated. Also this way we avoid a warning during
installation with older gtkdoc.

https://bugzilla.gnome.org/show_bug.cgi?id=701259

6 years agojournal: fix parsing of facility in syslog messages
Zbigniew Jędrzejewski-Szmek [Fri, 26 Jul 2013 16:57:33 +0000 (12:57 -0400)]
journal: fix parsing of facility in syslog messages

In 49998b383 (journald: do not overwrite syslog facility when
parsing priority) journald started ignoring facility part when
reading service stderr to convert to syslog messages. In this
case it is fine, because only the priority is allowed.

But the same codepath is used for syslog messages, where the
facility should be used. Split the two codepaths by explicitly
specyfing whether the facility should be ignored or not.

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

6 years agolibudev-enumerate.c:udev_enumerate_get_list_entry() fixed possible stale pointer
Harald Hoyer [Mon, 19 Aug 2013 13:18:43 +0000 (15:18 +0200)]
libudev-enumerate.c:udev_enumerate_get_list_entry() fixed possible stale pointer

If a realloc() happens in syspath_add(), the move_later pointer could
point to an invalid memory region.

Let move_later store the array index, instead of the pointer to the
entry.

6 years agoudev: replace CAP_MKNOD by writable /sys condition
Kay Sievers [Sat, 17 Aug 2013 17:07:42 +0000 (19:07 +0200)]
udev: replace CAP_MKNOD by writable /sys condition

6 years agobuild-sys: Add configure check for linux/btrfs.h
Michael Marineau [Thu, 15 Aug 2013 15:50:57 +0000 (11:50 -0400)]
build-sys: Add configure check for linux/btrfs.h

btrfs.h was added to uapi in Linux 3.9. To fix building with older
header versions this adds a configure check for the header and re-adds
btrfs definitions to missing.h which was removed in bed2e820 along with
two other ioctls used by gpt-auto-generator.

[ Apparently, btrfs.h was only added recently:
  http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=55e301fd57a6239ec14b91a1cf2e70b3dd135194
  let's re-add it for now -- kay ]

6 years agounits: make fsck units remain after exit
Zbigniew Jędrzejewski-Szmek [Thu, 15 Aug 2013 19:07:57 +0000 (15:07 -0400)]
units: make fsck units remain after exit

Without this, fsck would be re-run if any other service which pulls
in a target requiring one of the mounts was started after fsck was done
but before the initial transaction was done.

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

6 years agotypo fixes in man and comments
Thomas Hindoe Paaboel Andersen [Thu, 15 Aug 2013 21:38:09 +0000 (23:38 +0200)]
typo fixes in man and comments

6 years agotests: fix indentation
Thomas Hindoe Paaboel Andersen [Thu, 15 Aug 2013 21:32:38 +0000 (23:32 +0200)]
tests: fix indentation

6 years agolibudev: fix hwdb validation to look for the *new* file
Kay Sievers [Thu, 15 Aug 2013 17:54:03 +0000 (19:54 +0200)]
libudev: fix hwdb validation to look for the *new* file

6 years agoudevd: simplify sigterm check
Kay Sievers [Thu, 15 Aug 2013 17:51:08 +0000 (19:51 +0200)]
udevd: simplify sigterm check

6 years agobuild-sys: add clean-python target
Zbigniew Jędrzejewski-Szmek [Thu, 15 Aug 2013 16:54:54 +0000 (12:54 -0400)]
build-sys: add clean-python target

Building for a different version of Python requires removing all
build products for the old version. There's no nice way to do it,
short of doing 'make clean'. The new 'clean-python' target is a
bit hacky, but seems to work:
  ./configure PYTHON=python2 && make && make install
  make clean-python
  ./configure PYTHON=python3 --disable-gtk-doc --disable-man-pages && make && make install
should install modules for both versions of Python.

6 years agosystemd-python: check for oom, give nicer error messages
Zbigniew Jędrzejewski-Szmek [Thu, 15 Aug 2013 16:51:20 +0000 (12:51 -0400)]
systemd-python: check for oom, give nicer error messages

6 years agosystemd-python: fix initialization of _Reader objects
Steven Hiscocks [Thu, 15 Aug 2013 16:50:32 +0000 (12:50 -0400)]
systemd-python: fix initialization of _Reader objects

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

6 years agosysctl: allow overwriting of values specified in "later" files
Kay Sievers [Thu, 15 Aug 2013 16:35:03 +0000 (18:35 +0200)]
sysctl: allow overwriting of values specified in "later" files

6 years agoman: remove "wine" from unrelated man pages
Kay Sievers [Thu, 15 Aug 2013 16:07:47 +0000 (18:07 +0200)]
man: remove "wine" from unrelated man pages

6 years agohwdb: keyboard - remove stray "
Kay Sievers [Thu, 15 Aug 2013 14:07:51 +0000 (16:07 +0200)]
hwdb: keyboard  - remove stray "

<dvdhrm> kay, hwdb/60-keyboard.hwdb line 147 it says KEYBOARD_KEY_ee=screenlock"
         with a " at the end. I guess that's a typo?

6 years agohashmap: remove empty lines
Kay Sievers [Thu, 15 Aug 2013 13:15:36 +0000 (15:15 +0200)]
hashmap: remove empty lines

6 years agozsh_completion: Remove ctls function from _systemd
William Giokas [Thu, 15 Aug 2013 03:09:16 +0000 (22:09 -0500)]
zsh_completion: Remove ctls function from _systemd

The _ctls function in the main _systemd file is not needed.

6 years agozsh_completion: machinectl properties can be stacked
William Giokas [Thu, 15 Aug 2013 03:09:15 +0000 (22:09 -0500)]
zsh_completion: machinectl properties can be stacked

6 years agozsh_completion: Allow specifying multiple arguments
William Giokas [Thu, 15 Aug 2013 03:09:14 +0000 (22:09 -0500)]
zsh_completion: Allow specifying multiple arguments

Some of the options in systemd can take multiple arguments, such as
systemctl's --type option. Previously, you would only be able to
complete a single type after the -t, but now zsh will continue to
complete the types, separating them by commas.

systemd-inhibit's --what command has colon (:), and that has been taken
into account.

6 years agosystemd-cryptsetup: makes “discard” a synonym for “allow-discards”
Ondrej Balaz [Fri, 9 Aug 2013 18:37:52 +0000 (20:37 +0200)]
systemd-cryptsetup: makes “discard” a synonym for “allow-discards”

systemd-cryptsetup recognizes option 'allow-discards' in /etc/crypttab
to enable TRIM passthrough to underlying encrypted device. In Debian
this option was changed to 'discard' to avoid hyphen in option name.
(see: #648868 and `man crypttab`).

[zj: update crypttab(5) too, making "discard" the default.]

6 years agozsh_completion: Move helper function to autoload
William Giokas [Mon, 12 Aug 2013 17:41:18 +0000 (12:41 -0500)]
zsh_completion: Move helper function to autoload

_hosts_or_user_at_host was used by 6 different completions, and
previously was in all 6 of those files. I moved it out to its own file,
_sd_hosts_or_user_at_host. This will be autoloaded for use in other
completion functions. It also allows external completions to use this
function by simply calling _sd_hosts_or_user_at_host as in the systemd
completions.

6 years agosystemd.unit(5): clarify the Description= contents
Michael Stapelberg [Mon, 12 Aug 2013 19:59:41 +0000 (21:59 +0200)]
systemd.unit(5): clarify the Description= contents

6 years agofstab-generator: log_oom() if automount_name is null
WANG Chao [Tue, 13 Aug 2013 08:38:19 +0000 (16:38 +0800)]
fstab-generator: log_oom() if automount_name is null

6 years agozsh_completion: Correctly display journal fields
William Giokas [Wed, 14 Aug 2013 18:29:58 +0000 (13:29 -0500)]
zsh_completion: Correctly display journal fields

Show equals and field values when used with _journal_none, don't show
anything if we're not using _journal_none.

6 years agobootchart: remove +x permissions on .c file
Zbigniew Jędrzejewski-Szmek [Thu, 15 Aug 2013 01:47:38 +0000 (21:47 -0400)]
bootchart: remove +x permissions on .c file

6 years agohostnamectl: show only specific hostname when requested
Zbigniew Jędrzejewski-Szmek [Wed, 14 Aug 2013 22:55:11 +0000 (18:55 -0400)]
hostnamectl: show only specific hostname when requested

Existing --pretty, --transient, --static options, used previously
for 'set-hostname' verb, are reused for the 'status' verb. If one
of them is given, only the specified hostname is printed. This
way there's no need to employ awk to get the hostname in a script.

6 years agoREADME: update list of used LICENSEs
Kay Sievers [Wed, 14 Aug 2013 20:58:21 +0000 (22:58 +0200)]
README: update list of used LICENSEs

6 years agotest: add licence header and switch to LGPL
Kay Sievers [Wed, 14 Aug 2013 20:55:40 +0000 (22:55 +0200)]
test: add licence header and switch to LGPL

Checked with and got OK from Martin.

6 years agoselinux-access: move GPL to LGPL licence
Kay Sievers [Wed, 14 Aug 2013 20:34:41 +0000 (22:34 +0200)]
selinux-access: move GPL to LGPL licence

On Wed, Aug 14, 2013 at 10:31 PM, Daniel J Walsh <dwalsh@redhat.com> wrote:
> On 08/14/2013 04:17 PM, Kay Sievers wrote:
> >
> > this patch added GPL code to systemd, which otherwise is all LGPL. We need
> > to make sure we can always split out any code to a separate shared library
> > ...
> >
> > Mind if I switch your src/core/selinux-access.[ch] files to LGPL?

> I have no problem with it. Should be LGPL anyways.

6 years agoman: document the GPT partition types gpt-auto-generator looks for
Lennart Poettering [Tue, 13 Aug 2013 20:09:45 +0000 (22:09 +0200)]
man: document the GPT partition types gpt-auto-generator looks for

6 years agorandom-seed: a few modernizations
Lennart Poettering [Tue, 13 Aug 2013 20:01:55 +0000 (22:01 +0200)]
random-seed: a few modernizations

6 years agoman; document gpt-auto-generator
Lennart Poettering [Tue, 13 Aug 2013 19:57:43 +0000 (21:57 +0200)]
man; document gpt-auto-generator

6 years agoman: document systemd-efi-boot-generator
Lennart Poettering [Wed, 14 Aug 2013 01:31:06 +0000 (03:31 +0200)]
man: document systemd-efi-boot-generator

6 years agoman: add man page for systemd-backlight@.service
Lennart Poettering [Wed, 14 Aug 2013 01:11:30 +0000 (03:11 +0200)]
man: add man page for systemd-backlight@.service

6 years agobacklight: instead of syspath use sysname for identifying backlight devices
Lennart Poettering [Wed, 14 Aug 2013 00:55:57 +0000 (02:55 +0200)]
backlight: instead of syspath use sysname for identifying backlight devices

This makes the description string of the backlight service a bit nicer.

6 years agobacklight: add minimal tool to save/restore screen brightness across reboots
Lennart Poettering [Tue, 13 Aug 2013 23:57:02 +0000 (01:57 +0200)]
backlight: add minimal tool to save/restore screen brightness across reboots

As many laptops don't save/restore screen brightness across reboots,
let's do this in systemd with a minimal tool, that restores the
brightness as early as possible, and saves it as late as possible. This
will cover consoles and graphical logins, but graphical desktops should
do their own per-user stuff probably.

This only touches firmware brightness controls for now.

6 years agologind: restore logic to kill user processes when session ends
Lennart Poettering [Tue, 13 Aug 2013 15:59:28 +0000 (17:59 +0200)]
logind: restore logic to kill user processes when session ends

6 years agogpt-auto-generator: fix swap unit generation
Lennart Poettering [Tue, 13 Aug 2013 15:48:42 +0000 (17:48 +0200)]
gpt-auto-generator: fix swap unit generation

6 years agoupdate TODO
Lennart Poettering [Tue, 13 Aug 2013 08:32:24 +0000 (10:32 +0200)]
update TODO

6 years agobuild-sys: add two makefile symlinks
Lennart Poettering [Tue, 13 Aug 2013 08:22:02 +0000 (10:22 +0200)]
build-sys: add two makefile symlinks

6 years agogpt-auto-generator: Skip /home mounting if /home is not empty
Lennart Poettering [Tue, 13 Aug 2013 08:21:16 +0000 (10:21 +0200)]
gpt-auto-generator: Skip /home mounting if /home is not empty

6 years agogpt-auto-generator: add basic auto-discovery of GPT partitions
Lennart Poettering [Tue, 13 Aug 2013 08:13:45 +0000 (10:13 +0200)]
gpt-auto-generator: add basic auto-discovery of GPT partitions

This adds a simple generator that is capable of automatically
discovering certain GPT partitions by their type UUID and mount/enable
them. This currently covers swap partitions and /home partitions, but is
expected to grow more features soon.

This currently doesn't handle LUKS encrypted /home.

This enables all swap partitions of type
0657fd6da4ab43c484e50933c84b4f4f, if found.

This mounts the first partition of type 933ac7e12eb44f13b8440e14e2aef915
as /home, if it is found.

6 years agomissing: use btrfs.h instead of defining our own btrfs structures
Lennart Poettering [Tue, 13 Aug 2013 08:12:35 +0000 (10:12 +0200)]
missing: use btrfs.h instead of defining our own btrfs structures

6 years agoTODO: update
Kay Sievers [Mon, 12 Aug 2013 22:00:32 +0000 (00:00 +0200)]
TODO: update

6 years agoshell-completion: tell bash about --state
Zbigniew Jędrzejewski-Szmek [Mon, 12 Aug 2013 16:01:55 +0000 (12:01 -0400)]
shell-completion: tell bash about --state

6 years agologs-show: limit to 3 lines and use dots if not showing full message
Zbigniew Jędrzejewski-Szmek [Sun, 11 Aug 2013 14:56:09 +0000 (10:56 -0400)]
logs-show: limit to 3 lines and use dots if not showing full message

So far, we would show up to 128 bytes from a message, simply
cutting of the rest. With multiline messages, it is quite common
for a message to be longer than that, and this model doesn't really
work anymore.

A new limit is added: up to 3 lines will be shown, unless --full is
used (c.f. first line below).  The limit for bytes is extended to 300
bytes. An ellipsis will always be used, if some form of truncation
occurs. If the tail of the message is cut off, either because of
length or line limit, dots will be shown at the end of the last
line. If this last line is short, the dots will be simply appended. If
the last line is too long for that, it will be ellipsized with dots at
the very end.

Note that the limits are in bytes, not characters, and we suck at
outputting unicode strings (c.f. last three lines below).

Aug 11 10:46:21 fedora python[67]: test message
                                   line
                                   line...
Aug 11 10:50:47 fedora python[76]: test message word word word word word word word word word word word wor...
Aug 11 10:55:11 fedora python[83]: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Aug 11 11:03:21 fedora python[90]: ąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą...
Aug 11 11:03:53 fedora python[97]: aąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą...
Aug 11 11:25:45 fedora python[121]: aąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąąą�...

6 years agologs-show: fix indentation for 2nd and later lines, show lines in full
Zbigniew Jędrzejewski-Szmek [Thu, 8 Aug 2013 12:32:43 +0000 (08:32 -0400)]
logs-show: fix indentation for 2nd and later lines, show lines in full

Now --full will show long fields in full, like it already did
with --all.

6 years agosystemctl: show hint about --full when lines don't fit
Zbigniew Jędrzejewski-Szmek [Sat, 3 Aug 2013 23:38:13 +0000 (19:38 -0400)]
systemctl: show hint about --full when lines don't fit

6 years agosystemctl: add missing newline to --help output
Lennart Poettering [Thu, 8 Aug 2013 19:12:03 +0000 (21:12 +0200)]
systemctl: add missing newline to --help output

6 years agohwdb: map logitech R400 presenter keys from powerpoint hotkeys to sensible KEY_ defin...
Lennart Poettering [Thu, 8 Aug 2013 19:10:52 +0000 (21:10 +0200)]
hwdb: map logitech R400 presenter keys from powerpoint hotkeys to sensible KEY_ definitions

6 years agoupdate TODO
Lennart Poettering [Wed, 7 Aug 2013 10:36:59 +0000 (12:36 +0200)]
update TODO

6 years agofstab-generator: read rd.fstab=on/off switch correctly
WANG Chao [Fri, 9 Aug 2013 09:01:50 +0000 (17:01 +0800)]
fstab-generator: read rd.fstab=on/off switch correctly

6 years agoservice: prohibit Restart= set when Type=oneshot
Maciej Wereski [Fri, 9 Aug 2013 10:54:10 +0000 (12:54 +0200)]
service: prohibit Restart= set when Type=oneshot

6 years agoservice: always unwatch PIDs before forgetting old ones
Lennart Poettering [Fri, 9 Aug 2013 14:40:57 +0000 (16:40 +0200)]
service: always unwatch PIDs before forgetting old ones

6 years agofstab-generator: respect noauto/nofail when adding sysroot mount
WANG Chao [Thu, 8 Aug 2013 07:18:11 +0000 (15:18 +0800)]
fstab-generator: respect noauto/nofail when adding sysroot mount

Currently we don't respect noauto/nofail root mount options (from
rootflags kernel cmdline). We should map these two flags to the
corresponding boolean variable noauto and nofail when calling
add_mount().

6 years agoudevd: respect the log-level set in /etc/udev/udev.conf
Tom Gundersen [Thu, 8 Aug 2013 19:44:02 +0000 (21:44 +0200)]
udevd: respect the log-level set in /etc/udev/udev.conf

A regression introduced when we moved to systemd's logging is that the only
way to adjust the log-level of the udev daemon is via the env var, kernel
commandline or the commandline.

This reintroduces support for specifying this in the configuration file.

6 years agodbus: use _cleanup_free_ instead of freeing ourself
Ronny Chevalier [Thu, 25 Jul 2013 15:36:01 +0000 (17:36 +0200)]
dbus: use _cleanup_free_ instead of freeing ourself

6 years agohwdb: update
Kay Sievers [Wed, 7 Aug 2013 14:49:18 +0000 (16:49 +0200)]
hwdb: update

6 years agoTODO: add hwdb timestamp check
Kay Sievers [Wed, 7 Aug 2013 14:46:53 +0000 (16:46 +0200)]
TODO: add hwdb timestamp check

6 years agoudev: hwdb - try reading modalias for usb before falling back to the composed one
Kay Sievers [Wed, 7 Aug 2013 11:10:01 +0000 (13:10 +0200)]
udev: hwdb - try reading modalias for usb before falling back to the composed one

6 years agohwdb: add GIGABYTE U2442 mute key to the force-release list
Zbigniew Jędrzejewski-Szmek [Mon, 5 Aug 2013 02:46:38 +0000 (22:46 -0400)]
hwdb: add GIGABYTE U2442 mute key to the force-release list

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

6 years agokeymap: add HP EliteBook 2570p's wlan switch to hwdb
Christoph Junghans [Tue, 6 Aug 2013 01:54:00 +0000 (19:54 -0600)]
keymap: add HP EliteBook 2570p's wlan switch to hwdb

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

6 years agosystemd: fix segv in snapshot creation
Zbigniew Jędrzejewski-Szmek [Wed, 7 Aug 2013 01:30:34 +0000 (21:30 -0400)]
systemd: fix segv in snapshot creation

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

6 years agojournald: remove unused variable
Zbigniew Jędrzejewski-Szmek [Wed, 7 Aug 2013 01:02:35 +0000 (21:02 -0400)]
journald: remove unused variable

6 years agoTODO: add weird instance unit enable behavior
Kay Sievers [Tue, 6 Aug 2013 13:03:53 +0000 (15:03 +0200)]
TODO: add weird instance unit enable behavior

6 years agojournal: handle multiline syslog messages
Harald Hoyer [Thu, 1 Aug 2013 10:14:02 +0000 (12:14 +0200)]
journal: handle multiline syslog messages

Since the journal can handle multiple lines just well natively,
and rsyslog can be configured to handle them as well, there is no need
to truncate messages from syslog() after the first newline.

Reproducer:

1. Add following four lines to /etc/rsyslog.conf

   ----------
   $EscapeControlCharactersOnReceive off
   $ActionFileDefaultTemplate RSYSLOG_SysklogdFileFormat
   $SpaceLFOnReceive on
   $DropTrailingLFOnReception off
   ----------

3. Restart rsyslog
  # service rsyslog restart

4. Compile and run the following program

   ----------
   #include <stdio.h>
   #include <syslog.h>

   int main()
   {
    syslog(LOG_INFO, "aaa%caaa", '\n');
    return 0;
   }
   ----------

Actual results:
Below message appears in /var/log/messages.

   ----------
   Sep  7 19:19:39 localhost test2: aaa
   ----------

Expected results:
Below message, which worked prior to systemd-journald
appears in /var/log/messages.

   ----------
   Sep  7 19:19:39 localhost test2: aaa aaa

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

6 years agoman: fix typo in documentation of systemd-machined
Michael Scherer [Sun, 4 Aug 2013 20:36:42 +0000 (22:36 +0200)]
man: fix typo in documentation of systemd-machined

6 years agoman: wording and grammar updates
Jan Engelhardt [Sun, 4 Aug 2013 23:13:28 +0000 (01:13 +0200)]
man: wording and grammar updates

This includes regularly-submitted corrections to comma setting and
orthographical mishaps that appeared in man/ in recent commits.

6 years agosystemd-delta: Only print colors when on a tty
Daniel Schaal [Fri, 2 Aug 2013 05:59:02 +0000 (07:59 +0200)]
systemd-delta: Only print colors when on a tty

This make systemd-delta follow the behaviour of systemctl
and journalctl.

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

[zj: unify color query methods between those three programs.]

6 years agogitignore: add test-journal-init
Zbigniew Jędrzejewski-Szmek [Sun, 4 Aug 2013 12:07:55 +0000 (08:07 -0400)]
gitignore: add test-journal-init