Systemd/src
Zbigniew Jędrzejewski-Szmek 36b4a7ba55 Remove snapshot unit type
Snapshots were never useful or used for anything. Many systemd
developers that I spoke to at systemd.conf2015, didn't even know they
existed, so it is fairly safe to assume that this type can be deleted
without harm.

The fundamental problem with snapshots is that the state of the system
is dynamic, devices come and go, users log in and out, timers fire...
and restoring all units to some state from the past would "undo"
those changes, which isn't really possible.

Tested by creating a snapshot, running the new binary, and checking
that the transition did not cause errors, and the snapshot is gone,
and snapshots cannot be created anymore.

New systemctl says:
Unknown operation snapshot.
Old systemctl says:
Failed to create snapshot: Support for snapshots has been removed.

IgnoreOnSnaphost settings are warned about and ignored:
Support for option IgnoreOnSnapshot= has been removed and it is ignored

http://lists.freedesktop.org/archives/systemd-devel/2015-November/034872.html
2015-11-10 19:33:06 -05:00
..
ac-power treewide: no need to negate errno for log_*_errno() 2014-11-28 13:29:21 +01:00
activate util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
analyze util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
ask-password strv: Add _cleanup_strv_free_erase_ and _cleanup_string_free_erase_ 2015-10-19 23:13:07 +02:00
backlight proc-cmdline: return proper errors from shall_restore_state() 2015-11-02 23:44:05 +01:00
basic Remove snapshot unit type 2015-11-10 19:33:06 -05:00
binfmt defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
boot util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
bootchart defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
bus-proxyd util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
cgls cgls: when showing root slice, put -.slice at top of tree 2015-11-10 17:31:31 +01:00
cgroups-agent util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
cgtop util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
compat-libs #pragma once here and there 2015-01-23 09:30:44 -05:00
core Remove snapshot unit type 2015-11-10 19:33:06 -05:00
cryptsetup util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
dbus1-generator treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
debug-generator debug-generator: respect kernel parameters for default unit setting 2015-11-03 14:47:39 +03:00
delta treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
detect-virt detect-virt: add new --chroot switch to detect chroot() environments 2015-10-27 13:25:57 +01:00
escape util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
firstboot treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
fsck util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
fstab-generator util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
getty-generator util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
gpt-auto-generator treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
hibernate-resume util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
hostname util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
hwdb util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
import import: report error before losing errno 2015-11-05 13:44:09 +01:00
initctl treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
journal journald: dispatch SIGTERM/SIGINT with a low priority 2015-11-10 17:36:52 +01:00
journal-remote defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
kernel-install 90-loaderentry.install: fixup BOOT_OPTIONS 2015-06-02 16:10:06 +02:00
libsystemd Merge pull request #1820 from michich/errno-v2 2015-11-09 21:56:49 +01:00
libsystemd-network Merge pull request #1735 from thom311/master 2015-11-10 14:41:35 +01:00
libudev treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
locale util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
login defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
machine Merge pull request #1820 from michich/errno-v2 2015-11-09 21:56:49 +01:00
machine-id-setup path-util: unify how we process paths specified on the command line 2015-10-24 23:03:49 +02:00
modules-load defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
network networkd: Add support to configure IPV6 hop limit 2015-11-10 09:26:38 +05:30
notify util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
nspawn Merge pull request #1820 from michich/errno-v2 2015-11-09 21:56:49 +01:00
nss-myhostname util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
nss-mymachines util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
nss-resolve util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
path util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
quotacheck util-lib: move /proc/cmdline parsing code to proc-cmdline.[ch] 2015-10-27 13:25:57 +01:00
random-seed util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
rc-local-generator treewide: apply errno.cocci 2015-11-09 20:01:06 +01:00
remount-fs util-lib: move mount related utility calls to mount-util.[ch] 2015-10-27 13:25:55 +01:00
reply-password util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
resolve defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
resolve-host parse-util: introduce parse_ifindex() and make use of it everywhere 2015-11-03 00:02:00 +01:00
rfkill proc-cmdline: return proper errors from shall_restore_state() 2015-11-02 23:44:05 +01:00
run util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
shared defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
sleep util-lib: split out fd-related operations into fd-util.[ch] 2015-10-25 13:19:18 +01:00
socket-proxy util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
sysctl defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
system-update-generator util-lib: move a number of fs operations into fs-util.[ch] 2015-10-27 13:25:56 +01:00
systemctl Remove snapshot unit type 2015-11-10 19:33:06 -05:00
systemd sd-pppoe: drop 2015-11-03 16:14:12 +01:00
sysusers defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
sysv-generator sysv-generator: remove duplicate const 2015-11-02 23:18:20 +01:00
test Remove snapshot unit type 2015-11-10 19:33:06 -05:00
timedate util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
timesync defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
tmpfiles defs: rework CONF_DIRS_NULSTR() macro 2015-11-10 17:31:31 +01:00
tty-ask-password-agent tty-ask-password-agent: fix typo in error message 2015-11-05 13:44:01 +01:00
udev Merge pull request #1820 from michich/errno-v2 2015-11-09 21:56:49 +01:00
update-done util-lib: split out IO related calls to io-util.[ch] 2015-10-26 01:24:38 +01:00
update-utmp util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
user-sessions util-lib: split our string related calls from util.[ch] into its own file string-util.[ch] 2015-10-24 23:05:02 +02:00
vconsole treewide: use the negative error codes returned by our functions 2015-11-05 13:44:06 +01:00
.gitignore
Makefile