Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-07 | shutdown: Adding binary to shutdown the system | Fabiano Fidencio | |
This functions are working as follows: - Send a SIGTERM to all processes that may be finished - Send a SIGKILL to all processes that still live and may be finished - Try to unmount all mount points - Try to remount read-only all mount points that can't be umounted - Umount all swap devices - Umount and detach all loopback devices - Call [poweroff|halt|reboot|kexec] TODO: - Umount device-mapper. - Make log work. So far it is being useless as we do not parse /etc/systemd/system.conf, kernel command line but just environment, however we're executed by init and thus have no useful variables. Forcing it to target=kmsg/console and level=debug also does not produce any output, however writing to /dev/console does work (hack used during debug). | |||
2010-10-07 | umount: Adding unmount functions to be used in shutdown | Fabiano Fidencio | |
This functions will: - umount all mount points that aren't API - remount read-only all mount points that can't be umounted - umount all swap devices. - detach all loopback devices TODO: - umount dms Mountpoints are being read from /proc/self/mountinfo. Swaps are being read from /proc/swaps. Loop devices from /sys/class/block/loop*. | |||
2010-10-07 | util: Adding a strneq, to represent (!strncmp(a, b, n)) | Fabiano Fidencio | |
As we have streq to repesent (strcmp(a, b) == 0),I'm adding strneq to represent (strncmp(a, b, n) == 0), that will be used in umount.c (at least). | |||
2010-10-07 | vconsole-setup: fix path on Arch | Lucas De Marchi | |
Arch uses the same paths and default font of gentoo. Previously, systemd-vconsole-setup was failing with the following message: systemd-vconsole-setup[59]: /bin/setfont failed with error code 1. | |||
2010-10-07 | sd-daemon: in some places sizeof(sa_family_t) actually does make sense | Lennart Poettering | |
2010-10-07 | build-sys: prepare v11systemd/v11 | Lennart Poettering | |
2010-10-07 | update fixme | Lennart Poettering | |
2010-10-07 | units: make sure we run all early boot units before entering basic.target | Lennart Poettering | |
2010-10-07 | update fixme | Lennart Poettering | |
2010-10-07 | util: never use sizeof(sa_family_t) when calculating sockaddr sizes | Lennart Poettering | |
2010-10-06 | manager: notify plymouth about progress if it is running | Lennart Poettering | |
2010-10-06 | unit: continue boot when exiting emergency/resuce shell | Lennart Poettering | |
2010-10-06 | systemctl: require correctly formed unit names when enabling units | Lennart Poettering | |
2010-10-05 | README: mention libcap dependency | Lennart Poettering | |
https://bugs.freedesktop.org/show_bug.cgi?id=30060 | |||
2010-10-05 | timer: Add missing break in switch | Matthias Schiffer | |
2010-10-05 | mount: Don't stop the mountinfo parser if one line can't be read | Fabiano Fidêncio | |
The current behavior of the /proc/self/mountinfo parser is to stop the parser on parse failures I'm only changing this behavior to try the next line and adding a warning if occurs a fail. | |||
2010-10-05 | notify: fix include properly | Lennart Poettering | |
2010-10-05 | fix typo: s/seperat/separat/g | Dave Reisner | |
2010-10-05 | readahead: fix printf format string | Lennart Poettering | |
2010-10-05 | notify: add missing include | Lennart Poettering | |
2010-10-05 | build-sys: Add compiler and linker flags to reduce binary size | Gustavo Sverzut Barbieri | |
Reduce number of exported symbols with -fvisibility=hidden by default, this is safe as we're not generating and loadable library and our binaries should have no exported symbol other than main(). This alone reduces around 4kb per binary. It will also request GCC to emit every function and data variable in its own section, then request the linker to remove unused sections. This reduces the size of utility tools (/lib/systemd/systemd-*) by half or even more (in my system some binaries went from 84kb to 32kb). | |||
2010-10-05 | unit-name: fix unit name escaping | Mike Kelly | |
we want to do a bitwise shift, not a greater-than comparision | |||
2010-10-05 | man: fix typo | Lennart Poettering | |
2010-10-05 | man: document Sockets= switch | Lennart Poettering | |
2010-10-05 | man: document readahdea split-off | Lennart Poettering | |
2010-10-05 | service: rename settings for Restart= from 'restart-always' to 'always' and ↵ | Lennart Poettering | |
similar | |||
2010-10-05 | sd-daemon: split off sd_readahead() since it is not a feature of systemd ↵ | Lennart Poettering | |
itself but of an auxiliary tool | |||
2010-10-05 | mount: sort network mounts after network.target by default | Lennart Poettering | |
2010-10-05 | socket: make sockets to pass to a service configurable | Lennart Poettering | |
2010-10-05 | socket: make service to start on incoming traffic configurable | Lennart Poettering | |
2010-10-05 | man: fix suggested autoconf snippet | Lennart Poettering | |
2010-10-05 | readahead: ignore deleted files | Lennart Poettering | |
2010-10-02 | update fixme | Kay Sievers | |
2010-09-30 | readahead: minor 32bit fixes | Lennart Poettering | |
2010-09-29 | tmpfiles: fix typo in comment | Andreas Jaeger | |
2010-09-29 | readahead: preload pack file | Lennart Poettering | |
2010-09-29 | units: getty.target is pulled in via /lib these days | Lennart Poettering | |
2010-09-29 | readahead: make sure /dev/.systemd/readahead exists | Lennart Poettering | |
2010-09-29 | units: properly terminate readahead collection 10s after boot | Lennart Poettering | |
2010-09-29 | update fixme | Lennart Poettering | |
2010-09-29 | units: get rid of special setup services for /var/run, /var/lock and /tmp, ↵ | Lennart Poettering | |
and rely on tmpfiles.d/ instead | |||
2010-09-29 | units: ship unit file for systemd-tmpfiles by default | Lennart Poettering | |
2010-09-28 | parse_env_file() - return empty value strings like FOO="" as NULL value | Kay Sievers | |
2010-09-28 | tmpfiles: install default tmpfiles configuration | Lennart Poettering | |
2010-09-28 | tmpfiles: move dir to /etc/tempfiles.d/ | Lennart Poettering | |
2010-09-28 | tmpfiles: return sensible error code | Lennart Poettering | |
2010-09-28 | tmpfiles: rename tempfiles to tmpfiles since this isn't windows | Lennart Poettering | |
2010-09-28 | units: schedule tmpwatch on idle class | Lennart Poettering | |
2010-09-28 | list: Fixing typo in LIST_FIND_HEAD | Fabiano Fidencio | |
Just removing a parenthesis | |||
2010-09-28 | sort fixme for v11 todo list | Lennart Poettering | |