summaryrefslogtreecommitdiff
path: root/.gitignore
Commit message (Collapse)AuthorAge
...
* debug-generator: add new generatorLennart Poettering2014-06-19
| | | | | | | | debug-generator can mask specific units if they are specified on the kernel command line with systemd.mask=. debug-generator can pull in debug-shell.service is systemd.debug-shell is passed on the kernel command line.
* coredump: coredumpctl is so useful now, make it a first-class citizenLennart Poettering2014-06-19
| | | | | Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to "coredumpctl".
* tests: add test-fdsetRonny Chevalier2014-06-16
|
* tests: add test-socket-utilRonny Chevalier2014-06-16
|
* sd-dhcp-server: add basic functionality for creating/destroying server instanceTom Gundersen2014-06-13
|
* update-done: add minimal tool to manage system updates for /etc and /var, if ↵Lennart Poettering2014-06-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | /usr has changed In order to support offline updates to /usr, we need to be able to run certain tasks on next boot-up to bring /etc and /var in line with the updated /usr. Hence, let's devise a mechanism how we can detect whether /etc or /var are not up-to-date with /usr anymore: we keep "touch files" in /etc/.updated and /var/.updated that are mtime-compared with /usr. This means: Whenever the vendor OS tree in /usr is updated, and any services that shall be executed at next boot shall be triggered, it is sufficient to update the mtime of /usr itself. At next boot, if /etc/.updated and/or /var/.updated is older than than /usr (or missing), we know we have to run the update tools once. After that is completed we need to update the mtime of these files to the one of /usr, to keep track that we made the necessary updates, and won't repeat them on next reboot. A subsequent commit adds a new ConditionNeedsUpdate= condition that allows checking on boot whether /etc or /var are outdated and need updating. This is an early step to allow booting up with an empty /etc, with automatic rebuilding of the necessary cache files or user databases therein, as well as supporting later updates of /usr that then propagate to /etc and /var again.
* sysusers: add minimal tool to reconstruct /etc/passwd and /etc/group from ↵Lennart Poettering2014-06-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | static files systemd-sysusers is a tool to reconstruct /etc/passwd and /etc/group from static definition files that take a lot of inspiration from tmpfiles snippets. These snippets should carry information about system users only. To make sure it is not misused for normal users these snippets only allow configuring UID and gecos field for each user, but do not allow configuration of the home directory or shell, which is necessary for real login users. The purpose of this tool is to enable state-less systems that can populate /etc with the minimal files necessary, solely from static data in /usr. systemd-sysuser is additive only, and will never override existing users. This tool will create these files directly, and not via some user database abtsraction layer. This is appropriate as this tool is supposed to run really early at boot, and is only useful for creating system users, and system users cannot be stored in remote databases anyway. The tool is also useful to be invoked from RPM scriptlets, instead of useradd. This allows moving from imperative user descriptions in RPM to declarative descriptions. The UID/GID for a user/group to be created can either be chosen dynamic, or fixed, or be read from the owner of a file in the file system, in order to support reconstructing the correct IDs for files that shall be owned by them. This also adds a minimal user definition file, that should be sufficient for most basic systems. Distributions are expected to patch these files and augment the contents, for example with fixed UIDs for the users where that's necessary.
* Move handling of sysv initscripts to a generatorThomas Hindoe Paaboel Andersen2014-06-07
| | | | | | | | | | | | | | Reuses logic from service.c and the rc-local generator. Note that this drops reading of chkconfig entirely. It also drops reading runlevels from the LSB headers. The runlevels were only used to check for runlevels outside of the normal 1-5 range and then add special dependencies and settings. Special runlevels were dropped in the past so it seemed to be unused code. The generator does not know about non-generated units with a value set with SysVStartPriority=. These are therefor not taken into account when converting start priority to before/after.
* resolved: add daemon to manage resolv.confTom Gundersen2014-05-19
| | | | Also remove the equivalent functionality from networkd.
* networkd: add missing filesTom Gundersen2014-05-16
|
* shared: add ring bufferDavid Herrmann2014-05-13
| | | | | | | New "struct ring" object that implements a basic ring buffer for arbitrary byte-streams. A new basic runtime test is also added. This will be needed for our pty helpers for systemd-console and friends.
* rename timedate-sntp to timesyncKay Sievers2014-04-28
|
* remove bus-driverd, the interface is now handled natively by bus-proxydKay Sievers2014-04-22
|
* gitignore updateKay Sievers2014-03-25
|
* logind: automatically remove SysV + POSIX IPC objects when the users owning ↵Lennart Poettering2014-03-14
| | | | them fully log out
* timedated: add SNTP client/query hookup (unused for now)Kay Sievers2014-03-14
|
* Update gitignoreZbigniew Jędrzejewski-Szmek2014-03-01
|
* update gitignoreThomas Hindoe Paaboel Andersen2014-02-21
|
* journal: guarantee async-signal-safety in sd_journald_sendvZbigniew Jędrzejewski-Szmek2014-01-27
| | | | | | | | | | | | | | | | | | signal(7) provides a list of functions which may be called from a signal handler. Other functions, which only call those functions and don't access global memory and are reentrant are also safe. sd_j_sendv was mostly OK, but would call mkostemp and writev in a fallback path, which are unsafe. Being able to call sd_j_sendv in a async-signal-safe way is important because it allows it be used in signal handlers. Safety is achieved by replacing mkostemp with open(O_TMPFILE) and an open-coded writev replacement which uses write. Unfortunately, O_TMPFILE is only available on kernels >= 3.11. When O_TMPFILE is unavailable, an open-coded mkostemp is used. https://bugzilla.gnome.org/show_bug.cgi?id=722889
* build-sys: merge libsystemd-login into libsystemdZbigniew Jędrzejewski-Szmek2014-01-25
| | | | | | | | | | | | | | | | | | A compatibility libsystemd-login library is created which uses .symver and ifunc magic proposed by Lennart to make programs linked to the old library name continue to work seamlessly. Unfortunately the bfd linker crashes: https://sourceware.org/bugzilla/show_bug.cgi?id=16467 This will be fixed in binutils 2.25. As a work-around, gold can be used: LDFLAGS=-Wl,-fuse-ld=gold Unfortunately the switch to pick the linker appeared in gcc 4.8. This also doesn't work with LLVM: http://llvm.org/bugs/show_bug.cgi?id=11897
* sd-resolv: rename to sd-resolveTom Gundersen2014-01-14
| | | | | Lennart pointed out that we were misspelling 'resolve'. Let's not repeat the mistakes of 'umount' and 'resolv.conf'.
* libsystemd-dns: merge into libsystemdTom Gundersen2014-01-13
| | | | Also rename sd-dns -> sd-resolv.
* libsystemd-bus: rename to libsystemdTom Gundersen2014-01-13
| | | | | Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place of libsystemd-bus.
* sd-dns: initial commitDaniel Buch2014-01-11
| | | | | | | Origin: <http://0pointer.de/lennart/projects/libasyncns/> [tomegun: renamed some more files asyncns -> sd-dns and moved to libsystemd-bus as requested by Lennart]
* Use format patterns for usec_t, pid_t, nsec_t, usec_tZbigniew Jędrzejewski-Szmek2014-01-02
| | | | | | | | It is nicer to predefine patterns using configure time check instead of using casts everywhere. Since we do not need to use any flags, include "%" in the format instead of excluding it like PRI* macros.
* shared: add simplistic XML parser for usage in the D-Bus policy language ↵Lennart Poettering2013-12-28
| | | | compat parser
* Add bus-driverdDaniel Mack2013-12-16
| | | | | | | | | | | | systemd-bus-driverd is a small daemon that connects to kdbus and implements the org.freedesktop.DBus interface. IOW, it provides the bus functions traditionally taken care for by dbus-daemon. Calls are proxied to kdbus, either via libsystemd-bus (were applicable) or with the open-coded use of ioctl(). Note that the implementation is not yet finished as the functions to add and remove matches and to start services by name are still missing.
* bus: install systemd-bus-proxyd unit files for compatibility with dbus1Lennart Poettering2013-12-13
|
* git: update .gitignoreLennart Poettering2013-12-13
|
* bus: add support for serializing to gvariantLennart Poettering2013-12-05
| | | | (deserialization is still missing, hence this is not hooked up to kdbus)
* bus: add generator that turns old dbus1 activation files into .busname + ↵Lennart Poettering2013-12-03
| | | | .service units
* rename stdio-bridge to bus-proxydKay Sievers2013-11-29
|
* bus: add new sd_bus_creds object to encapsulate process credentialsLennart Poettering2013-11-28
| | | | | | | | | | | | | This way we can unify handling of credentials that are attached to messages, or can be queried for bus name owners or connection peers. This also adds the ability to extend incomplete credential information with data from /proc, Also, provide a convenience call that will automatically determine the most appropriate credential object for an incoming message, by using the the attached information if possible, the sending name information if available and otherwise the peer's credentials.
* journal: add a test case for flushing messages out of a series of journal ↵Lennart Poettering2013-11-27
| | | | files into a single new one
* build-sys: move more files from core/ to share/ that are generic enoughLennart Poettering2013-11-22
|
* cgroups: Cache controller masks and optimize queues.David Strauss2013-11-22
|
* build-sys: parallelize 'exported' targetZbigniew Jędrzejewski-Szmek2013-11-12
|
* build-sys: add a link test for exported symbolsZbigniew Jędrzejewski-Szmek2013-11-12
| | | | | | | | I know that this is a pretty big net to catch some small fish, but we *do* regularly forget to properly export symbols that were supposed to be exported. This time sd_bus_get_current and some renamed symbols are caught.
* networkd: add a basic network daemonTom Gundersen2013-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | This daemon listens for and configures network devices tagged with 'systemd-networkd'. By default, no devices are tagged so this daemon can safely run in parallel with existing network daemons/scripts. Networks are configured in /etc/systemd/network/*.network. The first .network file that matches a given link is applied. The matching logic is similar to the one for .link files, but additionally supports matching on interface name. The mid-term aim is to provide an alternative to ad-hoc scripts currently used in initrd's and for wired setups that don't change much (e.g., as seen on servers/and some embedded systems). Currently, static addresses and a gateway can be configured. Example .network file: [Match] Name=wlp2s0 [Network] Description=My Network Gateway=192.168.1.1 Address=192.168.1.23/24 Address=fe80::9aee:94ff:fe3f:c618/64
* systemctl: rename 'listen'Kay Sievers2013-11-08
| | | | | | | src/systemctl/systemctl.c: In function ‘get_listening’: src/systemctl/systemctl.c:535:25: warning: declaration of ‘listen’ shadows a global declaration [-Wshadow] src/systemctl/systemctl.c: In function ‘list_sockets’: src/systemctl/systemctl.c:690:44: warning: declaration of ‘listen’ shadows a global declaration [-Wshadow]
* libsystemd-rtnl: add a rtnetlink libraryTom Gundersen2013-10-27
| | | | | | | | This is intentionally as similar to sd-bus as possible. While it would be simple to export it, the intentions is to keep this internal (at least for the forseeable future). Currently only synchronous communication is implemented
* update gitignoreDave Reisner2013-10-26
|
* bus: remove static introspection file exportKay Sievers2013-10-21
|
* socket-proxyd: rename from saproxyLennart Poettering2013-10-18
| | | | | | | | | The thing is a daemon, hence needs a "d" prefix. Also, we tend to not abbreviate names of background components unnecessarily, since they are not primary commands people type. Then, the fact that this thing does socket actviation is mostly in implementationd detail for the proxy. Also, do some minor indenting clean-ups and other code updates.
* Rename sabridge to saproxy to be less crypticDavid Strauss2013-10-15
|
* Add sabridge for socket activation of traditional daemonsDavid Strauss2013-10-15
|
* git: add test-ellipsize to files to ignore by gitLennart Poettering2013-10-14
|
* rfkill: add new rfkill tool to save/restore rfkill state across rebootsLennart Poettering2013-10-14
| | | | This works analogous to the existing backlight and random seed services
* gitignore: ignore clang --analyze outputZbigniew Jędrzejewski-Szmek2013-10-13
|
* bus: add minimal event loop APILennart Poettering2013-10-10
| | | | | | | | | | | | | | | So far we tried to use epoll directly wherever we needed an event loop. However, that has various shortcomings, such as the inability to handle larger amounts of timers (since each timerfd costs one fd, which is a very limited resource, usually bounded to 1024), and inability to do priorisation between multiple queued events. Let's add a minimal event loop API around epoll that is suitable for implementation of our own daemons and maybe one day can become public API for those who desire it. This loop is part of libsystemd-bus, but may be used independently of it.