Commit Graph
22750 Commits
Author SHA1 Message Date
Lennart Poettering c0ef14cbff Merge pull request #1560 from evverx/fix-default-chopping
bus-util: change `Default`-chopping to `Limit`-searching
2015-10-14 09:54:13 +02:00
Lennart Poettering 1385c4c908 Merge pull request #1558 from martinpitt/master
Fix keymap aliases and add support for Lenovo Thinkpad Yoga S1
2015-10-14 09:53:39 +02:00
Lennart Poettering aff2e16bfd Merge pull request #1561 from phomes/unused-function
manager: remove unused function
2015-10-14 09:47:52 +02:00
Martin Pitt 1d3f8fa747 keymap: Drop keyboard-keys-to-name.h
We don't use that anywhere any more. With the introduction of alias names it
also is not a proper mapping any more as several keys (e. g. KEY_COFFEE and
KEY_SCREENLOCK) have the same numerical mapping.
2015-10-14 07:15:58 +02:00
Martin Pitt c6853957f5 keymap: Drop ThinkPad Yoga
The Yoga's firmware sends key events whenever it's being folded or unfolded.
These are thus *not* a button for requesting a screen orientation change, just
an indication that this already happened. Thus they should not be assigned to
"direction", but be ignored. Assigning them to "reserved" does not silence the
"unknown key pressed" kernel warning, so there's no point in maintaining a
mapping here.

Fixes #1440
2015-10-14 07:15:58 +02:00
Martin Pitt 4c14822029 keymap: Recognize KEY_* aliases
linux/input.h contains alias definitions like

  #define KEY_COFFEE              152
  #define KEY_SCREENLOCK          KEY_COFFEE
  #define KEY_ROTATE_DISPLAY      153
  #define KEY_DIRECTION           KEY_ROTATE_DISPLAY

But we ignored these when building keyboard-keys-list.txt. Also allow the value
to start with "K" now (for KEY_*), and drop the hardcoded COFFEE →  SCREENLOCK
aliasing.

This fixes assignments to key "direction".

Fixes #1151
2015-10-14 07:15:54 +02:00
Thomas Hindoe Paaboel Andersen 74165387ee manager: remove unused function 2015-10-13 22:17:26 +02:00
Evgeny Vereshchagin f6bcaf4cf6 bus-util: change Default-chopping to Limit-searching
See https://github.com/systemd/systemd/pull/1534#commitcomment-13744013

Actually, thinking about this, maybe it would be nicer to actually look
for "Limit" in the string rather than chopping off a "Default"....
Sounds more generic...
2015-10-13 18:45:11 +00:00
Zbigniew Jędrzejewski-Szmek e296313f7b man: /dev/kmsg is not a socket
Fixup for #1542.
2015-10-13 14:22:12 -04:00
Lennart Poettering e88a5a5bde Merge pull request #1548 from evverx/journalctl-catalog-ops-fixes
Fix journalctl --dump-catalog, journalctl --list-catalog
2015-10-13 19:23:54 +02:00
Lennart Poettering 400c32ef24 Merge pull request #1534 from evverx/expose-rlimits-on-dbus
Expose `DefaultLimit*` as properties on dbus
2015-10-13 17:28:29 +02:00
Lennart Poettering 18438f262c Merge pull request #1542 from keszybz/journal-audit-optional
Make journald audit socket maskable
2015-10-13 17:23:33 +02:00
Daniel Mack c7e2496a21 Merge pull request #1544 from keszybz/man-IPv6AcceptRouterAdvertisements
man: describe IPv6AcceptRouterAdvertisements= better
2015-10-13 13:46:39 +02:00
Daniel Mack 342de08f1a Merge pull request #1545 from keszybz/check-for-xsltproc
build-sys: check for xsltproc when building manpages
2015-10-13 13:46:01 +02:00
Lennart Poettering 1fff17d536 Merge pull request #1552 from jsynacek/short-flags-since-until
journalctl: introduce short options for --since and --until
2015-10-13 12:41:13 +02:00
Jan Synacek 66f529249a journalctl: introduce short options for --since and --until
Fixes #1514.
2015-10-13 10:51:28 +02:00
Evgeny Vereshchagin f98a41c21d journalctl: enable args for --dump-catalog and --list-catalog
`journalctl --dump-catalog ID1 ID2 ...` works fine.
2015-10-13 09:04:11 +03:00
Evgeny Vereshchagin dd598123a9 journalctl: open pager for --dump-catalog and --list-catalog 2015-10-13 09:01:37 +03:00
Zbigniew Jędrzejewski-Szmek 37b7affefd Document journald sockets paths a bit more
Adding them to the documentation makes it easier to find
the right man page for people who are trying to understand
where some socket in the filesystem is coming from.
2015-10-12 13:58:54 -04:00
Zbigniew Jędrzejewski-Szmek 2fd385c670 build-sys: check for xsltproc when building manpages
Only check for xsltproc if it will be used.
If not found, complain.

https://github.com/systemd/systemd/issues/1521
2015-10-12 13:53:55 -04:00
Zbigniew Jędrzejewski-Szmek ebf9808112 man: describe IPv6AcceptRouterAdvertisements= better
With the previous description it wasn't clear that the
kernel default is being described.

Add link to kernel docs.
2015-10-12 13:50:29 -04:00
Zbigniew Jędrzejewski-Szmek 7d18d348da journald: make audit socket optional
If we were given some sockets through socket activation, and audit
socket is not among them, do not try to open it. This way, if the
socket unit is disabled, we will not receive audit events.

https://bugzilla.redhat.com/show_bug.cgi?id=1227379
2015-10-12 13:12:08 -04:00
Daniel Mack 7e3ce75d34 Merge pull request #1536 from jsynacek/master
po/da: use unix line endings
2015-10-12 15:27:37 +02:00
David Herrmann b7d18f23df Merge pull request #1540 from zonque/cmsg
sd-daemon: wipe out memory before using CMSG_NXTHDR()
2015-10-12 15:23:51 +02:00
Daniel Mack 40f4423892 sd-daemon: wipe out memory before using CMSG_NXTHDR()
CMSG_NXTHDR() checks for cmsg->cmsg_len *after* it increased the pointer.
While this makes sense for parsing received messages, that's a pitfall
for code crafting messages with this macro.

Wipe out the allocated memory to fix this.
2015-10-12 15:15:25 +02:00
Jan Synacek 05104d9c99 po/da: use unix line endings 2015-10-12 09:56:24 +02:00
Daniel Mack 09ba85f557 Merge pull request #1532 from phomes/trivial-fixes
Trivial fixes
2015-10-12 09:45:58 +02:00
Evgeny Vereshchagin 97eb423157 core: manager: expose DefaultLimit* as properties on dbus 2015-10-12 06:39:00 +00:00
Evgeny Vereshchagin c9d031c353 bus-util: add bus_property_get_rlimit (move from core/dbus_execute) 2015-10-12 05:16:05 +00:00
Thomas Hindoe Paaboel Andersen 2366ab3026 shared: remove an unused variable 2015-10-11 19:40:54 +02:00
Thomas Hindoe Paaboel Andersen ac9455efdd rfkill: consistently use = in designator 2015-10-11 19:40:54 +02:00
Daniel Mack 0a41d91f30 Merge pull request #1524 from Danielmachon/catalog-danish-translation
catalog: added systemd.da.catalog
2015-10-10 19:15:28 +02:00
Danielmachon e06055d77c catalog: added systemd.da.catalog 2015-10-10 18:35:44 +02:00
Lennart Poettering e930d14ac8 Merge pull request #1510 from mirco/fix-nspawn
nspawn: create /sys/fs/cgroup for unified hierarchy as well
2015-10-09 18:45:42 +03:00
Martin Pitt 88ef5e639b Merge pull request #1516 from poettering/dontisolaterootslice
Don't isolate `-.slice`
2015-10-09 17:32:30 +02:00
Lennart Poettering 417800228f core: ignore -.slice and init.scope when isolating
Otherwise, we might end up trying to isolate it away when starting user
instances.

While we are at it, also prohibit manual start/stop of these two units.

Fixes: #1507
2015-10-09 17:20:32 +02:00
Lennart Poettering c463a6f1c4 sd-daemon: simply code simplification
No change in behaviour, just make the code more obvious.
2015-10-09 17:20:32 +02:00
Lennart Poettering b492ce8a22 core: remove taint flag about /etc/mtab not being a symlink.
We already stop boot if /etc/mtab is not a symlink right now, and most
likely we'll stop referecing it at all in the future, either way there's
no point in keeping it around as taint flag.
2015-10-09 17:20:32 +02:00
Lennart Poettering b3ccac01cc zsh: don't mention /etc/mtab
The file is obsolete, use /proc/self/mounts instead.

Also, yuck, the code is so awful...
2015-10-09 17:20:32 +02:00
Lennart Poettering 2c882b8bfa Merge pull request #1512 from evverx/systemd-run-syslog-properties
systemd-run can launch units with SyslogIdentifier and SyslogLevelPrefix
2015-10-09 17:06:22 +03:00
Lennart Poettering ce3cef2c52 Merge pull request #1501 from fbuihuu/fix-requires-mounts-for-directives
Make sure the mount units pulled by 'RequiresMountsFor=' are loaded, if they exist
2015-10-09 17:04:36 +03:00
Evgeny Vereshchagin dc800d8406 shell-completion: systemd-run: add new properties 2015-10-09 12:42:34 +00:00
Evgeny Vereshchagin de53c41748 systemd-run can now launch units with SyslogIdentifier 2015-10-09 12:37:50 +00:00
Evgeny Vereshchagin 047d99337f systemd-run can now launch units with SyslogLevelPrefix 2015-10-09 12:17:41 +00:00
Mirco Tischler 88e1057286 nspawn: create /sys/fs/cgroup for unified hierarchy as well 2015-10-09 13:12:08 +02:00
Daniel Mack 3a3f71e5f0 Merge pull request #1504 from evverx/systemd-run-new-properties
shell-completion: systemd-run: add new properties
2015-10-09 08:52:55 +02:00
Evgeny Vereshchagin f961371fb7 shell-completion: systemd-run: add new properties
See:
* 602b83559a
* b9c50073fc
2015-10-09 06:49:46 +03:00
Franck Bui c7c89abb9e Make sure the mount units pulled by 'RequiresMountsFor=' are loaded (if they exist)
We should make sure that mount units involved by 'RequiresMountsFor='
directives are really loaded if not required by any others units so
that Requires= dependencies on the mount units are applied and thus
the mount unit dependencies are started.
2015-10-08 21:24:22 +02:00
Lennart Poettering 767e2d52d0 Merge pull request #1499 from evverx/system-conf-update
core: system.conf: add DefaultTasksAccounting
2015-10-08 19:57:36 +03:00
Evgeny Vereshchagin b3972d454d core: system.conf: add DefaultTasksAccounting 2015-10-08 17:48:45 +03:00