Alexey Shabalin [Fri, 17 May 2013 16:11:40 +0000 (17 20:11 +0400)]
fix files
Alexey Shabalin [Fri, 17 May 2013 16:01:35 +0000 (17 20:01 +0400)]
update gear tags list
Alexey Shabalin [Fri, 17 May 2013 16:00:42 +0000 (17 20:00 +0400)]
Merge branch 'altlinux'
Alexey Shabalin [Fri, 17 May 2013 16:00:29 +0000 (17 20:00 +0400)]
fix build util_strscpy -> strscpy
Alexey Shabalin [Fri, 17 May 2013 15:08:46 +0000 (17 19:08 +0400)]
add systemd-coredump package
Alexey Shabalin [Fri, 17 May 2013 14:36:39 +0000 (17 18:36 +0400)]
204-alt2
- fix permitions for ALTLinux in /lib/tmpfiles.d/legacy.conf
- move sysctl and tmpfiles configs to systemd-utils
- use /sbin/systemd-tmpfiles for create static inodes in SysV init script
Alexey Shabalin [Fri, 17 May 2013 13:13:56 +0000 (17 17:13 +0400)]
add sysctl config for disable coredump
Alexey Shabalin [Fri, 17 May 2013 12:42:29 +0000 (17 16:42 +0400)]
use /sbin/systemd-tmpfiles for create static inodes in /dev
Alexey Shabalin [Fri, 17 May 2013 12:37:24 +0000 (17 16:37 +0400)]
Merge branch 'altlinux'
Alexey Shabalin [Fri, 17 May 2013 12:37:12 +0000 (17 16:37 +0400)]
fix permitions for ALTLinux
Alexey Shabalin [Fri, 17 May 2013 12:07:27 +0000 (17 16:07 +0400)]
apply net.* from etcnet
Michael Shigorin [Thu, 16 May 2013 16:27:08 +0000 (16 19:27 +0300)]
204-alt1.1
- NMU: apply F18 patch to revert upstream breakage of ethX/ethY
renaming, see also RH#896135, FDO#53837, FDO#56929
Michael Shigorin [Thu, 16 May 2013 16:22:29 +0000 (16 19:22 +0300)]
Merge branch 'altlinux'
Michal Schmidt [Thu, 16 May 2013 16:20:05 +0000 (16 19:20 +0300)]
[PATCH] (F18) Revert "udev: network device renaming - immediately give up if the target name isn't available"
This reverts commit
97595710b77aa162ca5e20da57d0a1ed7355eaad (and fixes
it up for printk_kmsg-related changes that came later).
Many users upgraded from earlier Fedora releases and kept their
/etc/udev/rules.d/70-persistent-net.rules with rules renaming interfaces
into the ethX namespace. The udev change that made this entirely
unsupported was not announced loud enough. For F18 let's re-add the
renaming hack.
Add an annoying message about the need to fix udev rules.
BZ: https://bugzilla.redhat.com/show_bug.cgi?id=896135
Alexey Shabalin [Sat, 11 May 2013 22:14:58 +0000 (12 02:14 +0400)]
mkdir /bin
Alexey Shabalin [Sat, 11 May 2013 22:01:37 +0000 (12 02:01 +0400)]
204-alt1
- 204
- add symlink /bin/systemctl -> /sbin/systemctl
Alexey Shabalin [Sat, 11 May 2013 22:00:35 +0000 (12 02:00 +0400)]
Merge branch 'altlinux'
Alexey Shabalin [Sat, 11 May 2013 21:57:57 +0000 (12 01:57 +0400)]
fix error: too few arguments
Alexey Shabalin [Sat, 11 May 2013 21:10:27 +0000 (12 01:10 +0400)]
Merge branch 'upstream' into altlinux
Auke Kok [Thu, 9 May 2013 16:39:15 +0000 (9 09:39 -0700)]
systemctl does not expand %u, so revert back to %I
The description field is only displayed by systemctl, and
it can't expand %u properly (it will always display "root").
Lennart Poettering [Thu, 9 May 2013 13:45:50 +0000 (9 15:45 +0200)]
build-sys: prepare 204
Lennart Poettering [Thu, 9 May 2013 13:32:27 +0000 (9 15:32 +0200)]
man: document that the kernel's audit subsystem is currently incompatible with nspawn containers
Karol Lewandowski [Tue, 7 May 2013 11:21:46 +0000 (7 13:21 +0200)]
condition, man: Add support for ConditionSecurity=smack
According to Documentation/security/Smack.txt:
In keeping with the intent of Smack, configuration data is minimal
and not strictly required. The most important configuration step is
mounting the smackfs pseudo filesystem.
This means that checking the mount point should be enough.
Zbigniew Jędrzejewski-Szmek [Wed, 8 May 2013 23:46:49 +0000 (8 19:46 -0400)]
systemd-python: add wrappers for easy functions in sd-login
sd_get_uids, sd_get_seats, sd_get_sessions, and sd_get_machine_names.
Zbigniew Jędrzejewski-Szmek [Thu, 9 May 2013 01:08:14 +0000 (8 21:08 -0400)]
systemd-python: add __version__ strings
Zbigniew Jędrzejewski-Szmek [Wed, 8 May 2013 01:07:39 +0000 (7 21:07 -0400)]
Rearrange a few fields to reduce holes
Zbigniew Jędrzejewski-Szmek [Tue, 7 May 2013 00:00:16 +0000 (6 20:00 -0400)]
man: add permalinks to subsection titles too
Alexey Shabalin [Wed, 8 May 2013 16:40:12 +0000 (8 20:40 +0400)]
add systemd-utils package
Alexey Shabalin [Wed, 8 May 2013 15:18:42 +0000 (8 19:18 +0400)]
fix files after moved root utils to /sbin
Alexey Shabalin [Wed, 8 May 2013 15:12:04 +0000 (8 19:12 +0400)]
disable build python module
Alexey Shabalin [Wed, 8 May 2013 15:11:18 +0000 (8 19:11 +0400)]
203-alt1
- 203
- move root utils to /sbin
- split systemd-bash3 completion to several files
Alexey Shabalin [Wed, 8 May 2013 15:02:59 +0000 (8 19:02 +0400)]
Merge branch 'altlinux'
Alexey Shabalin [Wed, 8 May 2013 11:58:00 +0000 (8 15:58 +0400)]
define rootbindir as /sbin
Lennart Poettering [Tue, 7 May 2013 18:56:30 +0000 (7 20:56 +0200)]
update TODO
Lennart Poettering [Tue, 7 May 2013 18:56:05 +0000 (7 20:56 +0200)]
hostnamectl: suppress outputting of pretty hostname field in status if empty
Lennart Poettering [Tue, 7 May 2013 18:55:11 +0000 (7 20:55 +0200)]
hostname: only suppress setting of pretty hostname if it is non-equal to the static hostname and if the static hostname is set, too
https://bugzilla.redhat.com/show_bug.cgi?id=957814
Zbigniew Jędrzejewski-Szmek [Tue, 7 May 2013 18:38:51 +0000 (7 14:38 -0400)]
build-sys: properly mkdir for GENERAL_ALIASES
Previous commit (
20d408766) was broken. The problem is not connected
to DESTDIR being set or not, but to the fact that targets in
$GENERAL_ALIASES have directory components, so mkdir -p wasn't
recursing deep enough.
Zbigniew Jędrzejewski-Szmek [Tue, 7 May 2013 18:13:04 +0000 (7 14:13 -0400)]
build-sys: properly mkdir with DESTDIR set
grawity> ln: failed to create symbolic link
‘/home/grawity/pkg/aur/systemd-git/pkg/systemd//etc/systemd/system/multi-user.target.wants/remote-fs.target’: No such file or directory
Lennart Poettering [Tue, 7 May 2013 17:07:27 +0000 (7 19:07 +0200)]
journald: don't recalculate the ACL mask
Otherwise we might end up with executable files if some default ACL is
set for the journal directory.
Lennart Poettering [Tue, 7 May 2013 17:03:46 +0000 (7 19:03 +0200)]
build-sys: support builds without EAs again
Alexey Shabalin [Tue, 7 May 2013 16:44:53 +0000 (7 20:44 +0400)]
update spec for install bash completions
Alexey Shabalin [Tue, 7 May 2013 16:30:00 +0000 (7 20:30 +0400)]
update gear rules
Alexey Shabalin [Tue, 7 May 2013 16:29:11 +0000 (7 20:29 +0400)]
split systemd-bash3 complrtion to several files
Lennart Poettering [Tue, 7 May 2013 15:51:41 +0000 (7 17:51 +0200)]
hashmap: document trivial_hash_func()
Lennart Poettering [Tue, 7 May 2013 15:48:25 +0000 (7 17:48 +0200)]
kmod-setup: properly iterate through module table
Previously we skipped every second entry.
This also cleans up much of the code and removes some dead code.
Zbigniew Jędrzejewski-Szmek [Tue, 7 May 2013 15:35:23 +0000 (7 11:35 -0400)]
systemd-sleep: it is not an error if the config file is missing
Alexey Shabalin [Tue, 7 May 2013 14:41:13 +0000 (7 18:41 +0400)]
mv udev-bash3 udevadm-bash3
Alexey Shabalin [Tue, 7 May 2013 14:32:31 +0000 (7 18:32 +0400)]
update bash3 completion
Alexey Shabalin [Tue, 7 May 2013 12:17:58 +0000 (7 16:17 +0400)]
Merge branch 'altlinux'
Alexey Shabalin [Tue, 7 May 2013 12:17:41 +0000 (7 16:17 +0400)]
Merge branch 'upstream' into altlinux
Lennart Poettering [Tue, 7 May 2013 10:47:30 +0000 (7 12:47 +0200)]
login: add missing _public_ to sd_get_machine_names()
Alexey Shabalin [Tue, 7 May 2013 10:33:54 +0000 (7 14:33 +0400)]
Merge branch 'upstream' into altlinux
Conflicts:
man/systemd-readahead-replay.service.xml
Signed-off-by: Alexey Shabalin <shaba@altlinux.org>
Lennart Poettering [Tue, 7 May 2013 00:42:15 +0000 (7 02:42 +0200)]
update TODO
Lennart Poettering [Mon, 6 May 2013 23:09:33 +0000 (7 01:09 +0200)]
journald: be more careful when we try to flush the runtime journal to disk and the disk is close to being full
Bump the minimal size of the journal so that we can be sure creating the
journal file will always succeed. Previously the minimum size was
smaller than a empty jounral file...
Lennart Poettering [Mon, 6 May 2013 21:59:14 +0000 (6 23:59 +0200)]
NEWS: typo fix
Lennart Poettering [Mon, 6 May 2013 21:43:59 +0000 (6 23:43 +0200)]
build-sys: prepare new release
MUNEDA Takahiro [Tue, 23 Apr 2013 17:34:38 +0000 (23 13:34 -0400)]
core: escape unit name from udev
This patch escapes a unit name which was derived from udev.
Please imagine following udev rule.
ACTION=="online|offline", TAG+="systemd", ENV{SYSTEMD_WANTS}="muneda@%p.service"
ACTION=="online|offline", TAG+="systemd", ENV{SYSTEMD_WANTS}="muneda@%r.service"
ACTION=="online|offline", TAG+="systemd", ENV{SYSTEMD_WANTS}="muneda@%S.service"
When unit name is derived from udev via
udev_device_get_property_value(), the name may contains '/' if
ENV{SYSTEMD_WANTS} has the udev options $devpath(%p), $root(%r), or
$sys(%S). However, '/' is a invalid char for unit name so processing
of this rule fails as Invalid argument with following message.
Apr 22 13:21:37 localhost systemd[1]: Failed to load device unit: Invalid argument
Apr 22 13:21:37 localhost systemd[1]: Failed to process udev device event: Invalid argument
This patch escapes those invalid chars in a unit name.
Tested with 202, and confirmed to apply cleanly on top of commit
195f8e36.
Thanks,
Takahiro
Zbigniew Jędrzejewski-Szmek [Sat, 4 May 2013 16:31:28 +0000 (4 12:31 -0400)]
systemd-sleep: add support for freeze and standby
A new config file /etc/systemd/sleep.conf is added.
It is parsed by systemd-sleep and logind. The strings written
to /sys/power/disk and /sys/power/state can be configured.
This allows people to use different modes of suspend on
systems with broken or special hardware.
Configuration is shared between systemd-sleep and logind
to enable logind to answer the question "can the system be
put to sleep" as correctly as possible without actually
invoking the action. If the user configured systemd-sleep
to only use 'freeze', but current kernel does not support it,
logind will properly report that the system cannot be put
to sleep.
https://bugs.freedesktop.org/show_bug.cgi?id=57793
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=commit;h=
7e73c5ae6e7991a6c01f6d096ff8afaef4458c36
http://lists.freedesktop.org/archives/systemd-devel/2013-February/009238.html
SYSTEM_CONFIG_FILE and USER_CONFIG_FILE defines were removed
since they were used in only a few places and with the
addition of /etc/systemd/sleep.conf it becomes easier to just
append the name of each file to the dir name.
Zbigniew Jędrzejewski-Szmek [Sat, 4 May 2013 15:38:23 +0000 (4 11:38 -0400)]
fileio: split write_one_line_file into two
The new function allows one to write to an already
open file.
Daniel Wallace [Sun, 5 May 2013 23:09:53 +0000 (5 18:09 -0500)]
zsh_completion: complete only pids for systemd-coredumpctl
Instead of completing the whole line, which doesn't work, only complete
the pid, but still show the whole line so the user can see which command
was which.
Users can also let the parameter expansion sort the completion by date
instead of by pid, by setting
zstyle ':completion:*:*:systemd-coredumpctl:*' sort no
so that the zshcompsys doesn't sort the _describe function for only
systemd-coredumpctl.
Ross Lagerwall [Mon, 6 May 2013 14:32:23 +0000 (6 15:32 +0100)]
man: fix typos in systemd.special
Lennart Poettering [Mon, 6 May 2013 20:47:41 +0000 (6 22:47 +0200)]
man: clarify behaviour of Also= in unit files
Lennart Poettering [Mon, 6 May 2013 20:39:17 +0000 (6 22:39 +0200)]
man: correct SIGUSR1 semantics for journald
Lennart Poettering [Mon, 6 May 2013 20:28:39 +0000 (6 22:28 +0200)]
core: unit_inactive_or_pending() should actually do as it claims
Lennart Poettering [Mon, 6 May 2013 20:26:55 +0000 (6 22:26 +0200)]
update TODO
Nirbheek Chauhan [Tue, 9 Apr 2013 13:00:24 +0000 (9 18:30 +0530)]
condition, man: Add support for ConditionSecurity=apparmor
Checking for the apparmor directory in securityfs means the apparmor module is
loaded and enabled, and hence should suffice as a test.
https://bugs.freedesktop.org/show_bug.cgi?id=63312
Lennart Poettering [Mon, 6 May 2013 19:15:38 +0000 (6 21:15 +0200)]
quota: use QUOTACHECK path correctly as tested in configure.ac
https://bugs.freedesktop.org/show_bug.cgi?id=63555
Lennart Poettering [Mon, 6 May 2013 19:04:31 +0000 (6 21:04 +0200)]
nspawn: explain that we look for /etc/os-release in the container directory
https://bugs.freedesktop.org/show_bug.cgi?id=64014
Kay Sievers [Mon, 6 May 2013 15:39:07 +0000 (6 17:39 +0200)]
hwdb: update
Kay Sievers [Mon, 6 May 2013 15:38:27 +0000 (6 17:38 +0200)]
TODO: update
Harald Hoyer [Tue, 30 Apr 2013 16:01:47 +0000 (30 18:01 +0200)]
kernel-install: add default install scripts
Do the depmod in the kernel-install hooks, so hooks can produce/install
kernel modules and be part of the depmod.
Also move the basic boot loader entry creation and removal to a
plugin script.
If PRETTY_NAME is not defined in /etc/os-release, fallback to
PRETTY_NAME="Linux $KERNEL_VERSION".
Add documentation for everything in the man page.
Ville Skyttä [Fri, 3 May 2013 20:43:12 +0000 (3 23:43 +0300)]
keymap/findkeyboards: avoid throwaway attribute-walk
Ville Skyttä [Fri, 3 May 2013 20:43:11 +0000 (3 23:43 +0300)]
Spelling fixes
Zbigniew Jędrzejewski-Szmek [Sat, 4 May 2013 00:25:57 +0000 (3 20:25 -0400)]
man: provide "permalinks" to sections and terms
So no one needs to say "go to fd.o/software/systemd/man, open page X,
then scroll down to section 3, and look for ..." anymore.
Zbigniew Jędrzejewski-Szmek [Fri, 3 May 2013 23:56:54 +0000 (3 19:56 -0400)]
systemctl: use GREEDY_REALLOC in one more place
Zbigniew Jędrzejewski-Szmek [Fri, 3 May 2013 23:56:18 +0000 (3 19:56 -0400)]
journal: as a µ-opt, use sizeof instead of strlen
Lennart Poettering [Fri, 3 May 2013 17:02:24 +0000 (3 19:02 +0200)]
cgroup: when escaping a cgroup object name, also escape names that start with a dot
Lennart Poettering [Fri, 3 May 2013 16:58:44 +0000 (3 18:58 +0200)]
update TODO
Lukas Nykryn [Fri, 3 May 2013 10:52:19 +0000 (3 12:52 +0200)]
systemctl: add --plain option to list-dependencies
This patch adds more script-friendly output for list-dependencies.
Colin Guthrie [Tue, 30 Apr 2013 10:48:11 +0000 (30 11:48 +0100)]
journal: Set the default keep free value to 15% (up from 5%)
As some SSDs are still seeing performance degredation when
reaching 85% usage the default value of 5% seems a little low.
Set this to 15% by default.
Lennart Poettering [Fri, 3 May 2013 14:32:41 +0000 (3 16:32 +0200)]
core: bump simultaneous bus connection limit to 512
Lennart Poettering [Fri, 3 May 2013 13:25:44 +0000 (3 15:25 +0200)]
cryptsetup: downgrade world-writable warning again
This semi-reverts
8973790ee6f62132b1b57de15c4edaef2c097004.
Lennart Poettering [Fri, 3 May 2013 12:19:19 +0000 (3 14:19 +0200)]
update TODO
Zbigniew Jędrzejewski-Szmek [Fri, 3 May 2013 04:55:20 +0000 (3 00:55 -0400)]
man: add various filenames to the index
Everything which is an absolute filename marked with <filename></filename>
lands in the index, unless noindex= attribute is present. Should make
it easier for people to find stuff when they are looking at a file on
disk.
Various formatting errors in manpages are fixed, kernel-install(1) is
restored to formatting sanity.
Zbigniew Jędrzejewski-Szmek [Fri, 3 May 2013 03:54:00 +0000 (2 23:54 -0400)]
build-sys: tell rsync no to tranfer times and permissions
When rsyncing to fd.o, rsync would fail on symlinks in man/.
We don't care about the times too much anyway. rsync will
set times to "now", which is fine, since modification times
don't matter much outside of each uploader's machine anyway.
The point is to complete all steps of the transfer, so Python
documentation is properly updated.
Zbigniew Jędrzejewski-Szmek [Fri, 3 May 2013 03:35:45 +0000 (2 23:35 -0400)]
man: link to socket activation blog entries
Zbigniew Jędrzejewski-Szmek [Thu, 2 May 2013 02:30:54 +0000 (1 22:30 -0400)]
build-sys: "link" python _reader and pam_systemd against libsd-daemon-internal
The same old story as
d3b9e0ff: those two use libsystemd-shared, and
in turn, some functions in libsystemd-shared use libsystemd-daemon.
The fact that *those* functions are used neither by the python modules
in question nor pam_systemd isn't always enough. Currently, I'm seeing
linking failures with -flto. The result of adding
libsystemd-daemon-internal to the list of linked libraries should be
harmless, with no change in size or final link requirements.
Zbigniew Jędrzejewski-Szmek [Fri, 3 May 2013 02:51:50 +0000 (2 22:51 -0400)]
time-dst: use _cleanup_
Zbigniew Jędrzejewski-Szmek [Fri, 3 May 2013 02:51:50 +0000 (2 22:51 -0400)]
Add __attribute__((const, pure, format)) in various places
I'm assuming that it's fine if a _const_ or _pure_ function
calls assert. It is assumed that the assert won't trigger,
and even if it does, it can only trigger on the first call
with a given set of parameters, and we don't care if the
compiler moves the order of calls.
Daniel Buch [Fri, 26 Apr 2013 16:40:08 +0000 (26 18:40 +0200)]
hashmap.h: fix coding style issue
Daniel Buch [Thu, 2 May 2013 21:50:49 +0000 (2 23:50 +0200)]
test-hashmap.c: add unit-test for hashmap
Kay Sievers [Thu, 2 May 2013 17:01:49 +0000 (2 19:01 +0200)]
kdbus: update kdbus.h from upstream
Auke Kok [Thu, 2 May 2013 16:40:52 +0000 (2 09:40 -0700)]
bootchart: cleanup unused structs and globals
Nathaniel Chen [Wed, 24 Apr 2013 21:56:15 +0000 (24 14:56 -0700)]
Dynamically allocate bootchart logs
Instead of storing bootchart sample data in arrays, this patch moves
storage to linked lists so that there is no more limit on samples.
This patch also fixes parsing of /proc/<pid>/smaps in kernels > 3.7.
Nathaniel Chen [Thu, 2 May 2013 16:21:23 +0000 (2 09:21 -0700)]
Add help option to bootchart man page
Bootchart has a help option. For the sake of consistency, this patch
adds it to the man page.
Also, the TODO is updated. Bootcharts were added to the journal in
commit
c4d58b0.
Kay Sievers [Thu, 2 May 2013 15:57:49 +0000 (2 17:57 +0200)]
kdbus: update kdbus.h from upstream
Dave Reisner [Thu, 2 May 2013 14:39:53 +0000 (2 10:39 -0400)]
nspawn: inherit the exit status of container
If we get as far as successfully starting the container, nspawn should
inherit the exit status of the child container process as its own.
Cristian Rodríguez [Wed, 1 May 2013 02:07:33 +0000 (30 22:07 -0400)]
Annotate some functions as _const_
hexchar,unhexchar,octchar,unoctchar,decchar,undecchar are
all const functions.
Ronny Chevalier [Wed, 24 Apr 2013 13:17:19 +0000 (24 15:17 +0200)]
dbus-execute: fix introspection
Add missing property and remove duplicate properties already in
src/core/dbus-kill.h
Zbigniew Jędrzejewski-Szmek [Tue, 30 Apr 2013 04:35:38 +0000 (30 00:35 -0400)]
cgls: add --machine/-M
cg_get_machine_path is modified to include the escaped machine name
+ ".nspawn" if the machine argument is nonnull.