Lennart Poettering [Tue, 8 Jan 2013 01:37:37 +0000 (02:37 +0100)]
build-sys: fix spelling of sysvrcndir
Lennart Poettering [Tue, 8 Jan 2013 01:27:22 +0000 (02:27 +0100)]
update NEWS
Lennart Poettering [Tue, 8 Jan 2013 00:42:41 +0000 (01:42 +0100)]
build-sys: bump version and so revisions
Lennart Poettering [Tue, 8 Jan 2013 00:27:39 +0000 (01:27 +0100)]
core: properly initialize kernel timestamp
Lennart Poettering [Tue, 8 Jan 2013 00:27:18 +0000 (01:27 +0100)]
analyze: add emacs mode header
Lennart Poettering [Mon, 7 Jan 2013 23:49:39 +0000 (00:49 +0100)]
git: ignore bootchart binary
Kay Sievers [Mon, 7 Jan 2013 22:48:21 +0000 (23:48 +0100)]
build-sys: disable static libraries
Kay Sievers [Mon, 7 Jan 2013 22:39:17 +0000 (23:39 +0100)]
Revert "build-sys: remove .la files after installation"
"make distcheck" fails with:
ERROR: files left after uninstall:
./usr/lib64/security/pam_systemd.so
./lib/libnss_myhostname.so.2
./lib64/python2.7/site-packages/systemd/_journal.so
This reverts commit
ca25fde748dba7ee74e24dff2db6aff1d9faea00.
Auke Kok [Wed, 17 Oct 2012 23:01:12 +0000 (16:01 -0700)]
bootchart: merge bootchart
Bootchart is renamed to 'systemd-bootchart' and installed as
/usr/lib/systemd/systemd-bootchart. The configuration file
will reside in /etc/systemd/bootchart.conf.
Kay Sievers [Mon, 7 Jan 2013 22:15:47 +0000 (23:15 +0100)]
TODO: update
Lennart Poettering [Mon, 7 Jan 2013 21:15:48 +0000 (22:15 +0100)]
update TODO
Lennart Poettering [Mon, 7 Jan 2013 21:15:42 +0000 (22:15 +0100)]
build-sys: fix help text for --disable-myhostname
Zbigniew Jędrzejewski-Szmek [Mon, 7 Jan 2013 18:25:15 +0000 (13:25 -0500)]
build-sys: remove .la files after installation
Define KEEP_LA_FILES to keep them.
The hook is repeated because both install-exec-hook and
install-data-hook can install libraries and with parallel make
it's not possible to predict which one will run first.
http://lists.freedesktop.org/archives/systemd-devel/2013-January/008016.html
tl;dr: Libtool .la files are not very useful for linking linux
libraries.
Zbigniew Jędrzejewski-Szmek [Mon, 7 Jan 2013 16:43:41 +0000 (11:43 -0500)]
localectl: use automatic cleanup
set_freep() is added to automatize set_free().
Zbigniew Jędrzejewski-Szmek [Mon, 7 Jan 2013 16:20:05 +0000 (11:20 -0500)]
Update .mailmap
Oleg Samarin [Sat, 5 Jan 2013 16:33:37 +0000 (20:33 +0400)]
logind: Capability of making seats without framebuffer devices
file logind.c: The seat is now activated by any device with udev tag "seat-master"
file 71-seat.rules.in: All framebuffer devices have this tag
Giovanni Campagna [Sat, 5 Jan 2013 00:29:53 +0000 (01:29 +0100)]
localectl: support systems without locale-archive
Not all systems ships with locales inside /usr/lib/locale-archive, some
prefer to have locale data as individual subdirectories of /usr/lib/locale.
(A notable example of this is OpenEmbeddded, and OSes deriving from it
like gnome-ostree).
Given that glibc supports both ways, localectl should too.
Tom Gundersen [Sat, 5 Jan 2013 00:35:27 +0000 (01:35 +0100)]
tmpfiles: move legacy flag-files handling to legacy.conf
Tom Gundersen [Mon, 7 Jan 2013 14:17:12 +0000 (15:17 +0100)]
TODO
Tom Gundersen [Sat, 5 Jan 2013 18:56:13 +0000 (19:56 +0100)]
nss-myhostname: remove redundant .gitignore
Tom Gundersen [Sat, 5 Jan 2013 17:39:09 +0000 (18:39 +0100)]
nss-myhostname: integrate documentation
Converted from html to xml and changed the style to fit into the other
manpages.
Tom Gundersen [Sat, 5 Jan 2013 17:37:52 +0000 (18:37 +0100)]
nss-myhostname: integrate into systemd buildsystem
Note that there are still some rome for cleanups. In particular,
the .la files are now installed, which we probably don't want; and
some of the macros in Makefile.am are likely redundan.
Tom Gundersen [Sat, 5 Jan 2013 17:42:40 +0000 (18:42 +0100)]
nss-myhostname: remove duplicate LICENCE
Also update the licence in the source files.
Tom Gundersen [Thu, 3 Jan 2013 08:52:48 +0000 (09:52 +0100)]
nss-myhostname: remove non-Linux support
Tom Gundersen [Mon, 7 Jan 2013 14:14:01 +0000 (15:14 +0100)]
Merge nss-myhostname
Michael Biebl [Sun, 6 Jan 2013 20:52:44 +0000 (21:52 +0100)]
build: Drop "=" from move-to-rootlibdir define
The variable assignment operator was introduced in make 3.82 and thus
breaks "make install" with older versions of make. Since "=" is optional
in make 3.82 it is safe to drop.
Zbigniew Jędrzejewski-Szmek [Sun, 6 Jan 2013 18:52:38 +0000 (13:52 -0500)]
update TODO
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 17:00:35 +0000 (12:00 -0500)]
systemd: use unit logging macros
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 16:59:46 +0000 (11:59 -0500)]
journal: new logging macros to include UNIT=
Adding UNIT= to log lines allows them to be shown
in 'systemctl status' output, etc.
A new set of macros and functions is added. This allows for less
verbose notation than using log_struct() explicitly.
The set of logging functions is expanded to take a pair of arguments
(e.g. "UNIT=" and the RHS) which add an extra line to the structured
log entry. This can be used to add macros which add a different
identifier later on.
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 22:15:55 +0000 (17:15 -0500)]
fstab-generator: modernize style
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 01:46:49 +0000 (20:46 -0500)]
core/path: modernize style
Zbigniew Jędrzejewski-Szmek [Fri, 4 Jan 2013 20:29:48 +0000 (15:29 -0500)]
core/mount: modernize style
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 21:19:07 +0000 (16:19 -0500)]
core/dbus-unit: modernize style
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 21:03:35 +0000 (16:03 -0500)]
core/manager: modernize style
Zbigniew Jędrzejewski-Szmek [Thu, 6 Dec 2012 12:23:16 +0000 (13:23 +0100)]
build-sys: use VALGRIND not __OPTIMIZE__ as condition for valgrind compat
Actually, one might want to run valgrind even on optimized code.
Now the same check is used in the jenkins hash functions and
hashtable.
Zbigniew Jędrzejewski-Szmek [Sun, 6 Jan 2013 04:47:47 +0000 (23:47 -0500)]
build-sys: use recipe for moving libs
Just avoids repeating the same code a few times.
The way that hooks are named is standardized.
No functional change.
Kay Sievers [Sun, 6 Jan 2013 18:14:56 +0000 (19:14 +0100)]
TODO: update
Kay Sievers [Sun, 6 Jan 2013 16:05:10 +0000 (17:05 +0100)]
udev: fix net name rules matches
Kay Sievers [Sun, 6 Jan 2013 15:18:48 +0000 (16:18 +0100)]
analyze: add .gitignore
Kay Sievers [Sun, 6 Jan 2013 15:17:33 +0000 (16:17 +0100)]
udev: enable persistent network device naming
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 18:15:50 +0000 (13:15 -0500)]
build-sys: use full path to python in scripts
Commit
c4eb236a2c didn't take into account the situation when the user
sets e.g. PYTHON=python3 (without the full path). This value would
then be used verbatim for PYTHON_BINARY and in she-bang lines in
scripts, which is incorrect. To fix this, $PYTHON is passed through
which, which expands the path. If $PYTHON_BINARY is desired which is
not installed on the build system, then PYTHON_BINARY must be set
separately.
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 03:52:32 +0000 (22:52 -0500)]
build-sys: fix message about gintrospection
When gobject-introspection-devel was not available, the message
was missing the yes/no part
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:24 +0000 (10:09 +0100)]
build-sys: invoke scripts with $PYTHON during build
Python binary to be used during compilation can be set with
./configure PYTHON=...
The she-bang line is removed, since it is not used anymore.
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:23 +0000 (10:09 +0100)]
systemd-analyze: use specified binary, add --version
Python binary used in the she-bang line in installed
scripts can be set with ./configure PYTHON_BINARY=...
Defaults to the same path as python used during compilation.
Adding --version makes systemd-analyze behave consistently with the
rest of installed programs.
The lines in ./configure output are reordered to keep all yes/no lines
separate. I think that this makes the output clearer.
Zbigniew Jędrzejewski-Szmek [Sat, 22 Dec 2012 09:09:22 +0000 (10:09 +0100)]
systemd-analyze: pipe through SED_PROCESS
To be able to add --version and change python binary.
Zbigniew Jędrzejewski-Szmek [Sat, 5 Jan 2013 02:18:17 +0000 (21:18 -0500)]
service: fixup after ifdef dropping
Commit 88516c0 removed one line too much.
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:48:30 +0000 (14:48 -0500)]
systemd-analyze: reword comments
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:48:24 +0000 (14:48 -0500)]
build-sys: allow update-hwdb with seperate build dir
Zbigniew Jędrzejewski-Szmek [Wed, 2 Jan 2013 19:49:30 +0000 (14:49 -0500)]
build-sys: drop unused $RUNTIME_DIR
Lennart Poettering [Fri, 4 Jan 2013 22:24:38 +0000 (23:24 +0100)]
build-sys: drop all distribution specfic checks
Yay, we now have a completely generic systemd. No distribution specific checks anymore!
Lennart Poettering [Fri, 4 Jan 2013 22:19:02 +0000 (23:19 +0100)]
build-sys: make path of loadkeys/setfont configurable in configure
Lennart Poettering [Fri, 4 Jan 2013 21:45:34 +0000 (22:45 +0100)]
service: drop inserv.conf parsing
This Suse specific configuration file should really be done in a generator
that is shipped downstream by suse.
Lennart Poettering [Fri, 4 Jan 2013 21:43:41 +0000 (22:43 +0100)]
service: drop the per-distro ifdefs in service.c
They don't really hurt on other distros, and this allows us to ship
the same code on all distros
Lennart Poettering [Fri, 4 Jan 2013 21:38:11 +0000 (22:38 +0100)]
units: always use sulogin in rescue.service
sushell makes much less sense than sulogin. If distros want to stick to sushell
they should patch this downstream.
Lennart Poettering [Fri, 4 Jan 2013 21:36:48 +0000 (22:36 +0100)]
units: drop distro specific stuff from units
Since rc-local is now enabled via the SysV compatibility we should only refer
to it based on that too.
Lennart Poettering [Fri, 4 Jan 2013 21:32:31 +0000 (22:32 +0100)]
systemctl: enable chkconfig compat only if chkconfig is found rather than based on distro
Lennart Poettering [Fri, 4 Jan 2013 21:00:46 +0000 (22:00 +0100)]
fsck: remove distro specific hacks from fsck/quotacheck
Move forcefsck file checks under a HAVE_SYSV_COMPAT #ifdef, and warn if this is used.
Lennart Poettering [Fri, 4 Jan 2013 20:51:47 +0000 (21:51 +0100)]
Make gcc a bit quieter
Lennart Poettering [Fri, 4 Jan 2013 20:48:47 +0000 (21:48 +0100)]
build-sys: make rc-local support part of SYSV compat
This also drops automatic selection of the rc local scripts
based on the local distro. Distributions now should specify the paths
of the rc-local and halt-local scripts on the configure command line.
Lennart Poettering [Fri, 4 Jan 2013 17:37:49 +0000 (18:37 +0100)]
core: drop support for old per-distro configuration files for console, hostname, locale, timezone
This simplifies the upstream system code quite a bit. If downstream distributions want to maintain compatibility with their old configuration files, they are welcome to do so, but need to maintain this as patches downstream. The burden needs to be on the distributions to maintain differences here. Our suggestion however is to just convert the old configuration files on upgrade, as multiple distributions already do.
Kay Sievers [Fri, 4 Jan 2013 18:08:08 +0000 (19:08 +0100)]
udev: net_id - append "dev_id" value if needed
Kay Sievers [Fri, 4 Jan 2013 15:15:46 +0000 (16:15 +0100)]
udev: set device node permissions only at "add" events
Pekka Lundstrom [Wed, 2 Jan 2013 11:41:52 +0000 (13:41 +0200)]
Added globbing support to EnvironmentFile
This patch allows globbing to be used with EnvironmentFile option.
Example:
EnvironmentFile=/etc/foo.d/*.conf
t. Pekka
Thomas Hindoe Paaboel Andersen [Thu, 27 Dec 2012 16:39:48 +0000 (17:39 +0100)]
systemctl: add is-failed
Adds is-failed to join is-active and is-enabled.
I grabbed this one from the todo list. Most of the functionality was
already there for is-active. I just needed to make check_one_unit take
the states to check for as an argument instead of the hardcoded
"active" and "reloading".
is-failed will return 1 if none of the units given are failed. This is
different from is-active which will return 3 if none of the units
given are active. It returns 3 with this comment:
/* According to LSB: "program is not running" */
As that does not make sense when looking for failed units I simply
chose 1 instead.
Michał Bartoszkiewicz [Sat, 29 Dec 2012 01:06:06 +0000 (02:06 +0100)]
man: fix parameter in systemd-fstab-generator(8)
There is no parameter named luks.fstab.
Michał Bartoszkiewicz [Fri, 28 Dec 2012 21:40:41 +0000 (22:40 +0100)]
localed: create /etc/X11/xorg.conf.d if needed
Use mkdir_p_label instead of mkdir_parents_label, so that the final
directory component is created too.
Adam Williamson [Thu, 3 Jan 2013 21:37:08 +0000 (13:37 -0800)]
correct Macedonian keyboard mapping (X layout is 'mk', not 'mkd')
Adam Williamson [Thu, 3 Jan 2013 21:28:41 +0000 (13:28 -0800)]
add Lithuanian keyboard mapping (lt/lt)
Adam Williamson [Thu, 3 Jan 2013 21:25:36 +0000 (13:25 -0800)]
add Kazakh keyboard mapping (kazakh/kz)
Adam Williamson [Thu, 3 Jan 2013 21:20:08 +0000 (13:20 -0800)]
add Hebrew (Israel) - simple, il/il
Adam Williamson [Thu, 3 Jan 2013 20:43:09 +0000 (12:43 -0800)]
French Canadian xlayout is just "ca", not "ca(fr)" any more
Adam Williamson [Thu, 3 Jan 2013 20:57:58 +0000 (12:57 -0800)]
add Belarussian mapping: simple, 'by' and 'by'
Thomas Jarosch [Tue, 25 Dec 2012 12:46:46 +0000 (13:46 +0100)]
tmpfiles: Fix file descriptor leak on error
Detected by cppcheck
Lennart Poettering [Thu, 3 Jan 2013 21:37:38 +0000 (22:37 +0100)]
readahead: don't complain that we cannot precache symlinks
http://lists.freedesktop.org/archives/systemd-devel/2012-December/007847.html
Lennart Poettering [Thu, 3 Jan 2013 21:37:31 +0000 (22:37 +0100)]
man: clarify that specifiers cannot be used in ExecStart='s first argument
Tom Gundersen [Thu, 3 Jan 2013 08:32:32 +0000 (09:32 +0100)]
nss-myhostname: move to subdirectory
In order to merge into the systemd repos.
Lennart Poettering [Mon, 31 Dec 2012 20:24:05 +0000 (21:24 +0100)]
TODO
Lennart Poettering [Tue, 25 Dec 2012 15:29:51 +0000 (16:29 +0100)]
unit: add ConditionACPower=
Lennart Poettering [Tue, 25 Dec 2012 11:58:54 +0000 (12:58 +0100)]
analyze: properly parse firmware/loader time and handle times for container boots correctly
Lennart Poettering [Tue, 25 Dec 2012 11:22:15 +0000 (12:22 +0100)]
TODO
Lennart Poettering [Tue, 25 Dec 2012 11:16:48 +0000 (12:16 +0100)]
units: add CAP_DAC_OVERRIDE+CAP_SYS_PTRACE to hostnamed so that detection of virtualization works
Lennart Poettering [Tue, 25 Dec 2012 10:52:14 +0000 (11:52 +0100)]
macro: use C11 static_assert() macro for static assertions
Lennart Poettering [Tue, 25 Dec 2012 10:37:06 +0000 (11:37 +0100)]
TODO
Lennart Poettering [Tue, 25 Dec 2012 10:36:37 +0000 (11:36 +0100)]
polkit: add "imply" rules to a number of polkit actions
Marcel Holtmann [Fri, 28 Dec 2012 07:53:26 +0000 (23:53 -0800)]
hwdb: Add database for Bluetooth company identifiers
Kay Sievers [Mon, 31 Dec 2012 03:48:44 +0000 (04:48 +0100)]
udev: in addition to DEVMODE, honor DEVUID, DEVGID from the uevent
Tom Gundersen [Fri, 28 Dec 2012 23:21:28 +0000 (00:21 +0100)]
fstab-generator: fix typo
Tom Gundersen [Fri, 23 Nov 2012 02:41:13 +0000 (03:41 +0100)]
fstab-generator: generate new_root.mount in initrd
The configuration is taken from /proc/cmdline, aiming at emulating the
behavior of the kernel when no initramfs is used.
The supported options are: root=, rootfstype=, rootwait=, rootflags=,
ro, and rw. rootdelay= was dropped, as it is not really useful in a
systemd world, but could easily be added.
v2: fix comments by Lennart, and complain loudly if root= can not be found
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Reisner <dreisner@archlinux.org>
Tom Gundersen [Wed, 21 Nov 2012 22:22:03 +0000 (23:22 +0100)]
systemctl: switch-root - read init= from /proc/cmdline
If the path to init is not specified as an argumnt to systemctl, but
init= is given on the kernel commandline, use that.
This means the initrd does not need glue code to parse the kernel
commandline before passing on init= to systemctl.
Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Reisner <dreisner@archlinux.org>
Matthew Monaco [Mon, 24 Dec 2012 13:25:58 +0000 (06:25 -0700)]
pam_systemd: new option for the session class
Lennart Poettering [Mon, 24 Dec 2012 18:12:22 +0000 (19:12 +0100)]
update TODO
Lennart Poettering [Mon, 24 Dec 2012 18:03:59 +0000 (19:03 +0100)]
hostnamed: make chassis type configurable via /etc/machine-info
For many usecases it is useful to store the chassis type somewhere, and
/etc/machine-info sounds like a good place. Ideally we could always
detect the chassis type from firmware, but frequently that's not
available and in many embedded devices probably entirely unrealistic.
This patch adds a configurable setting CHASSIS= to /etc/machine-info and
exposes this via hostnamectl/hostnamed. hostnamed will guess the chassis
type from DMI if nothing is set explicitly. I also added support for
detecting it from ACPI, which should be more useful as ACPI 5.0 actually
knows a "tablet" chassis type, which neither DMI nor previous ACPI
versions knew.
This also enables DMI-based and ACPI-based detection for non-x86 systems
as ACPI is apparently coming to ARM platforms soon.
I tried to minimize the vocabulary of chassis types understood and
added: desktop, laptop, server, tablet, handset. This is much less than
either APCI or DMI know. If we need more types later on we can easily
add them.
Lennart Poettering [Mon, 24 Dec 2012 12:01:00 +0000 (13:01 +0100)]
fstab-generator: properly detect bind mounts
This kinda undoes
a83cbaccd03c3f28e47e9330f4a22ff65ce4b561 and
1d634e21b453f3c80d7c6c4bd90a6b84e42a3d2a but corrects the original code
to compare the mount type with "bind" rather than the mount options.
Lennart Poettering [Sun, 23 Dec 2012 21:38:21 +0000 (22:38 +0100)]
update TODO
Lennart Poettering [Sun, 23 Dec 2012 21:12:01 +0000 (22:12 +0100)]
logind: don't allow suspending/hibernating if the kernel doesn't support it
Lennart Poettering [Sun, 23 Dec 2012 20:58:37 +0000 (21:58 +0100)]
util: if /sys mounted read-only we can't suspend/hibernate
Lennart Poettering [Sun, 23 Dec 2012 16:28:17 +0000 (17:28 +0100)]
util: when determining controlling tty of a process properly handle processes without
Lennart Poettering [Sun, 23 Dec 2012 21:32:48 +0000 (22:32 +0100)]
logind: add support for automatic suspend/hibernate/shutdown on idle
Lennart Poettering [Sun, 23 Dec 2012 21:31:17 +0000 (22:31 +0100)]
pam: properly handle SSH logins lacking the PAM tty field
Lennart Poettering [Sun, 23 Dec 2012 10:56:22 +0000 (11:56 +0100)]
update TODO