summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)Author
2011-03-28util: detect page size runtime.cee1
Some architectures support multiple machine types with diffenent page sizes, and some machine types even support multiple page sizes themselves.
2011-03-18man: document pidns containersLennart Poettering
2011-03-16util: make touched files non-writable by defaultLennart Poettering
2011-03-14util: add detect_container()Lennart Poettering
2011-03-14util: detect CLONE_NEWPID namespaces, and cache resultsLennart Poettering
2011-03-14util: return exit status in wait_for_terminate_and_warn()Lennart Poettering
2011-03-14util: properly identify pty devices by their majorLennart Poettering
2011-03-11util: close all fds before freezing executionLennart Poettering
2011-03-09dbus: properly generate UnknownInterface, UnknownProperty and ↵Lennart Poettering
PropertyReadOnly errors
2011-03-09drop unnecessary suffix NULs as gcc adds them anywayLennart Poettering
2011-03-08build-sys: add Mandriva distribution supportsystemd/v20Andrey Borzenkov
This merges several separate patches that I carry as part of Mandriva systemd RPM. They touch those parts that are very unlikely to be changed in near future and do not impose any functionality change for systemd core. I also think it is useful for troubleshooting to have real distribution name in system logs, espicially when someone reports problem upstream. The patch looks bigger than sum of replaced patches because - previous patches were applied on top of distro=fedora, now I need to add all those bits for distro=mandriva as well - part of patch was done as spec file magic, but it seems more logical to ship all these bits together
2011-03-04execute: load environment files at time of execution, not when we load the ↵Lennart Poettering
service configuration https://bugzilla.redhat.com/show_bug.cgi?id=661282
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-02-22virtualization: check cpuid first, since it is cheaper than DMILennart Poettering
2011-02-22util: make string staticLennart Poettering
2011-02-21virtualization: beef virtualization codeLennart Poettering
2011-02-17util: retry opening a TTY on EIOLennart Poettering
https://bugs.freedesktop.org/show_bug.cgi?id=33996 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554172/comments/245
2011-02-17util: beef up logic to find ctty nameLennart Poettering
2011-02-16util: seperate welcome line from other output by empty linesLennart Poettering
2011-02-15shutdown: execute all binaries in /lib/systemd/system-shutdown as last step ↵Lennart Poettering
before invoking reboot()
2011-02-14util: properly resolve /dev/console if more than once console= argument was ↵Lennart Poettering
passed on the kernel command line
2011-02-14getty: do not auto-spawn getty's on VC ttys if console=ttyN is usedLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=676885
2011-02-13util: when determining the right TERM for /dev/console consult ↵Lennart Poettering
/sys/class/tty/console/active
2011-02-13readahead: disable readahead in virtual machinesLennart Poettering
2011-02-08build-sys: initial support ALTLinuxAlexey Shabalin
Hi all! I added basic support for ALTLinux. Please see patch or http://git.altlinux.org/people/shaba/packages/systemd.git?p=systemd.git;a=shortlog;h=refs/heads/altlinux Thanks.
2011-01-22gcc: make gcc shut upLennart Poettering
2011-01-20systemctl: highlight failed processes in systemctl statusLennart Poettering
2011-01-18mount: FAT uuids are uppercaseLennart Poettering
2011-01-06execute,util: fix two small memory leaksLennart Poettering
2011-01-05util: don't pass invalid fd to fdopendir() on error to avoid corruption of errnoLennart Poettering
2011-01-05fragment: properly handle quotes in assignments in EnvironmentFile= filesLennart Poettering
2011-01-04serial: use TERM=vt100 instead of TERM=vt100-navLennart Poettering
TERM=vt100-nav was necessary for compat with some ppc hvc devices, a long time ago. Unfortunately vt100-nav terminfo is not installed by default on most distros, hence change the default to v100 which is available universally and still should be a relatively safe and conservative default. Should it turn out that vt100 is not really the best choice we can revert this change again and then ask distros to move vt100-nav into their default install.
2011-01-01arch: remove welcome messageTom Gundersen
This is now done by os-release downstream.
2011-01-01util: invoke sync() implicitly on freeze()Lennart Poettering
Suggested by Tom Gundersen.
2010-12-28tmpfiles: ensure we do no follow symlinks when cleaning up dirsLennart Poettering
Patch suggested by Miloslav Trmac.
2010-12-21util: properly handle OOM when allocating Debian version stringLennart Poettering
2010-12-21debian: Prefix welcome string with "Debian "Michael Biebl
For stable releases /etc/debian_version only contains a version number, so we add a prefix "Debian ".
2010-11-18sysctl: implement native sysctl tool to support Debian-style /etc/sysctl.dLennart Poettering
2010-11-18util: introduce /etc/os-release so that distros don't need to patch systemd ↵Lennart Poettering
to get a welcome message
2010-11-15exec: automatically determine right TERM= setting based on tty nameLennart Poettering
2010-11-14util: always highlight distro nameLennart Poettering
2010-11-12cryptsetup: hook up tool with ask-passwordLennart Poettering
2010-11-10manager: parse RD_TIMESTAMP passed from initrdLennart Poettering
2010-11-10cryptsetup: minimal cryptsetup unit generatorLennart Poettering
2010-10-28service: unify tstamp serialization codeLennart Poettering
2010-10-27main: move make_null_stdio() to util.cLennart Poettering
2010-10-27unit: serialize active timestampsLennart Poettering
2010-10-26ask-password: add minimal plymouth password agentLennart Poettering
2010-10-25util: Add welcome message for UbuntuAndrew Edmunds
The approved method for determining the installed release of Ubuntu is to execute "lsb_release". However, this is in /usr/bin and is implemented in python so it is not safe to execute at this early stage of booting. This code parses /etc/lsb-release which is where "lsb_release" looks for the information.
2010-10-25ask-password: add basic tty agentLennart Poettering