Commit Graph

8844 Commits

Author SHA1 Message Date
Kay Sievers 5ea373e101 autogen.sh: disable _FORTIFY_SOURCE, we want -O0, which is incompatible 2012-08-08 13:16:57 +02:00
Kay Sievers 81311bbd12 build-sys: link internal selinux lib to systemd-remount-fs 2012-08-08 12:29:54 +02:00
Lennart Poettering c1663b9daf build-sys: pass param to stack protector 2012-08-08 12:27:10 +02:00
Lennart Poettering d88c952c3a build-sys: drop obsolete gcc switch 2012-08-08 12:27:10 +02:00
Lennart Poettering 3984d657ff build-sys: typo fix 2012-08-08 12:27:10 +02:00
Kay Sievers d086fe4e08 TODO: misleading socket warning 2012-08-08 12:09:33 +02:00
Lennart Poettering 5a45a93627 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.
2012-08-08 12:03:34 +02:00
Lennart Poettering b2c9cbafb8 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
2012-08-07 17:08:31 +02:00
Lennart Poettering 773ba90946 update TODO 2012-08-07 01:01:33 +02:00
Lennart Poettering de2c390731 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".
2012-08-07 00:51:17 +02:00
Lennart Poettering b3ac5f8cb9 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.
2012-08-06 18:35:01 +02:00
Michal Sekletar 86fc77c47f 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 ]
2012-08-06 18:24:05 +02:00
Lennart Poettering 6afa301b8d main: fix typo 2012-08-06 16:41:29 +02:00
Shawn Landden 1421211924 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.
2012-08-06 16:37:01 +02:00
Lennart Poettering 8230e26dc9 update TODO 2012-08-06 16:36:13 +02:00
Michal Sekletar dfcc5c33f4 shutdown: allow to specify broadcast message when cancelling shutdown
makes shutdown behaviour more compatible
2012-08-06 16:25:55 +02:00
Kay Sievers 9cb48731b2 TODO: /etc/timezone 2012-08-06 15:09:46 +02:00
Lennart Poettering dcfc4b2e5c update TODO 2012-08-03 21:49:06 +02:00
Tom Gundersen 4271d8235f 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>
2012-08-03 20:49:55 +02:00
Simon Peeters f9a3b83bf4 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.
2012-08-03 18:20:09 +02:00
Shawn Landen 193556b69e logs-show: fix off-by-one error
Ellipsize lines that are one character too long.
2012-08-03 18:12:07 +02:00
Zbigniew Jędrzejewski-Szmek 871b876ecc man: document three new cgtop options 2012-08-03 18:12:07 +02:00
Zbigniew Jędrzejewski-Szmek ab060556a9 test: allow deletion of temporary files from normal fs
Not everybody has /tmp on tmpfs, and this was breaking 'make check'.
2012-08-03 18:11:55 +02:00
Martin Pitt c672070ca9 keyboard-force-release: Fix previous commit
Was missing a * for the globbing.
2012-08-03 13:52:48 +02:00
Martin Pitt d4c44191b7 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.
2012-08-03 13:50:46 +02:00
Kay Sievers 1c7dfbf249 udev: path_id - add comment about the unrteliable rebase logic 2012-08-03 10:52:24 +02:00
Lennart Poettering 3bea51c59d update TODO 2012-08-01 19:53:24 +02:00
Lennart Poettering 18c7ed186b journal: add sd_journal_perror() to API 2012-08-01 19:53:23 +02:00
Lennart Poettering 4d9909c93e update TODO 2012-08-01 19:53:23 +02:00
Artur Zaprzala 4cdc45994a journald: fixed memory leak 2012-07-31 14:15:34 +02:00
Arvydas Sidorenko a267bebf46 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.
2012-07-31 11:49:10 +02:00
Zbigniew Jędrzejewski-Szmek 5c315b4f2a doc: clarification in system.unit man page 2012-07-31 01:29:40 +02:00
Zbigniew Jędrzejewski-Szmek 2cc5887620 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)
2012-07-31 01:26:24 +02:00
Zbigniew Jędrzejewski-Szmek 19d5d4cb6a Add a few more dependencies to README 2012-07-31 01:22:53 +02:00
Zbigniew Jędrzejewski-Szmek cd8654b13e 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.
2012-07-31 00:28:46 +02:00
Zbigniew Jędrzejewski-Szmek bd923ff29e 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).
2012-07-31 00:27:56 +02:00
Kay Sievers 023b9d33e9 udev: set log.c's log level from udev's kernel command line option 2012-07-30 22:34:07 +02:00
Harald Hoyer 45646bb0d1 99-systemd.rules.in: ignore nbd in the "add" uevent 2012-07-30 21:21:37 +02:00
Harald Hoyer 44b5651f19 rules/99-systemd.rules.in: ENV{SYSTEMD_READY}="0" for incomplete md 2012-07-30 20:30:49 +02:00
Kay Sievers 73fcda2737 update TODO 2012-07-30 20:03:00 +02:00
Kay Sievers 02aee10881 udev: add missing newline when writing to /dev/kmsg 2012-07-30 17:21:22 +02:00
Lennart Poettering 7212a8a99e logind: add new loginctl lock-sessions command 2012-07-29 17:08:47 +02:00
Lennart Poettering fa2b196da1 logind: add LockSessions() call to lock all local sessions at once 2012-07-29 16:17:06 +02:00
Lennart Poettering bad1837c18 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 6c1f3ba54a.
2012-07-29 11:58:41 +02:00
Zbigniew Jędrzejewski-Szmek b8e8f0cba4 man: grammar fixes for systemd-udev(8) 2012-07-28 23:10:15 +02:00
Dave Reisner f8e9f2cc4b selinux: avoid inclusion of null_log without selinux
Avoids a compile time warning:

  warning: 'null_log' defined but not used [-Wunused-function]
2012-07-28 22:35:41 +02:00
Dave Reisner 6c1f3ba54a 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.
2012-07-28 22:35:41 +02:00
Bryan Kadzban 299031ca8b 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.
2012-07-28 22:35:26 +02:00
Lennart Poettering 56d4fbf92e systemctl: append .service to unit names lacking suffix
https://bugs.freedesktop.org/show_bug.cgi?id=39386
2012-07-28 13:20:35 +02:00
Lennart Poettering 47ae7201b1 update TODO 2012-07-27 12:21:39 +02:00