summaryrefslogtreecommitdiff
path: root/src/util.c
AgeCommit message (Collapse)Author
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
2010-10-22systemctl: introduce systemctl killLennart Poettering
2010-10-18util: ignore quota files by defaultLennart Poettering
2010-10-18tmpfiles: integrate kay's directory cleanup code and otherwise beef up ↵Lennart Poettering
tmpfiles quite a bit
2010-10-13inotify: properly handle multiple inotify events per read()Lennart Poettering
2010-10-08util: don't specifically check for the /dev/null major/minor, just check ↵Lennart Poettering
whether something is a char or block device
2010-10-08unit: introduce 'banned' load state for units symlinked to /dev/nullLennart Poettering
2010-10-07util: unify implementations of freeze()Lennart Poettering
2010-10-05fix typo: s/seperat/separat/gDave Reisner
2010-09-28parse_env_file() - return empty value strings like FOO="" as NULL valueKay Sievers
2010-09-21locale: make sure we don't merge configuration settings from different sourcesLennart Poettering
2010-09-17ask-password: optionally ask questions on ttyLennart Poettering
2010-09-16util: fix handling of quotes in parse_env_file()Lennart Poettering
2010-09-16vconsole: add new utility to initialize the virtual consoleLennart Poettering
2010-09-15util: use waitid() instead of waitpid() everywhere to avoid confusion due to ↵Lennart Poettering
SIGSTOP
2010-09-15util: introduce waitpid_loop()Lennart Poettering
2010-09-14util: SIGSTKFLT is unknown on Linux for SPARCLennart Poettering
2010-09-13util: add Arch welcome messageTom Gundersen
Arch has no release name, so juts prints 'Welcome to Arch Linux!'. The color is the same as used by Arch's native rc.sysinit.
2010-09-13util: add Debian welcome messageSedat Dilek
Hi, after talked with Michael on IRC, here is the patch to see a systemd Welcome message on Debian systems. FYI: I had to remove "quiet" from Kernel-command-line to see it. "Stolen from Gentoo" :-) [1,2]? Kind Regards, - Sedat - [1] http://lists.freedesktop.org/archives/systemd-devel/2010-September/000267.html [2] http://cgit.freedesktop.org/systemd/commit/?id=0d37b36b2890fdf8149d12460ebb00822e555977 From 76d860ca774cb8724de25c3ed3c455ebe5d548e3 Mon Sep 17 00:00:00 2001 From: Sedat Dilek <sedat.dilek@gmail.com> Date: Sun, 12 Sep 2010 23:02:22 +0200 Subject: [PATCH] util: add Debian welcome message Include the "Debian" string as /etc/debian_version contains only the Distribution name like "squeeze". Use Light Red color for Debian. Based on a proposal patch of Michael Biebl <biebl@debian.org>
2010-09-09util: add Gentoo welcome message.Gustavo Sverzut Barbieri
2010-09-01util: leave locked terminal attributes untouched so that we don't interfere ↵Lennart Poettering
with plymouth https://bugzilla.redhat.com/show_bug.cgi?id=628913
2010-08-31util: look at STDOUT, not STDIN, when determining tty columnsLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=626891
2010-08-25systemctl: show timestamps for state changesLennart Poettering
2010-08-20mount: properly handle LABEL="" in fstabLennart Poettering
2010-08-20service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and ↵Lennart Poettering
decode exit codes in systemctl
2010-08-17nss: don't disable nscd anymore, since it doesn't make sense to ↵Lennart Poettering
socket-activate nscd anyway
2010-08-16util: properly detect ttyname_r() failingLennart Poettering
2010-08-16systemctl: add support for delayed shutdown, similar to sysv in styleLennart Poettering
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-11main: disable nscd properly, if possibleLennart Poettering
2010-08-11gc: remove a lot of unused codeLennart Poettering
2010-08-11selinux: split off selinux calls into seperate file label.cLennart Poettering
2010-08-11util: when replacing env vars replace unset envvars by nothingLennart Poettering
This makes it easier to support /etc/sysconfig/xxxx with command line env vars in style of $OPTIONS which might or might not be set.
2010-08-06util: when formatting timestamps return '0' for 0 timestamps instead of ↵Lennart Poettering
empty string