f50cd2b2f5369a5c94714eaaac6b31093e60d502 |
|
10-Feb-2016 |
Lennart Poettering <lennart@poettering.net> |
build-sys: move coredump logic into subdir of its own |
58ce77339c60c8c5f1f7789adf0ef80107dbafe3 |
|
26-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add missing makefile symlink |
3850d0505fb4350dccdd63cf6129db40fe9b5bd0 |
|
31-Aug-2015 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add missing Makefile symlink |
1c4baffc1895809bae9ac36b670af90a4cb9cd7d |
|
13-Jun-2015 |
Tom Gundersen <teg@jklm.no> |
sd-netlink: rename from sd-rtnl |
a095315b3c31f7a419baceac82c26c3c5ac0cd12 |
|
11-Jun-2015 |
Kay Sievers <kay@vrfy.org> |
build-sys: split internal basic/ library from shared/
basic/ can be used by everything
cannot use anything outside of basic/
libsystemd/ can use basic/
cannot use shared/
shared/ can use libsystemd/ |
2c971c6fef4fdba5ea2cba5891a4a8f4736b87e4 |
|
09-Mar-2015 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add one more Makefile symlink |
ea24d8d1383e038d6b6e599d42c0114b3dbd8acb |
|
27-Feb-2015 |
Ivan Shapovalov <intelfx100@gmail.com> |
user-sessions: move into own subdir and build independently of logind
Suggested by Zbyszek on IRC.
[zj: /run/nologin is used with PAM. systemd-user-session is independent
of logind.] |
15f7a395c8f0b493c5ab8f57e6af7db7ad14688a |
|
06-Jan-2015 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add two more missing makefile links |
821d4b6e068b2afaad94d43db22171c34a30400e |
|
19-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
sysv-generator: properly add Makefile symlink |
72648326ea6d3e68cdb0b5890df737047d031a41 |
|
19-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
import: add new minimal tool "systemd-import" for pulling down foreign containers and install them locally
This adds a simply but powerful tool for downloading container images
from the most popular container solution used today. Use it like
this:
# systemd-import pull-dck mattdm/fedora
# systemd-nspawn -M fedora
This will donwload the layers for "mattdm/fedora", and make them
available locally as /var/lib/container/fedora.
The tool is pretty complete, as long as it's only about pulling down
images, or updating them. Pushing or searching is not supported yet. |
65eb4378c3e1de25383d8cd606909e64c71edc80 |
|
18-Dec-2014 |
Tom Gundersen <teg@jklm.no> |
systemd-hwdb: introduce new tool
This pulls out the hwdb managment from udevadm into an independent tool.
The old code is left in place for backwards compatibility, and easy of
testing, but all documentation is dropped to encourage use of the new
tool instead. |
23fbe14f503c1e98292efc4ba1238adb7dc38d80 |
|
11-Dec-2014 |
Tom Gundersen <teg@jklm.no> |
libsystemd: add sd-hwdb library
This is libudev-hwdb, but decoupled from libudev and in the libsystemd style.
The core code is unchanged, apart from the following minor changes:
- hwdb.bin located in /**/systemd/hwdb/ take preference over the ones located
in /**/udev/
- properties are stored internally in an OrderedHashmap, rather than a
linked list.
- a new API call allows individual properties to be queried directly, rather
than iterating over them all
- the iteration over properties have been moved inside the library, rather than
exposing a list directly
- the unused 'flags' parameter was dropped |
42483a747489ff46aed3588b78bf4b9480dbeaf7 |
|
26-Aug-2014 |
Ivan Shapovalov <intelfx100@gmail.com> |
hibernate-resume: add a tool to write a device node's major:minor to /sys/power/resume.
This can be used to initiate a resume from hibernation by path to a swap
device containing the hibernation image.
The respective templated unit is also added. It is instantiated using
path to the desired resume device. |
a903fd34c0e30b82f4264ea25553535edefdee08 |
|
12-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
sd-network: move sd-network API into libsystemd proper
In contrast to the DHCP/IPv4LL/ICMP6 APIs sd-network is not a protocol
implementation but a client API for networkd, hence move it into
libsystemd proper. |
17fdb7661b7564bc97201fa6fd30a11cba03201c |
|
11-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add missing makefile symlinks |
1e4e7b71e1938daa9b2b9718a9f54c69017a9ef5 |
|
16-Jul-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Move network-related journal programs to src/journal-remote/
Directory src/journal has become one of the largest directories,
and since systemd-journal-gatewayd, systemd-journal-remote, and
forthcoming systemd-journal-upload are all closely related, create
a separate directory for them. |
4d1cf1e229c9bdbc44778c0863eaad918f5724e7 |
|
16-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
resolved: add small NSS module that uses resolved to resolve DNS names |
cabb0bc6b1a4ec57e108dc99364687d7c4f9670f |
|
11-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
nss-mymachines: add new NSS module for automatically resolving addresses of all local containers |
a1948c7bfeb87b54bc7715a44490c01593ee6e23 |
|
07-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
escape: beef up new systemd-escape tool
Add various options for making it easy unescape, or mangle, or format as
template instance or append a suffix. |
418b9be50018303cde79b423d4701b7fd86ddbdc |
|
07-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
firstboot: add new component to query basic system settings on first boot, or when creating OS images offline
A new tool "systemd-firstboot" can be used either interactively on boot,
where it will query basic locale, timezone, hostname, root password
information and set it. Or it can be used non-interactively from the
command line when prepareing disk images for booting. When used
non-inertactively the tool can either copy settings from the host, or
take settings on the command line.
$ systemd-firstboot --root=/path/to/my/new/root --copy-locale --copy-root-password --hostname=waldi
The tool will be automatically invoked (interactively) now on first boot
if /etc is found unpopulated.
This also creates the infrastructure for generators to be notified via
an environment variable whether they are running on the first boot, or
not. |
9a00f57a5ba7ed431e6bac8d8b36518708503b4e |
|
02-Jul-2014 |
Lennart Poettering <lennart@poettering.net> |
path: add new "systemd-path" utility for querying paths described in file-hierarchy(7)
This new tool is based on "sd-path", a new (so far unexported) API for
libsystemd, that can hopefully grow into a workable API covering /opt
and more one day. |
1a524ed4adbc0170087b1f2ff0e6182c7c79ad6d |
|
19-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add missing Makefile symlink |
326bb68c40ff2a7119c344b9ab7a7473f9fcdf3c |
|
19-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
debug-generator: add new generator
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. |
1713703c966d85de2591498b45b6c035d04350aa |
|
17-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
preset: ship a minimal preset file upstream
This is useful so that distros have something to base their own policy
of. It also useful to make sure that minimal installs always get useful
configuration in place. |
de66f68d9f8640eb1bc98c6d8c60925ebbf606fe |
|
16-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add missing Makefile link |
8ea48dfcd33e8db0c01bf8c57c3bbcfdc3c86d4b |
|
13-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
update-done: add minimal tool to manage system updates for /etc and /var, if /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. |
1b99214789101976d6bbf75c351279584b071998 |
|
12-Jun-2014 |
Lennart Poettering <lennart@poettering.net> |
sysusers: add minimal tool to reconstruct /etc/passwd and /etc/group from 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. |
95ed3294c632f5606327149f10cef1eb34422862 |
|
07-Jun-2014 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
Move handling of sysv initscripts to a generator
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. |
091a364c802e34a58f3260c9cb5db9b75c62215c |
|
19-May-2014 |
Tom Gundersen <teg@jklm.no> |
resolved: add daemon to manage resolv.conf
Also remove the equivalent functionality from networkd. |
e8af69739a629708d2c155ebcd4fa57b8fd5006a |
|
06-May-2014 |
Lennart Poettering <lennart@poettering.net> |
timesyncd: read server settings from a configuration file
Also, allow compiling in a default server list via a configure command
line item. |
bdb65e785ae2a312b452e6e3f17c1506b0fbe8c1 |
|
14-Apr-2014 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add Makefile symlink |
1cfc57e8847ab2b138e5a8fcff4f881b3b1a9b60 |
|
24-Mar-2014 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add makefile link |
fe8db0c5ee3365a2fc80ee7ebffa238f9a0a2ae2 |
|
28-Feb-2014 |
Tom Gundersen <teg@jklm.no> |
sd-network: add new library
This is similar to sd-login, but exposes the state of networkd rather than logind.
Include it in libsystemd-dhcp and rename it to libsystemd-network. |
538b08707ab7d34fac5b8c2753d3bf9ac12c2ebf |
|
26-Feb-2014 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add missing makefile symlinks |
be12791331b9b64867b5aa4b13df88c1a2b7e2a1 |
|
26-Jan-2014 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
build-sys: merge libsystemd-id128 into libsystemd |
607553f9306286fdccf0b356bc3d1087adfe21c4 |
|
21-Jan-2014 |
Tom Gundersen <teg@jklm.no> |
libsystemd: split up into subdirs
We still only produce on .so, but let's keep the sources separate to make things a bit
less messy. |
6bb648a16ae4a682ad4784412af706d2e6a3e4da |
|
13-Jan-2014 |
Tom Gundersen <teg@jklm.no> |
libsystemd-bus: rename to libsystemd
Documentation was updated to refer to either 'libsystemd' or 'sd-bus' in place
of libsystemd-bus. |
674eb68520107d771e3458287025a73387f938c4 |
|
03-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
bus: add generator that turns old dbus1 activation files into .busname + .service units |
f252ff1742947afaf035ae133876a4e767ddeb7c |
|
29-Nov-2013 |
Kay Sievers <kay@vrfy.org> |
rename stdio-bridge to bus-proxyd |
f579559b3a14c1f1ef96c372e7626c4733e6ef7d |
|
09-Nov-2013 |
Tom Gundersen <teg@jklm.no> |
networkd: add a basic network daemon
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 |
bc801363855527cae97e9251aa17741bcd85e33e |
|
07-Nov-2013 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add Makefile symlink for src/activate/ |
af6f0d422c521374ee6a2dd92df5935a5a476ae5 |
|
26-Oct-2013 |
Tom Gundersen <teg@jklm.no> |
udev: add network link configuration tool
This tool applies hardware specific settings to network devices before they
are announced via libudev.
Settings that will probably eventually be supported are MTU, Speed,
DuplexMode, WakeOnLan, MACAddress, MACAddressPolicy (e.g., 'hardware',
'synthetic' or 'random'), Name and NamePolicy (replacing our current
interface naming logic). This patch only introduces support for
Description, as a proof of concept.
Some of these settings may later be overriden by a network management
daemon/script. However, these tools should always listen and wait on libudev
before touching a device (listening on netlink is not enough). This is no
different from how things used to be, as we always supported changing the
network interface name from udev rules, which does not work if someone
has already started using it.
The tool is configured by .link files in /etc/net/links/ (with the usual
overriding logic in /run and /lib). The first (in lexicographical order)
matching .link file is applied to a given device, and all others are ignored.
The .link files contain a [Match] section with (currently) the keys
MACAddress, Driver, Type (see DEVTYPE in udevadm info) and Path (this
matches on the stable device path as exposed as ID_PATH, and not the
unstable DEVPATH). A .link file matches a given device if all of the
specified keys do. Currently the keys are treated as plain strings,
but some limited globbing may later be added to the keys where it
makes sense.
Example:
/etc/net/links/50-wireless.link
[Match]
MACAddress=98:f2:e4:42:c6:92
Path=pci-0000:02:00.0-bcma-0
Type=wlan
[Link]
Description=The wireless link |
96c374d0a536286e18cad64d1b5ebb8f07c90334 |
|
18-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
socket-proxyd: rename from saproxy
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. |
3990f247652c3bd41e4ea074e6302277eb9c7aa3 |
|
14-Oct-2013 |
Lennart Poettering <lennart@poettering.net> |
rfkill: add new rfkill tool to save/restore rfkill state across reboots
This works analogous to the existing backlight and random seed services |
3731acf1acfb4a6eb68374a5b137f3b368f63381 |
|
14-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
backlight: add minimal tool to save/restore screen brightness across reboots
As many laptops don't save/restore screen brightness across reboots,
let's do this in systemd with a minimal tool, that restores the
brightness as early as possible, and saves it as late as possible. This
will cover consoles and graphical logins, but graphical desktops should
do their own per-user stuff probably.
This only touches firmware brightness controls for now. |
00aa179e3944286d6837fe8534de071033e02eab |
|
13-Aug-2013 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add two makefile symlinks |
1ee306e1248866617c96ed9f4263f375588ad838 |
|
02-Jul-2013 |
Lennart Poettering <lennart@poettering.net> |
machined: split out machine registration stuff from logind
Embedded folks don't need the machine registration stuff, hence it's
nice to make this optional. Also, I'd expect that machinectl will grow
additional commands quickly, for example to join existing containers and
suchlike, hence it's better keeping that separate from loginctl. |
c2756a68401102786be343712c0c35acbd73d28d |
|
28-Jun-2013 |
Lennart Poettering <lennart@poettering.net> |
core: add transient units
Transient units can be created via the bus API. They are configured via
the method call parameters rather than on-disk files. They are subject
to normal GC. Transient units currently may only be created for
services (however, we will extend this), and currently only ExecStart=
and the cgroup parameters can be configured (also to be extended).
Transient units require a unique name, that previously had no
configuration file on disk.
A tool systemd-run is added that makes use of this functionality to run
arbitrary command lines as transient services:
$ systemd-run /bin/ping www.heise.de
Will cause systemd to create a new transient service and run ping in it. |
c12d1eec7fdd55d9e32e8e7443d41999809d66a2 |
|
30-Apr-2013 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add makefile stub link to nss-myhostname/ |
2a2473d89e02ccd923abc6e74cddd07798679a15 |
|
13-Feb-2013 |
Lennart Poettering <lennart@poettering.net> |
boot: add stub Makefile symlink |
382e77287c6f4d122395e8685274d2ee85aec3eb |
|
21-Jan-2013 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add makefile to bootchart |
c7db8aa9d3da1704cd0d4b867627cf14badf6ef7 |
|
20-Nov-2012 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add symlink Makefile to catalog/ too |
0ce8860a15fb08ac358fb9c5347bd20c0bcdebcd |
|
17-Oct-2012 |
Lennart Poettering <lennart@poettering.net> |
docs: install README files into /var/log and 7etc/rc.d/init.d
On systemd systems seasoned admins might be surprised to see that the
init scripts and log files are gone. To ease the transition let's place
some README files there, that hopefully help clearing up the situation. |
d360705f0f1262d49cccb6507abeafb7cfb5bbe0 |
|
22-May-2012 |
Lennart Poettering <lennart@poettering.net> |
system-update: add system update generator
http://freedesktop.org/wiki/Software/systemd/SystemUpdates |
6b1dc2bd3cdb3bd932b0692be636ddd2879edb92 |
|
22-May-2012 |
Lennart Poettering <lennart@poettering.net> |
mount: replace PID1 internal fstab parser with generator
Bit by bit we should remove non-unit parsing from PID 1 and move into
generators, to clean up our code base a bit and clearly separate
parsers. |
7e8d5761ecd4e8bc8f93b1f21861cac2a39a78a1 |
|
16-May-2012 |
Lennart Poettering <lennart@poettering.net> |
delta: add missing files |
6edd7d0a09171ea5ae8e01b7b1cbcb0bdfbfeb16 |
|
08-May-2012 |
Lennart Poettering <lennart@poettering.net> |
sleep: implement suspend/hibernate as first class targets |
2b93b027d3a68b5d7ae26d0c2cd487eb5019d2a9 |
|
24-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
remount: consolidate remount-api-vfs and remount-rootfs into one
This has the advantage of removing a confusing warning by mount if the
root directory is not listed in fstab. |
b562f5a57d11d356aab26b08481f3befffff0822 |
|
13-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add stub makefiles to all subdirs to ease development with emacs |
984bf9312e3f2c7cc165b54546270ce7804d5a4d |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
machine-id-setup: add the usual command line parameters |
379079ba6b06e82de9a8f0025456308a34b4b115 |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
test: test tools should still be in the src/ directory |
fff7b732b2f4f553e5b837f9607d0cb2face315f |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add stub makefiles to make emacs easier to use |
5430f7f2bc7330f3088b894166bf3524a067e3d8 |
|
12-Apr-2012 |
Lennart Poettering <lennart@poettering.net> |
relicense to LGPLv2.1 (with exceptions)
We finally got the OK from all contributors with non-trivial commits to
relicense systemd from GPL2+ to LGPL2.1+.
Some udev bits continue to be GPL2+ for now, but we are looking into
relicensing them too, to allow free copy/paste of all code within
systemd.
The bits that used to be MIT continue to be MIT.
The big benefit of the relicensing is that closed source code may now
link against libsystemd-login.so and friends. |
f5e04665ebf7124f3ea17dcf258793ed73a95fe1 |
|
14-Jan-2012 |
Lennart Poettering <lennart@poettering.net> |
journal: hook up coredumping with journal |
2f9dec073b6557401804aae180eab744a8b1a3cc |
|
05-Jan-2012 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add stub makefiles to subdirs |
4bba9156da3e1df2cee24d10d7cd88c776ef4179 |
|
31-Dec-2011 |
Lennart Poettering <lennart@poettering.net> |
logind: move logind into its own subdirectory |
87d2c1ff6a7375f03476767e6f59454bcc5cd04b |
|
07-Oct-2011 |
Lennart Poettering <lennart@poettering.net> |
journal: add preliminary incomplete implementation |
af2d49f70bcff20efaf2d69aecaf4b3e898ff1fa |
|
15-Nov-2010 |
Lennart Poettering <lennart@poettering.net> |
drop support for MANAGER_SESSION, introduce MANAGER_USER instead |
340d89e06e503836de9c124d650845f4889f8c2c |
|
17-May-2010 |
Lennart Poettering <lennart@poettering.net> |
build-sys: add small redirecting Makefiles to simplify compilation from within emacs |