summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-03-14conf: when looking for configurations look in /etc first, in /run secondLennart Poettering
After long consideration we came to the conclusion that user configuration in /etc should always override the (generally computer generated) configuration in /run. User configuration should always be what matters over anything else. Hence rearrange the search orders accordingly. In general this should change very little as overriding like this is seldomn done so far, and the order between /etc and /usr stays the same.
2012-03-14machine-id: initialize from $container_uuid if not set otherwiseLennart Poettering
This is a result of the discussions on https://bugs.freedesktop.org/show_bug.cgi?id=46894
2012-03-14journald: allocate PAGE_SIZE bytes for selinux label lengthLennart Poettering
As suggested in https://bugzilla.redhat.com/show_bug.cgi?id=798760
2012-03-14socket: make sure that the name for per-connection services are uniqueLennart Poettering
If a client connects to us repeatedly always using the same source port and we instantiate a service for the incoming connection this might clash with an old instance. Hence, include the connection number, the same way we do it for AF_UNIX to make connections unique. https://bugs.freedesktop.org/show_bug.cgi?id=45297
2012-03-14socket: if we fail to create an instantiated service for a socket, don't put ↵Lennart Poettering
the socket in failure mode An incoming connection that is immediately terminated might result in getpeername() or a similar call failing. Hence it is quite possible that while we are setting up an instantiated service for a socket we might get an error and we shouldn't take this as hint to take the listening socket down. https://bugs.freedesktop.org/show_bug.cgi?id=45297 https://bugzilla.novell.com/show_bug.cgi?id=741590
2012-03-13mount: fix assertionLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=768523
2012-03-13conf-parser: warn if an assignment is place outside of a sectionLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=783134
2012-03-13util: add brute-force fallback for close_all_fds()Lennart Poettering
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
2012-03-13journald: use SCM_SECURITY to race-freely determine peer SELinux labelLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=798760
2012-03-13socket: add option for SO_PASSECLennart Poettering
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)
2012-03-12login: tag the Mimo 720 ID_AUTOSEATShawn Landden
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
2012-03-12conf: enforce UTF8 validty everywhereLennart Poettering
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.
2012-03-06journal: make sure to refresh window position and pointer after we linked up ↵Lennart Poettering
a data object
2012-03-06mount: properly check return for mount_add_*Dave Reisner
Previously, mount_load_etc_fstab() could never fail for reasons other than a setmntent() or allocation failure.
2012-03-06bash-completion: get rid of awk, sed and grepHarald Hoyer
Get rid of "awk", "sed" and "grep" calls. This can be done entirely in bash! With help from Dave Reisner
2012-03-06nspawn: be less cryptic when clone() failsLennart Poettering
Based on a patch suggested by Shawn Landden.
2012-03-06socket: rename 'broken' failure result to 'failed-permanent' on order not to ↵Lennart Poettering
introduce new terminology
2012-03-06umount: don't try to umount /usr, if we are running from itLennart Poettering
2012-03-05socket: fail the socket if the service keeps dying on startMichal Schmidt
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.
2012-03-05sd-login: c++ compatibilityLennart Poettering
2012-03-05systemd-analyze: call os.uname() onceDave Reisner
Uses a format string, which is dependent on python 2.6.
2012-03-05fix sparse warningsFrederic Crozat
2012-03-05journal: fix endianness errorsFrederic Crozat
2012-02-29systemctl: forward untrusted user reboot, poweroff requests to logindKay Sievers
2012-02-29systemd-journald: fix endianess bugDirk Eibach
2012-02-21systemd-analyze: read /etc/os-releaseKay Sievers
2012-02-15systemctl: introduce systemctl reboot -ffLennart Poettering
2012-02-15machine-id: initialize vom qemu/kvm -uuid parameter if availableLennart Poettering
2012-02-15namespace: temporaily reset umask when creating private /tmpLennart Poettering
2012-02-15login: introduce sd_session_get_display()Lennart Poettering
2012-02-15timedate: don't fail if NTP is not installedLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=790260
2012-02-14login: add new sd_session_get_type() and sd_session_get_class API callsLennart Poettering
2012-02-14login: track login class (i.e. one of "user", "greeter", "lock-screen") for ↵Lennart Poettering
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.
2012-02-14path-lookup: search for unit files in /lib/systemd/system only on split /usr ↵Lennart Poettering
systems
2012-02-13dbus: update bus addresses to "unixexec:" protocol specifierLennart Poettering
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
2012-02-13sd-login: if NULL or 0 is passed as first parameter of the sd_xxx functions, ↵Lennart Poettering
work on objects of the calling process
2012-02-13Fix broken Git repository URLsMichael Biebl
2012-02-13always use /etc/os-release and ignore all distro-specific filesKay Sievers
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.
2012-02-11util: fix handling of empty files in read_one_line_file()Lennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=45362
2012-02-11logind: introduce CanReboot/CanPowerOff bus callsLennart Poettering
2012-02-10cgroup: fix inverted conditionMichal Schmidt
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.
2012-02-10logind: make seat device management accessible to normal users/via polkitLennart Poettering
2012-02-10logind: Allow PowerOff/Reboot in default contextBenjamin Franzke
2012-02-09service: imply NotifyAccess=main if WatchdogSec= is usedLennart Poettering
2012-02-09service: add StartLimitInterval/StartLimitBurst/StartLimitActionMichael Olbrich
2012-02-09install: fix incorrect 'Access denied' message with a non-existent unitMichal Schmidt
With "systemctl is-enabled non-existent.service" _UNIT_FILE_STATE_INVALID (-1) was wrongly interpreted as -errno. Return -ENOENT in this case. https://bugzilla.redhat.com/show_bug.cgi?id=766579
2012-02-09systemctl: check for no more work after chkconfigMichal Schmidt
Avoid a bogus message from 'systemctl enable ...' when all units given are SysV services: Warning: unit files do not carry install information. No operation executed. https://bugzilla.redhat.com/show_bug.cgi?id=787407
2012-02-09service: ignore SIGPIPE by defaultsystemd/v41Lennart Poettering
2012-02-09modules-load: resolve aliases before insert modulesDave Reisner
This keeps behavior in line calling /sbin/modprobe -- aliases will be resolved to the relevant modules, and errors from inserting modules which are already loaded are ignored.
2012-02-09kmod: make GCC shut upLennart Poettering