]> err.no Git - systemd/log
systemd
13 years agoutil: detect page size runtime.
cee1 [Fri, 18 Mar 2011 02:03:41 +0000 (10:03 +0800)]
util: detect page size runtime.

Some architectures support multiple machine types with diffenent
page sizes, and some machine types even support multiple
page sizes themselves.

13 years agoman: explain a couple of default dependencies
Lennart Poettering [Mon, 28 Mar 2011 19:36:13 +0000 (21:36 +0200)]
man: explain a couple of default dependencies

13 years agotainted: don't check if /usr is a mount point, only if it's not already mounted at...
Kay Sievers [Thu, 24 Mar 2011 21:32:21 +0000 (22:32 +0100)]
tainted: don't check if /usr is a mount point, only if it's not already mounted at startup

13 years agoupdate TODO
Kay Sievers [Wed, 23 Mar 2011 00:32:40 +0000 (01:32 +0100)]
update TODO

13 years agoman: no keep-root in pam_systemd anymore
Andrey Borzenkov [Tue, 22 Mar 2011 17:31:10 +0000 (20:31 +0300)]
man: no keep-root in pam_systemd anymore

13 years agoupdate TODO
Kay Sievers [Mon, 21 Mar 2011 14:09:12 +0000 (15:09 +0100)]
update TODO

13 years agounits: replace Names=dm.service with symlink for mandriva prefdm
Andrey Borzenkov [Fri, 18 Mar 2011 16:32:49 +0000 (19:32 +0300)]
units: replace Names=dm.service with symlink for mandriva prefdm

13 years agomount: pull in quota services from local mountpoints with usr/grpquota options
Andrey Borzenkov [Fri, 18 Mar 2011 16:12:58 +0000 (19:12 +0300)]
mount: pull in quota services from local mountpoints with usr/grpquota options

13 years agoservice: pull in sysv facility targets from the sysv units, not the other way round
Lennart Poettering [Fri, 18 Mar 2011 04:26:25 +0000 (05:26 +0100)]
service: pull in sysv facility targets from the sysv units, not the other way round

For an explanation see:

http://lists.freedesktop.org/archives/systemd-devel/2011-March/001692.html

13 years agounits: pull in syslog.target from syslog.socket
Lennart Poettering [Fri, 18 Mar 2011 04:17:02 +0000 (05:17 +0100)]
units: pull in syslog.target from syslog.socket

13 years agounits: don't ever pull in SysV targets from other SysV targets
Lennart Poettering [Fri, 18 Mar 2011 04:13:06 +0000 (05:13 +0100)]
units: don't ever pull in SysV targets from other SysV targets

13 years agounits: document that some targets exists only for compat with SysV
Lennart Poettering [Fri, 18 Mar 2011 04:12:34 +0000 (05:12 +0100)]
units: document that some targets exists only for compat with SysV

13 years agounits: we don't need to generate syslog.target with sed anymore
Lennart Poettering [Fri, 18 Mar 2011 04:01:30 +0000 (05:01 +0100)]
units: we don't need to generate syslog.target with sed anymore

13 years agounits: we no longer need m4 to build graphical.target or multi-user.taregt
Lennart Poettering [Fri, 18 Mar 2011 03:59:05 +0000 (04:59 +0100)]
units: we no longer need m4 to build graphical.target or multi-user.taregt

13 years agoman: document pidns containers
Lennart Poettering [Fri, 18 Mar 2011 03:49:53 +0000 (04:49 +0100)]
man: document pidns containers

13 years agounits: deemphesize Names= settings, and explain why nobody whould use them
Lennart Poettering [Fri, 18 Mar 2011 03:49:38 +0000 (04:49 +0100)]
units: deemphesize Names= settings, and explain why nobody whould use them

13 years agounits: on mandriva/fedora create single.service alias via symlink, not Names=
Lennart Poettering [Fri, 18 Mar 2011 03:41:47 +0000 (04:41 +0100)]
units: on mandriva/fedora create single.service alias via symlink, not Names=

13 years agounits: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more...
Lennart Poettering [Fri, 18 Mar 2011 03:37:31 +0000 (04:37 +0100)]
units: get rid of runlevel Names=, the symlinks in /lib/systemd/system are much more useful

13 years agounits: get rid of empty units/suse/ subdir
Lennart Poettering [Fri, 18 Mar 2011 03:32:58 +0000 (04:32 +0100)]
units: get rid of empty units/suse/ subdir

13 years agosyslog: rework syslog detection so that we need no compile-time option what the name...
Lennart Poettering [Fri, 18 Mar 2011 03:31:22 +0000 (04:31 +0100)]
syslog: rework syslog detection so that we need no compile-time option what the name of the syslog implementation is

13 years agoman: document .requires/ directories
Lennart Poettering [Fri, 18 Mar 2011 02:32:47 +0000 (03:32 +0100)]
man: document .requires/ directories

13 years agospecial: get rid of dbus.target
Lennart Poettering [Fri, 18 Mar 2011 02:32:33 +0000 (03:32 +0100)]
special: get rid of dbus.target

13 years agoexec: properly apply capability bounding set, add inverted bounding sets
Lennart Poettering [Fri, 18 Mar 2011 02:13:15 +0000 (03:13 +0100)]
exec: properly apply capability bounding set, add inverted bounding sets

13 years agodbus: add service D-Bus property "Sockets"
Andrey Borzenkov [Thu, 17 Mar 2011 20:22:49 +0000 (23:22 +0300)]
dbus: add service D-Bus property "Sockets"

13 years agodbus: consolidate service SysV conditionals
Andrey Borzenkov [Thu, 17 Mar 2011 20:22:49 +0000 (23:22 +0300)]
dbus: consolidate service SysV conditionals

No need to define the same set of properties twice. While on it,
add FsckPassNo to introspection.

13 years agoupdate TODO
Kay Sievers [Thu, 17 Mar 2011 14:15:36 +0000 (15:15 +0100)]
update TODO

13 years agoupdate TODO
Kay Sievers [Thu, 17 Mar 2011 13:03:17 +0000 (14:03 +0100)]
update TODO

13 years agounit: serialize condition test results
Lennart Poettering [Thu, 17 Mar 2011 03:36:19 +0000 (04:36 +0100)]
unit: serialize condition test results

13 years agoread-ahead: Fix broken systemd-readahead-collect on mips.
cee1 [Thu, 17 Mar 2011 02:13:01 +0000 (10:13 +0800)]
read-ahead: Fix broken systemd-readahead-collect on mips.

This actually adjust the __NR_fanotify* system call numbers to proper
ones on mips(according userspace ABI).

13 years agodef: centralize definition of default timeout in one place
Lennart Poettering [Thu, 17 Mar 2011 03:02:35 +0000 (04:02 +0100)]
def: centralize definition of default timeout in one place

13 years agochkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter
Lennart Poettering [Thu, 17 Mar 2011 02:42:25 +0000 (03:42 +0100)]
chkconfig: check against runlevel 5 instead of 3, since it is a superset of the latter

13 years agosystemctl: accept condstop as alias for stop
Lennart Poettering [Thu, 17 Mar 2011 02:41:51 +0000 (03:41 +0100)]
systemctl: accept condstop as alias for stop

13 years agodbus: allow LoadUnit to unprivileged users
Lennart Poettering [Thu, 17 Mar 2011 02:41:29 +0000 (03:41 +0100)]
dbus: allow LoadUnit to unprivileged users

13 years agoumount: make sure skip_ro is always correctly initialized
Lennart Poettering [Wed, 16 Mar 2011 21:30:00 +0000 (22:30 +0100)]
umount: make sure skip_ro is always correctly initialized

13 years agoman: fix systemctl try-restart description
Andrey Borzenkov [Fri, 11 Mar 2011 17:51:48 +0000 (20:51 +0300)]
man: fix systemctl try-restart description

It is no more error when service is not running.

13 years agoAdd Frugalware display-manager service
Miklos Vajna [Tue, 8 Mar 2011 23:49:47 +0000 (00:49 +0100)]
Add Frugalware display-manager service

13 years agomain: revert recognition of "b" argument
Jan Engelhardt [Wed, 16 Mar 2011 02:50:39 +0000 (03:50 +0100)]
main: revert recognition of "b" argument

Commit 099663ff8c117303af369a4d412dafed0c5614c2 added "b" as a
recognized argument, however, B is not a runlevel like S. (B appears
as a pseudo runlevel in openSUSE's init.d scripts only for the sake of
insserv being able to manage /etc/init.d/boot.d like the other dirs).

13 years agomain: interpret all argv[] arguments unconditionally when run in a container
Lennart Poettering [Wed, 16 Mar 2011 02:35:59 +0000 (03:35 +0100)]
main: interpret all argv[] arguments unconditionally when run in a container

13 years agoloopback: downgrade an error to warning
Lennart Poettering [Wed, 16 Mar 2011 02:35:38 +0000 (03:35 +0100)]
loopback: downgrade an error to warning

13 years agonspawn: bind mount /etc/localtime
Lennart Poettering [Wed, 16 Mar 2011 02:27:02 +0000 (03:27 +0100)]
nspawn: bind mount /etc/localtime

13 years agonspawn: make tty code more robust against closed/reopened /dev/console
Lennart Poettering [Wed, 16 Mar 2011 02:18:23 +0000 (03:18 +0100)]
nspawn: make tty code more robust against closed/reopened /dev/console

13 years agoutil: make touched files non-writable by default
Lennart Poettering [Wed, 16 Mar 2011 01:58:05 +0000 (02:58 +0100)]
util: make touched files non-writable by default

13 years agonspawn: allocate a new pty instead of passing ours through to avoid terminal settings...
Lennart Poettering [Wed, 16 Mar 2011 01:57:52 +0000 (02:57 +0100)]
nspawn: allocate a new pty instead of passing ours through to avoid terminal settings chaos

13 years agomain: parse the whole arv[] as kernel command line
Lennart Poettering [Wed, 16 Mar 2011 01:56:30 +0000 (02:56 +0100)]
main: parse the whole arv[] as kernel command line

13 years agomain: check if we have a valid PID before getting the name of it
Lennart Poettering [Wed, 16 Mar 2011 01:55:55 +0000 (02:55 +0100)]
main: check if we have a valid PID before getting the name of it

13 years agoask-password: reset signal mask after we are done
Lennart Poettering [Wed, 16 Mar 2011 01:55:27 +0000 (02:55 +0100)]
ask-password: reset signal mask after we are done

13 years agocgroup: don't recheck all the time whether the systemd hierarchy is mounted, to make...
Lennart Poettering [Tue, 15 Mar 2011 20:21:38 +0000 (21:21 +0100)]
cgroup: don't recheck all the time whether the systemd hierarchy is mounted, to make strace outputs nicer and save a few stat()s

13 years agoman: document systemd-nspawn
Lennart Poettering [Tue, 15 Mar 2011 19:51:41 +0000 (20:51 +0100)]
man: document systemd-nspawn

13 years agocgls: don't strip user processes and kernel threads from default output
Lennart Poettering [Tue, 15 Mar 2011 17:43:47 +0000 (18:43 +0100)]
cgls: don't strip user processes and kernel threads from default output

13 years agoumount: don't try to remount bind mounts ro during shutdown
Lennart Poettering [Tue, 15 Mar 2011 01:41:11 +0000 (02:41 +0100)]
umount: don't try to remount bind mounts ro during shutdown

13 years agogetty: move automatic serial getty logic into generator
Lennart Poettering [Mon, 14 Mar 2011 23:44:13 +0000 (00:44 +0100)]
getty: move automatic serial getty logic into generator

13 years agocontainer: skip a few things when we are run in a container such as accessing /proc...
Lennart Poettering [Mon, 14 Mar 2011 22:41:47 +0000 (23:41 +0100)]
container: skip a few things when we are run in a container such as accessing /proc/cmdline

13 years agocgls: by default start with group of PID 1
Lennart Poettering [Mon, 14 Mar 2011 22:40:41 +0000 (23:40 +0100)]
cgls: by default start with group of PID 1

13 years agopam: determine user cgroup tree from cgroup of PID 1
Lennart Poettering [Mon, 14 Mar 2011 22:13:57 +0000 (23:13 +0100)]
pam: determine user cgroup tree from cgroup of PID 1

13 years agonspawn: move container into its own name=systemd cgroup
Lennart Poettering [Mon, 14 Mar 2011 21:33:31 +0000 (22:33 +0100)]
nspawn: move container into its own name=systemd cgroup

13 years agomanager: don't show kernel boot-up time for containers
Lennart Poettering [Mon, 14 Mar 2011 20:47:41 +0000 (21:47 +0100)]
manager: don't show kernel boot-up time for containers

13 years agomanager: show who killed us
Lennart Poettering [Mon, 14 Mar 2011 20:27:39 +0000 (21:27 +0100)]
manager: show who killed us

13 years agounits: add console-shell.service which can be used insted of the gettys to get a...
Lennart Poettering [Mon, 14 Mar 2011 20:00:53 +0000 (21:00 +0100)]
units: add console-shell.service which can be used insted of the gettys to get a shell on /dev/console

13 years agobuild-sys: move remaining tools from sbin/ to bin/ since they might eventually be...
Lennart Poettering [Mon, 14 Mar 2011 17:17:28 +0000 (18:17 +0100)]
build-sys: move remaining tools from sbin/ to bin/ since they might eventually be useful for user execution

13 years agohostname: don't override the hostname with localhost if it is already set and /etc...
Lennart Poettering [Mon, 14 Mar 2011 17:05:52 +0000 (18:05 +0100)]
hostname: don't override the hostname with localhost if it is already set and /etc/hostname unset

13 years agoaudit: give up sending auditing messages when it failed due to EPERM
Lennart Poettering [Mon, 14 Mar 2011 16:48:34 +0000 (17:48 +0100)]
audit: give up sending auditing messages when it failed due to EPERM

13 years agonspawn: don't require selinux on if it is compiled in
Lennart Poettering [Mon, 14 Mar 2011 16:44:03 +0000 (17:44 +0100)]
nspawn: don't require selinux on if it is compiled in

13 years agomain: remove AF_UNIX sockets before binding
Lennart Poettering [Mon, 14 Mar 2011 15:15:31 +0000 (16:15 +0100)]
main: remove AF_UNIX sockets before binding

13 years agoshutdown: print a nice message when terminating a container
Lennart Poettering [Mon, 14 Mar 2011 14:33:39 +0000 (15:33 +0100)]
shutdown: print a nice message when terminating a container

13 years agonspawn: mount /selinux if needed
Lennart Poettering [Mon, 14 Mar 2011 14:33:23 +0000 (15:33 +0100)]
nspawn: mount /selinux if needed

13 years agoshutdown: just call exit() if we are in a container
Lennart Poettering [Mon, 14 Mar 2011 04:40:15 +0000 (05:40 +0100)]
shutdown: just call exit() if we are in a container

13 years agoumount: assume that a non-existing /dev/loop device means it is already detached
Lennart Poettering [Mon, 14 Mar 2011 04:37:47 +0000 (05:37 +0100)]
umount: assume that a non-existing /dev/loop device means it is already detached

13 years agosocket: use 777 as default mode for sockets
Lennart Poettering [Mon, 14 Mar 2011 04:37:14 +0000 (05:37 +0100)]
socket: use 777 as default mode for sockets

13 years agonspawn: we don't want a network namespace
Lennart Poettering [Mon, 14 Mar 2011 04:36:43 +0000 (05:36 +0100)]
nspawn: we don't want a network namespace

13 years agomain: log to the console in a container
Lennart Poettering [Mon, 14 Mar 2011 03:48:14 +0000 (04:48 +0100)]
main: log to the console in a container

13 years agomain: don't parse /proc/cmdline in containers
Lennart Poettering [Mon, 14 Mar 2011 03:08:12 +0000 (04:08 +0100)]
main: don't parse /proc/cmdline in containers

13 years agoutil: add detect_container()
Lennart Poettering [Mon, 14 Mar 2011 03:07:52 +0000 (04:07 +0100)]
util: add detect_container()

13 years agonspawn: reset environment and load login shell
Lennart Poettering [Mon, 14 Mar 2011 02:28:16 +0000 (03:28 +0100)]
nspawn: reset environment and load login shell

13 years agonspawn: reset umask if needed
Lennart Poettering [Mon, 14 Mar 2011 02:28:00 +0000 (03:28 +0100)]
nspawn: reset umask if needed

13 years agonspawn: define MS_MOVE manually if needed
Lennart Poettering [Mon, 14 Mar 2011 02:27:28 +0000 (03:27 +0100)]
nspawn: define MS_MOVE manually if needed

13 years agonspawn: improve exit warning
Lennart Poettering [Mon, 14 Mar 2011 02:12:04 +0000 (03:12 +0100)]
nspawn: improve exit warning

13 years agocore: move abstract namespace sockets to /dev/.run
Lennart Poettering [Mon, 14 Mar 2011 02:10:09 +0000 (03:10 +0100)]
core: move abstract namespace sockets to /dev/.run

Now that we have /dev/.run there's no need to use abstract namespace
sockets. So, let's move things to /dev/.run, to make things more easily
discoverable and improve compat with chroot() and fs namespacing.

13 years agonspawn: add simple chroot(1) like tool to execute commands in a namespace container
Lennart Poettering [Mon, 14 Mar 2011 01:40:36 +0000 (02:40 +0100)]
nspawn: add simple chroot(1) like tool to execute commands in a namespace container

13 years agoutil: detect CLONE_NEWPID namespaces, and cache results
Lennart Poettering [Mon, 14 Mar 2011 01:36:00 +0000 (02:36 +0100)]
util: detect CLONE_NEWPID namespaces, and cache results

13 years agogit: ignore generated policy file
Lennart Poettering [Mon, 14 Mar 2011 01:34:18 +0000 (02:34 +0100)]
git: ignore generated policy file

13 years agoutil: return exit status in wait_for_terminate_and_warn()
Lennart Poettering [Mon, 14 Mar 2011 01:33:51 +0000 (02:33 +0100)]
util: return exit status in wait_for_terminate_and_warn()

13 years agoutil: properly identify pty devices by their major
Lennart Poettering [Mon, 14 Mar 2011 01:33:23 +0000 (02:33 +0100)]
util: properly identify pty devices by their major

13 years agobuild-sys: add org.freedesktop.systemd1.policy to CLEANFILES
Kay Sievers [Sat, 12 Mar 2011 13:31:44 +0000 (14:31 +0100)]
build-sys: add org.freedesktop.systemd1.policy to CLEANFILES

ERROR: files left in build directory after distclean:
./src/org.freedesktop.systemd1.policy
make[1]: *** [distcleancheck] Error 1

13 years agopolkit: autogenerate polkit policy with correct paths
Lennart Poettering [Sat, 12 Mar 2011 00:15:30 +0000 (01:15 +0100)]
polkit: autogenerate polkit policy with correct paths

13 years agosystemctl: support remote and privileged systemctl access via SSH and pkexec
Lennart Poettering [Sat, 12 Mar 2011 00:03:13 +0000 (01:03 +0100)]
systemctl: support remote and privileged systemctl access via SSH and pkexec

This adds support for executing systemctl operations remotely or as
privileged user while still running systemctl itself unprivileged and
locally.

This currently requires a D-Bus patch to work properly.

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

13 years agognome-ask-password-agent.vala: check for VALA_0_12
Kay Sievers [Fri, 11 Mar 2011 14:55:20 +0000 (15:55 +0100)]
gnome-ask-password-agent.vala: check for VALA_0_12

<juergbi> VALA_0_X is defined up to and including the current version
<juergbi> so VALA_0_10 is defined in 0.10 and 0.11 and 0.12
<juergbi> VALA_0_12 is defined in 0.11 and 0.12 (and later versions)
<juergbi> reverse the branches and use VALA_0_12 as conditional
<kay> juergbi: changing api but keep the defines?
<kay> how do we support vala 0.14 then?
<kay> you keep that model with the old defines?
<juergbi> VALA_0_10 corresponds to valaversion >= 0.10

13 years agognome-ask-password-agent: check for vala 0.10 instead of libnotify
Kay Sievers [Fri, 11 Mar 2011 14:41:37 +0000 (15:41 +0100)]
gnome-ask-password-agent: check for vala 0.10 instead of libnotify

13 years agognome-ask-password-agent: restore removed libnotify0.6 support
Kay Sievers [Fri, 11 Mar 2011 13:09:10 +0000 (14:09 +0100)]
gnome-ask-password-agent: restore removed libnotify0.6 support

13 years agognome-ask-password-agent: fix path to watch
Lennart Poettering [Fri, 11 Mar 2011 00:51:45 +0000 (01:51 +0100)]
gnome-ask-password-agent: fix path to watch

13 years agounits: move the last flag files to /dev/.run
Lennart Poettering [Fri, 11 Mar 2011 00:06:53 +0000 (01:06 +0100)]
units: move the last flag files to /dev/.run

13 years agoutil: close all fds before freezing execution
Lennart Poettering [Thu, 10 Mar 2011 23:52:13 +0000 (00:52 +0100)]
util: close all fds before freezing execution

13 years agodbus: timeout connection setup
Lennart Poettering [Thu, 10 Mar 2011 23:45:06 +0000 (00:45 +0100)]
dbus: timeout connection setup

13 years agomain: properly handle -b boot option
Lennart Poettering [Thu, 10 Mar 2011 22:01:42 +0000 (23:01 +0100)]
main: properly handle -b boot option

13 years agopam: do not leak file descriptor if flock fails
Andrey Borzenkov [Thu, 10 Mar 2011 14:39:02 +0000 (17:39 +0300)]
pam: do not leak file descriptor if flock fails

If flock fails, fd is not returned to caller so it cannot clean up.

13 years agoman: trivial typo in systemd(1)
Andrey Borzenkov [Thu, 10 Mar 2011 17:31:18 +0000 (20:31 +0300)]
man: trivial typo in systemd(1)

13 years agomain: refuse system to be started in a chroot
Lennart Poettering [Wed, 9 Mar 2011 22:59:27 +0000 (23:59 +0100)]
main: refuse system to be started in a chroot

13 years agomain: don't check if /usr really is a mount point, since it is fine if it is passed...
Lennart Poettering [Wed, 9 Mar 2011 22:59:07 +0000 (23:59 +0100)]
main: don't check if /usr really is a mount point, since it is fine if it is passed pre-mounted to us from the initrd

13 years agocondition: take a timestamp and store last result of conditions
Lennart Poettering [Wed, 9 Mar 2011 22:58:17 +0000 (23:58 +0100)]
condition: take a timestamp and store last result of conditions

13 years agodev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd
Lennart Poettering [Wed, 9 Mar 2011 21:45:47 +0000 (22:45 +0100)]
dev: use /dev/.run/systemd as runtime directory, instead of /dev/.systemd

13 years agomachine-id: move machine-id-setup to /sbin
Lennart Poettering [Wed, 9 Mar 2011 21:13:24 +0000 (22:13 +0100)]
machine-id: move machine-id-setup to /sbin