chiark / gitweb /
elogind.git
12 years agoconf-parser: warn if an assignment is place outside of a section
Lennart Poettering [Tue, 13 Mar 2012 01:41:29 +0000 (02:41 +0100)]
conf-parser: warn if an assignment is place outside of a section

https://bugzilla.redhat.com/show_bug.cgi?id=783134

12 years agoutil: add brute-force fallback for close_all_fds()
Lennart Poettering [Tue, 13 Mar 2012 01:29:27 +0000 (02:29 +0100)]
util: add brute-force fallback for close_all_fds()

If /proc is not available (i.e. in chroot envs) let's fall back to brute
forcing our way through the fd table.

https://bugzilla.redhat.com/show_bug.cgi?id=784921

12 years agojournald: use SCM_SECURITY to race-freely determine peer SELinux label
Lennart Poettering [Tue, 13 Mar 2012 01:21:59 +0000 (02:21 +0100)]
journald: use SCM_SECURITY to race-freely determine peer SELinux label

https://bugzilla.redhat.com/show_bug.cgi?id=798760

12 years agosocket: add option for SO_PASSEC
Lennart Poettering [Mon, 12 Mar 2012 23:00:27 +0000 (00:00 +0100)]
socket: add option for SO_PASSEC

https://bugzilla.redhat.com/show_bug.cgi?id=798760

(Note that this work is not complete yet, as the kernel seems to send us
useless data with SCM_SECURITY enabled)

12 years agologin: tag the Mimo 720 ID_AUTOSEAT
Shawn Landden [Mon, 12 Mar 2012 19:48:52 +0000 (12:48 -0700)]
login: tag the Mimo 720 ID_AUTOSEAT

This device is a combination USB hub, displaylink graphics, and e2i touchscreen

Bus 001 Device 005: ID 058f:6254 Alcor Micro Corp. USB Hub
Bus 001 Device 006: ID 17e9:401a Newnham Research
Bus 001 Device 007: ID 1ac7:0001

|__ Port 1: Dev 5, If 0, Class=hub, Driver=hub/4p, 480M
    |__ Port 2: Dev 6, If 0, Class=vend., Driver=udlfb, 480M
    |__ Port 2: Dev 6, If 1, Class=HID, Driver=usbhid, 480M
    |__ Port 3: Dev 7, If 0, Class=vend., Driver=usbtouchscreen, 12M

12 years agorules: Enable USB autosuspend on more USB HID devices
Matthew Garrett [Mon, 12 Mar 2012 19:45:26 +0000 (15:45 -0400)]
rules: Enable USB autosuspend on more USB HID devices

Many servers will be connected to KVMs or include iLO support, and this
is often presented as a set of USB input devices. Enabling autosuspend on
these allows the USB hardware to be powered down, avoiding unnecessary
wakeups and power consumption. The input devices will be self powered, so
there's no risk of losing input events as there would be for real input
devices. The same is true of USB input devices that are built into the
system.

12 years agoconf: enforce UTF8 validty everywhere
Lennart Poettering [Mon, 12 Mar 2012 21:22:16 +0000 (22:22 +0100)]
conf: enforce UTF8 validty everywhere

we need to make sure that configuration data we expose via the bus ends
up in using getting an assert(). Even though configuration data is only
parsed from trusted sources we should be more careful with what we read.

12 years agoman: reword tmpfiles selinux bits
Lennart Poettering [Mon, 12 Mar 2012 20:51:39 +0000 (21:51 +0100)]
man: reword tmpfiles selinux bits

12 years agoextras: path_id - skip ATA transport class devices
Kay Sievers [Mon, 12 Mar 2012 17:40:23 +0000 (18:40 +0100)]
extras: path_id - skip ATA transport class devices

12 years agoupdate TODO
Lennart Poettering [Mon, 12 Mar 2012 13:01:27 +0000 (14:01 +0100)]
update TODO

12 years agorules: move all rules to top level rules/ dir
Kay Sievers [Wed, 7 Mar 2012 17:01:27 +0000 (18:01 +0100)]
rules: move all rules to top level rules/ dir

12 years agoupdate TODO
Kay Sievers [Wed, 7 Mar 2012 16:55:30 +0000 (17:55 +0100)]
update TODO

12 years agorules: delete s390 rules, they will move to s390utils
Kay Sievers [Wed, 7 Mar 2012 16:54:53 +0000 (17:54 +0100)]
rules: delete s390 rules, they will move to s390utils

12 years agobuild-sys: remove empty directory
Kay Sievers [Wed, 7 Mar 2012 16:22:29 +0000 (17:22 +0100)]
build-sys: remove empty directory

12 years agoremove edd_id extra
Kay Sievers [Wed, 7 Mar 2012 16:15:46 +0000 (17:15 +0100)]
remove edd_id extra

The use of identifying disks by magic byte sequences outside of the
filesystem or partion table is fragile and usually creates more
problems than it solves.

12 years agorules: move 42-qemu-usb.rules to rules/ dir
Kay Sievers [Wed, 7 Mar 2012 16:12:15 +0000 (17:12 +0100)]
rules: move 42-qemu-usb.rules to rules/ dir

12 years agorules: delete outdated 30-kernel-compat.rules
Kay Sievers [Wed, 7 Mar 2012 16:10:26 +0000 (17:10 +0100)]
rules: delete outdated 30-kernel-compat.rules

12 years agomove src/extras subdirectories to src/
Kay Sievers [Wed, 7 Mar 2012 15:46:55 +0000 (16:46 +0100)]
move src/extras subdirectories to src/

12 years agoudev.conf - do not set any value by default
Kay Sievers [Wed, 7 Mar 2012 15:38:02 +0000 (16:38 +0100)]
udev.conf - do not set any value by default

12 years agoremove udev-acl
Kay Sievers [Wed, 7 Mar 2012 15:34:56 +0000 (16:34 +0100)]
remove udev-acl

Udev-acl will be part of a future ConsoleKit release. On systemd systems,
advanced ConsoleKit and udev-acl functionality are natively provided by
systemd.

12 years agoman: clarify that applications must ignore unknown fields
Lennart Poettering [Tue, 6 Mar 2012 17:17:07 +0000 (18:17 +0100)]
man: clarify that applications must ignore unknown fields

12 years agoman: document how os-release(5) may be extended by OS vendors
Lennart Poettering [Tue, 6 Mar 2012 17:14:06 +0000 (18:14 +0100)]
man: document how os-release(5) may be extended by OS vendors

12 years agoman: fix typo
Lennart Poettering [Tue, 6 Mar 2012 16:58:27 +0000 (17:58 +0100)]
man: fix typo

12 years agoman: allow that /etc/os-release is a symlink
Lennart Poettering [Tue, 6 Mar 2012 16:52:21 +0000 (17:52 +0100)]
man: allow that /etc/os-release is a symlink

12 years agoman: add URL field definitions to os-release(5)
Lennart Poettering [Tue, 6 Mar 2012 16:44:32 +0000 (17:44 +0100)]
man: add URL field definitions to os-release(5)

As requested by Raphaël Hertzog from the Debian project, include
information about the home page and support/bug report pages in
/etc/os-release.

12 years agoman: add ID_LIKE definition to os-release(5)
Lennart Poettering [Tue, 6 Mar 2012 12:59:12 +0000 (13:59 +0100)]
man: add ID_LIKE definition to os-release(5)

As requested by Raphaël Hertzog from the Debian project, encode
derivative information in /etc/os-release.

12 years agoupdate TODO
Lennart Poettering [Tue, 6 Mar 2012 11:55:57 +0000 (12:55 +0100)]
update TODO

12 years agojournal: make sure to refresh window position and pointer after we linked up a data...
Lennart Poettering [Tue, 6 Mar 2012 01:42:32 +0000 (02:42 +0100)]
journal: make sure to refresh window position and pointer after we linked up a data object

12 years agomount: properly check return for mount_add_*
Dave Reisner [Fri, 17 Feb 2012 17:17:49 +0000 (12:17 -0500)]
mount: properly check return for mount_add_*

Previously, mount_load_etc_fstab() could never fail for reasons other
than a setmntent() or allocation failure.

12 years agobash-completion: get rid of awk, sed and grep
Harald Hoyer [Tue, 21 Feb 2012 14:48:24 +0000 (15:48 +0100)]
bash-completion: get rid of awk, sed and grep

Get rid of "awk", "sed" and "grep" calls.
This can be done entirely in bash!

With help from Dave Reisner

12 years agonspawn: be less cryptic when clone() fails
Lennart Poettering [Tue, 6 Mar 2012 01:06:29 +0000 (02:06 +0100)]
nspawn: be less cryptic when clone() fails

Based on a patch suggested by Shawn Landden.

12 years agoupdate TODO
Lennart Poettering [Tue, 6 Mar 2012 00:36:58 +0000 (01:36 +0100)]
update TODO

12 years agoupdate TODO
Lennart Poettering [Tue, 6 Mar 2012 00:30:00 +0000 (01:30 +0100)]
update TODO

12 years agosocket: rename 'broken' failure result to 'failed-permanent' on order not to introduc...
Lennart Poettering [Tue, 6 Mar 2012 00:29:29 +0000 (01:29 +0100)]
socket: rename 'broken' failure result to 'failed-permanent' on order not to introduce new terminology

12 years agoumount: don't try to umount /usr, if we are running from it
Lennart Poettering [Tue, 6 Mar 2012 00:28:32 +0000 (01:28 +0100)]
umount: don't try to umount /usr, if we are running from it

12 years agoupdate TODO
Lennart Poettering [Mon, 5 Mar 2012 21:55:35 +0000 (22:55 +0100)]
update TODO

12 years agosocket: fail the socket if the service keeps dying on start
Michal Schmidt [Mon, 5 Mar 2012 21:47:54 +0000 (22:47 +0100)]
socket: fail the socket if the service keeps dying on start

If the service reaches the start limit, mark the sockets that activate
it as failed (with the result code 'service-broken').
This way the sockets won't act as tarpits for clients connecting to
them.

12 years agoconfigure.ac: fix typo in distro help string
Thierry Reding [Wed, 15 Feb 2012 07:00:27 +0000 (08:00 +0100)]
configure.ac: fix typo in distro help string

12 years agosd-login: c++ compatibility
Lennart Poettering [Mon, 5 Mar 2012 14:16:10 +0000 (15:16 +0100)]
sd-login: c++ compatibility

12 years agosystemd-analyze: call os.uname() once
Dave Reisner [Mon, 27 Feb 2012 13:14:58 +0000 (08:14 -0500)]
systemd-analyze: call os.uname() once

Uses a format string, which is dependent on python 2.6.

12 years agofix sparse warnings
Frederic Crozat [Wed, 29 Feb 2012 13:42:49 +0000 (14:42 +0100)]
fix sparse warnings

12 years agojournal: fix endianness errors
Frederic Crozat [Thu, 1 Mar 2012 17:00:01 +0000 (18:00 +0100)]
journal: fix endianness errors

12 years agoman: corrected machine-info(5) man page to be in line with source
Shawn Landden [Mon, 5 Mar 2012 08:29:40 +0000 (00:29 -0800)]
man: corrected machine-info(5) man page to be in line with source

change conflicting man/machine-info.xml documentation to match functionality in
src/hostname/hostnamed.c 114-119

12 years agoupdate TODO
Lennart Poettering [Mon, 5 Mar 2012 13:09:16 +0000 (14:09 +0100)]
update TODO

12 years agoman: fix systemd.special build failure
Kay Sievers [Wed, 29 Feb 2012 21:32:50 +0000 (22:32 +0100)]
man: fix systemd.special build failure

12 years agosystemctl: forward untrusted user reboot, poweroff requests to logind
Kay Sievers [Wed, 29 Feb 2012 21:22:15 +0000 (22:22 +0100)]
systemctl: forward untrusted user reboot, poweroff requests to logind

12 years agosystemd-journald: fix endianess bug
Dirk Eibach [Wed, 29 Feb 2012 11:45:46 +0000 (12:45 +0100)]
systemd-journald: fix endianess bug

12 years agorules: do not create by-id/scsi-* links for ATA devices
Kay Sievers [Thu, 23 Feb 2012 15:32:42 +0000 (16:32 +0100)]
rules: do not create by-id/scsi-* links for ATA devices

12 years agobuiltin: path_id - remove dead cciss code
Kay Sievers [Thu, 23 Feb 2012 15:22:05 +0000 (16:22 +0100)]
builtin: path_id - remove dead cciss code

12 years agosystemd-analyze: read /etc/os-release
Kay Sievers [Tue, 21 Feb 2012 20:04:05 +0000 (21:04 +0100)]
systemd-analyze: read /etc/os-release

12 years agoupdate TODO
Lennart Poettering [Mon, 20 Feb 2012 18:56:14 +0000 (19:56 +0100)]
update TODO

12 years agoupdate TODO
Lennart Poettering [Mon, 20 Feb 2012 14:54:28 +0000 (15:54 +0100)]
update TODO

12 years agoupdate TOO
Kay Sievers [Mon, 20 Feb 2012 00:08:55 +0000 (01:08 +0100)]
update TOO

12 years agotest: remove outdated key attributes
Kay Sievers [Sun, 19 Feb 2012 23:41:58 +0000 (00:41 +0100)]
test: remove outdated key attributes

12 years agoman: systemd.special no longer needs sed logic
Lennart Poettering [Wed, 15 Feb 2012 19:23:25 +0000 (20:23 +0100)]
man: systemd.special no longer needs sed logic

12 years agologin: document new sd_session_get_xxx() calls
Lennart Poettering [Wed, 15 Feb 2012 19:13:24 +0000 (20:13 +0100)]
login: document new sd_session_get_xxx() calls

12 years agounits: reword rescue/emergency mode message to fit in 80chars
Lennart Poettering [Wed, 15 Feb 2012 19:06:14 +0000 (20:06 +0100)]
units: reword rescue/emergency mode message to fit in 80chars

12 years agosystemctl: introduce systemctl reboot -ff
Lennart Poettering [Wed, 15 Feb 2012 19:05:49 +0000 (20:05 +0100)]
systemctl: introduce systemctl reboot -ff

12 years agomachine-id: initialize vom qemu/kvm -uuid parameter if available
Lennart Poettering [Wed, 15 Feb 2012 18:16:08 +0000 (19:16 +0100)]
machine-id: initialize vom qemu/kvm -uuid parameter if available

12 years agobuild-sys: prepare release of 43 v43
Lennart Poettering [Wed, 15 Feb 2012 04:00:27 +0000 (05:00 +0100)]
build-sys: prepare release of 43

12 years agonamespace: temporaily reset umask when creating private /tmp
Lennart Poettering [Wed, 15 Feb 2012 03:56:59 +0000 (04:56 +0100)]
namespace: temporaily reset umask when creating private /tmp

12 years agologin: introduce sd_session_get_display()
Lennart Poettering [Wed, 15 Feb 2012 03:56:10 +0000 (04:56 +0100)]
login: introduce sd_session_get_display()

12 years agoupdate TODO
Lennart Poettering [Wed, 15 Feb 2012 01:39:52 +0000 (02:39 +0100)]
update TODO

12 years agotimedate: don't fail if NTP is not installed
Lennart Poettering [Tue, 14 Feb 2012 23:05:31 +0000 (00:05 +0100)]
timedate: don't fail if NTP is not installed

https://bugzilla.redhat.com/show_bug.cgi?id=790260

12 years agologin: add new sd_session_get_type() and sd_session_get_class API calls
Lennart Poettering [Tue, 14 Feb 2012 20:54:00 +0000 (21:54 +0100)]
login: add new sd_session_get_type() and sd_session_get_class API calls

12 years agologin: track login class (i.e. one of "user", "greeter", "lock-screen") for each...
Lennart Poettering [Tue, 14 Feb 2012 20:33:51 +0000 (21:33 +0100)]
login: track login class (i.e. one of "user", "greeter", "lock-screen") for each session

This introduces the new PAM environment variable XDG_SESSION_CLASS. If
not set, defaults to "user".

This is useful for apps that want to distuingish real user logins from
"fake" ones which just exist to show a gdm login screen or a lock
screen.

12 years agoupdate TODO
Kay Sievers [Tue, 14 Feb 2012 18:24:39 +0000 (19:24 +0100)]
update TODO

12 years agoman: define more precisely the format of /etc/os-release
Lennart Poettering [Tue, 14 Feb 2012 16:25:55 +0000 (17:25 +0100)]
man: define more precisely the format of /etc/os-release

12 years agoman: document CPE field in os-release file
Lennart Poettering [Tue, 14 Feb 2012 16:01:49 +0000 (17:01 +0100)]
man: document CPE field in os-release file

12 years agoupdate sd-daemon files
Kay Sievers [Tue, 14 Feb 2012 13:44:34 +0000 (14:44 +0100)]
update sd-daemon files

12 years agopath-lookup: search for unit files in /lib/systemd/system only on split /usr systems
Lennart Poettering [Mon, 13 Feb 2012 23:24:49 +0000 (00:24 +0100)]
path-lookup: search for unit files in /lib/systemd/system only on split /usr systems

12 years agodbus: update bus addresses to "unixexec:" protocol specifier
Lennart Poettering [Mon, 13 Feb 2012 22:48:47 +0000 (23:48 +0100)]
dbus: update bus addresses to "unixexec:" protocol specifier

The new protocol specified that we are settling on is "unixexec:" rather
than just "exec:", hence let's update our code accordingly.

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

12 years agosd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, work...
Lennart Poettering [Sat, 11 Feb 2012 02:45:23 +0000 (03:45 +0100)]
sd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, work on objects of the calling process

12 years agoman: we don't support systems without /etc/os-release anymore
Lennart Poettering [Mon, 13 Feb 2012 20:42:30 +0000 (21:42 +0100)]
man: we don't support systems without /etc/os-release anymore

12 years agoman: it's probably a good idea to wrap the ANSI color in quotes, in order to allow...
Lennart Poettering [Mon, 13 Feb 2012 17:37:33 +0000 (18:37 +0100)]
man: it's probably a good idea to wrap the ANSI color in quotes, in order to allow proper shell parsing of the semicolon

12 years agoFix broken Git repository URLs
Michael Biebl [Mon, 13 Feb 2012 16:46:46 +0000 (17:46 +0100)]
Fix broken Git repository URLs

12 years agoTODO
Lennart Poettering [Mon, 13 Feb 2012 15:36:33 +0000 (16:36 +0100)]
TODO

12 years agoconfigure.ac: fix whitespace
Kay Sievers [Mon, 13 Feb 2012 00:53:55 +0000 (01:53 +0100)]
configure.ac: fix whitespace

12 years agoalways use /etc/os-release and ignore all distro-specific files
Kay Sievers [Mon, 13 Feb 2012 00:46:44 +0000 (01:46 +0100)]
always use /etc/os-release and ignore all distro-specific files

The text mode welcome message will only show the distro name stored
in /etc/os-release and no longer read any distro-specific files.  If
/etc/os-release does not exist, 'Linux' will be printed.

When the source tree is is ./configure'd, only /etc-os-release is read
to guess the distro to build for. If /etc/os-release does not exist,
--with-distro= needs to be specified.

12 years agobuild-sys: simplify ENABLE_MANPAGES
Kay Sievers [Mon, 13 Feb 2012 00:11:22 +0000 (01:11 +0100)]
build-sys: simplify ENABLE_MANPAGES

12 years agobuild-sys: do not use split-/usr in distcheck
Kay Sievers [Mon, 13 Feb 2012 00:03:33 +0000 (01:03 +0100)]
build-sys: do not use split-/usr in distcheck

12 years agobuild-sys: add --disable-manpages
Kay Sievers [Sun, 12 Feb 2012 22:23:12 +0000 (23:23 +0100)]
build-sys: add --disable-manpages

12 years agobuild-sys: unpack test sysfs only for 'make check'
Kay Sievers [Sun, 12 Feb 2012 21:21:08 +0000 (22:21 +0100)]
build-sys: unpack test sysfs only for 'make check'

12 years agobuild-sys: publish man pages also on fdo v42
Lennart Poettering [Sat, 11 Feb 2012 00:59:49 +0000 (01:59 +0100)]
build-sys: publish man pages also on fdo

12 years agobuild-sys: prepare 42
Lennart Poettering [Sat, 11 Feb 2012 00:52:18 +0000 (01:52 +0100)]
build-sys: prepare 42

12 years agoTODO
Lennart Poettering [Sat, 11 Feb 2012 00:18:03 +0000 (01:18 +0100)]
TODO

12 years agol10n: Updated Polish translation
Piotr Drąg [Fri, 14 Oct 2011 14:27:33 +0000 (16:27 +0200)]
l10n: Updated Polish translation

12 years agobuild-sys: Support explicitly specifying --enable-split-usr.
Michał Górny [Fri, 10 Feb 2012 11:10:41 +0000 (12:10 +0100)]
build-sys: Support explicitly specifying --enable-split-usr.

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=45875
12 years agoutil: fix handling of empty files in read_one_line_file()
Lennart Poettering [Fri, 10 Feb 2012 23:27:12 +0000 (00:27 +0100)]
util: fix handling of empty files in read_one_line_file()

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

12 years agologind: introduce CanReboot/CanPowerOff bus calls
Lennart Poettering [Fri, 10 Feb 2012 23:13:10 +0000 (00:13 +0100)]
logind: introduce CanReboot/CanPowerOff bus calls

12 years agobuild-sys: minor typo fix
Lennart Poettering [Fri, 10 Feb 2012 20:45:15 +0000 (21:45 +0100)]
build-sys: minor typo fix

12 years agoman: make building of man pages optional
Lennart Poettering [Fri, 10 Feb 2012 20:44:14 +0000 (21:44 +0100)]
man: make building of man pages optional

12 years agojournal: add CAP_SETUID and CAP_SETGID to capabilities for journald, so that we can...
Lennart Poettering [Fri, 10 Feb 2012 14:45:26 +0000 (15:45 +0100)]
journal: add CAP_SETUID and CAP_SETGID to capabilities for journald, so that we can fake SCM_CREDENTIALS

12 years agocgroup: fix inverted condition
Michal Schmidt [Fri, 10 Feb 2012 01:53:10 +0000 (02:53 +0100)]
cgroup: fix inverted condition

A bug was introduced in acb14d3 "cgroup: when getting cgroup empty
notifications, always search up the tree".

When the given cgroup is found the hashmap, we should be happy and
return it, not go looking up the tree for another one.

Fixes the hanging NetworkManager on shutdown for me.

12 years agologind: make seat device management accessible to normal users/via polkit
Lennart Poettering [Fri, 10 Feb 2012 01:35:48 +0000 (02:35 +0100)]
logind: make seat device management accessible to normal users/via polkit

12 years agologind: Allow PowerOff/Reboot in default context
Benjamin Franzke [Thu, 9 Feb 2012 23:56:44 +0000 (00:56 +0100)]
logind: Allow PowerOff/Reboot in default context

12 years agomain: fix reexecution of systemd, use right path to binary
Lennart Poettering [Thu, 9 Feb 2012 22:25:57 +0000 (23:25 +0100)]
main: fix reexecution of systemd, use right path to binary

12 years agokmod-setup: fix build with libkmod
Frederic Crozat [Thu, 9 Feb 2012 13:12:10 +0000 (14:12 +0100)]
kmod-setup: fix build with libkmod

12 years agoservice: imply NotifyAccess=main if WatchdogSec= is used
Lennart Poettering [Thu, 9 Feb 2012 20:11:25 +0000 (21:11 +0100)]
service: imply NotifyAccess=main if WatchdogSec= is used

12 years agoman: document restart options
Lennart Poettering [Thu, 9 Feb 2012 20:01:18 +0000 (21:01 +0100)]
man: document restart options