diff --git a/0001-Fix-bad-assert-in-show_pid_array.patch b/0001-Fix-bad-assert-in-show_pid_array.patch deleted file mode 100644 index e62ab8b..0000000 --- a/0001-Fix-bad-assert-in-show_pid_array.patch +++ /dev/null @@ -1,35 +0,0 @@ -From a0551d26ab5c6e0d5089b42a6319baef0e28ad92 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Mon, 14 Oct 2013 19:15:24 -0400 -Subject: [PATCH] Fix bad assert in show_pid_array - -This function should get the same treatment as other qsort uses -did in 7ff7394 "Never call qsort on potentially NULL arrays". - -Reported-by: Oleksii Shevchuk ---- - src/shared/cgroup-show.c | 4 +--- - 1 file changed, 1 insertion(+), 3 deletions(-) - -Index: systemd-208/src/shared/cgroup-show.c -=================================================================== ---- systemd-208.orig/src/shared/cgroup-show.c -+++ systemd-208/src/shared/cgroup-show.c -@@ -44,8 +44,6 @@ static void show_pid_array(int pids[], u - unsigned i, m, pid_width; - pid_t biggest = 0; - -- assert(n_pids > 0); -- - /* Filter duplicates */ - m = 0; - for (i = 0; i < n_pids; i++) { -@@ -65,7 +63,7 @@ static void show_pid_array(int pids[], u - pid_width = DECIMAL_STR_WIDTH(biggest); - - /* And sort */ -- qsort(pids, n_pids, sizeof(pid_t), compare); -+ qsort_safe(pids, n_pids, sizeof(pid_t), compare); - - if(flags & OUTPUT_FULL_WIDTH) - n_columns = 0; diff --git a/0001-Never-call-qsort-on-potentially-NULL-arrays.patch b/0001-Never-call-qsort-on-potentially-NULL-arrays.patch deleted file mode 100644 index 515348f..0000000 --- a/0001-Never-call-qsort-on-potentially-NULL-arrays.patch +++ /dev/null @@ -1,385 +0,0 @@ -From 7ff7394d9e4e9189c30fd018235e6b1728c6f2d0 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Fri, 11 Oct 2013 19:33:13 -0400 -Subject: [PATCH] Never call qsort on potentially NULL arrays - -This extends 62678ded 'efi: never call qsort on potentially -NULL arrays' to all other places where qsort is used and it -is not obvious that the count is non-zero. ---- - src/analyze/systemd-analyze.c | 2 +- - src/cgtop/cgtop.c | 2 +- - src/core/namespace.c | 38 ++++++++++++++++++++------------------ - src/journal/catalog.c | 2 +- - src/journal/journal-file.c | 2 +- - src/journal/journal-vacuum.c | 3 +-- - src/journal/journalctl.c | 2 +- - src/libsystemd-bus/bus-match.c | 2 +- - src/libudev/libudev-enumerate.c | 2 +- - src/nss-myhostname/netlink.c | 3 ++- - src/readahead/readahead-collect.c | 39 ++++++++++++++++++++++----------------- - src/shared/cgroup-show.c | 2 ++ - src/shared/conf-files.c | 2 +- - src/shared/efivars.c | 3 +-- - src/shared/fileio.c | 1 + - src/shared/util.h | 12 ++++++++++++ - src/systemctl/systemctl.c | 10 +++++----- - 17 files changed, 74 insertions(+), 53 deletions(-) - -diff --git a/src/analyze/systemd-analyze.c b/src/analyze/systemd-analyze.c -index 27d063c..a4f15eb 100644 ---- a/src/analyze/systemd-analyze.c -+++ b/src/analyze/systemd-analyze.c -@@ -768,7 +768,7 @@ static int list_dependencies_one(DBusConnection *bus, const char *name, unsigned - if (r < 0) - return r; - -- qsort(deps, strv_length(deps), sizeof (char*), list_dependencies_compare); -+ qsort_safe(deps, strv_length(deps), sizeof (char*), list_dependencies_compare); - - r = acquire_boot_times(bus, &boot); - if (r < 0) -diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c -index cacf705..293a211 100644 ---- a/src/cgtop/cgtop.c -+++ b/src/cgtop/cgtop.c -@@ -461,7 +461,7 @@ static int display(Hashmap *a) { - if (g->n_tasks_valid || g->cpu_valid || g->memory_valid || g->io_valid) - array[n++] = g; - -- qsort(array, n, sizeof(Group*), group_compare); -+ qsort_safe(array, n, sizeof(Group*), group_compare); - - /* Find the longest names in one run */ - for (j = 0; j < n; j++) { -diff --git a/src/core/namespace.c b/src/core/namespace.c -index 16b132b..936f368 100644 ---- a/src/core/namespace.c -+++ b/src/core/namespace.c -@@ -222,7 +222,7 @@ int setup_namespace(char** read_write_dirs, - strv_length(read_only_dirs) + - strv_length(inaccessible_dirs) + - (private_tmp ? 2 : 0); -- BindMount *m, *mounts; -+ BindMount *m, *mounts = NULL; - int r = 0; - - if (!mount_flags) -@@ -231,27 +231,29 @@ int setup_namespace(char** read_write_dirs, - if (unshare(CLONE_NEWNS) < 0) - return -errno; - -- m = mounts = (BindMount *) alloca(n * sizeof(BindMount)); -- if ((r = append_mounts(&m, read_write_dirs, READWRITE)) < 0 || -- (r = append_mounts(&m, read_only_dirs, READONLY)) < 0 || -- (r = append_mounts(&m, inaccessible_dirs, INACCESSIBLE)) < 0) -- return r; -+ if (n) { -+ m = mounts = (BindMount *) alloca(n * sizeof(BindMount)); -+ if ((r = append_mounts(&m, read_write_dirs, READWRITE)) < 0 || -+ (r = append_mounts(&m, read_only_dirs, READONLY)) < 0 || -+ (r = append_mounts(&m, inaccessible_dirs, INACCESSIBLE)) < 0) -+ return r; -+ -+ if (private_tmp) { -+ m->path = "/tmp"; -+ m->mode = PRIVATE_TMP; -+ m++; -+ -+ m->path = "/var/tmp"; -+ m->mode = PRIVATE_VAR_TMP; -+ m++; -+ } - -- if (private_tmp) { -- m->path = "/tmp"; -- m->mode = PRIVATE_TMP; -- m++; -+ assert(mounts + n == m); - -- m->path = "/var/tmp"; -- m->mode = PRIVATE_VAR_TMP; -- m++; -+ qsort(mounts, n, sizeof(BindMount), mount_path_compare); -+ drop_duplicates(mounts, &n); - } - -- assert(mounts + n == m); -- -- qsort(mounts, n, sizeof(BindMount), mount_path_compare); -- drop_duplicates(mounts, &n); -- - /* Remount / as SLAVE so that nothing now mounted in the namespace - shows up in the parent */ - if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) < 0) -diff --git a/src/journal/catalog.c b/src/journal/catalog.c -index 7738d24..90ca008 100644 ---- a/src/journal/catalog.c -+++ b/src/journal/catalog.c -@@ -399,7 +399,7 @@ int catalog_update(const char* database, const char* root, const char* const* di - } - - assert(n == hashmap_size(h)); -- qsort(items, n, sizeof(CatalogItem), catalog_compare_func); -+ qsort_safe(items, n, sizeof(CatalogItem), catalog_compare_func); - - r = write_catalog(database, h, sb, items, n); - if (r < 0) -diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c -index 78b937b..901e71b 100644 ---- a/src/journal/journal-file.c -+++ b/src/journal/journal-file.c -@@ -1344,7 +1344,7 @@ int journal_file_append_entry(JournalFile *f, const dual_timestamp *ts, const st - - /* Order by the position on disk, in order to improve seek - * times for rotating media. */ -- qsort(items, n_iovec, sizeof(EntryItem), entry_item_cmp); -+ qsort_safe(items, n_iovec, sizeof(EntryItem), entry_item_cmp); - - r = journal_file_append_entry_internal(f, ts, xor_hash, items, n_iovec, seqnum, ret, offset); - -diff --git a/src/journal/journal-vacuum.c b/src/journal/journal-vacuum.c -index 8d5effb..d4a1c6c 100644 ---- a/src/journal/journal-vacuum.c -+++ b/src/journal/journal-vacuum.c -@@ -299,8 +299,7 @@ int journal_directory_vacuum( - n_list ++; - } - -- if (n_list > 0) -- qsort(list, n_list, sizeof(struct vacuum_info), vacuum_compare); -+ qsort_safe(list, n_list, sizeof(struct vacuum_info), vacuum_compare); - - for (i = 0; i < n_list; i++) { - struct statvfs ss; -diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c -index 2f8be1b..275458c 100644 ---- a/src/journal/journalctl.c -+++ b/src/journal/journalctl.c -@@ -761,7 +761,7 @@ static int get_relative_boot_id(sd_journal *j, sd_id128_t *boot_id, int relative - sd_journal_flush_matches(j); - } - -- qsort(all_ids, count, sizeof(boot_id_t), boot_id_cmp); -+ qsort_safe(all_ids, count, sizeof(boot_id_t), boot_id_cmp); - - if (sd_id128_equal(*boot_id, SD_ID128_NULL)) { - if (relative > (int) count || relative <= -(int)count) -diff --git a/src/libsystemd-bus/bus-match.c b/src/libsystemd-bus/bus-match.c -index 1411167..916682a 100644 ---- a/src/libsystemd-bus/bus-match.c -+++ b/src/libsystemd-bus/bus-match.c -@@ -768,7 +768,7 @@ int bus_match_parse( - } - - /* Order the whole thing, so that we always generate the same tree */ -- qsort(components, n_components, sizeof(struct bus_match_component), match_component_compare); -+ qsort_safe(components, n_components, sizeof(struct bus_match_component), match_component_compare); - - /* Check for duplicates */ - for (i = 0; i+1 < n_components; i++) -diff --git a/src/libudev/libudev-enumerate.c b/src/libudev/libudev-enumerate.c -index 8146f27..e71d766 100644 ---- a/src/libudev/libudev-enumerate.c -+++ b/src/libudev/libudev-enumerate.c -@@ -276,7 +276,7 @@ _public_ struct udev_list_entry *udev_enumerate_get_list_entry(struct udev_enume - size_t move_later_prefix = 0; - - udev_list_cleanup(&udev_enumerate->devices_list); -- qsort(udev_enumerate->devices, udev_enumerate->devices_cur, sizeof(struct syspath), syspath_cmp); -+ qsort_safe(udev_enumerate->devices, udev_enumerate->devices_cur, sizeof(struct syspath), syspath_cmp); - - max = udev_enumerate->devices_cur; - for (i = 0; i < max; i++) { -diff --git a/src/nss-myhostname/netlink.c b/src/nss-myhostname/netlink.c -index b1ef912..47a41f5 100644 ---- a/src/nss-myhostname/netlink.c -+++ b/src/nss-myhostname/netlink.c -@@ -197,7 +197,8 @@ finish: - return r; - } - -- qsort(list, n_list, sizeof(struct address), address_compare); -+ if (n_list) -+ qsort(list, n_list, sizeof(struct address), address_compare); - - *_list = list; - *_n_list = n_list; -diff --git a/src/readahead/readahead-collect.c b/src/readahead/readahead-collect.c -index 32888ad..6b74866 100644 ---- a/src/readahead/readahead-collect.c -+++ b/src/readahead/readahead-collect.c -@@ -536,8 +536,7 @@ done: - HASHMAP_FOREACH_KEY(q, p, files, i) - pack_file(pack, p, on_btrfs); - } else { -- struct item *ordered, *j; -- unsigned k, n; -+ unsigned n; - - /* On rotating media, order things by the block - * numbers */ -@@ -545,25 +544,31 @@ done: - log_debug("Ordering..."); - - n = hashmap_size(files); -- if (!(ordered = new(struct item, n))) { -- r = log_oom(); -- goto finish; -- } -- -- j = ordered; -- HASHMAP_FOREACH_KEY(q, p, files, i) { -- memcpy(j, q, sizeof(struct item)); -- j++; -- } -+ if (n) { -+ _cleanup_free_ struct item *ordered; -+ struct item *j; -+ unsigned k; -+ -+ ordered = new(struct item, n); -+ if (!ordered) { -+ r = log_oom(); -+ goto finish; -+ } - -- assert(ordered + n == j); -+ j = ordered; -+ HASHMAP_FOREACH_KEY(q, p, files, i) { -+ memcpy(j, q, sizeof(struct item)); -+ j++; -+ } - -- qsort(ordered, n, sizeof(struct item), qsort_compare); -+ assert(ordered + n == j); - -- for (k = 0; k < n; k++) -- pack_file(pack, ordered[k].path, on_btrfs); -+ qsort(ordered, n, sizeof(struct item), qsort_compare); - -- free(ordered); -+ for (k = 0; k < n; k++) -+ pack_file(pack, ordered[k].path, on_btrfs); -+ } else -+ log_warning("No pack files"); - } - - log_debug("Finalizing..."); -diff --git a/src/shared/cgroup-show.c b/src/shared/cgroup-show.c -index e971f36..cc44ab4 100644 ---- a/src/shared/cgroup-show.c -+++ b/src/shared/cgroup-show.c -@@ -44,6 +44,8 @@ static void show_pid_array(int pids[], unsigned n_pids, const char *prefix, unsi - unsigned i, m, pid_width; - pid_t biggest = 0; - -+ assert(n_pids > 0); -+ - /* Filter duplicates */ - m = 0; - for (i = 0; i < n_pids; i++) { -diff --git a/src/shared/conf-files.c b/src/shared/conf-files.c -index 6d99739..ed4070c 100644 ---- a/src/shared/conf-files.c -+++ b/src/shared/conf-files.c -@@ -127,7 +127,7 @@ static int conf_files_list_strv_internal(char ***strv, const char *suffix, const - return -ENOMEM; - } - -- qsort(files, hashmap_size(fh), sizeof(char *), base_cmp); -+ qsort_safe(files, hashmap_size(fh), sizeof(char *), base_cmp); - *strv = files; - - hashmap_free(fh); -diff --git a/src/shared/efivars.c b/src/shared/efivars.c -index c015b16..f3eb6a6 100644 ---- a/src/shared/efivars.c -+++ b/src/shared/efivars.c -@@ -384,8 +384,7 @@ int efi_get_boot_options(uint16_t **options) { - list[count ++] = id; - } - -- if (list) -- qsort(list, count, sizeof(uint16_t), cmp_uint16); -+ qsort_safe(list, count, sizeof(uint16_t), cmp_uint16); - - *options = list; - return count; -diff --git a/src/shared/fileio.c b/src/shared/fileio.c -index 603a1c7..733b320 100644 ---- a/src/shared/fileio.c -+++ b/src/shared/fileio.c -@@ -662,6 +662,7 @@ int get_status_field(const char *filename, const char *pattern, char **field) { - int r; - - assert(filename); -+ assert(pattern); - assert(field); - - r = read_full_file(filename, &status, NULL); -diff --git a/src/shared/util.h b/src/shared/util.h -index 26af5b3..09e556d 100644 ---- a/src/shared/util.h -+++ b/src/shared/util.h -@@ -772,3 +772,15 @@ bool id128_is_valid(const char *s) _pure_; - void parse_user_at_host(char *arg, char **user, char **host); - - int split_pair(const char *s, const char *sep, char **l, char **r); -+ -+/** -+ * Normal qsort requires base to be nonnull. Here were require -+ * that only if nmemb > 0. -+ */ -+static inline void qsort_safe(void *base, size_t nmemb, size_t size, -+ int (*compar)(const void *, const void *)) { -+ if (nmemb) { -+ assert(base); -+ qsort(base, nmemb, size, compar); -+ } -+} -diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c -index d75281f..036828b 100644 ---- a/src/systemctl/systemctl.c -+++ b/src/systemctl/systemctl.c -@@ -471,7 +471,7 @@ static int list_units(DBusConnection *bus, char **args) { - if (r < 0) - return r; - -- qsort(unit_infos, c, sizeof(struct unit_info), compare_unit_info); -+ qsort_safe(unit_infos, c, sizeof(struct unit_info), compare_unit_info); - - output_units_list(unit_infos, c); - -@@ -733,8 +733,8 @@ static int list_sockets(DBusConnection *bus, char **args) { - listen = triggered = NULL; /* avoid cleanup */ - } - -- qsort(socket_infos, cs, sizeof(struct socket_info), -- (__compar_fn_t) socket_info_compare); -+ qsort_safe(socket_infos, cs, sizeof(struct socket_info), -+ (__compar_fn_t) socket_info_compare); - - output_sockets_list(socket_infos, cs); - -@@ -1108,7 +1108,7 @@ static int list_dependencies_one(DBusConnection *bus, const char *name, int leve - if (r < 0) - return r; - -- qsort(deps, strv_length(deps), sizeof (char*), list_dependencies_compare); -+ qsort_safe(deps, strv_length(deps), sizeof (char*), list_dependencies_compare); - - STRV_FOREACH(c, deps) { - if (strv_contains(u, *c)) { -@@ -3532,7 +3532,7 @@ static int show_all(const char* verb, - if (r < 0) - return r; - -- qsort(unit_infos, c, sizeof(struct unit_info), compare_unit_info); -+ qsort_safe(unit_infos, c, sizeof(struct unit_info), compare_unit_info); - - for (u = unit_infos; u < unit_infos + c; u++) { - _cleanup_free_ char *p = NULL; --- -1.8.4 - diff --git a/0001-On_s390_con3270_disable_ANSI_colour_esc.patch b/0001-On_s390_con3270_disable_ANSI_colour_esc.patch deleted file mode 100644 index 843894e..0000000 --- a/0001-On_s390_con3270_disable_ANSI_colour_esc.patch +++ /dev/null @@ -1,123 +0,0 @@ ---- - rules/99-systemd.rules.in | 2 - - src/getty-generator/getty-generator.c | 2 - - src/shared/util.c | 62 ++++++++++++++++++++++++++++++++-- - 3 files changed, 61 insertions(+), 5 deletions(-) - ---- systemd-208/rules/99-systemd.rules.in -+++ systemd-208/rules/99-systemd.rules.in 2014-02-05 10:34:17.346235540 +0000 -@@ -7,7 +7,7 @@ - - ACTION=="remove", GOTO="systemd_end" - --SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*", TAG+="systemd" -+SUBSYSTEM=="tty", KERNEL=="tty[a-zA-Z]*|hvc*|xvc*|hvsi*|ttysclp*|sclp_line*|3270/tty*", TAG+="systemd" - - KERNEL=="vport*", TAG+="systemd" - ---- systemd-208/src/shared/util.c -+++ systemd-208/src/shared/util.c 2014-01-31 11:54:07.222235280 +0000 -@@ -2967,6 +2967,7 @@ int status_vprintf(const char *status, b - struct iovec iovec[6] = {}; - int n = 0; - static bool prev_ephemeral; -+ static int cached_on_tty = -1; - - assert(format); - -@@ -2980,6 +2981,51 @@ int status_vprintf(const char *status, b - if (fd < 0) - return fd; - -+ if (_unlikely_(cached_on_tty < 0)) { -+ cached_on_tty = isatty(fd) > 0; -+ if (cached_on_tty) { -+ const char *e = getenv("TERM"); -+ if (e && (strcmp(e, "dumb") == 0 || strcmp(e, "ibm327x") == 0)) { -+ char *mode = NULL; -+ int r = parse_env_file("/proc/cmdline", WHITESPACE, "conmode", &mode, NULL); -+ if (r < 0 || !mode || !streq(mode, "3270")) -+ cached_on_tty = 0; -+ } -+ } -+ } -+ -+ if (status && !cached_on_tty) { -+ const char *esc, *ptr; -+ esc = strchr(status, 0x1B); -+ if (esc && (ptr = strpbrk(esc, "SOFDTI*"))) { -+ switch(*ptr) { -+ case 'S': -+ status = " SKIP "; -+ break; -+ case 'O': -+ status = " OK "; -+ break; -+ case 'F': -+ status = "FAILED"; -+ break; -+ case 'D': -+ status = "DEPEND"; -+ break; -+ case 'T': -+ status = " TIME "; -+ break; -+ case 'I': -+ status = " INFO "; -+ break; -+ case '*': -+ status = " BUSY "; -+ break; -+ default: -+ break; -+ } -+ } -+ } -+ - if (ellipse) { - char *e; - size_t emax, sl; -@@ -3002,8 +3048,12 @@ int status_vprintf(const char *status, b - } - } - -- if (prev_ephemeral) -- IOVEC_SET_STRING(iovec[n++], "\r" ANSI_ERASE_TO_END_OF_LINE); -+ if (prev_ephemeral) { -+ if (cached_on_tty) -+ IOVEC_SET_STRING(iovec[n++], "\r" ANSI_ERASE_TO_END_OF_LINE); -+ else -+ IOVEC_SET_STRING(iovec[n++], "\r"); -+ } - prev_ephemeral = ephemeral; - - if (status) { -@@ -3267,8 +3317,14 @@ void columns_lines_cache_reset(int signu - bool on_tty(void) { - static int cached_on_tty = -1; - -- if (_unlikely_(cached_on_tty < 0)) -+ if (_unlikely_(cached_on_tty < 0)) { - cached_on_tty = isatty(STDOUT_FILENO) > 0; -+ if (cached_on_tty) { -+ const char *e = getenv("TERM"); -+ if (e && (strcmp(e, "dumb") == 0)) -+ cached_on_tty = 0; -+ } -+ } - - return cached_on_tty; - } ---- systemd-208/src/getty-generator/getty-generator.c -+++ systemd-208/src/getty-generator/getty-generator.c 2014-02-05 10:41:29.502245927 +0000 -@@ -149,9 +149,9 @@ int main(int argc, char *argv[]) { - * only for non-VC terminals. */ - - k = add_serial_getty(tty); -+ free(tty); - - if (k < 0) { -- free(tty); - free(active); - r = EXIT_FAILURE; - goto finish; diff --git a/0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch b/0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch deleted file mode 100644 index 312a561..0000000 --- a/0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 7e326fb5b2c1a839bbe7f879c7efa2af2ed33420 Mon Sep 17 00:00:00 2001 -From: Lukas Nykryn -Date: Wed, 2 Oct 2013 13:39:49 +0200 -Subject: [PATCH 01/15] acpi-fptd: fix memory leak in acpi_get_boot_usec - ---- - src/shared/acpi-fpdt.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/shared/acpi-fpdt.c b/src/shared/acpi-fpdt.c -index b094f34..a7c83ed 100644 ---- a/src/shared/acpi-fpdt.c -+++ b/src/shared/acpi-fpdt.c -@@ -81,7 +81,7 @@ struct acpi_fpdt_boot { - }; - - int acpi_get_boot_usec(usec_t *loader_start, usec_t *loader_exit) { -- char *buf; -+ _cleanup_free_ char *buf; - struct acpi_table_header *tbl; - size_t l; - struct acpi_fpdt_header *rec; --- -1.8.4 - diff --git a/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch b/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch deleted file mode 100644 index 2d48b38..0000000 --- a/0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch +++ /dev/null @@ -1,537 +0,0 @@ -This seems to be a SUSE specific patch. Here we add the check for unmaintained -disk like devices to be able to flush and maybe shut them down. Also we add the -missing sync() system call for the direct halt/reboot systemctl command. Then we -use the system halt as gfallback if poweroff fails for both the direct poweroff -systemctl command as well as for the systemd-shutdown utility. - ---- - Makefile.am | 2 - Makefile.in | 7 - src/core/shutdown.c | 8 - - src/shared/hdflush.c | 365 ++++++++++++++++++++++++++++++++++++++++++++++ - src/shared/hdflush.h | 25 +++ - src/systemctl/systemctl.c | 17 +- - 6 files changed, 416 insertions(+), 8 deletions(-) - ---- systemd-208/Makefile.am -+++ systemd-208/Makefile.am 2014-01-28 11:06:55.638238060 +0000 -@@ -680,6 +680,8 @@ libsystemd_shared_la_SOURCES = \ - src/shared/strbuf.h \ - src/shared/strxcpyx.c \ - src/shared/strxcpyx.h \ -+ src/shared/hdflush.c \ -+ src/shared/hdflush.h \ - src/shared/conf-parser.c \ - src/shared/conf-parser.h \ - src/shared/log.c \ ---- systemd-208/Makefile.in -+++ systemd-208/Makefile.in 2014-01-28 11:06:33.942246196 +0000 -@@ -1509,7 +1509,7 @@ am_libsystemd_shared_la_OBJECTS = src/sh - src/shared/hashmap.lo src/shared/set.lo src/shared/fdset.lo \ - src/shared/prioq.lo src/shared/sleep-config.lo \ - src/shared/strv.lo src/shared/env-util.lo src/shared/strbuf.lo \ -- src/shared/strxcpyx.lo src/shared/conf-parser.lo \ -+ src/shared/strxcpyx.lo src/shared/hdflush.lo src/shared/conf-parser.lo \ - src/shared/log.lo src/shared/ratelimit.lo \ - src/shared/exit-status.lo src/shared/utf8.lo \ - src/shared/pager.lo src/shared/socket-util.lo \ -@@ -4137,6 +4137,8 @@ libsystemd_shared_la_SOURCES = \ - src/shared/strbuf.h \ - src/shared/strxcpyx.c \ - src/shared/strxcpyx.h \ -+ src/shared/hdflush.c \ -+ src/shared/hdflush.h \ - src/shared/conf-parser.c \ - src/shared/conf-parser.h \ - src/shared/log.c \ -@@ -7073,6 +7075,8 @@ src/shared/strbuf.lo: src/shared/$(am__d - src/shared/$(DEPDIR)/$(am__dirstamp) - src/shared/strxcpyx.lo: src/shared/$(am__dirstamp) \ - src/shared/$(DEPDIR)/$(am__dirstamp) -+src/shared/hdflush.lo: src/shared/$(am__dirstamp) \ -+ src/shared/$(DEPDIR)/$(am__dirstamp) - src/shared/conf-parser.lo: src/shared/$(am__dirstamp) \ - src/shared/$(DEPDIR)/$(am__dirstamp) - src/shared/log.lo: src/shared/$(am__dirstamp) \ -@@ -9236,6 +9240,7 @@ distclean-compile: - @AMDEP_TRUE@@am__include@ @am__quote@src/shared/$(DEPDIR)/strbuf.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@src/shared/$(DEPDIR)/strv.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@src/shared/$(DEPDIR)/strxcpyx.Plo@am__quote@ -+@AMDEP_TRUE@@am__include@ @am__quote@src/shared/$(DEPDIR)/hdflush.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@src/shared/$(DEPDIR)/time-dst.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@src/shared/$(DEPDIR)/time-util.Plo@am__quote@ - @AMDEP_TRUE@@am__include@ @am__quote@src/shared/$(DEPDIR)/unit-name.Plo@am__quote@ ---- systemd-208/src/shared/hdflush.c -+++ systemd-208/src/shared/hdflush.c 2014-01-28 10:58:56.490735704 +0000 -@@ -0,0 +1,365 @@ -+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -+ -+/*** -+ This file is part of systemd. -+ -+ Copyright 2014 Werner Fink -+ -+ systemd is free software; you can redistribute it and/or modify it -+ under the terms of the GNU Lesser General Public License as published by -+ the Free Software Foundation; either version 2.1 of the License, or -+ (at your option) any later version. -+ -+ systemd is distributed in the hope that it will be useful, but -+ WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Lesser General Public License for more details. -+ -+ You should have received a copy of the GNU Lesser General Public License -+ along with systemd; If not, see . -+***/ -+ -+/* -+ * Find all disks on the system, list out IDE, unmanaged ATA disks, and -+ * USB sticks flush the cache of those and optional shut them down. -+ */ -+ -+#include -+#include -+#ifdef LIST_DEBUG -+# include -+#endif -+#include -+#include -+#include -+ -+#include -+#include -+#include -+#include -+ -+#include -+#include -+#include -+#ifdef WORDS_BIGENDIAN -+# include -+#endif -+ -+/* Used in flush_cache_ext(), compare with */ -+#define IDBYTES 512 -+#define MASK_EXT 0xE000 /* Bit 15 shall be zero, bit 14 shall be one, bit 13 flush cache ext */ -+#define TEST_EXT 0x6000 -+ -+/* Maybe set in list_disks() and used in do_standby_disk() */ -+#define DISK_IS_IDE 0x00000001 -+#define DISK_IS_SATA 0x00000002 -+#define DISK_EXTFLUSH 0x00000004 -+#define DISK_REMOVABLE 0x00000008 -+#define DISK_MANAGED 0x00000010 -+#define DISK_FLUSHONLY 0x00000020 -+ -+struct sysfs { -+ struct udev *udev; -+ struct udev_enumerate *num; -+ struct udev_list_entry *item; -+ char *devnode; -+ size_t size; -+}; -+ -+static int flush_cache_ext(const struct sysfs *sysfs); -+ -+static struct sysfs * open_sysfs(void) -+{ -+ static struct sysfs sysfs; -+ sysfs.udev = udev_new(); -+ if (!sysfs.udev) -+ goto err; -+ sysfs.num = udev_enumerate_new(sysfs.udev); -+ if (!sysfs.num) -+ goto err; -+ if (udev_enumerate_add_match_subsystem(sysfs.num, "block") < 0) -+ goto err; -+ if (udev_enumerate_add_match_sysname(sysfs.num, "sd?") < 0) -+ goto err; -+ if (udev_enumerate_add_match_sysname(sysfs.num, "hd?") < 0) -+ goto err; -+ if (udev_enumerate_scan_devices(sysfs.num) < 0) -+ goto err; -+ sysfs.item = udev_enumerate_get_list_entry(sysfs.num); -+ sysfs.devnode = NULL; -+ sysfs.size = 0; -+ return &sysfs; -+err: -+ if (sysfs.num) -+ udev_unref(sysfs.udev); -+ if (sysfs.udev) -+ udev_unref(sysfs.udev); -+ return NULL; -+} -+ -+static void close_sysfs(struct sysfs *sysfs) -+{ -+ if (sysfs->num) -+ udev_enumerate_unref(sysfs->num); -+ if (sysfs->udev) -+ udev_unref(sysfs->udev); -+ if (sysfs->devnode) -+ free(sysfs->devnode); -+ sysfs->devnode = NULL; -+} -+ -+ -+static char *list_disks(struct sysfs *sysfs, unsigned int* flags) -+{ -+ struct udev_device *device, *parent; -+ struct udev_list_entry *item; -+ const char *devnode; -+ char path[PATH_MAX]; -+ -+ device = NULL; -+next: -+ if (device) -+ udev_device_unref(device); -+ if (sysfs->devnode) -+ free(sysfs->devnode); -+ sysfs->devnode = NULL; -+ sysfs->size = 0; -+ *flags = 0; -+ -+ if (!sysfs->item) -+ goto empty; -+ item = sysfs->item; -+ sysfs->item = udev_list_entry_get_next(sysfs->item); -+ -+ if (!(device = udev_device_new_from_syspath(sysfs->udev, udev_list_entry_get_name(item)))) -+ goto out; -+ if (!(devnode = udev_device_get_devnode(device))) -+ goto out; -+ if (!(sysfs->devnode = strdup(devnode))) -+ goto out; -+ -+ path[0] = '\0'; -+ parent = udev_device_get_parent(device); -+ if (parent) { -+ const char *sysname, *devpath; -+ struct udev_device *disk; -+ const char *value; -+ int ret; -+ -+ sysname = udev_device_get_sysname(parent); -+ devpath = udev_device_get_devpath(parent); -+ -+ strcpy(path, "/sys"); -+ strcat(path, devpath); -+ strcat(path, "/scsi_disk/"); -+ strcat(path, sysname); -+ -+ disk = udev_device_new_from_syspath(sysfs->udev, path); -+ if (disk) { -+ value = udev_device_get_sysattr_value(disk, "manage_start_stop"); -+ udev_device_unref(disk); -+ -+ if (value && *value != '0') { -+ *flags = DISK_MANAGED; -+#ifndef LIST_DEBUG -+ goto next; /* Device managed by the kernel */ -+#endif -+ } -+ } -+ -+ value = udev_device_get_sysattr_value(device, "size"); -+ if (value && *value) -+ sysfs->size = (size_t)atoll(value); -+ -+ value = udev_device_get_sysattr_value(device, "removable"); -+ if (value && *value != '0') { -+ *flags |= DISK_REMOVABLE; -+ -+ if ((ret = flush_cache_ext(sysfs))) { -+ if (ret < 0) -+ goto next; -+ *flags |= DISK_EXTFLUSH; -+ } -+ goto out; /* Removable disk like USB stick */ -+ } -+ -+ value = udev_device_get_sysname(device); -+ if (value && *value == 'h') { -+ *flags |= DISK_IS_IDE; -+ -+ if ((ret = flush_cache_ext(sysfs))) { -+ if (ret < 0) -+ goto next; -+ *flags |= DISK_EXTFLUSH; -+ } -+ goto out; /* IDE disk found */ -+ } -+ -+ value = udev_device_get_sysattr_value(parent, "vendor"); -+ if (value && strncmp(value, "ATA", 3) == 0) { -+ *flags |= (DISK_IS_IDE|DISK_IS_SATA); -+ -+ if ((ret = flush_cache_ext(sysfs))) { -+ if (ret < 0) -+ goto next; -+ *flags |= DISK_EXTFLUSH; -+ } -+ goto out; /* SATA disk to shutdown */ -+ } -+ goto next; -+ } -+out: -+ udev_device_unref(device); -+empty: -+ return sysfs->devnode; -+} -+#ifndef LIST_DEBUG -+/* -+ * Check IDE/(S)ATA hard disk identity for -+ * the FLUSH CACHE EXT bit set. -+ */ -+static int flush_cache_ext(const struct sysfs *sysfs) -+{ -+#ifndef WIN_IDENTIFY -+#define WIN_IDENTIFY 0xEC -+#endif -+ unsigned char args[4+IDBYTES]; -+ unsigned short *id = (unsigned short*)(&args[4]); -+ int fd = -1, ret = 0; -+ -+ if (sysfs->size < (1<<28)) -+ goto out; /* small disk */ -+ -+ if ((fd = open(sysfs->devnode, O_RDONLY|O_NONBLOCK|O_CLOEXEC)) < 0) -+ goto out; -+ -+ memset(&args[0], 0, sizeof(args)); -+ args[0] = WIN_IDENTIFY; -+ args[3] = 1; -+ if (ioctl(fd, HDIO_DRIVE_CMD, &args)) -+ goto out; -+#ifdef WORDS_BIGENDIAN -+# if 0 -+ { -+ const unsigned short *end = id + IDBYTES/2; -+ const unsigned short *from = id; -+ unsigned short *to = id; -+ -+ while (from < end) -+ *to++ = bswap_16(*from++); -+ } -+# else -+ id[83] = bswap_16(id[83]); -+# endif -+#endif -+ if ((id[83] & MASK_EXT) == TEST_EXT) -+ ret = 1; -+out: -+ if (fd >= 0) -+ close(fd); -+ return ret; -+} -+ -+/* -+ * Put an IDE/SCSI/SATA disk in standby mode. -+ * Code stolen from hdparm.c -+ */ -+static int do_standby_disk(struct sysfs *sysfs, unsigned int flags) -+{ -+#ifndef WIN_STANDBYNOW1 -+#define WIN_STANDBYNOW1 0xE0 -+#endif -+#ifndef WIN_STANDBYNOW2 -+#define WIN_STANDBYNOW2 0x94 -+#endif -+#ifndef WIN_FLUSH_CACHE_EXT -+#define WIN_FLUSH_CACHE_EXT 0xEA -+#endif -+#ifndef WIN_FLUSH_CACHE -+#define WIN_FLUSH_CACHE 0xE7 -+#endif -+ unsigned char flush1[4] = {WIN_FLUSH_CACHE_EXT,0,0,0}; -+ unsigned char flush2[4] = {WIN_FLUSH_CACHE,0,0,0}; -+ unsigned char stdby1[4] = {WIN_STANDBYNOW1,0,0,0}; -+ unsigned char stdby2[4] = {WIN_STANDBYNOW2,0,0,0}; -+ int fd, ret; -+ -+ if ((fd = open(sysfs->devnode, O_RDWR|O_NONBLOCK|O_CLOEXEC)) < 0) -+ return -1; -+ -+ switch (flags & DISK_EXTFLUSH) { -+ case DISK_EXTFLUSH: -+ if ((ret = ioctl(fd, HDIO_DRIVE_CMD, &flush1)) == 0) -+ break; -+ /* Extend flush rejected, try standard flush */ -+ default: -+ ret = ioctl(fd, HDIO_DRIVE_CMD, &flush2) && -+ ioctl(fd, BLKFLSBUF); -+ break; -+ } -+ -+ if ((flags & DISK_FLUSHONLY) == 0x0) { -+ ret = ioctl(fd, HDIO_DRIVE_CMD, &stdby1) && -+ ioctl(fd, HDIO_DRIVE_CMD, &stdby2); -+ } -+ -+ close(fd); -+ -+ if (ret) -+ return -1; -+ return 0; -+} -+#endif -+#ifdef LIST_DEBUG -+int main() -+{ -+ char *disk; -+ unsigned int flags; -+ struct sysfs *sysfs = open_sysfs(); -+ if (!sysfs) -+ goto err; -+ while ((disk = list_disks(sysfs, &flags))) -+ fprintf(stdout, "%s\n", sysfs->devnode); -+ close_sysfs(sysfs); -+err: -+ return 0; -+} -+#else -+/* -+ * List all disks and put them in standby mode. -+ * This has the side-effect of flushing the writecache, -+ * which is exactly what we want on poweroff. -+ */ -+void hddown(void) -+{ -+ struct sysfs *sysfs; -+ unsigned int flags; -+ char *disk; -+ -+ if (!(sysfs = open_sysfs())) -+ return; -+ -+ while ((disk = list_disks(sysfs, &flags))) -+ do_standby_disk(sysfs, flags); -+ -+ close_sysfs(sysfs); -+} -+ -+/* -+ * List all disks and cause them to flush their buffers. -+ */ -+void hdflush(void) -+{ -+ struct sysfs *sysfs; -+ unsigned int flags; -+ char *disk; -+ -+ if (!(sysfs = open_sysfs())) -+ return; -+ -+ while ((disk = list_disks(sysfs, &flags))) -+ do_standby_disk(sysfs, (flags|DISK_FLUSHONLY)); -+ -+ close_sysfs(sysfs); -+} -+#endif ---- systemd-208/src/shared/hdflush.h -+++ systemd-208/src/shared/hdflush.h 2014-01-28 11:00:08.286235696 +0000 -@@ -0,0 +1,25 @@ -+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -+ -+#pragma once -+ -+/*** -+ This file is part of systemd. -+ -+ Copyright 2014 Werner Fink -+ -+ systemd is free software; you can redistribute it and/or modify it -+ under the terms of the GNU Lesser General Public License as published by -+ the Free Software Foundation; either version 2.1 of the License, or -+ (at your option) any later version. -+ -+ systemd is distributed in the hope that it will be useful, but -+ WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Lesser General Public License for more details. -+ -+ You should have received a copy of the GNU Lesser General Public License -+ along with systemd; If not, see . -+***/ -+ -+void hdflush(void); -+void hddown(void); ---- systemd-208/src/core/shutdown.c -+++ systemd-208/src/core/shutdown.c 2014-01-28 11:14:15.722235591 +0000 -@@ -40,6 +40,7 @@ - #include "missing.h" - #include "log.h" - #include "fileio.h" -+#include "hdflush.h" - #include "umount.h" - #include "util.h" - #include "mkdir.h" -@@ -302,8 +303,13 @@ int main(int argc, char *argv[]) { - * on reboot(), but the file systems need to be synce'd - * explicitly in advance. So let's do this here, but not - * needlessly slow down containers. */ -- if (!in_container) -+ if (!in_container) { - sync(); -+ if (cmd == RB_POWER_OFF || cmd == RB_HALT_SYSTEM) -+ hddown(); -+ else -+ hdflush(); -+ } - - if (cmd == LINUX_REBOOT_CMD_KEXEC) { - ---- systemd-208/src/systemctl/systemctl.c -+++ systemd-208/src/systemctl/systemctl.c 2014-01-28 11:31:27.150735613 +0000 -@@ -87,6 +87,7 @@ static bool arg_no_pager = false; - static bool arg_no_wtmp = false; - static bool arg_no_wall = false; - static bool arg_no_reload = false; -+static bool arg_no_sync = false; - static bool arg_show_types = false; - static bool arg_ignore_inhibitors = false; - static bool arg_dry = false; -@@ -5272,6 +5273,7 @@ static int halt_parse_argv(int argc, cha - { "reboot", no_argument, NULL, ARG_REBOOT }, - { "force", no_argument, NULL, 'f' }, - { "wtmp-only", no_argument, NULL, 'w' }, -+ { "no-sync", no_argument, NULL, 'n' }, - { "no-wtmp", no_argument, NULL, 'd' }, - { "no-wall", no_argument, NULL, ARG_NO_WALL }, - { NULL, 0, NULL, 0 } -@@ -5324,10 +5326,13 @@ static int halt_parse_argv(int argc, cha - - case 'i': - case 'h': -- case 'n': - /* Compatibility nops */ - break; - -+ case 'n': -+ arg_no_sync = true; -+ break; -+ - case '?': - return -EINVAL; - -@@ -5981,14 +5986,14 @@ static int halt_now(enum action a) { - - switch (a) { - -- case ACTION_HALT: -- log_info("Halting."); -- reboot(RB_HALT_SYSTEM); -- return -errno; -- - case ACTION_POWEROFF: - log_info("Powering off."); - reboot(RB_POWER_OFF); -+ /* Fall through */ -+ -+ case ACTION_HALT: -+ log_info("Halting."); -+ reboot(RB_HALT_SYSTEM); - return -errno; - - case ACTION_REBOOT: diff --git a/0001-analyze-set-text-on-side-with-most-space.patch b/0001-analyze-set-text-on-side-with-most-space.patch deleted file mode 100644 index 6268160..0000000 --- a/0001-analyze-set-text-on-side-with-most-space.patch +++ /dev/null @@ -1,90 +0,0 @@ -From 95168f7d55181475946ad93db30255c4d709df03 Mon Sep 17 00:00:00 2001 -From: Thomas Hindoe Paaboel Andersen -Date: Fri, 01 Nov 2013 21:57:47 +0000 -Subject: analyze: plot: place the text on the side with most space - -Set the width of the svg to always fit the longest string -while taking its starting position into consideration. - -Place the text on the right while the starting point is -in the first half of the screen. After that we put it on -the left to save the svg from being wider that it has to. ---- -diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c -index 6bfe13d..8730723 100644 ---- a/src/analyze/systemd-analyze.c -+++ b/src/analyze/systemd-analyze.c -@@ -509,7 +509,7 @@ static int analyze_plot(sd_bus *bus) { - m++; - - for (u = times; u < times + n; u++) { -- double len; -+ double text_start, text_width; - - if (u->ixt < boot->userspace_time || - u->ixt > boot->finish_time) { -@@ -517,10 +517,14 @@ static int analyze_plot(sd_bus *bus) { - u->name = NULL; - continue; - } -- len = ((boot->firmware_time + u->ixt) * SCALE_X) -- + (10.0 * strlen(u->name)); -- if (len > width) -- width = len; -+ -+ /* If the text cannot fit on the left side then -+ * increase the svg width so it fits on the right. -+ * TODO: calculate the text width more accurately */ -+ text_width = 8.0 * strlen(u->name); -+ text_start = (boot->firmware_time + u->ixt) * SCALE_X; -+ if (text_width > text_start && text_width + text_start > width) -+ width = text_width + text_start; - - if (u->iet > u->ixt && u->iet <= boot->finish_time - && u->aet == 0 && u->axt == 0) -@@ -608,7 +612,7 @@ static int analyze_plot(sd_bus *bus) { - svg_bar("active", boot->userspace_time, boot->finish_time, y); - svg_bar("generators", boot->generators_start_time, boot->generators_finish_time, y); - svg_bar("unitsload", boot->unitsload_start_time, boot->unitsload_finish_time, y); -- svg_text("left", boot->userspace_time, y, "systemd"); -+ svg_text(true, boot->userspace_time, y, "systemd"); - y++; - - for (u = times; u < times + n; u++) { -@@ -622,7 +626,8 @@ static int analyze_plot(sd_bus *bus) { - svg_bar("active", u->aet, u->axt, y); - svg_bar("deactivating", u->axt, u->iet, y); - -- b = u->ixt * SCALE_X > width * 2 / 3; -+ /* place the text on the left if we have passed the half of the svg width */ -+ b = u->ixt * SCALE_X < width / 2; - if (u->time) - svg_text(b, u->ixt, y, "%s (%s)", - u->name, format_timespan(ts, sizeof(ts), u->time, USEC_PER_MSEC)); -@@ -634,19 +639,19 @@ static int analyze_plot(sd_bus *bus) { - /* Legend */ - y++; - svg_bar("activating", 0, 300000, y); -- svg_text("right", 400000, y, "Activating"); -+ svg_text(true, 400000, y, "Activating"); - y++; - svg_bar("active", 0, 300000, y); -- svg_text("right", 400000, y, "Active"); -+ svg_text(true, 400000, y, "Active"); - y++; - svg_bar("deactivating", 0, 300000, y); -- svg_text("right", 400000, y, "Deactivating"); -+ svg_text(true, 400000, y, "Deactivating"); - y++; - svg_bar("generators", 0, 300000, y); -- svg_text("right", 400000, y, "Generators"); -+ svg_text(true, 400000, y, "Generators"); - y++; - svg_bar("unitsload", 0, 300000, y); -- svg_text("right", 400000, y, "Loading unit files"); -+ svg_text(true, 400000, y, "Loading unit files"); - y++; - - svg("\n\n"); --- -cgit v0.9.0.2-2-gbebe diff --git a/0001-analyze-set-white-background.patch b/0001-analyze-set-white-background.patch deleted file mode 100644 index 8906284..0000000 --- a/0001-analyze-set-white-background.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 418e37506e6a419a808a82081ca1616caa03a206 Mon Sep 17 00:00:00 2001 -From: Thomas Hindoe Paaboel Andersen -Date: Mon, 21 Oct 2013 19:29:23 +0000 -Subject: analyze: set white backgound - -In programs like eog and gimp the transparant background did not -look very good. - -https://bugs.freedesktop.org/show_bug.cgi?id=70720 ---- -diff --git a/src/analyze/systemd-analyze.c b/src/analyze/systemd-analyze.c -index 26769d6..0cc4de7 100644 ---- a/src/analyze/systemd-analyze.c -+++ b/src/analyze/systemd-analyze.c -@@ -507,6 +507,7 @@ static int analyze_plot(DBusConnection *bus) { - /* style sheet */ - svg("\n \n\n\n"); - -+ svg("\n"); - svg("%s", pretty_times); - svg("%s %s (%s %s) %s", - isempty(osname) ? "Linux" : osname, --- -cgit v0.9.0.2-2-gbebe diff --git a/0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch b/0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch deleted file mode 100644 index 3729198..0000000 --- a/0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch +++ /dev/null @@ -1,225 +0,0 @@ -From 6fa7e1a944a2dbb89e794ad0f9da5d0fda5dc4a9 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 29 Jan 2014 13:38:55 +0100 -Subject: [PATCH 1/3] core: introduce new KillMode=mixed which sends SIGTERM - only to the main process, but SIGKILL to all daemon processes - -This should fix some race with terminating systemd --user, where the -system systemd instance might race against the user systemd instance -when sending SIGTERM. ---- - man/systemd.kill.xml | 77 +++++++++++++++++++++++++++++++++----------------- - src/core/kill.c | 1 + - src/core/kill.h | 1 + - src/core/unit.c | 3 +- - units/user@.service.in | 1 + - 5 files changed, 56 insertions(+), 27 deletions(-) - -diff --git a/man/systemd.kill.xml b/man/systemd.kill.xml -index 1b10fba..a4009aa 100644 ---- a/man/systemd.kill.xml -+++ b/man/systemd.kill.xml -@@ -44,39 +44,44 @@ - - - systemd.kill -- Kill environment configuration -+ Process killing procedure -+ configuration - - - - service.service, - socket.socket, - mount.mount, -- swap.swap -+ swap.swap, -+ scope.scope - - - - Description - - Unit configuration files for services, sockets, -- mount points and swap devices share a subset of -- configuration options which define the process killing -- parameters of spawned processes. -+ mount points, swap devices and scopes share a subset -+ of configuration options which define the -+ killing procedure of processes belonging to the unit. - - This man page lists the configuration options -- shared by these four unit types. See -+ shared by these five unit types. See - systemd.unit5 -- for the common options of all unit configuration -- files, and -+ for the common options shared by all unit -+ configuration files, and - systemd.service5, - systemd.socket5, -- systemd.swap5 -- and -+ systemd.swap5, - systemd.mount5 -- for more information on the specific unit -- configuration files. The execution specific -+ and -+ systemd.scope5 -+ for more information on the configuration file options -+ specific to each unit type. -+ -+ The kill procedure - configuration options are configured in the [Service], -- [Socket], [Mount], or [Swap] section, depending on the unit -- type. -+ [Socket], [Mount] or [Swap] section, depending on the -+ unit type. - - - -@@ -87,32 +92,40 @@ - - KillMode= - Specifies how -- processes of this service shall be -+ processes of this unit shall be - killed. One of - , - , -+ , - . - - If set to - , all - remaining processes in the control -- group of this unit will be terminated -- on unit stop (for services: after the -+ group of this unit will be killed on -+ unit stop (for services: after the - stop command is executed, as - configured with - ExecStop=). If set - to , only the - main process itself is killed. If set -- to , no process is -+ to the -+ SIGTERM signal -+ (see below) is sent to the main -+ process while the subsequent -+ SIGKILL signal -+ (see below) is sent to all remaining -+ processes of the unit's control -+ group. If set to -+ , no process is - killed. In this case only the stop -- command will be executed on unit -- stop, but no process be killed -+ command will be executed on unit stop, -+ but no process be killed - otherwise. Processes remaining alive - after stop are left in their control - group and the control group continues - to exist after stop unless it is -- empty. Defaults to -- . -+ empty. - - Processes will first be - terminated via -@@ -133,14 +146,24 @@ - option). See - kill2 - for more -- information. -+ information. -+ -+ Defaults to -+ . - - - - KillSignal= - Specifies which signal -- to use when killing a -- service. Defaults to SIGTERM. -+ to use when killing a service. This -+ controls the signal that is sent as -+ first step of shutting down a unit -+ (see above), and is usually followed -+ by SIGKILL (see -+ above and below). For a list of valid -+ signals, see -+ signal7. Defaults -+ to SIGTERM. - - - -@@ -184,7 +207,9 @@ - systemd.swap5, - systemd.mount5, - systemd.exec5, -- systemd.directives7 -+ systemd.directives7, -+ kill2, -+ signal7 - - - -diff --git a/src/core/kill.c b/src/core/kill.c -index ea947c2..4271346 100644 ---- a/src/core/kill.c -+++ b/src/core/kill.c -@@ -52,6 +52,7 @@ void kill_context_dump(KillContext *c, FILE *f, const char *prefix) { - static const char* const kill_mode_table[_KILL_MODE_MAX] = { - [KILL_CONTROL_GROUP] = "control-group", - [KILL_PROCESS] = "process", -+ [KILL_MIXED] = "mixed", - [KILL_NONE] = "none" - }; - -diff --git a/src/core/kill.h b/src/core/kill.h -index 41773f0..d5f125f 100644 ---- a/src/core/kill.h -+++ b/src/core/kill.h -@@ -32,6 +32,7 @@ typedef enum KillMode { - /* The kill mode is a property of a unit. */ - KILL_CONTROL_GROUP = 0, - KILL_PROCESS, -+ KILL_MIXED, - KILL_NONE, - _KILL_MODE_MAX, - _KILL_MODE_INVALID = -1 -diff --git a/src/core/unit.c b/src/core/unit.c -index 4b97710..0b10e57 100644 ---- a/src/core/unit.c -+++ b/src/core/unit.c -@@ -3007,7 +3007,7 @@ int unit_kill_context( - } - } - -- if (c->kill_mode == KILL_CONTROL_GROUP && u->cgroup_path) { -+ if ((c->kill_mode == KILL_CONTROL_GROUP || (c->kill_mode == KILL_MIXED && sigkill)) && u->cgroup_path) { - _cleanup_set_free_ Set *pid_set = NULL; - - /* Exclude the main/control pids from being killed via the cgroup */ -@@ -3021,6 +3021,7 @@ int unit_kill_context( - log_warning_unit(u->id, "Failed to kill control group: %s", strerror(-r)); - } else if (r > 0) { - wait_for_exit = true; -+ - if (c->send_sighup) { - set_free(pid_set); - -diff --git a/units/user@.service.in b/units/user@.service.in -index 3718a57..3bb8696 100644 ---- a/units/user@.service.in -+++ b/units/user@.service.in -@@ -17,3 +17,4 @@ Environment=SHELL=%s - ExecStart=-@rootlibexecdir@/systemd --user - Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%I/dbus/user_bus_socket - Slice=user-%i.slice -+KillMode=mixed --- -1.8.4 - diff --git a/0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch b/0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch deleted file mode 100644 index 40479ea..0000000 --- a/0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch +++ /dev/null @@ -1,329 +0,0 @@ -From d420282b28f50720e233ccb1c02547c562195653 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Tue, 26 Nov 2013 01:39:53 +0100 -Subject: [PATCH] core: replace OnFailureIsolate= setting by a more generic - OnFailureJobMode= setting and make use of it where applicable - ---- - man/systemd.unit.xml | 40 +++++++++++++++++++++++++---------- - src/core/dbus-unit.c | 3 ++- - src/core/job.h | 3 +-- - src/core/load-fragment-gperf.gperf.m4 | 3 ++- - src/core/load-fragment.c | 31 +++++++++++++++++++++++++++ - src/core/load-fragment.h | 2 ++ - src/core/unit.c | 11 +++++----- - src/core/unit.h | 4 ++-- - units/initrd-cleanup.service.in | 1 + - units/initrd-fs.target | 2 +- - units/initrd-parse-etc.service.in | 1 + - units/initrd-root-fs.target | 2 +- - units/initrd-switch-root.service.in | 1 + - units/initrd.target | 2 +- - units/local-fs.target | 2 +- - 15 files changed, 82 insertions(+), 26 deletions(-) - -Index: systemd-208/man/systemd.unit.xml -=================================================================== ---- systemd-208.orig/man/systemd.unit.xml -+++ systemd-208/man/systemd.unit.xml -@@ -669,19 +669,37 @@ - - - -- OnFailureIsolate= -+ OnFailureJobMode= - -- Takes a boolean -- argument. If , the -- unit listed in -+ Takes a value of -+ fail, -+ replace, -+ replace-irreversibly -+ or -+ isolate. Defaults -+ to -+ replace. Specifies -+ how the units listed in - OnFailure= will be -- enqueued in isolation mode, i.e. all -- units that are not its dependency will -- be stopped. If this is set, only a -+ enqueued. If set to -+ fail and -+ contradicting jobs are already queued, -+ cause the activation to fail. If set -+ to replace and -+ contradicting jobs area already -+ queued, replace -+ those. replace-irreversibly -+ is similar to -+ replace, however, -+ creates jobs that cannot be reversed -+ unless they finished or are explicitly -+ canceled. isolate -+ may be used to terminate all other -+ units but the specified one. If -+ this is set to -+ isolate, only a - single unit may be listed in -- OnFailure=. Defaults -- to -- . -+ OnFailure=.. - - - -Index: systemd-208/src/core/dbus-unit.c -=================================================================== ---- systemd-208.orig/src/core/dbus-unit.c -+++ systemd-208/src/core/dbus-unit.c -@@ -133,6 +133,7 @@ static int bus_unit_append_description(D - } - - static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_unit_append_load_state, unit_load_state, UnitLoadState); -+static DEFINE_BUS_PROPERTY_APPEND_ENUM(bus_unit_append_job_mode, job_mode, JobMode); - - static int bus_unit_append_active_state(DBusMessageIter *i, const char *property, void *data) { - Unit *u = data; -@@ -1079,7 +1080,7 @@ const BusProperty bus_unit_properties[] - { "RefuseManualStop", bus_property_append_bool, "b", offsetof(Unit, refuse_manual_stop) }, - { "AllowIsolate", bus_property_append_bool, "b", offsetof(Unit, allow_isolate) }, - { "DefaultDependencies", bus_property_append_bool, "b", offsetof(Unit, default_dependencies) }, -- { "OnFailureIsolate", bus_property_append_bool, "b", offsetof(Unit, on_failure_isolate) }, -+ { "OnFailureJobMode", bus_unit_append_job_mode, "s", offsetof(Unit, on_failure_job_mode) }, - { "IgnoreOnIsolate", bus_property_append_bool, "b", offsetof(Unit, ignore_on_isolate) }, - { "IgnoreOnSnapshot", bus_property_append_bool, "b", offsetof(Unit, ignore_on_snapshot) }, - { "NeedDaemonReload", bus_unit_append_need_daemon_reload, "b", 0 }, -Index: systemd-208/src/core/job.h -=================================================================== ---- systemd-208.orig/src/core/job.h -+++ systemd-208/src/core/job.h -@@ -83,7 +83,7 @@ enum JobState { - enum JobMode { - JOB_FAIL, /* Fail if a conflicting job is already queued */ - JOB_REPLACE, /* Replace an existing conflicting job */ -- JOB_REPLACE_IRREVERSIBLY, /* Like JOB_REPLACE + produce irreversible jobs */ -+ JOB_REPLACE_IRREVERSIBLY,/* Like JOB_REPLACE + produce irreversible jobs */ - JOB_ISOLATE, /* Start a unit, and stop all others */ - JOB_IGNORE_DEPENDENCIES, /* Ignore both requirement and ordering dependencies */ - JOB_IGNORE_REQUIREMENTS, /* Ignore requirement dependencies */ -Index: systemd-208/src/core/load-fragment-gperf.gperf.m4 -=================================================================== ---- systemd-208.orig/src/core/load-fragment-gperf.gperf.m4 -+++ systemd-208/src/core/load-fragment-gperf.gperf.m4 -@@ -122,7 +122,8 @@ Unit.RefuseManualStart, config_ - Unit.RefuseManualStop, config_parse_bool, 0, offsetof(Unit, refuse_manual_stop) - Unit.AllowIsolate, config_parse_bool, 0, offsetof(Unit, allow_isolate) - Unit.DefaultDependencies, config_parse_bool, 0, offsetof(Unit, default_dependencies) --Unit.OnFailureIsolate, config_parse_bool, 0, offsetof(Unit, on_failure_isolate) -+Unit.OnFailureJobMode, config_parse_job_mode, 0, offsetof(Unit, on_failure_job_mode) -+Unit.OnFailureIsolate, config_parse_job_mode_isolate, 0, offsetof(Unit, on_failure_job_mode) - Unit.IgnoreOnIsolate, config_parse_bool, 0, offsetof(Unit, ignore_on_isolate) - Unit.IgnoreOnSnapshot, config_parse_bool, 0, offsetof(Unit, ignore_on_snapshot) - Unit.JobTimeoutSec, config_parse_sec, 0, offsetof(Unit, job_timeout) -Index: systemd-208/src/core/load-fragment.c -=================================================================== ---- systemd-208.orig/src/core/load-fragment.c -+++ systemd-208/src/core/load-fragment.c -@@ -2314,6 +2314,36 @@ int config_parse_blockio_bandwidth( - return 0; - } - -+DEFINE_CONFIG_PARSE_ENUM(config_parse_job_mode, job_mode, JobMode, "Failed to parse job mode"); -+ -+int config_parse_job_mode_isolate( -+ const char *unit, -+ const char *filename, -+ unsigned line, -+ const char *section, -+ const char *lvalue, -+ int ltype, -+ const char *rvalue, -+ void *data, -+ void *userdata) { -+ -+ JobMode *m = data; -+ int r; -+ -+ assert(filename); -+ assert(lvalue); -+ assert(rvalue); -+ -+ r = parse_boolean(rvalue); -+ if (r < 0) { -+ log_syntax(unit, LOG_ERR, filename, line, EINVAL, "Failed to parse boolean, ignoring: %s", rvalue); -+ return 0; -+ } -+ -+ *m = r ? JOB_ISOLATE : JOB_REPLACE; -+ return 0; -+} -+ - #define FOLLOW_MAX 8 - - static int open_follow(char **filename, FILE **_f, Set *names, char **_final) { -Index: systemd-208/src/core/load-fragment.h -=================================================================== ---- systemd-208.orig/src/core/load-fragment.h -+++ systemd-208/src/core/load-fragment.h -@@ -83,6 +83,8 @@ int config_parse_device_allow(const char - int config_parse_blockio_weight(const char *unit, const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); - int config_parse_blockio_device_weight(const char *unit, const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); - int config_parse_blockio_bandwidth(const char *unit, const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); -+int config_parse_job_mode(const char *unit, const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); -+int config_parse_job_mode_isolate(const char *unit, const char *filename, unsigned line, const char *section, const char *lvalue, int ltype, const char *rvalue, void *data, void *userdata); - - /* gperf prototypes */ - const struct ConfigPerfItem* load_fragment_gperf_lookup(const char *key, unsigned length); -Index: systemd-208/src/core/unit.c -=================================================================== ---- systemd-208.orig/src/core/unit.c -+++ systemd-208/src/core/unit.c -@@ -85,6 +85,7 @@ Unit *unit_new(Manager *m, size_t size) - u->deserialized_job = _JOB_TYPE_INVALID; - u->default_dependencies = true; - u->unit_file_state = _UNIT_FILE_STATE_INVALID; -+ u->on_failure_job_mode = JOB_REPLACE; - - return u; - } -@@ -807,14 +808,14 @@ void unit_dump(Unit *u, FILE *f, const c - "%s\tRefuseManualStart: %s\n" - "%s\tRefuseManualStop: %s\n" - "%s\tDefaultDependencies: %s\n" -- "%s\tOnFailureIsolate: %s\n" -+ "%s\tOnFailureJobMode: %s\n" - "%s\tIgnoreOnIsolate: %s\n" - "%s\tIgnoreOnSnapshot: %s\n", - prefix, yes_no(u->stop_when_unneeded), - prefix, yes_no(u->refuse_manual_start), - prefix, yes_no(u->refuse_manual_stop), - prefix, yes_no(u->default_dependencies), -- prefix, yes_no(u->on_failure_isolate), -+ prefix, job_mode_to_string(u->on_failure_job_mode), - prefix, yes_no(u->ignore_on_isolate), - prefix, yes_no(u->ignore_on_snapshot)); - -@@ -985,11 +986,11 @@ int unit_load(Unit *u) { - if (r < 0) - goto fail; - -- if (u->on_failure_isolate && -+ if (u->on_failure_job_mode == JOB_ISOLATE && - set_size(u->dependencies[UNIT_ON_FAILURE]) > 1) { - - log_error_unit(u->id, -- "More than one OnFailure= dependencies specified for %s but OnFailureIsolate= enabled. Refusing.", u->id); -+ "More than one OnFailure= dependencies specified for %s but OnFailureJobMode=isolate set. Refusing.", u->id); - - r = -EINVAL; - goto fail; -@@ -1394,7 +1395,7 @@ void unit_start_on_failure(Unit *u) { - SET_FOREACH(other, u->dependencies[UNIT_ON_FAILURE], i) { - int r; - -- r = manager_add_job(u->manager, JOB_START, other, u->on_failure_isolate ? JOB_ISOLATE : JOB_REPLACE, true, NULL, NULL); -+ r = manager_add_job(u->manager, JOB_START, other, u->on_failure_job_mode, true, NULL, NULL); - if (r < 0) - log_error_unit(u->id, "Failed to enqueue OnFailure= job: %s", strerror(-r)); - } -Index: systemd-208/src/core/unit.h -=================================================================== ---- systemd-208.orig/src/core/unit.h -+++ systemd-208/src/core/unit.h -@@ -228,8 +228,8 @@ struct Unit { - /* Allow isolation requests */ - bool allow_isolate; - -- /* Isolate OnFailure unit */ -- bool on_failure_isolate; -+ /* How to start OnFailure units */ -+ JobMode on_failure_job_mode; - - /* Ignore this unit when isolating */ - bool ignore_on_isolate; -Index: systemd-208/units/initrd-cleanup.service.in -=================================================================== ---- systemd-208.orig/units/initrd-cleanup.service.in -+++ systemd-208/units/initrd-cleanup.service.in -@@ -10,6 +10,7 @@ Description=Cleaning Up and Shutting Dow - DefaultDependencies=no - ConditionPathExists=/etc/initrd-release - OnFailure=emergency.target -+OnFailureJobMode=replace-irreversibly - After=initrd-root-fs.target initrd-fs.target initrd.target - - [Service] -Index: systemd-208/units/initrd-fs.target -=================================================================== ---- systemd-208.orig/units/initrd-fs.target -+++ systemd-208/units/initrd-fs.target -@@ -9,7 +9,7 @@ - Description=Initrd File Systems - Documentation=man:systemd.special(7) - OnFailure=emergency.target --OnFailureIsolate=yes -+OnFailureJobMode=replace-irreversibly - ConditionPathExists=/etc/initrd-release - After=initrd-parse-etc.service - DefaultDependencies=no -Index: systemd-208/units/initrd-parse-etc.service.in -=================================================================== ---- systemd-208.orig/units/initrd-parse-etc.service.in -+++ systemd-208/units/initrd-parse-etc.service.in -@@ -11,6 +11,7 @@ DefaultDependencies=no - Requires=initrd-root-fs.target - After=initrd-root-fs.target - OnFailure=emergency.target -+OnFailureJobMode=replace-irreversibly - ConditionPathExists=/etc/initrd-release - - [Service] -Index: systemd-208/units/initrd-root-fs.target -=================================================================== ---- systemd-208.orig/units/initrd-root-fs.target -+++ systemd-208/units/initrd-root-fs.target -@@ -10,6 +10,6 @@ Description=Initrd Root File System - Documentation=man:systemd.special(7) - ConditionPathExists=/etc/initrd-release - OnFailure=emergency.target --OnFailureIsolate=yes -+OnFailureJobMode=replace-irreversibly - DefaultDependencies=no - Conflicts=shutdown.target -Index: systemd-208/units/initrd-switch-root.service.in -=================================================================== ---- systemd-208.orig/units/initrd-switch-root.service.in -+++ systemd-208/units/initrd-switch-root.service.in -@@ -10,6 +10,7 @@ Description=Switch Root - DefaultDependencies=no - ConditionPathExists=/etc/initrd-release - OnFailure=emergency.target -+OnFailureJobMode=replace-irreversibly - AllowIsolate=yes - - [Service] -Index: systemd-208/units/initrd.target -=================================================================== ---- systemd-208.orig/units/initrd.target -+++ systemd-208/units/initrd.target -@@ -9,7 +9,7 @@ - Description=Initrd Default Target - Documentation=man:systemd.special(7) - OnFailure=emergency.target --OnFailureIsolate=yes -+OnFailureJobMode=replace-irreversibly - ConditionPathExists=/etc/initrd-release - Requires=basic.target - Wants=initrd-root-fs.target initrd-fs.target initrd-parse-etc.service -Index: systemd-208/units/local-fs.target -=================================================================== ---- systemd-208.orig/units/local-fs.target -+++ systemd-208/units/local-fs.target -@@ -12,4 +12,4 @@ After=local-fs-pre.target - DefaultDependencies=no - Conflicts=shutdown.target - OnFailure=emergency.target --OnFailureIsolate=no -+OnFailureJobMode=replace-irreversibly diff --git a/0001-core-unify-the-way-we-denote-serialization-attribute.patch b/0001-core-unify-the-way-we-denote-serialization-attribute.patch deleted file mode 100644 index e33e45d..0000000 --- a/0001-core-unify-the-way-we-denote-serialization-attribute.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 8d1a28020409ee4afea6ef8c1c4d3522a209284e Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 9 Oct 2013 00:13:55 +0200 -Subject: [PATCH] core: unify the way we denote serialization attributes - ---- - src/core/service.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/core/service.c b/src/core/service.c -index 98b1599..96ed2d3 100644 ---- a/src/core/service.c -+++ b/src/core/service.c -@@ -2652,7 +2652,7 @@ static int service_serialize(Unit *u, FILE *f, FDSet *fds) { - unit_serialize_item(u, f, "var-tmp-dir", s->exec_context.var_tmp_dir); - - if (s->forbid_restart) -- unit_serialize_item(u, f, "forbid_restart", yes_no(s->forbid_restart)); -+ unit_serialize_item(u, f, "forbid-restart", yes_no(s->forbid_restart)); - - return 0; - } -@@ -2790,12 +2790,12 @@ static int service_deserialize_item(Unit *u, const char *key, const char *value, - return log_oom(); - - s->exec_context.var_tmp_dir = t; -- } else if (streq(key, "forbid_restart")) { -+ } else if (streq(key, "forbid-restart")) { - int b; - - b = parse_boolean(value); - if (b < 0) -- log_debug_unit(u->id, "Failed to parse forbid_restart value %s", value); -+ log_debug_unit(u->id, "Failed to parse forbid-restart value %s", value); - else - s->forbid_restart = b; - } else --- -1.8.4 - diff --git a/0001-dbus-common-avoid-leak-in-error-path.patch b/0001-dbus-common-avoid-leak-in-error-path.patch deleted file mode 100644 index e2ac93f..0000000 --- a/0001-dbus-common-avoid-leak-in-error-path.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 74dcc2df7b2a340c3e1fe9e61e5c8deb324c83d7 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Fri, 11 Oct 2013 19:33:20 -0400 -Subject: [PATCH] dbus-common: avoid leak in error path - -src/shared/dbus-common.c:968:33: warning: Potential leak of memory pointed to by 'l' - return -EINVAL; - ^~~~~~ ---- - src/shared/dbus-common.c | 20 ++++++++++---------- - 1 file changed, 10 insertions(+), 10 deletions(-) - -diff --git a/src/shared/dbus-common.c b/src/shared/dbus-common.c -index c727cae..3ba2d87 100644 ---- a/src/shared/dbus-common.c -+++ b/src/shared/dbus-common.c -@@ -934,7 +934,7 @@ int bus_parse_strv_iter(DBusMessageIter *iter, char ***_l) { - int bus_parse_strv_pairs_iter(DBusMessageIter *iter, char ***_l) { - DBusMessageIter sub, sub2; - unsigned n = 0, i = 0; -- char **l; -+ _cleanup_strv_free_ char **l = NULL; - - assert(iter); - assert(_l); -@@ -953,6 +953,7 @@ int bus_parse_strv_pairs_iter(DBusMessageIter *iter, char ***_l) { - l = new(char*, n*2+1); - if (!l) - return -ENOMEM; -+ l[0] = NULL; /* make sure that l is properly terminated at all times */ - - dbus_message_iter_recurse(iter, &sub); - -@@ -968,26 +969,25 @@ int bus_parse_strv_pairs_iter(DBusMessageIter *iter, char ***_l) { - return -EINVAL; - - l[i] = strdup(a); -- if (!l[i]) { -- strv_free(l); -+ if (!l[i]) - return -ENOMEM; -- } -+ i++; - -- l[++i] = strdup(b); -- if (!l[i]) { -- strv_free(l); -+ l[i] = strdup(b); -+ if (!l[i]) - return -ENOMEM; -- } -- - i++; -+ - dbus_message_iter_next(&sub); - } - - assert(i == n*2); - l[i] = NULL; - -- if (_l) -+ if (_l) { - *_l = l; -+ l = NULL; /* avoid freeing */ -+ } - - return 0; - } --- -1.8.4 - diff --git a/0001-do-not-accept-garbage-from-acpi-firmware-performance.patch b/0001-do-not-accept-garbage-from-acpi-firmware-performance.patch deleted file mode 100644 index 53e8253..0000000 --- a/0001-do-not-accept-garbage-from-acpi-firmware-performance.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 6c7980093c4e39d07bf06484f96f489e236c7c29 Mon Sep 17 00:00:00 2001 -From: Kay Sievers -Date: Thu, 10 Oct 2013 01:38:11 +0200 -Subject: [PATCH] do not accept "garbage" from acpi firmware performance data - (FPDT) - -00000000 46 42 50 54 38 00 00 00 02 00 30 02 00 00 00 00 |FBPT8.....0.....| -00000010 23 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |#E..............| -00000020 f5 6a 51 00 00 00 00 00 00 00 00 00 00 00 00 00 |.jQ.............| -00000030 00 00 00 00 00 00 00 00 70 74 61 6c 58 00 00 00 |........ptalX...| ---- - src/shared/acpi-fpdt.c | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/src/shared/acpi-fpdt.c b/src/shared/acpi-fpdt.c -index af58c7c..75648b4 100644 ---- a/src/shared/acpi-fpdt.c -+++ b/src/shared/acpi-fpdt.c -@@ -146,6 +146,11 @@ int acpi_get_boot_usec(usec_t *loader_start, usec_t *loader_exit) { - if (brec.type != ACPI_FPDT_BOOT_REC) - return -EINVAL; - -+ if (brec.startup_start == 0 || brec.exit_services_exit < brec.startup_start) -+ return -EINVAL; -+ if (brec.exit_services_exit > NSEC_PER_HOUR) -+ return -EINVAL; -+ - if (loader_start) - *loader_start = brec.startup_start / 1000; - if (loader_exit) --- -1.8.4 - diff --git a/0001-drop-ins-check-return-value.patch b/0001-drop-ins-check-return-value.patch deleted file mode 100644 index 35a0f70..0000000 --- a/0001-drop-ins-check-return-value.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 6891529fe1176c046ece579807ff48e3191692f3 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Fri, 11 Oct 2013 19:33:36 -0400 -Subject: [PATCH] drop-ins: check return value - -If the function failed, nothing serious would happen -because unlink would probably return EFAULT, but this -would obscure the real error and is a bit sloppy. ---- - src/core/unit.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/src/core/unit.c b/src/core/unit.c -index 4b97710..1db7d06 100644 ---- a/src/core/unit.c -+++ b/src/core/unit.c -@@ -2908,6 +2908,9 @@ int unit_remove_drop_in(Unit *u, UnitSetPropertiesMode mode, const char *name) { - return 0; - - r = drop_in_file(u, mode, name, &p, &q); -+ if (r < 0) -+ return r; -+ - if (unlink(q) < 0) - r = errno == ENOENT ? 0 : -errno; - else --- -1.8.4 - diff --git a/0001-gpt-auto-generator-exit-immediately-if-in-container.patch b/0001-gpt-auto-generator-exit-immediately-if-in-container.patch deleted file mode 100644 index 4d1fee2..0000000 --- a/0001-gpt-auto-generator-exit-immediately-if-in-container.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 9a5cb1371b6d8b0a04bd08665bcf9b06cb40c64c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Thu, 3 Oct 2013 22:13:01 -0400 -Subject: [PATCH] gpt-auto-generator: exit immediately if in container - -Otherwise we get an ugly warning when running systemd in -a container. ---- - src/gpt-auto-generator/gpt-auto-generator.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c -index ca54925..d2b4213 100644 ---- a/src/gpt-auto-generator/gpt-auto-generator.c -+++ b/src/gpt-auto-generator/gpt-auto-generator.c -@@ -38,6 +38,7 @@ - #include "libudev.h" - #include "special.h" - #include "unit-name.h" -+#include "virt.h" - - /* TODO: - * -@@ -481,6 +482,13 @@ int main(int argc, char *argv[]) { - umask(0022); - - if (in_initrd()) { -+ log_debug("In initrd, exiting."); -+ r = 0; -+ goto finish; -+ } -+ -+ if (detect_container(NULL) > 0) { -+ log_debug("In a container, exiting."); - r = 0; - goto finish; - } --- -1.8.4 - diff --git a/0001-journald-fix-minor-memory-leak.patch b/0001-journald-fix-minor-memory-leak.patch deleted file mode 100644 index 10df2c0..0000000 --- a/0001-journald-fix-minor-memory-leak.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 2ee0591d12b9e725c4585502285fd91cde682d9b Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 9 Oct 2013 04:03:45 +0200 -Subject: [PATCH] journald: fix minor memory leak - ---- - src/journal/journal-vacuum.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/journal/journal-vacuum.c b/src/journal/journal-vacuum.c -index c73ad8f..8d5effb 100644 ---- a/src/journal/journal-vacuum.c -+++ b/src/journal/journal-vacuum.c -@@ -278,6 +278,8 @@ int journal_directory_vacuum( - } else if (errno != ENOENT) - log_warning("Failed to delete %s/%s: %m", directory, p); - -+ free(p); -+ - continue; - } - --- -1.8.4 - diff --git a/0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch b/0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch deleted file mode 100644 index 0ed6caa..0000000 --- a/0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 2b98f75a63e6022bf74a7d678c47faa5208c794f Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Wed, 9 Oct 2013 22:13:13 -0400 -Subject: [PATCH] journald: remove rotated file from hashmap when rotation - fails - -Before, when the user journal file was rotated, journal_file_rotate -could close the old file and fail to open the new file. In that -case, we would leave the old (deallocated) file in the hashmap. -On subsequent accesses, we could retrieve this stale entry, leading -to a segfault. - -When journal_file_rotate fails with the file pointer set to 0, -old file is certainly gone, and cannot be used anymore. - -https://bugzilla.redhat.com/show_bug.cgi?id=890463 ---- - src/journal/journald-server.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c -index 4f47eb1..e03e413 100644 ---- a/src/journal/journald-server.c -+++ b/src/journal/journald-server.c -@@ -321,8 +321,10 @@ void server_rotate(Server *s) { - if (r < 0) - if (f) - log_error("Failed to rotate %s: %s", f->path, strerror(-r)); -- else -+ else { - log_error("Failed to create user journal: %s", strerror(-r)); -+ hashmap_remove(s->user_journals, k); -+ } - else { - hashmap_replace(s->user_journals, k, f); - server_fix_perms(s, f, PTR_TO_UINT32(k)); --- -1.8.4 - diff --git a/0001-login-fix-invalid-free-in-sd_session_get_vt.patch b/0001-login-fix-invalid-free-in-sd_session_get_vt.patch deleted file mode 100644 index 7a7551e..0000000 --- a/0001-login-fix-invalid-free-in-sd_session_get_vt.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 3f4fee033bf0f623de74f3e8a14c42b8ff81c36e Mon Sep 17 00:00:00 2001 -From: David Herrmann -Date: Thu, 10 Oct 2013 13:09:37 +0200 -Subject: [PATCH] login: fix invalid free() in sd_session_get_vt() - -We need to clear variables markes as _cleanup_free_. Otherwise, our -error-paths might corrupt random memory. ---- - src/login/sd-login.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/login/sd-login.c b/src/login/sd-login.c -index 71d8c29..6c27dfe 100644 ---- a/src/login/sd-login.c -+++ b/src/login/sd-login.c -@@ -350,7 +350,7 @@ _public_ int sd_session_get_tty(const char *session, char **tty) { - } - - _public_ int sd_session_get_vt(const char *session, unsigned *vtnr) { -- _cleanup_free_ char *vtnr_string; -+ _cleanup_free_ char *vtnr_string = NULL; - unsigned u; - int r; - --- -1.8.4 - diff --git a/0001-login-make-sd_session_get_vt-actually-work.patch b/0001-login-make-sd_session_get_vt-actually-work.patch deleted file mode 100644 index 49a0a13..0000000 --- a/0001-login-make-sd_session_get_vt-actually-work.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 0581dac2c146cef0f55841a4c136dc48409c8eaa Mon Sep 17 00:00:00 2001 -From: David Herrmann -Date: Thu, 10 Oct 2013 13:11:27 +0200 -Subject: [PATCH] login: make sd_session_get_vt() actually work - -We use VTNR, not VTNr as key. Until now sd_session_get_vt() just returns -an error. ---- - src/login/sd-login.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/login/sd-login.c b/src/login/sd-login.c -index 6c27dfe..7e25041 100644 ---- a/src/login/sd-login.c -+++ b/src/login/sd-login.c -@@ -354,7 +354,7 @@ _public_ int sd_session_get_vt(const char *session, unsigned *vtnr) { - unsigned u; - int r; - -- r = session_get_string(session, "VTNr", &vtnr_string); -+ r = session_get_string(session, "VTNR", &vtnr_string); - if (r < 0) - return r; - --- -1.8.4 - diff --git a/0001-logind-fix-bus-introspection-data-for-TakeControl.patch b/0001-logind-fix-bus-introspection-data-for-TakeControl.patch deleted file mode 100644 index 829333e..0000000 --- a/0001-logind-fix-bus-introspection-data-for-TakeControl.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 660ea9620f7b8f99d08a2770d4e81acfd8aea02e Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Fri, 4 Oct 2013 21:16:40 +0200 -Subject: [PATCH] logind: fix bus introspection data for TakeControl() - ---- - src/login/logind-session-dbus.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/login/logind-session-dbus.c b/src/login/logind-session-dbus.c -index 5f6bafb..be4e01c 100644 ---- a/src/login/logind-session-dbus.c -+++ b/src/login/logind-session-dbus.c -@@ -41,7 +41,7 @@ - " \n" \ - " \n" \ - " \n" \ -- " \n" \ -+ " \n" \ - " \n" \ - " \n" \ - " \n" \ --- -1.8.4 - diff --git a/0001-logind-garbage-collect-stale-users.patch b/0001-logind-garbage-collect-stale-users.patch deleted file mode 100644 index fd91e8b..0000000 --- a/0001-logind-garbage-collect-stale-users.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 63966da86d8e71b1f3f2b57d5448770d526421f9 Mon Sep 17 00:00:00 2001 -From: Thomas Bächler -Date: Sun, 15 Dec 2013 11:06:37 +0000 -Subject: login: Don't stop a running user manager from garbage-collecting the user. - -With the current logic, a user will never be garbage-collected, since its -manager will always be around. Change the logic such that a user is -garbage-collected when it has no sessions and linger is disabled. ---- -diff --git a/src/login/logind-user.c b/src/login/logind-user.c -index 6ba8d98..441e086 100644 ---- a/src/login/logind-user.c -+++ b/src/login/logind-user.c -@@ -629,12 +629,6 @@ int user_check_gc(User *u, bool drop_not - if (u->slice_job || u->service_job) - return 1; - -- if (u->slice && manager_unit_is_active(u->manager, u->slice) != 0) -- return 1; -- -- if (u->service && manager_unit_is_active(u->manager, u->service) != 0) -- return 1; -- - return 0; - } - --- -cgit v0.9.0.2-2-gbebe diff --git a/0001-manager-when-verifying-whether-clients-may-change-en.patch b/0001-manager-when-verifying-whether-clients-may-change-en.patch deleted file mode 100644 index 57bb364..0000000 --- a/0001-manager-when-verifying-whether-clients-may-change-en.patch +++ /dev/null @@ -1,45 +0,0 @@ -From a316932f5a627c1ef78f568fd5dfa579f12e76b2 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Fri, 4 Oct 2013 17:01:37 +0200 -Subject: [PATCH] manager: when verifying whether clients may change - environment using selinux check for "reload" rather "reboot" - -This appears to be a copy/paste error. ---- - src/core/dbus-manager.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c -index 676a07f..8f4d017 100644 ---- a/src/core/dbus-manager.c -+++ b/src/core/dbus-manager.c -@@ -1397,7 +1397,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, - _cleanup_strv_free_ char **l = NULL; - char **e = NULL; - -- SELINUX_ACCESS_CHECK(connection, message, "reboot"); -+ SELINUX_ACCESS_CHECK(connection, message, "reload"); - - r = bus_parse_strv(message, &l); - if (r == -ENOMEM) -@@ -1424,7 +1424,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, - _cleanup_strv_free_ char **l = NULL; - char **e = NULL; - -- SELINUX_ACCESS_CHECK(connection, message, "reboot"); -+ SELINUX_ACCESS_CHECK(connection, message, "reload"); - - r = bus_parse_strv(message, &l); - if (r == -ENOMEM) -@@ -1452,7 +1452,7 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection, - char **f = NULL; - DBusMessageIter iter; - -- SELINUX_ACCESS_CHECK(connection, message, "reboot"); -+ SELINUX_ACCESS_CHECK(connection, message, "reload"); - - if (!dbus_message_iter_init(message, &iter)) - goto oom; --- -1.8.4 - diff --git a/0001-mount-check-for-NULL-before-reading-pm-what.patch b/0001-mount-check-for-NULL-before-reading-pm-what.patch deleted file mode 100644 index e8c830f..0000000 --- a/0001-mount-check-for-NULL-before-reading-pm-what.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 9c03872bc8fb2a381eafe7301ef9811b641686dd Mon Sep 17 00:00:00 2001 -From: Dave Reisner -Date: Fri, 4 Oct 2013 18:22:40 -0400 -Subject: [PATCH] mount: check for NULL before reading pm->what - -Since a57f7e2c828b85, a mount unit with garbage in it would cause -systemd to crash on loading it. - -ref: https://bugs.freedesktop.org/show_bug.cgi?id=70148 ---- - src/core/mount.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/core/mount.c b/src/core/mount.c -index 93bfa99..db055f0 100644 ---- a/src/core/mount.c -+++ b/src/core/mount.c -@@ -182,7 +182,7 @@ static int mount_add_mount_links(Mount *m) { - * for the source path (if this is a bind mount) to be - * available. */ - pm = get_mount_parameters_fragment(m); -- if (pm && path_is_absolute(pm->what)) { -+ if (pm && pm->what && path_is_absolute(pm->what)) { - r = unit_require_mounts_for(UNIT(m), pm->what); - if (r < 0) - return r; --- -1.8.4 - diff --git a/0001-shared-util-Fix-glob_extend-argument.patch b/0001-shared-util-Fix-glob_extend-argument.patch deleted file mode 100644 index 4695547..0000000 --- a/0001-shared-util-Fix-glob_extend-argument.patch +++ /dev/null @@ -1,28 +0,0 @@ -From a8ccacf5344c4434b1d5ff3837307acb8fcf93d2 Mon Sep 17 00:00:00 2001 -From: Bastien Nocera -Date: Mon, 14 Oct 2013 08:15:51 +0200 -Subject: [PATCH] shared/util: Fix glob_extend() argument - -glob_extend() would completely fail to work, or return incorrect -data if it wasn't being passed the current getopt "optarg" variable -as it used the global variable, instead of the passed parameters. ---- - src/shared/util.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/shared/util.c b/src/shared/util.c -index 54dbace..1822770 100644 ---- a/src/shared/util.c -+++ b/src/shared/util.c -@@ -4461,7 +4461,7 @@ int glob_extend(char ***strv, const char *path) { - char **p; - - errno = 0; -- k = glob(optarg, GLOB_NOSORT|GLOB_BRACE, NULL, &g); -+ k = glob(path, GLOB_NOSORT|GLOB_BRACE, NULL, &g); - - if (k == GLOB_NOMATCH) - return -ENOENT; --- -1.8.4 - diff --git a/0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch b/0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch deleted file mode 100644 index eb6dedd..0000000 --- a/0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 1d5989fd803d2019de0f6aaaf3cfb1cb2bbc3cdb Mon Sep 17 00:00:00 2001 -From: Dave Reisner -Date: Sun, 6 Oct 2013 18:26:23 -0400 -Subject: [PATCH] shared/util: fix off-by-one error in tag_to_udev_node - -Triggered false negatives when encoding a string which needed every -character to be escaped, e.g. "LABEL=/". ---- - src/shared/util.c | 2 +- - src/test/test-device-nodes.c | 4 +++- - 2 files changed, 4 insertions(+), 2 deletions(-) - -diff --git a/src/shared/util.c b/src/shared/util.c -index 82f4221..31cea79 100644 ---- a/src/shared/util.c -+++ b/src/shared/util.c -@@ -3527,7 +3527,7 @@ static char *tag_to_udev_node(const char *tagvalue, const char *by) { - if (u == NULL) - return NULL; - -- enc_len = strlen(u) * 4; -+ enc_len = strlen(u) * 4 + 1; - t = new(char, enc_len); - if (t == NULL) - return NULL; -diff --git a/src/test/test-device-nodes.c b/src/test/test-device-nodes.c -index 2f3dedb..59ba4be 100644 ---- a/src/test/test-device-nodes.c -+++ b/src/test/test-device-nodes.c -@@ -26,7 +26,7 @@ - - /* helpers for test_encode_devnode_name */ - static char *do_encode_string(const char *in) { -- size_t out_len = strlen(in) * 4; -+ size_t out_len = strlen(in) * 4 + 1; - char *out = malloc(out_len); - - assert_se(out); -@@ -46,6 +46,8 @@ static void test_encode_devnode_name(void) { - assert_se(expect_encoded_as("pinkiepie", "pinkiepie")); - assert_se(expect_encoded_as("valíd\\ųtf8", "valíd\\x5cųtf8")); - assert_se(expect_encoded_as("s/ash/ng", "s\\x2fash\\x2fng")); -+ assert_se(expect_encoded_as("/", "\\x2f")); -+ assert_se(expect_encoded_as("!", "\\x21")); - } - - int main(int argc, char *argv[]) { --- -1.8.4 - diff --git a/0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch b/0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch deleted file mode 100644 index 254212c..0000000 --- a/0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch +++ /dev/null @@ -1,41 +0,0 @@ -From 77009452cfd25208509b14ea985e81fdf9f7d40e Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= -Date: Thu, 3 Oct 2013 22:15:08 -0400 -Subject: [PATCH] systemd: order remote mounts from mountinfo before - remote-fs.target - -Usually the network is stopped before filesystems are umounted. -Ordering network filesystems before remote-fs.target means that their -unmounting will be performed earlier, and can terminate sucessfully. - -https://bugs.freedesktop.org/show_bug.cgi?id=70002 ---- - src/core/mount.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/src/core/mount.c b/src/core/mount.c -index 3d46557..93bfa99 100644 ---- a/src/core/mount.c -+++ b/src/core/mount.c -@@ -1440,6 +1440,9 @@ static int mount_add_one( - - u = manager_get_unit(m, e); - if (!u) { -+ const char* const target = -+ fstype_is_network(fstype) ? SPECIAL_REMOTE_FS_TARGET : SPECIAL_LOCAL_FS_TARGET; -+ - delete = true; - - u = unit_new(m, sizeof(Mount)); -@@ -1466,7 +1469,7 @@ static int mount_add_one( - goto fail; - } - -- r = unit_add_dependency_by_name(u, UNIT_BEFORE, SPECIAL_LOCAL_FS_TARGET, NULL, true); -+ r = unit_add_dependency_by_name(u, UNIT_BEFORE, target, NULL, true); - if (r < 0) - goto fail; - --- -1.8.4 - diff --git a/0001-systemd-serialize-deserialize-forbid_restart-value.patch b/0001-systemd-serialize-deserialize-forbid_restart-value.patch deleted file mode 100644 index 6184c9a..0000000 --- a/0001-systemd-serialize-deserialize-forbid_restart-value.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 6aca9a587d4ad40b1c044f99e3714022201b9fd4 Mon Sep 17 00:00:00 2001 -From: Sylvia Else -Date: Sun, 6 Oct 2013 23:06:35 -0400 -Subject: [PATCH] systemd: serialize/deserialize forbid_restart value - -The Service type's forbid_restart field was not preserved by -serialization/deserialization, so the fact that the service should not -be restarted after stopping was lost. - -If a systemctl stop foo command has been given, but the foo service -has not yet stopped, and then the systemctl --system daemon-reload was -given, then when the foo service eventually stopped, systemd would -restart it. - -https://bugs.freedesktop.org/show_bug.cgi?id=69800 ---- - src/core/service.c | 11 +++++++++++ - 1 file changed, 11 insertions(+) - -diff --git a/src/core/service.c b/src/core/service.c -index 6792024..98b1599 100644 ---- a/src/core/service.c -+++ b/src/core/service.c -@@ -2651,6 +2651,9 @@ static int service_serialize(Unit *u, FILE *f, FDSet *fds) { - if (s->exec_context.var_tmp_dir) - unit_serialize_item(u, f, "var-tmp-dir", s->exec_context.var_tmp_dir); - -+ if (s->forbid_restart) -+ unit_serialize_item(u, f, "forbid_restart", yes_no(s->forbid_restart)); -+ - return 0; - } - -@@ -2787,6 +2790,14 @@ static int service_deserialize_item(Unit *u, const char *key, const char *value, - return log_oom(); - - s->exec_context.var_tmp_dir = t; -+ } else if (streq(key, "forbid_restart")) { -+ int b; -+ -+ b = parse_boolean(value); -+ if (b < 0) -+ log_debug_unit(u->id, "Failed to parse forbid_restart value %s", value); -+ else -+ s->forbid_restart = b; - } else - log_debug_unit(u->id, "Unknown serialization key '%s'", key); - --- -1.8.4 - diff --git a/0001-upstream-systemctl-halt-reboot-error-handling.patch b/0001-upstream-systemctl-halt-reboot-error-handling.patch deleted file mode 100644 index 110b866..0000000 --- a/0001-upstream-systemctl-halt-reboot-error-handling.patch +++ /dev/null @@ -1,85 +0,0 @@ ---- systemd-208/src/core/shutdown.c -+++ systemd-208/src/core/shutdown.c 2014-01-27 11:31:38.486235816 +0000 -@@ -329,6 +329,9 @@ int main(int argc, char *argv[]) { - - reboot(cmd); - -+ if (cmd == RB_POWER_OFF) -+ reboot(RB_HALT_SYSTEM); -+ - if (errno == EPERM && in_container) { - /* If we are in a container, and we lacked - * CAP_SYS_BOOT just exit, this will kill our - ---- systemd-208/src/systemctl/systemctl.c -+++ systemd-208/src/systemctl/systemctl.c 2014-01-27 11:05:18.298236035 +0000 -@@ -138,7 +138,7 @@ static bool arg_plain = false; - static bool private_bus = false; - - static int daemon_reload(DBusConnection *bus, char **args); --static void halt_now(enum action a); -+static int halt_now(enum action a); - - static void pager_open_if_enabled(void) { - -@@ -2227,7 +2227,7 @@ static int start_special(DBusConnection - (a == ACTION_HALT || - a == ACTION_POWEROFF || - a == ACTION_REBOOT)) -- halt_now(a); -+ return halt_now(a); - - if (arg_force >= 1 && - (a == ACTION_HALT || -@@ -5973,7 +5973,7 @@ done: - return 0; - } - --static _noreturn_ void halt_now(enum action a) { -+static int halt_now(enum action a) { - - /* Make sure C-A-D is handled by the kernel from this - * point on... */ -@@ -5984,23 +5984,22 @@ static _noreturn_ void halt_now(enum act - case ACTION_HALT: - log_info("Halting."); - reboot(RB_HALT_SYSTEM); -- break; -+ return -errno; - - case ACTION_POWEROFF: - log_info("Powering off."); - reboot(RB_POWER_OFF); -- break; -+ return -errno; - - case ACTION_REBOOT: - log_info("Rebooting."); - reboot(RB_AUTOBOOT); -- break; -+ return -errno; - - default: -- assert_not_reached("Unknown halt action."); -+ assert_not_reached("Unknown action."); -+ return -ENOSYS; - } -- -- assert_not_reached("Uh? This shouldn't happen."); - } - - static int halt_main(DBusConnection *bus) { -@@ -6069,9 +6068,10 @@ static int halt_main(DBusConnection *bus - if (arg_dry) - return 0; - -- halt_now(arg_action); -- /* We should never reach this. */ -- return -ENOSYS; -+ r = halt_now(arg_action); -+ log_error("Failed to reboot: %s", strerror(-r)); -+ -+ return r; - } - - static int runlevel_main(void) { diff --git a/0002-fix-lingering-references-to-var-lib-backlight-random.patch b/0002-fix-lingering-references-to-var-lib-backlight-random.patch deleted file mode 100644 index 6ce0c23..0000000 --- a/0002-fix-lingering-references-to-var-lib-backlight-random.patch +++ /dev/null @@ -1,55 +0,0 @@ -From 6c8c92fef72cf6a7ef7109a424ef82dbdc4f6952 Mon Sep 17 00:00:00 2001 -From: Dave Reisner -Date: Wed, 2 Oct 2013 07:46:24 -0400 -Subject: [PATCH 02/15] fix lingering references to - /var/lib/{backlight,random-seed} - -This should have been part of ef5bfcf668e6029faa78534dfe. ---- - man/systemd-backlight@.service.xml | 2 +- - man/systemd-random-seed.service.xml | 2 +- - units/systemd-backlight@.service.in | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/man/systemd-backlight@.service.xml b/man/systemd-backlight@.service.xml -index 2b73625..4318964 100644 ---- a/man/systemd-backlight@.service.xml -+++ b/man/systemd-backlight@.service.xml -@@ -58,7 +58,7 @@ - is a service that restores the display backlight - brightness at early-boot and saves it at shutdown. On - disk, the backlight brightness is stored in -- /var/lib/backlight/. Note that by -+ /var/lib/systemd/backlight/. Note that by - default, only firmware backlight devices are - saved/restored. - -diff --git a/man/systemd-random-seed.service.xml b/man/systemd-random-seed.service.xml -index 8cd14b7..e5cd037 100644 ---- a/man/systemd-random-seed.service.xml -+++ b/man/systemd-random-seed.service.xml -@@ -61,7 +61,7 @@ - for details. Saving/restoring the random seed across - boots increases the amount of available entropy early - at boot. On disk the random seed is stored in -- /var/lib/random-seed. -+ /var/lib/systemd/random-seed. - - - -diff --git a/units/systemd-backlight@.service.in b/units/systemd-backlight@.service.in -index b0e75db..5caa5d5 100644 ---- a/units/systemd-backlight@.service.in -+++ b/units/systemd-backlight@.service.in -@@ -9,7 +9,7 @@ - Description=Load/Save Screen Backlight Brightness of %I - Documentation=man:systemd-backlight@.service(8) - DefaultDependencies=no --RequiresMountsFor=/var/lib/backlight -+RequiresMountsFor=/var/lib/systemd/backlight - Conflicts=shutdown.target - After=systemd-readahead-collect.service systemd-readahead-replay.service systemd-remount-fs.service - Before=sysinit.target shutdown.target --- -1.8.4 - diff --git a/0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch b/0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch deleted file mode 100644 index 76624f9..0000000 --- a/0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 95d57e7b631a2d78b9b5d841125194052895470f Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 29 Jan 2014 13:49:54 +0100 -Subject: [PATCH 2/3] service: allow KillMode=mixed in conjunction with - PAMName= - ---- - src/core/service.c | 20 +++++++------------- - 1 file changed, 7 insertions(+), 13 deletions(-) - -diff --git a/src/core/service.c b/src/core/service.c -index 6792024..e7f03e1 100644 ---- a/src/core/service.c -+++ b/src/core/service.c -@@ -1105,37 +1105,31 @@ static int service_verify(Service *s) { - return 0; - - if (!s->exec_command[SERVICE_EXEC_START]) { -- log_error_unit(UNIT(s)->id, -- "%s lacks ExecStart setting. Refusing.", UNIT(s)->id); -+ log_error_unit(UNIT(s)->id, "%s lacks ExecStart setting. Refusing.", UNIT(s)->id); - return -EINVAL; - } - - if (s->type != SERVICE_ONESHOT && - s->exec_command[SERVICE_EXEC_START]->command_next) { -- log_error_unit(UNIT(s)->id, -- "%s has more than one ExecStart setting, which is only allowed for Type=oneshot services. Refusing.", UNIT(s)->id); -+ log_error_unit(UNIT(s)->id, "%s has more than one ExecStart setting, which is only allowed for Type=oneshot services. Refusing.", UNIT(s)->id); - return -EINVAL; - } - - if (s->type == SERVICE_ONESHOT && s->restart != SERVICE_RESTART_NO) { -- log_error_unit(UNIT(s)->id, -- "%s has Restart setting other than no, which isn't allowed for Type=oneshot services. Refusing.", UNIT(s)->id); -+ log_error_unit(UNIT(s)->id, "%s has Restart setting other than no, which isn't allowed for Type=oneshot services. Refusing.", UNIT(s)->id); - return -EINVAL; - } - - if (s->type == SERVICE_DBUS && !s->bus_name) { -- log_error_unit(UNIT(s)->id, -- "%s is of type D-Bus but no D-Bus service name has been specified. Refusing.", UNIT(s)->id); -+ log_error_unit(UNIT(s)->id, "%s is of type D-Bus but no D-Bus service name has been specified. Refusing.", UNIT(s)->id); - return -EINVAL; - } - - if (s->bus_name && s->type != SERVICE_DBUS) -- log_warning_unit(UNIT(s)->id, -- "%s has a D-Bus service name specified, but is not of type dbus. Ignoring.", UNIT(s)->id); -+ log_warning_unit(UNIT(s)->id, "%s has a D-Bus service name specified, but is not of type dbus. Ignoring.", UNIT(s)->id); - -- if (s->exec_context.pam_name && s->kill_context.kill_mode != KILL_CONTROL_GROUP) { -- log_error_unit(UNIT(s)->id, -- "%s has PAM enabled. Kill mode must be set to 'control-group'. Refusing.", UNIT(s)->id); -+ if (s->exec_context.pam_name && !(s->kill_context.kill_mode == KILL_CONTROL_GROUP || s->kill_context.kill_mode == KILL_MIXED)) { -+ log_error_unit(UNIT(s)->id, "%s has PAM enabled. Kill mode must be set to 'control-group' or 'mixed'. Refusing.", UNIT(s)->id); - return -EINVAL; - } - --- -1.8.4 - diff --git a/0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch b/0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch deleted file mode 100644 index 86e1344..0000000 --- a/0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 2c64a8d0caf84254e38f2e76528f2034d37da520 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 14:03:56 +0200 -Subject: [PATCH 03/15] acpi: make sure we never free an uninitialized pointer - ---- - src/shared/acpi-fpdt.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/shared/acpi-fpdt.c b/src/shared/acpi-fpdt.c -index a7c83ed..af58c7c 100644 ---- a/src/shared/acpi-fpdt.c -+++ b/src/shared/acpi-fpdt.c -@@ -81,7 +81,7 @@ struct acpi_fpdt_boot { - }; - - int acpi_get_boot_usec(usec_t *loader_start, usec_t *loader_exit) { -- _cleanup_free_ char *buf; -+ _cleanup_free_ char *buf = NULL; - struct acpi_table_header *tbl; - size_t l; - struct acpi_fpdt_header *rec; --- -1.8.4 - diff --git a/0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch b/0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch deleted file mode 100644 index e6423f5..0000000 --- a/0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch +++ /dev/null @@ -1,128 +0,0 @@ -From b2ffdc8da536cd88a305f97517f356e2c5383a52 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 29 Jan 2014 14:58:04 +0100 -Subject: [PATCH 3/3] core: make sure to always go through both SIGTERM and - SIGKILL states of units - -Given that we now have KillMode=mixed where SIGTERM might kill a smaller -set than SIGKILL we need to make sure to always go explicitly throught -the SIGKILL state to get the right end result. ---- - src/core/mount.c | 8 +++++++- - src/core/scope.c | 4 +++- - src/core/service.c | 10 +++++++--- - src/core/socket.c | 6 +++++- - src/core/swap.c | 6 +++++- - 5 files changed, 27 insertions(+), 7 deletions(-) - -diff --git a/src/core/mount.c b/src/core/mount.c -index 3d46557..e418d09 100644 ---- a/src/core/mount.c -+++ b/src/core/mount.c -@@ -854,8 +854,14 @@ static void mount_enter_signal(Mount *m, MountState state, MountResult f) { - goto fail; - - mount_set_state(m, state); -- } else if (state == MOUNT_REMOUNTING_SIGTERM || state == MOUNT_REMOUNTING_SIGKILL) -+ } else if (state == MOUNT_REMOUNTING_SIGTERM) -+ mount_enter_signal(m, MOUNT_REMOUNTING_SIGKILL, MOUNT_SUCCESS); -+ else if (state == MOUNT_REMOUNTING_SIGKILL) - mount_enter_mounted(m, MOUNT_SUCCESS); -+ else if (state == MOUNT_MOUNTING_SIGTERM) -+ mount_enter_signal(m, MOUNT_MOUNTING_SIGKILL, MOUNT_SUCCESS); -+ else if (state == MOUNT_UNMOUNTING_SIGTERM) -+ mount_enter_signal(m, MOUNT_UNMOUNTING_SIGKILL, MOUNT_SUCCESS); - else - mount_enter_dead(m, MOUNT_SUCCESS); - -diff --git a/src/core/scope.c b/src/core/scope.c -index 50e5dba..3a5c95e 100644 ---- a/src/core/scope.c -+++ b/src/core/scope.c -@@ -221,7 +221,9 @@ static void scope_enter_signal(Scope *s, ScopeState state, ScopeResult f) { - } - - scope_set_state(s, state); -- } else -+ } else if (state == SCOPE_STOP_SIGTERM) -+ scope_enter_signal(s, SCOPE_STOP_SIGKILL, SCOPE_SUCCESS); -+ else - scope_enter_dead(s, SCOPE_SUCCESS); - - return; -diff --git a/src/core/service.c b/src/core/service.c -index e7f03e1..4b481c2 100644 ---- a/src/core/service.c -+++ b/src/core/service.c -@@ -1964,10 +1964,9 @@ static void service_enter_stop_post(Service *s, ServiceResult f) { - if (r < 0) - goto fail; - -- - service_set_state(s, SERVICE_STOP_POST); - } else -- service_enter_dead(s, SERVICE_SUCCESS, true); -+ service_enter_signal(s, SERVICE_FINAL_SIGTERM, SERVICE_SUCCESS); - - return; - -@@ -1993,6 +1992,7 @@ static void service_enter_signal(Service *s, ServiceState state, ServiceResult f - s->main_pid, - s->control_pid, - s->main_pid_alien); -+ - if (r < 0) - goto fail; - -@@ -2005,8 +2005,12 @@ static void service_enter_signal(Service *s, ServiceState state, ServiceResult f - } - - service_set_state(s, state); -- } else if (state == SERVICE_STOP_SIGTERM || state == SERVICE_STOP_SIGKILL) -+ } else if (state == SERVICE_STOP_SIGTERM) -+ service_enter_signal(s, SERVICE_STOP_SIGKILL, SERVICE_SUCCESS); -+ else if (state == SERVICE_STOP_SIGKILL) - service_enter_stop_post(s, SERVICE_SUCCESS); -+ else if (state == SERVICE_FINAL_SIGTERM) -+ service_enter_signal(s, SERVICE_FINAL_SIGKILL, SERVICE_SUCCESS); - else - service_enter_dead(s, SERVICE_SUCCESS, true); - -diff --git a/src/core/socket.c b/src/core/socket.c -index 6c0ac1a..831876f 100644 ---- a/src/core/socket.c -+++ b/src/core/socket.c -@@ -1298,8 +1298,12 @@ static void socket_enter_signal(Socket *s, SocketState state, SocketResult f) { - goto fail; - - socket_set_state(s, state); -- } else if (state == SOCKET_STOP_PRE_SIGTERM || state == SOCKET_STOP_PRE_SIGKILL) -+ } else if (state == SOCKET_STOP_PRE_SIGTERM) -+ socket_enter_signal(s, SOCKET_STOP_PRE_SIGKILL, SOCKET_SUCCESS); -+ else if (state == SOCKET_STOP_PRE_SIGKILL) - socket_enter_stop_post(s, SOCKET_SUCCESS); -+ else if (state == SOCKET_FINAL_SIGTERM) -+ socket_enter_signal(s, SOCKET_FINAL_SIGKILL, SOCKET_SUCCESS); - else - socket_enter_dead(s, SOCKET_SUCCESS); - -diff --git a/src/core/swap.c b/src/core/swap.c -index a68ab7c..8886fe8 100644 ---- a/src/core/swap.c -+++ b/src/core/swap.c -@@ -655,7 +655,11 @@ static void swap_enter_signal(Swap *s, SwapState state, SwapResult f) { - goto fail; - - swap_set_state(s, state); -- } else -+ } else if (state == SWAP_ACTIVATING_SIGTERM) -+ swap_enter_signal(s, SWAP_ACTIVATING_SIGKILL, SWAP_SUCCESS); -+ else if (state == SWAP_DEACTIVATING_SIGTERM) -+ swap_enter_signal(s, SWAP_DEACTIVATING_SIGKILL, SWAP_SUCCESS); -+ else - swap_enter_dead(s, SWAP_SUCCESS); - - return; --- -1.8.4 - diff --git a/0004-systemctl-fix-name-mangling-for-sysv-units.patch b/0004-systemctl-fix-name-mangling-for-sysv-units.patch deleted file mode 100644 index a2531e7..0000000 --- a/0004-systemctl-fix-name-mangling-for-sysv-units.patch +++ /dev/null @@ -1,134 +0,0 @@ -From cbb13b2a538ece1c7ec3b210e2b36b47df2a13ea Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= -Date: Wed, 2 Oct 2013 16:42:42 +0200 -Subject: [PATCH 04/15] systemctl: fix name mangling for sysv units - ---- - src/systemctl/systemctl.c | 45 ++++++++++++++++++--------------------------- - 1 file changed, 18 insertions(+), 27 deletions(-) - -diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c -index bb7ada9..d75281f 100644 ---- a/src/systemctl/systemctl.c -+++ b/src/systemctl/systemctl.c -@@ -4218,11 +4218,10 @@ static int set_environment(DBusConnection *bus, char **args) { - return 0; - } - --static int enable_sysv_units(char **args) { -+static int enable_sysv_units(const char *verb, char **args) { - int r = 0; - - #if defined(HAVE_SYSV_COMPAT) && defined(HAVE_CHKCONFIG) -- const char *verb = args[0]; - unsigned f = 1, t = 1; - LookupPaths paths = {}; - -@@ -4242,7 +4241,7 @@ static int enable_sysv_units(char **args) { - return r; - - r = 0; -- for (f = 1; args[f]; f++) { -+ for (f = 0; args[f]; f++) { - const char *name; - _cleanup_free_ char *p = NULL, *q = NULL; - bool found_native = false, found_sysv; -@@ -4365,7 +4364,7 @@ finish: - lookup_paths_free(&paths); - - /* Drop all SysV units */ -- for (f = 1, t = 1; args[f]; f++) { -+ for (f = 0, t = 0; args[f]; f++) { - - if (isempty(args[f])) - continue; -@@ -4423,16 +4422,16 @@ static int enable_unit(DBusConnection *bus, char **args) { - - dbus_error_init(&error); - -- r = enable_sysv_units(args); -- if (r < 0) -- return r; -- - if (!args[1]) - return 0; - - r = mangle_names(args+1, &mangled_names); - if (r < 0) -- goto finish; -+ return r; -+ -+ r = enable_sysv_units(verb, mangled_names); -+ if (r < 0) -+ return r; - - if (!bus || avoid_bus()) { - if (streq(verb, "enable")) { -@@ -4624,11 +4623,15 @@ static int unit_is_enabled(DBusConnection *bus, char **args) { - _cleanup_dbus_message_unref_ DBusMessage *reply = NULL; - bool enabled; - char **name; -- char *n; -+ _cleanup_strv_free_ char **mangled_names = NULL; - - dbus_error_init(&error); - -- r = enable_sysv_units(args); -+ r = mangle_names(args+1, &mangled_names); -+ if (r < 0) -+ return r; -+ -+ r = enable_sysv_units(args[0], mangled_names); - if (r < 0) - return r; - -@@ -4636,16 +4639,10 @@ static int unit_is_enabled(DBusConnection *bus, char **args) { - - if (!bus || avoid_bus()) { - -- STRV_FOREACH(name, args+1) { -+ STRV_FOREACH(name, mangled_names) { - UnitFileState state; - -- n = unit_name_mangle(*name); -- if (!n) -- return log_oom(); -- -- state = unit_file_get_state(arg_scope, arg_root, n); -- -- free(n); -+ state = unit_file_get_state(arg_scope, arg_root, *name); - - if (state < 0) - return state; -@@ -4660,13 +4657,9 @@ static int unit_is_enabled(DBusConnection *bus, char **args) { - } - - } else { -- STRV_FOREACH(name, args+1) { -+ STRV_FOREACH(name, mangled_names) { - const char *s; - -- n = unit_name_mangle(*name); -- if (!n) -- return log_oom(); -- - r = bus_method_call_with_reply ( - bus, - "org.freedesktop.systemd1", -@@ -4675,11 +4668,9 @@ static int unit_is_enabled(DBusConnection *bus, char **args) { - "GetUnitFileState", - &reply, - NULL, -- DBUS_TYPE_STRING, &n, -+ DBUS_TYPE_STRING, name, - DBUS_TYPE_INVALID); - -- free(n); -- - if (r) - return r; - --- -1.8.4 - diff --git a/0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch b/0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch deleted file mode 100644 index d46e94d..0000000 --- a/0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 4b93637fd7dddb0a1518f35171998b2c7cd5c5bd Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 19:36:28 +0200 -Subject: [PATCH 05/15] cryptsetup: fix OOM handling when parsing mount options - ---- - src/cryptsetup/cryptsetup.c | 11 ++++++----- - 1 file changed, 6 insertions(+), 5 deletions(-) - -diff --git a/src/cryptsetup/cryptsetup.c b/src/cryptsetup/cryptsetup.c -index 22b5eea..769c3e4 100644 ---- a/src/cryptsetup/cryptsetup.c -+++ b/src/cryptsetup/cryptsetup.c -@@ -74,7 +74,7 @@ static int parse_one_option(const char *option) { - - t = strdup(option+7); - if (!t) -- return -ENOMEM; -+ return log_oom(); - - free(opt_cipher); - opt_cipher = t; -@@ -89,9 +89,10 @@ static int parse_one_option(const char *option) { - } else if (startswith(option, "tcrypt-keyfile=")) { - - opt_type = CRYPT_TCRYPT; -- if (path_is_absolute(option+15)) -- opt_tcrypt_keyfiles = strv_append(opt_tcrypt_keyfiles, strdup(option+15)); -- else -+ if (path_is_absolute(option+15)) { -+ if (strv_extend(&opt_tcrypt_keyfiles, option + 15) < 0) -+ return log_oom(); -+ } else - log_error("Key file path '%s' is not absolute. Ignoring.", option+15); - - } else if (startswith(option, "keyfile-size=")) { -@@ -113,7 +114,7 @@ static int parse_one_option(const char *option) { - - t = strdup(option+5); - if (!t) -- return -ENOMEM; -+ return log_oom(); - - free(opt_hash); - opt_hash = t; --- -1.8.4 - diff --git a/0006-journald-add-missing-error-check.patch b/0006-journald-add-missing-error-check.patch deleted file mode 100644 index 479c37c..0000000 --- a/0006-journald-add-missing-error-check.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8c92d4bbc7a538ada11d7e85016cce141beb0e6c Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 19:36:43 +0200 -Subject: [PATCH 06/15] journald: add missing error check - ---- - src/journal/journal-file.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c -index 1236403..81c344f 100644 ---- a/src/journal/journal-file.c -+++ b/src/journal/journal-file.c -@@ -907,6 +907,8 @@ static int journal_file_append_field( - - osize = offsetof(Object, field.payload) + size; - r = journal_file_append_object(f, OBJECT_FIELD, osize, &o, &p); -+ if (r < 0) -+ return r; - - o->field.hash = htole64(hash); - memcpy(o->field.payload, field, size); --- -1.8.4 - diff --git a/0007-bus-fix-potentially-uninitialized-memory-access.patch b/0007-bus-fix-potentially-uninitialized-memory-access.patch deleted file mode 100644 index 2f2d2de..0000000 --- a/0007-bus-fix-potentially-uninitialized-memory-access.patch +++ /dev/null @@ -1,34 +0,0 @@ -From f5f6e41a9ee008e1632f79ab3fa20beef7c2b613 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 19:37:11 +0200 -Subject: [PATCH 07/15] bus: fix potentially uninitialized memory access - ---- - src/libsystemd-bus/bus-internal.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/libsystemd-bus/bus-internal.c b/src/libsystemd-bus/bus-internal.c -index 0e66f3d..cac948e 100644 ---- a/src/libsystemd-bus/bus-internal.c -+++ b/src/libsystemd-bus/bus-internal.c -@@ -63,7 +63,7 @@ bool object_path_is_valid(const char *p) { - - bool interface_name_is_valid(const char *p) { - const char *q; -- bool dot, found_dot; -+ bool dot, found_dot = false; - - if (isempty(p)) - return false; -@@ -103,7 +103,7 @@ bool interface_name_is_valid(const char *p) { - - bool service_name_is_valid(const char *p) { - const char *q; -- bool dot, found_dot, unique; -+ bool dot, found_dot = false, unique; - - if (isempty(p)) - return false; --- -1.8.4 - diff --git a/0008-dbus-fix-return-value-of-dispatch_rqueue.patch b/0008-dbus-fix-return-value-of-dispatch_rqueue.patch deleted file mode 100644 index 3985ab2..0000000 --- a/0008-dbus-fix-return-value-of-dispatch_rqueue.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 2e8d788c2f90d062f208f8c57a97e7b33cb29f7d Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 19:37:30 +0200 -Subject: [PATCH 08/15] dbus: fix return value of dispatch_rqueue() - ---- - src/libsystemd-bus/sd-bus.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/libsystemd-bus/sd-bus.c b/src/libsystemd-bus/sd-bus.c -index 3f766fb..db0880f 100644 ---- a/src/libsystemd-bus/sd-bus.c -+++ b/src/libsystemd-bus/sd-bus.c -@@ -1215,11 +1215,11 @@ static int dispatch_rqueue(sd_bus *bus, sd_bus_message **m) { - if (r == 0) - return ret; - -- r = 1; -+ ret = 1; - } while (!z); - - *m = z; -- return 1; -+ return ret; - } - - int sd_bus_send(sd_bus *bus, sd_bus_message *m, uint64_t *serial) { --- -1.8.4 - diff --git a/0009-modules-load-fix-error-handling.patch b/0009-modules-load-fix-error-handling.patch deleted file mode 100644 index df35021..0000000 --- a/0009-modules-load-fix-error-handling.patch +++ /dev/null @@ -1,27 +0,0 @@ -From b857193b1def5172e3641ca1d5bc9e08ae81aac4 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 19:37:44 +0200 -Subject: [PATCH 09/15] modules-load: fix error handling - ---- - src/modules-load/modules-load.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c -index 7b19ee0..49ee420 100644 ---- a/src/modules-load/modules-load.c -+++ b/src/modules-load/modules-load.c -@@ -302,8 +302,8 @@ int main(int argc, char *argv[]) { - - STRV_FOREACH(i, arg_proc_cmdline_modules) { - k = load_module(ctx, *i); -- if (k < 0) -- r = EXIT_FAILURE; -+ if (k < 0 && r == 0) -+ r = k; - } - - r = conf_files_list_nulstr(&files, ".conf", NULL, conf_file_dirs); --- -1.8.4 - diff --git a/0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch b/0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch deleted file mode 100644 index 3994d1e..0000000 --- a/0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 62678deda2dcd43954bf02f783da01e48c7f8fce Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 19:38:09 +0200 -Subject: [PATCH 10/15] efi: never call qsort on potentially NULL arrays - ---- - src/shared/efivars.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/shared/efivars.c b/src/shared/efivars.c -index 1d5b6f9..c015b16 100644 ---- a/src/shared/efivars.c -+++ b/src/shared/efivars.c -@@ -384,7 +384,8 @@ int efi_get_boot_options(uint16_t **options) { - list[count ++] = id; - } - -- qsort(list, count, sizeof(uint16_t), cmp_uint16); -+ if (list) -+ qsort(list, count, sizeof(uint16_t), cmp_uint16); - - *options = list; - return count; --- -1.8.4 - diff --git a/0011-strv-don-t-access-potentially-NULL-string-arrays.patch b/0011-strv-don-t-access-potentially-NULL-string-arrays.patch deleted file mode 100644 index 0ab9050..0000000 --- a/0011-strv-don-t-access-potentially-NULL-string-arrays.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 5b4fb02d890d5c9777e9a6e798e0b8922a8a9fd8 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 19:38:28 +0200 -Subject: [PATCH 11/15] strv: don't access potentially NULL string arrays - ---- - src/shared/env-util.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/src/shared/env-util.c b/src/shared/env-util.c -index 5e29629..7976881 100644 ---- a/src/shared/env-util.c -+++ b/src/shared/env-util.c -@@ -405,7 +405,9 @@ char **strv_env_clean_log(char **e, const char *message) { - e[k++] = *p; - } - -- e[k] = NULL; -+ if (e) -+ e[k] = NULL; -+ - return e; - } - --- -1.8.4 - diff --git a/0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch b/0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch deleted file mode 100644 index 1d91d80..0000000 --- a/0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 69c2b6be8fc607412a13cd0ea03a629b4965c816 Mon Sep 17 00:00:00 2001 -From: Lennart Poettering -Date: Wed, 2 Oct 2013 19:38:52 +0200 -Subject: [PATCH 12/15] mkdir: pass a proper function pointer to - mkdir_safe_internal - ---- - src/shared/mkdir.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/shared/mkdir.c b/src/shared/mkdir.c -index b7e5c6e..43c6ea6 100644 ---- a/src/shared/mkdir.c -+++ b/src/shared/mkdir.c -@@ -53,7 +53,7 @@ int mkdir_safe_internal(const char *path, mode_t mode, uid_t uid, gid_t gid, mkd - } - - int mkdir_safe(const char *path, mode_t mode, uid_t uid, gid_t gid) { -- return mkdir_safe_internal(path, mode, uid, gid, false); -+ return mkdir_safe_internal(path, mode, uid, gid, mkdir); - } - - static int is_dir(const char* path) { --- -1.8.4 - diff --git a/0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch b/0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch deleted file mode 100644 index 1ed8f92..0000000 --- a/0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 7074fecf6747c9a6ad872cc87701481e8bece8b0 Mon Sep 17 00:00:00 2001 -From: Dave Reisner -Date: Wed, 2 Oct 2013 15:35:16 -0400 -Subject: [PATCH 14/15] tmpfiles.d: include setgid perms for /run/log/journal - -4608af4333d0f7f5 set permissions for journal storage on persistent disk -but not the volatile storage. - -ref: https://bugs.archlinux.org/task/37170 ---- - tmpfiles.d/systemd.conf | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf -index b630440..a05c657 100644 ---- a/tmpfiles.d/systemd.conf -+++ b/tmpfiles.d/systemd.conf -@@ -26,3 +26,5 @@ F /run/nologin 0644 - - - "System is booting up. See pam_nologin(8)" - - m /var/log/journal 2755 root systemd-journal - - - m /var/log/journal/%m 2755 root systemd-journal - - -+m /run/log/journal 2755 root systemd-journal - - -+m /run/log/journal/%m 2755 root systemd-journal - - --- -1.8.4 - diff --git a/1001-re-enable-by_path-links-for-ata-devices.patch b/1001-re-enable-by_path-links-for-ata-devices.patch deleted file mode 100644 index 8d9594a..0000000 --- a/1001-re-enable-by_path-links-for-ata-devices.patch +++ /dev/null @@ -1,118 +0,0 @@ -From: Robert Milasan -Date: Thu, 12 Jul 2012 15:56:34 +0000 -Subject: re-enable by_path links for ata devices - -Fix by-path links for ATA transport (bnc#770910) ---- - src/udev/udev-builtin-path_id.c | 92 +++++++++++++++++++++++++++++++++++------ - 1 file changed, 80 insertions(+), 12 deletions(-) - ---- systemd-206.orig/src/udev/udev-builtin-path_id.c -+++ systemd-206/src/udev/udev-builtin-path_id.c -@@ -338,6 +338,85 @@ static struct udev_device *handle_scsi_h - return parent; - } - -+static struct udev_device *handle_ata(struct udev_device *parent, char **path) -+{ -+ struct udev_device *hostdev; -+ int host, bus, target, lun; -+ const char *name; -+ char *base; -+ char *pos; -+ DIR *dir; -+ struct dirent *dent; -+ int basenum, len; -+ -+ hostdev = udev_device_get_parent_with_subsystem_devtype(parent, "scsi", "scsi_host"); -+ if (hostdev == NULL) -+ return NULL; -+ -+ name = udev_device_get_sysname(parent); -+ if (sscanf(name, "%d:%d:%d:%d", &host, &bus, &target, &lun) != 4) -+ return NULL; -+ -+ /* rebase ata offset to get the local relative number */ -+ basenum = -1; -+ base = strdup(udev_device_get_syspath(hostdev)); -+ if (base == NULL) -+ return NULL; -+ pos = strrchr(base, '/'); -+ if (pos == NULL) { -+ parent = NULL; -+ goto out; -+ } -+ pos[0] = '\0'; -+ len = strlen(base) - 5; -+ if (len <= 0) { -+ parent = NULL; -+ goto out; -+ } -+ base[len] = '\0'; -+ dir = opendir(base); -+ if (dir == NULL) { -+ parent = NULL; -+ goto out; -+ } -+ for (dent = readdir(dir); dent != NULL; dent = readdir(dir)) { -+ char *rest; -+ int i; -+ -+ if (dent->d_name[0] == '.') -+ continue; -+ if (dent->d_type != DT_DIR && dent->d_type != DT_LNK) -+ continue; -+ if (strncmp(dent->d_name, "ata", 3) != 0) -+ continue; -+ i = strtoul(&dent->d_name[3], &rest, 10); -+ -+ /* ata devices start with 1, so decrease by 1 if i is bigger then 0 */ -+ if (i > 0) -+ i--; -+ if (rest[0] != '\0') -+ continue; -+ /* -+ * find the smallest number; the host really needs to export its -+ * own instance number per parent device; relying on the global host -+ * enumeration and plainly rebasing the numbers sounds unreliable -+ */ -+ if (basenum == -1 || i < basenum) -+ basenum = i; -+ } -+ closedir(dir); -+ if (basenum == -1) { -+ parent = NULL; -+ goto out; -+ } -+ host -= basenum; -+ -+ path_prepend(path, "scsi-%u:%u:%u:%u", host, bus, target, lun); -+out: -+ free(base); -+ return hostdev; -+} -+ - static struct udev_device *handle_scsi(struct udev_device *parent, char **path) - { - const char *devtype; -@@ -374,19 +453,8 @@ static struct udev_device *handle_scsi(s - goto out; - } - -- /* -- * We do not support the ATA transport class, it uses global counters -- * to name the ata devices which numbers spread across multiple -- * controllers. -- * -- * The real link numbers are not exported. Also, possible chains of ports -- * behind port multipliers cannot be composed that way. -- * -- * Until all that is solved at the kernel level, there are no by-path/ -- * links for ATA devices. -- */ - if (strstr(name, "/ata") != NULL) { -- parent = NULL; -+ parent = handle_ata(parent, path); - goto out; - } - diff --git a/1002-rules-create-by-id-scsi-links-for-ATA-devices.patch b/1002-rules-create-by-id-scsi-links-for-ATA-devices.patch deleted file mode 100644 index bd7904c..0000000 --- a/1002-rules-create-by-id-scsi-links-for-ATA-devices.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: Robert Milasan -Date: Wed, 27 Jun 2012 08:55:59 +0000 -Subject: rules create by id scsi links for ATA devices - -Re-enable creation of by-id scsi links for ATA devices. (bnc#769002) ---- - rules/60-persistent-storage.rules | 4 ++++ - 1 file changed, 4 insertions(+) - ---- systemd-206.orig/rules/60-persistent-storage.rules -+++ systemd-206/rules/60-persistent-storage.rules -@@ -42,6 +42,10 @@ KERNEL=="cciss*", ENV{DEVTYPE}=="disk", - KERNEL=="sd*|sr*|cciss*", ENV{DEVTYPE}=="disk", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}" - KERNEL=="sd*|cciss*", ENV{DEVTYPE}=="partition", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n" - -+# scsi compat links for ATA devices -+KERNEL=="sd*[!0-9]", ENV{ID_BUS}=="ata", PROGRAM="scsi_id --whitelisted --replace-whitespace -p0x80 -d $devnode", RESULT=="?*", ENV{ID_SCSI_COMPAT}="$result", SYMLINK+="disk/by-id/scsi-$env{ID_SCSI_COMPAT}" -+KERNEL=="sd*[0-9]", ENV{ID_SCSI_COMPAT}=="?*", SYMLINK+="disk/by-id/scsi-$env{ID_SCSI_COMPAT}-part%n" -+ - # firewire - KERNEL=="sd*[!0-9]|sr*", ATTRS{ieee1394_id}=="?*", SYMLINK+="disk/by-id/ieee1394-$attr{ieee1394_id}" - KERNEL=="sd*[0-9]", ATTRS{ieee1394_id}=="?*", SYMLINK+="disk/by-id/ieee1394-$attr{ieee1394_id}-part%n" diff --git a/1003-udev-netlink-null-rules.patch b/1003-udev-netlink-null-rules.patch deleted file mode 100644 index 93756c5..0000000 --- a/1003-udev-netlink-null-rules.patch +++ /dev/null @@ -1,20 +0,0 @@ -From: Robert Milasan -Date: Mon, 6 Aug 2012 13:35:34 +0000 -Subject: udev netlink null rules - -udevd race for netlink events (bnc#774646) ---- - src/udev/udevd.c | 2 ++ - 1 file changed, 2 insertions(+) - ---- systemd-206.orig/src/udev/udevd.c -+++ systemd-206/src/udev/udevd.c -@@ -1337,6 +1337,8 @@ int main(int argc, char *argv[]) - dev = udev_monitor_receive_device(monitor); - if (dev != NULL) { - udev_device_set_usec_initialized(dev, now(CLOCK_MONOTONIC)); -+ if (rules == NULL) -+ rules = udev_rules_new(udev, resolve_names); - if (event_queue_insert(dev) < 0) - udev_device_unref(dev); - } diff --git a/1005-create-default-links-for-primary-cd_dvd-drive.patch b/1005-create-default-links-for-primary-cd_dvd-drive.patch deleted file mode 100644 index e70b575..0000000 --- a/1005-create-default-links-for-primary-cd_dvd-drive.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: Robert Milasan -Date: Tue, 12 Feb 2013 09:16:23 +0000 -Subject: create default links for primary cd_dvd drive - -cdrom_id: created links for the default cd/dvd drive (bnc#783054). ---- - rules/60-cdrom_id.rules | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - ---- systemd-206.orig/rules/60-cdrom_id.rules -+++ systemd-206/rules/60-cdrom_id.rules -@@ -15,6 +15,9 @@ ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdr - # enable the receiving of media eject button events - IMPORT{program}="cdrom_id --lock-media $devnode" - --KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100" -+KERNEL=="sr0", ENV{ID_CDROM}=="1", SYMLINK+="cdrom", OPTIONS+="link_priority=-100" -+KERNEL=="sr0", ENV{ID_CDROM_CD_RW}=="1", SYMLINK+="cdrw", OPTIONS+="link_priority=-100" -+KERNEL=="sr0", ENV{ID_CDROM_DVD}=="1", SYMLINK+="dvd", OPTIONS+="link_priority=-100" -+KERNEL=="sr0", ENV{ID_CDROM_DVD_RW}=="1", SYMLINK+="dvdrw", OPTIONS+="link_priority=-100" - - LABEL="cdrom_end" diff --git a/1006-udev-always-rename-network.patch b/1006-udev-always-rename-network.patch deleted file mode 100644 index 4f91c92..0000000 --- a/1006-udev-always-rename-network.patch +++ /dev/null @@ -1,75 +0,0 @@ -From: Robert Milasan -Date: Thu, 28 Mar 2013 09:24:43 +0000 -Subject: udev always rename network - -udev: ensure that the network interfaces are renamed even if they exist -(bnc#809843). ---- - src/udev/udev-event.c | 46 +++++++++++++++++++++++++++++++++++++++++++--- - 1 file changed, 43 insertions(+), 3 deletions(-) - ---- systemd-206.orig/src/udev/udev-event.c -+++ systemd-206/src/udev/udev-event.c -@@ -750,6 +750,7 @@ static int rename_netif(struct udev_even - struct udev_device *dev = event->dev; - int sk; - struct ifreq ifr; -+ int loop; - int err; - - log_debug("changing net interface name from '%s' to '%s'\n", -@@ -766,12 +767,51 @@ static int rename_netif(struct udev_even - strscpy(ifr.ifr_name, IFNAMSIZ, udev_device_get_sysname(dev)); - strscpy(ifr.ifr_newname, IFNAMSIZ, event->name); - err = ioctl(sk, SIOCSIFNAME, &ifr); -- if (err >= 0) { -+ if (err == 0) { - print_kmsg("renamed network interface %s to %s\n", ifr.ifr_name, ifr.ifr_newname); -- } else { -+ goto out; -+ } -+ -+ /* keep trying if the destination interface name already exists */ -+ err = -errno; -+ if (err != -EEXIST) { -+ goto out; -+ } -+ -+ /* free our own name, another process may wait for us */ -+ snprintf(ifr.ifr_newname, IFNAMSIZ, "rename%u", udev_device_get_ifindex(dev)); -+ err = ioctl(sk, SIOCSIFNAME, &ifr); -+ if (err < 0) { - err = -errno; -- log_error("error changing net interface name %s to %s: %m\n", ifr.ifr_name, ifr.ifr_newname); -+ goto out; - } -+ -+ /* log temporary name */ -+ print_kmsg("renamed network interface %s to %s\n", ifr.ifr_name, ifr.ifr_newname); -+ -+ /* wait a maximum of 90 seconds for our target to become available */ -+ strscpy(ifr.ifr_name, IFNAMSIZ, ifr.ifr_newname); -+ strscpy(ifr.ifr_newname, IFNAMSIZ, event->name); -+ loop = 90 * 20; -+ while (loop--) { -+ const struct timespec duration = { 0, 1000 * 1000 * 1000 / 20 }; -+ -+ log_debug("wait for netif '%s' to become free, loop=%i\n", event->name, (90 * 20) - loop); -+ nanosleep(&duration, NULL); -+ -+ err = ioctl(sk, SIOCSIFNAME, &ifr); -+ if (err == 0) { -+ print_kmsg("renamed network interface %s to %s\n", ifr.ifr_name, ifr.ifr_newname); -+ break; -+ } -+ err = -errno; -+ if (err != -EEXIST) -+ break; -+ } -+ -+out: -+ if (err < 0) -+ log_error("error changing net interface name %s to %s: %m\n", ifr.ifr_name, ifr.ifr_newname); - close(sk); - return err; - } diff --git a/1007-physical-hotplug-cpu-and-memory.patch b/1007-physical-hotplug-cpu-and-memory.patch deleted file mode 100644 index 7daebb2..0000000 --- a/1007-physical-hotplug-cpu-and-memory.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- /dev/null -+++ systemd-206/rules/80-hotplug-cpu-mem.rules -@@ -0,0 +1,9 @@ -+# do not edit this file, it will be overwritten on update -+ -+# Hotplug physical CPU -+SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", \ -+ ATTR{online}="1" -+ -+# Hotplug physical memory -+SUBSYSTEM=="memory", ACTION=="add", TEST=="state", ATTR{state}=="offline", \ -+ ATTR{state}="online" ---- systemd-206.orig/Makefile.am -+++ systemd-206/Makefile.am -@@ -2480,6 +2480,10 @@ dist_udevrules_DATA += \ - rules/73-seat-numlock.rules - - # ------------------------------------------------------------------------------ -+dist_udevrules_DATA += \ -+ rules/80-hotplug-cpu-mem.rules -+ -+# ------------------------------------------------------------------------------ - if ENABLE_GUDEV - if ENABLE_GTK_DOC - SUBDIRS += \ diff --git a/1008-add-msft-compability-rules.patch b/1008-add-msft-compability-rules.patch deleted file mode 100644 index d011737..0000000 --- a/1008-add-msft-compability-rules.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- systemd-206.orig/Makefile.am -+++ systemd-206/Makefile.am -@@ -2484,6 +2484,10 @@ dist_udevrules_DATA += \ - rules/80-hotplug-cpu-mem.rules - - # ------------------------------------------------------------------------------ -+dist_udevrules_DATA += \ -+ rules/61-msft.rules -+ -+# ------------------------------------------------------------------------------ - if ENABLE_GUDEV - if ENABLE_GTK_DOC - SUBDIRS += \ ---- /dev/null -+++ systemd-206/rules/61-msft.rules -@@ -0,0 +1,9 @@ -+# MSFT compability rules -+ACTION!="add|change", GOTO="msft_end" -+ -+ENV{DEVTYPE}=="partition", IMPORT{parent}="SCSI_IDENT_*" -+KERNEL=="sd*[!0-9]|sr*", ENV{SCSI_IDENT_LUN_T10}!="?*", IMPORT{program}="/usr/bin/sg_inq -p di --export $tempnode" -+KERNEL=="sd*|sr*", ENV{DEVTYPE}=="disk", ENV{SCSI_IDENT_LUN_T10}=="?*", SYMLINK+="disk/by-id/scsi-1$env{SCSI_IDENT_LUN_T10}" -+KERNEL=="sd*", ENV{DEVTYPE}=="partition", ENV{SCSI_IDENT_LUN_T10}=="?*", SYMLINK+="disk/by-id/scsi-1$env{SCSI_IDENT_LUN_T10}-part%n" -+ -+LABEL="msft_end" diff --git a/1009-make-xsltproc-use-correct-ROFF-links.patch b/1009-make-xsltproc-use-correct-ROFF-links.patch deleted file mode 100644 index c2f879d..0000000 --- a/1009-make-xsltproc-use-correct-ROFF-links.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- systemd-208/man/custom-man.xsl -+++ systemd-208/man/custom-man.xsl 2013-10-21 09:23:31.030735259 +0000 -@@ -61,4 +61,7 @@ - " - - -+ -+ -+ - diff --git a/1010-do-not-install-sulogin-unit-with-poweroff.patch b/1010-do-not-install-sulogin-unit-with-poweroff.patch deleted file mode 100644 index c854754..0000000 --- a/1010-do-not-install-sulogin-unit-with-poweroff.patch +++ /dev/null @@ -1,13 +0,0 @@ -| -| Belongs to bnc#849071 that is do not install console-shell.service -| in any system target as this will cause automatic poweroff at boot. -| ---- systemd-208/units/console-shell.service.m4.in -+++ systemd-208/units/console-shell.service.m4.in 2013-11-06 09:35:37.958693570 +0000 -@@ -26,6 +26,3 @@ StandardError=inherit - KillMode=process - IgnoreSIGPIPE=no - SendSIGHUP=yes -- --[Install] --WantedBy=getty.target diff --git a/1011-check-4-valid-kmsg-device.patch b/1011-check-4-valid-kmsg-device.patch deleted file mode 100644 index 6d57c35..0000000 --- a/1011-check-4-valid-kmsg-device.patch +++ /dev/null @@ -1,62 +0,0 @@ -From: Werner Fink -Date: Thu, 21 Nov 2013 11:50:32 +0000 -Subject: [PATCH] Avoid busy systemd-journald - -Avoid a busy systemd-journald due polling a broken /dec/kmsg in lxc -environments. - ---- - journald-kmsg.c | 18 +++++++++++++++--- - 1 file changed, 15 insertions(+), 3 deletions(-) - -Index: systemd-208/src/journal/journald-kmsg.c -=================================================================== ---- systemd-208/src/journal/journald-kmsg.c -+++ systemd-208/src/journal/journald-kmsg.c 2013-12-20 11:34:39.762236175 +0000 -@@ -377,15 +377,18 @@ int server_flush_dev_kmsg(Server *s) { - - int server_open_dev_kmsg(Server *s) { - struct epoll_event ev; -+ int r; - - assert(s); - - s->dev_kmsg_fd = open("/dev/kmsg", O_RDWR|O_CLOEXEC|O_NONBLOCK|O_NOCTTY); - if (s->dev_kmsg_fd < 0) { -- log_warning("Failed to open /dev/kmsg, ignoring: %m"); -+ log_full(errno == ENOENT ? LOG_DEBUG : LOG_WARNING, -+ "Failed to open /dev/kmsg, ignoring: %m"); - return 0; - } - -+ r = 0; - zero(ev); - ev.events = EPOLLIN; - ev.data.fd = s->dev_kmsg_fd; -@@ -394,15 +397,24 @@ int server_open_dev_kmsg(Server *s) { - /* This will fail with EPERM on older kernels where - * /dev/kmsg is not readable. */ - if (errno == EPERM) -- return 0; -+ goto fail; - - log_error("Failed to add /dev/kmsg fd to epoll object: %m"); -- return -errno; -+ r = -errno; -+ goto fail; - } - - s->dev_kmsg_readable = true; - - return 0; -+ -+fail: -+ if (s->dev_kmsg_fd >= 0) { -+ close_nointr_nofail(s->dev_kmsg_fd); -+ s->dev_kmsg_fd = -1; -+ } -+ -+ return r; - } - - int server_open_kernel_seqnum(Server *s) { diff --git a/1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch b/1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch deleted file mode 100644 index bdf9383..0000000 --- a/1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch +++ /dev/null @@ -1,168 +0,0 @@ -Based on upstream baae0358f349870544884e405e82e4be7d8add9f -| From: Lennart Poettering -| Date: Tue, 26 Nov 2013 04:05:00 +0000 -| Subject: pam_systemd: do not set XDG_RUNTIME_DIR if the session's original user is not the same as the newly logged in one -| It's better not to set any XDG_RUNTIME_DIR at all rather than one of a -| different user. So let's do this. ---- systemd-208/src/login/logind-dbus.c -+++ systemd-208/src/login/logind-dbus.c 2013-11-26 13:37:05.730735774 +0000 -@@ -523,6 +523,7 @@ static int bus_manager_create_session(Ma - DBUS_TYPE_OBJECT_PATH, &path, - DBUS_TYPE_STRING, &session->user->runtime_path, - DBUS_TYPE_UNIX_FD, &fifo_fd, -+ DBUS_TYPE_UINT32, &session->user->uid, - DBUS_TYPE_STRING, &cseat, - DBUS_TYPE_UINT32, &vtnr, - DBUS_TYPE_BOOLEAN, &exists, ---- systemd-208/src/login/logind-session-dbus.c -+++ systemd-208/src/login/logind-session-dbus.c 2013-11-26 13:36:07.478236401 +0000 -@@ -755,6 +755,7 @@ int session_send_create_reply(Session *s - DBUS_TYPE_OBJECT_PATH, &path, - DBUS_TYPE_STRING, &s->user->runtime_path, - DBUS_TYPE_UNIX_FD, &fifo_fd, -+ DBUS_TYPE_UINT32, &s->user->uid, - DBUS_TYPE_STRING, &cseat, - DBUS_TYPE_UINT32, &vtnr, - DBUS_TYPE_BOOLEAN, &exists, ---- systemd-208/src/login/pam-module.c -+++ systemd-208/src/login/pam-module.c 2013-11-26 14:32:20.194235777 +0000 -@@ -93,24 +93,18 @@ static int get_user_data( - assert(ret_username); - assert(ret_pw); - -- r = audit_loginuid_from_pid(0, &uid); -- if (r >= 0) -- pw = pam_modutil_getpwuid(handle, uid); -- else { -- r = pam_get_user(handle, &username, NULL); -- if (r != PAM_SUCCESS) { -- pam_syslog(handle, LOG_ERR, "Failed to get user name."); -- return r; -- } -- -- if (isempty(username)) { -- pam_syslog(handle, LOG_ERR, "User name not valid."); -- return PAM_AUTH_ERR; -- } -+ r = pam_get_user(handle, &username, NULL); -+ if (r != PAM_SUCCESS) { -+ pam_syslog(handle, LOG_ERR, "Failed to get user name."); -+ return r; -+ } - -- pw = pam_modutil_getpwnam(handle, username); -+ if (isempty(username)) { -+ pam_syslog(handle, LOG_ERR, "User name not valid."); -+ return PAM_AUTH_ERR; - } - -+ pw = pam_modutil_getpwnam(handle, username); - if (!pw) { - pam_syslog(handle, LOG_ERR, "Failed to get user data."); - return PAM_USER_UNKNOWN; -@@ -123,16 +117,14 @@ static int get_user_data( - } - - static int get_seat_from_display(const char *display, const char **seat, uint32_t *vtnr) { -- _cleanup_free_ char *p = NULL; -- int r; -- _cleanup_close_ int fd = -1; - union sockaddr_union sa = { - .un.sun_family = AF_UNIX, - }; -+ _cleanup_free_ char *p = NULL, *tty = NULL; -+ _cleanup_close_ int fd = -1; - struct ucred ucred; - socklen_t l; -- _cleanup_free_ char *tty = NULL; -- int v; -+ int v, r; - - assert(display); - assert(vtnr); -@@ -194,13 +186,12 @@ _public_ PAM_EXTERN int pam_sm_open_sess - dbus_bool_t remote, existing; - int r; - uint32_t vtnr = 0; -+ uid_t original_uid; - - assert(handle); - - dbus_error_init(&error); - -- /* pam_syslog(handle, LOG_INFO, "pam-systemd initializing"); */ -- - /* Make this a NOP on non-logind systems */ - if (!logind_running()) - return PAM_SUCCESS; -@@ -213,6 +204,9 @@ _public_ PAM_EXTERN int pam_sm_open_sess - goto finish; - } - -+ if (debug) -+ pam_syslog(handle, LOG_INFO, "pam-systemd initializing"); -+ - r = get_user_data(handle, &username, &pw); - if (r != PAM_SUCCESS) - goto finish; -@@ -374,7 +368,11 @@ _public_ PAM_EXTERN int pam_sm_open_sess - if (debug) - pam_syslog(handle, LOG_DEBUG, "Asking logind to create session: " - "uid=%u pid=%u service=%s type=%s class=%s seat=%s vtnr=%u tty=%s display=%s remote=%s remote_user=%s remote_host=%s", -- uid, pid, service, type, class, seat, vtnr, tty, display, yes_no(remote), remote_user, remote_host); -+ pw->pw_uid, pid, -+ strempty(service), -+ type, class, -+ seat, vtnr, tty, display, -+ yes_no(remote), remote_user, remote_host); - - reply = dbus_connection_send_with_reply_and_block(bus, m, -1, &error); - if (!reply) { -@@ -388,6 +386,7 @@ _public_ PAM_EXTERN int pam_sm_open_sess - DBUS_TYPE_OBJECT_PATH, &object_path, - DBUS_TYPE_STRING, &runtime_path, - DBUS_TYPE_UNIX_FD, &session_fd, -+ DBUS_TYPE_UINT32, &original_uid, - DBUS_TYPE_STRING, &seat, - DBUS_TYPE_UINT32, &vtnr, - DBUS_TYPE_BOOLEAN, &existing, -@@ -399,8 +398,8 @@ _public_ PAM_EXTERN int pam_sm_open_sess - - if (debug) - pam_syslog(handle, LOG_DEBUG, "Reply from logind: " -- "id=%s object_path=%s runtime_path=%s session_fd=%d seat=%s vtnr=%u", -- id, object_path, runtime_path, session_fd, seat, vtnr); -+ "id=%s object_path=%s runtime_path=%s session_fd=%d seat=%s vtnr=%u original_uid=%u", -+ id, object_path, runtime_path, session_fd, seat, vtnr, original_uid); - - r = pam_misc_setenv(handle, "XDG_SESSION_ID", id, 0); - if (r != PAM_SUCCESS) { -@@ -408,10 +407,24 @@ _public_ PAM_EXTERN int pam_sm_open_sess - goto finish; - } - -- r = pam_misc_setenv(handle, "XDG_RUNTIME_DIR", runtime_path, 0); -- if (r != PAM_SUCCESS) { -- pam_syslog(handle, LOG_ERR, "Failed to set runtime dir."); -- goto finish; -+ if (original_uid == pw->pw_uid) { -+ /* Don't set $XDG_RUNTIME_DIR if the user we now -+ * authenticated for does not match the original user -+ * of the session. We do this in order not to result -+ * in privileged apps clobbering the runtime directory -+ * unnecessarily. */ -+ -+ r = pam_misc_setenv(handle, "XDG_RUNTIME_DIR", runtime_path, 0); -+ if (r != PAM_SUCCESS) { -+ pam_syslog(handle, LOG_ERR, "Failed to set runtime dir."); -+ goto finish; -+ } -+ } else if (getenv("XDG_RUNTIME_DIR")) { -+ r = pam_putenv(handle, "XDG_RUNTIME_DIR"); -+ if (r != PAM_SUCCESS && r != PAM_BAD_ITEM) { -+ pam_syslog(handle, LOG_ERR, "Failed to unset runtime dir."); -+ } -+ (void) unsetenv("XDG_RUNTIME_DIR"); - } - - if (!isempty(seat)) { diff --git a/1014-journald-with-journaling-FS.patch b/1014-journald-with-journaling-FS.patch deleted file mode 100644 index 6bf95fb..0000000 --- a/1014-journald-with-journaling-FS.patch +++ /dev/null @@ -1,52 +0,0 @@ ---- systemd-208/src/journal/journald-server.c -+++ systemd-208/src/journal/journald-server.c 2013-12-10 16:31:50.770235717 +0000 -@@ -21,6 +21,7 @@ - - #include - #include -+#include - #include - #include - #include -@@ -878,7 +879,7 @@ finish: - - - static int system_journal_open(Server *s) { -- int r; -+ int r, fd; - char *fn; - sd_id128_t machine; - char ids[33]; -@@ -905,7 +906,31 @@ static int system_journal_open(Server *s - (void) mkdir("/var/log/journal/", 0755); - - fn = strappenda("/var/log/journal/", ids); -- (void) mkdir(fn, 0755); -+ (void)mkdir(fn, 0755); -+ -+ /* -+ * On journaling and/or compressing file systems avoid doubling the -+ * efforts for the system, that is set NOCOW and NOCOMP inode flags. -+ * Check for every single flag as otherwise some of the file systems -+ * may return EOPNOTSUPP on one unkown flag (like BtrFS does). -+ */ -+ if ((fd = open(fn, O_DIRECTORY)) >= 0) { -+ long flags; -+ if (ioctl(fd, FS_IOC_GETFLAGS, &flags) == 0) { -+ int old = flags; -+ if (!(flags&FS_NOATIME_FL) && ioctl(fd, FS_IOC_SETFLAGS, flags|FS_NOATIME_FL) == 0) -+ flags |= FS_NOATIME_FL; -+ if (!(flags&FS_NOCOW_FL) && ioctl(fd, FS_IOC_SETFLAGS, flags|FS_NOCOW_FL) == 0) -+ flags |= FS_NOCOW_FL; -+ if (!(flags&FS_NOCOMP_FL) && s->compress) { -+ flags &= ~FS_COMPR_FL; -+ flags |= FS_NOCOMP_FL; -+ } -+ if (old != flags) -+ ioctl(fd, FS_IOC_SETFLAGS, flags); -+ } -+ close(fd); -+ } - - fn = strappenda(fn, "/system.journal"); - r = journal_file_open_reliably(fn, O_RDWR|O_CREAT, 0640, s->compress, s->seal, &s->system_metrics, s->mmap, NULL, &s->system_journal); diff --git a/1016-support-powerfail-with-powerstatus.patch b/1016-support-powerfail-with-powerstatus.patch deleted file mode 100644 index c59f682..0000000 --- a/1016-support-powerfail-with-powerstatus.patch +++ /dev/null @@ -1,90 +0,0 @@ ---- systemd-208/units/sigpwr.target -+++ systemd-208/units/sigpwr.target 2014-01-14 15:53:32.878735762 +0000 -@@ -8,3 +8,5 @@ - [Unit] - Description=Power Failure - Documentation=man:systemd.special(7) -+BindsTo=powerfail.service -+DefaultDependencies=no -+RefuseManualStart=yes ---- systemd-208/units/powerfail.service -+++ systemd-208/units/powerfail.service 2014-01-14 16:11:41.802235712 +0000 -@@ -0,0 +1,21 @@ -+# This file is part of systemd. -+# -+# Copyright (c) 2014 SUSE LINUX Products GmbH, Germany. -+# Author: Werner Fink -+# Please send feedback to http://www.suse.de/feedback -+# -+# Description: -+# -+# Used to start the systemd-powerfail.service -+# -+ -+[Unit] -+Description=powerfail handling -+BindsTo=sigpwr.target -+DefaultDependencies=no -+RefuseManualStart=yes -+ -+[Service] -+Type=oneshot -+ExecStart=/usr/lib/systemd/systemd-powerfail -+RemainAfterExit=false ---- systemd-208/man/systemd-powerfail.service.8 -+++ systemd-208/man/systemd-powerfail.service.8 2014-01-14 18:22:21.286735810 +0000 -@@ -0,0 +1,54 @@ -+'\" t -+.TH "SYSTEMD\-POWERFAIL\&.SERVICE" "8" "" "systemd 208" "systemd-powerfail.service" -+.\" ----------------------------------------------------------------- -+.\" * Define some portability stuff -+.\" ----------------------------------------------------------------- -+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -+.\" http://bugs.debian.org/507673 -+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -+.ie \n(.g .ds Aq \(aq -+.el .ds Aq ' -+.\" ----------------------------------------------------------------- -+.\" * set default formatting -+.\" ----------------------------------------------------------------- -+.\" disable hyphenation -+.nh -+.\" disable justification (adjust text to left margin only) -+.ad l -+.\" ----------------------------------------------------------------- -+.\" * MAIN CONTENT STARTS HERE * -+.\" ----------------------------------------------------------------- -+.SH "NAME" -+systemd-powerfail.service, systemd-powerfail \- Power Fail signal handling -+.SH "SYNOPSIS" -+.PP -+systemd\-powerfail\&.service -+.PP -+/usr/lib/systemd/systemd\-powerfail -+.SH "DESCRIPTION" -+.PP -+systemd\-powerfail -+is a system service that is used to evaulate the content of -+\fI/var/run/powerstatus\fR. Based on the content of this -+file: -+.IP F(AIL) -+Power is failing, UPS is providing the power. The -+systemd\-powerfail -+is now doing a timed shutdown. -+.IP O(K) -+The power has been restored, and pending shutdown -+will be cancled. -+.IP L(OW) -+The power is failing and the UPS has a low battery. -+The -+systemd\-powerfail -+is doing an immediate shutdown. -+.PP -+If \fI/var/run/powerstatus\fR doesn't exist or contains anything else then the letters -+F, O or L, systemd\-powerfail will behave as if it has read the letter F. -+.PP -+.SH "SEE ALSO" -+.PP -+\fBshutdown\fR(8), -+\fBpowerd\fR(8) diff --git a/1017-skip-native-unit-handling-if-sysv-already-handled.patch b/1017-skip-native-unit-handling-if-sysv-already-handled.patch deleted file mode 100644 index 9390c42..0000000 --- a/1017-skip-native-unit-handling-if-sysv-already-handled.patch +++ /dev/null @@ -1,20 +0,0 @@ -For bnc#818044 -Based on http://cgit.freedesktop.org/systemd/systemd/patch/?id=67d6621059085963a2a908a3ea99ced3b0ca789e ---- - systemctl.c | 5 +++++ - 1 file changed, 5 insertions(+) - ---- systemd-208/src/systemctl/systemctl.c -+++ systemd-208/src/systemctl/systemctl.c 2014-01-21 13:00:52.910736187 +0000 -@@ -4453,6 +4453,11 @@ static int enable_unit(DBusConnection *b - if (r < 0) - return r; - -+ /* If the operation was fully executed by the SysV compat, -+ * let's finish early */ -+ if (strv_isempty(mangled_names)) -+ return 0; -+ - if (!bus || avoid_bus()) { - if (streq(verb, "enable")) { - r = unit_file_enable(arg_scope, arg_runtime, arg_root, mangled_names, arg_force, &changes, &n_changes); diff --git a/1018-Make-LSB-Skripts-know-about-Required-and-Should.patch b/1018-Make-LSB-Skripts-know-about-Required-and-Should.patch deleted file mode 100644 index 81a2692..0000000 --- a/1018-Make-LSB-Skripts-know-about-Required-and-Should.patch +++ /dev/null @@ -1,51 +0,0 @@ ---- systemd-208/src/core/service.c -+++ systemd-208/src/core/service.c 2014-01-17 12:15:52.527311588 +0000 -@@ -380,6 +380,8 @@ static int sysv_translate_facility(const - "remote_fs", SPECIAL_REMOTE_FS_TARGET, - "syslog", NULL, - "time", SPECIAL_TIME_SYNC_TARGET, -+ "all", SPECIAL_DEFAULT_TARGET, -+ "null", NULL, - }; - - unsigned i; -@@ -389,7 +391,7 @@ static int sysv_translate_facility(const - assert(name); - assert(_r); - -- n = *name == '$' ? name + 1 : name; -+ n = (*name == '$' || *name == '+') ? name + 1 : name; - - for (i = 0; i < ELEMENTSOF(table); i += 2) { - -@@ -816,10 +818,13 @@ static int service_load_sysv_path(Servic - startswith_no_case(t, "Should-Start:") || - startswith_no_case(t, "X-Start-Before:") || - startswith_no_case(t, "X-Start-After:")) { -+ UnitDependency d, e; - char *i, *w; - size_t z; - - state = LSB; -+ d = startswith_no_case(t, "X-Start-Before:") ? UNIT_BEFORE : UNIT_AFTER; -+ e = startswith_no_case(t, "Required-Start:") ? UNIT_REQUIRES_OVERRIDABLE : UNIT_WANTS; - - FOREACH_WORD_QUOTED(w, z, strchr(t, ':')+1, i) { - char *n, *m; -@@ -838,12 +843,15 @@ static int service_load_sysv_path(Servic - continue; - } - -+ if (*n == '+') -+ e = UNIT_WANTS; -+ - free(n); - - if (r == 0) - continue; - -- r = unit_add_dependency_by_name(u, startswith_no_case(t, "X-Start-Before:") ? UNIT_BEFORE : UNIT_AFTER, m, NULL, true); -+ r = unit_add_two_dependencies_by_name(u, d, e, m, NULL, true); - - if (r < 0) - log_error_unit(u->id, "[%s:%u] Failed to add dependency on %s, ignoring: %s", diff --git a/1019-make-completion-smart-to-be-able-to-redirect.patch b/1019-make-completion-smart-to-be-able-to-redirect.patch deleted file mode 100644 index d1425d8..0000000 --- a/1019-make-completion-smart-to-be-able-to-redirect.patch +++ /dev/null @@ -1,236 +0,0 @@ ---- systemd-208/shell-completion/bash/hostnamectl -+++ systemd-208/shell-completion/bash/hostnamectl 2014-01-17 14:27:16.183272019 +0000 -@@ -30,6 +30,10 @@ _hostnamectl() { - local OPTS='-h --help --version --transient --static --pretty - --no-ask-password -H --host' - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - if [[ $cur = -* ]]; then - COMPREPLY=( $(compgen -W '${OPTS[*]}' -- "$cur") ) - return 0 -@@ -58,4 +62,4 @@ _hostnamectl() { - return 0 - } - --complete -F _hostnamectl hostnamectl -+complete -o default -o bashdefault -F _hostnamectl hostnamectl ---- systemd-208/shell-completion/bash/journalctl -+++ systemd-208/shell-completion/bash/journalctl 2014-01-17 14:34:30.338737694 +0000 -@@ -49,6 +49,10 @@ _journalctl() { - --verify-key' - ) - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - if __contains_word "$prev" ${OPTS[ARG]} ${OPTS[ARGUNKNOWN]}; then - case $prev in - --boot|--this-boot|-b) -@@ -107,4 +111,4 @@ _journalctl() { - fi - } - --complete -F _journalctl journalctl -+complete -o default -o bashdefault -F _journalctl journalctl ---- systemd-208/shell-completion/bash/kernel-install -+++ systemd-208/shell-completion/bash/kernel-install 2014-01-17 14:34:41.982255874 +0000 -@@ -18,11 +18,22 @@ - # You should have received a copy of the GNU Lesser General Public License - # along with systemd; If not, see . - -+__contains_word () { -+ local w word=$1; shift -+ for w in "$@"; do -+ [[ $w = "$word" ]] && return -+ done -+} -+ - _kernel_install() { - local comps - local MACHINE_ID - local cur=${COMP_WORDS[COMP_CWORD]} - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - case $COMP_CWORD in - 1) - comps="add remove" -@@ -47,4 +58,4 @@ _kernel_install() { - return 0 - } - --complete -F _kernel_install kernel-install -+complete -o default -o bashdefault -F _kernel_install kernel-install ---- systemd-208/shell-completion/bash/localectl -+++ systemd-208/shell-completion/bash/localectl 2014-01-17 14:34:52.546235747 +0000 -@@ -30,6 +30,10 @@ _localectl() { - local OPTS='-h --help --version --no-convert --no-pager --no-ask-password - -H --host' - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - if __contains_word "$prev" $OPTS; then - case $prev in - --host|-H) -@@ -73,4 +77,4 @@ _localectl() { - return 0 - } - --complete -F _localectl localectl -+complete -o default -o bashdefault -F _localectl localectl ---- systemd-208/shell-completion/bash/loginctl -+++ systemd-208/shell-completion/bash/loginctl 2014-01-17 14:35:03.386245699 +0000 -@@ -37,6 +37,10 @@ _loginctl () { - [ARG]='--host -H --kill-who --property -p --signal -s' - ) - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - if __contains_word "$prev" ${OPTS[ARG]}; then - case $prev in - --signal|-s) -@@ -106,4 +110,4 @@ _loginctl () { - return 0 - } - --complete -F _loginctl loginctl -+complete -o default -o bashdefault -F _loginctl loginctl ---- systemd-208/shell-completion/bash/systemctl -+++ systemd-208/shell-completion/bash/systemctl 2014-01-17 14:35:26.506235666 +0000 -@@ -77,6 +77,10 @@ _systemctl () { - [ARG]='--host -H --kill-mode --kill-who --property -p --signal -s --type -t --state --root' - ) - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - if __contains_word "--user" ${COMP_WORDS[*]}; then - mode=--user - else -@@ -226,4 +230,4 @@ _systemctl () { - return 0 - } - --complete -F _systemctl systemctl -+complete -o default -o bashdefault -F _systemctl systemctl ---- systemd-208/shell-completion/bash/systemd-analyze -+++ systemd-208/shell-completion/bash/systemd-analyze 2014-01-17 14:35:38.366736021 +0000 -@@ -37,6 +37,10 @@ _systemd_analyze() { - [LOG_LEVEL]='set-log-level' - ) - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - _init_completion || return - - for ((i=0; $i <= $COMP_CWORD; i++)); do -@@ -83,4 +87,4 @@ _systemd_analyze() { - return 0 - } - --complete -F _systemd_analyze systemd-analyze -+complete -o default -o bashdefault -F _systemd_analyze systemd-analyze ---- systemd-208/shell-completion/bash/systemd-coredumpctl -+++ systemd-208/shell-completion/bash/systemd-coredumpctl 2014-01-17 14:35:46.434235632 +0000 -@@ -44,6 +44,10 @@ _coredumpctl() { - [DUMP]='dump gdb' - ) - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - if __contains_word "$prev" '--output -o'; then - comps=$( compgen -A file -- "$cur" ) - compopt -o filenames -@@ -82,4 +86,4 @@ _coredumpctl() { - return 0 - } - --complete -F _coredumpctl systemd-coredumpctl -+complete -o default -o bashdefault -F _coredumpctl systemd-coredumpctl ---- systemd-208/shell-completion/bash/systemd-run -+++ systemd-208/shell-completion/bash/systemd-run 2014-01-17 14:35:55.938236298 +0000 -@@ -17,6 +17,13 @@ - # You should have received a copy of the GNU Lesser General Public License - # along with systemd; If not, see . - -+__contains_word () { -+ local w word=$1; shift -+ for w in "$@"; do -+ [[ $w = "$word" ]] && return -+ done -+} -+ - __systemctl() { - local mode=$1; shift 1 - systemctl $mode --full --no-legend "$@" -@@ -31,6 +38,11 @@ _systemd_run() { - - local mode=--system - local i -+ -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - for (( i=1; i <= COMP_CWORD; i++ )); do - if [[ ${COMP_WORDS[i]} != -* ]]; then - local root_command=${COMP_WORDS[i]} -@@ -60,4 +72,4 @@ _systemd_run() { - return 0 - } - --complete -F _systemd_run systemd-run -+complete -o default -o bashdefault -F _systemd_run systemd-run ---- systemd-208/shell-completion/bash/timedatectl -+++ systemd-208/shell-completion/bash/timedatectl 2014-01-17 14:36:06.182735466 +0000 -@@ -30,6 +30,10 @@ _timedatectl() { - local OPTS='-h --help --version --adjust-system-clock --no-pager - --no-ask-password -H --host' - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - if __contains_word "$prev" $OPTS; then - case $prev in - --host|-H) -@@ -73,4 +77,4 @@ _timedatectl() { - return 0 - } - --complete -F _timedatectl timedatectl -+complete -o default -o bashdefault -F _timedatectl timedatectl ---- systemd-208/shell-completion/bash/udevadm -+++ systemd-208/shell-completion/bash/udevadm 2014-01-17 14:36:16.406236120 +0000 -@@ -36,6 +36,10 @@ _udevadm() { - - local verbs=(info trigger settle control monitor hwdb test-builtin test) - -+ if __contains_word ">" ${COMP_WORDS[*]:0:COMP_CWORD}; then -+ return 0 -+ fi -+ - for ((i=0; i <= COMP_CWORD; i++)); do - if __contains_word "${COMP_WORDS[i]}" "${verbs[@]}" && - ! __contains_word "${COMP_WORDS[i-1]}" ${OPTS[ARG]}; then -@@ -94,4 +98,4 @@ _udevadm() { - return 0 - } - --complete -F _udevadm udevadm -+complete -o default -o bashdefault -F _udevadm udevadm diff --git a/Fix-run-lock-directories-permissions-to-follow-openSUSE-po.patch b/Fix-run-lock-directories-permissions-to-follow-openSUSE-po.patch deleted file mode 100644 index 8e0a00a..0000000 --- a/Fix-run-lock-directories-permissions-to-follow-openSUSE-po.patch +++ /dev/null @@ -1,37 +0,0 @@ -From: Frederic Crozat -Date: Wed, 7 Dec 2011 15:15:07 +0000 -Subject: Fix /run/lock directories permissions to follow openSUSE policy - -disable /var/lock/{subsys,lockdev} and change default permissions on -/var/lock (bnc#733523). ---- - tmpfiles.d/legacy.conf | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - ---- systemd-206_git201308300826.orig/tmpfiles.d/legacy.conf -+++ systemd-206_git201308300826/tmpfiles.d/legacy.conf -@@ -10,12 +10,13 @@ - # These files are considered legacy and are unnecessary on legacy-free - # systems. - --d /run/lock 0755 root root - -+# changed for openSUSE : only /run/lock should be available -+d /run/lock 0775 root lock - - - # /run/lock/subsys is used for serializing SysV service execution, and - # hence without use on SysV-less systems. - --d /run/lock/subsys 0755 root root - -+#d /run/lock/subsys 0755 root root - - - # /run/lock/lockdev is used to serialize access to tty devices via - # LCK..xxx style lock files, For more information see: -@@ -23,7 +24,7 @@ d /run/lock/subsys 0755 root root - - # On modern systems a BSD file lock is a better choice if - # serialization is needed on those devices. - --d /run/lock/lockdev 0775 root lock - -+#d /run/lock/lockdev 0775 root lock - - - # /forcefsck, /fastboot and /forcequotecheck are deprecated in favor of the - # kernel command line options 'fsck.mode=force', 'fsck.mode=skip' and diff --git a/Forward-suspend-hibernate-calls-to-pm-utils.patch b/Forward-suspend-hibernate-calls-to-pm-utils.patch deleted file mode 100644 index 3b50d50..0000000 --- a/Forward-suspend-hibernate-calls-to-pm-utils.patch +++ /dev/null @@ -1,94 +0,0 @@ -From: Frederic Crozat -Date: Tue, 19 Feb 2013 11:20:31 +0100 -Subject: Forward suspend / hibernate calls to pm-utils - -forward suspend/hibernation calls to pm-utils, if installed (bnc#790157) ---- - src/sleep/sleep.c | 26 ++++++++++++++++++++++---- - 1 file changed, 22 insertions(+), 4 deletions(-) - ---- systemd-206.orig/src/sleep/sleep.c -+++ systemd-206/src/sleep/sleep.c -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #include "systemd/sd-id128.h" - #include "systemd/sd-messages.h" -@@ -35,6 +36,8 @@ - #include "sleep-config.h" - - static char* arg_verb = NULL; -+static bool delegate_to_pmutils = false; -+static const char *pmtools; - - static int write_mode(char **modes) { - int r = 0; -@@ -50,9 +53,6 @@ static int write_mode(char **modes) { - r = k; - } - -- if (r < 0) -- log_error("Failed to write mode to /sys/power/disk: %s", -- strerror(-r)); - - return r; - } -@@ -90,6 +90,8 @@ static int execute(char **modes, char ** - FILE *f; - const char* note = strappenda("SLEEP=", arg_verb); - -+ if (!delegate_to_pmutils) { -+ - /* This file is opened first, so that if we hit an error, - * we can abort before modyfing any state. */ - f = fopen("/sys/power/state", "we"); -@@ -102,6 +104,7 @@ static int execute(char **modes, char ** - r = write_mode(modes); - if (r < 0) - return r; -+ } - - arguments[0] = NULL; - arguments[1] = (char*) "pre"; -@@ -114,8 +117,10 @@ static int execute(char **modes, char ** - "MESSAGE=Suspending system...", - note, - NULL); -- -+ if (!delegate_to_pmutils) - r = write_state(f, states); -+ else -+ r = -system(pmtools); - if (r < 0) - return r; - -@@ -158,6 +163,7 @@ static int parse_argv(int argc, char *ar - }; - - int c; -+ struct stat buf; - - assert(argc >= 0); - assert(argv); -@@ -196,6 +202,18 @@ static int parse_argv(int argc, char *ar - return -EINVAL; - } - -+ if (streq(arg_verb, "suspend")) { -+ pmtools = "/usr/sbin/pm-suspend"; -+ } -+ else if (streq(arg_verb, "hibernate") || streq(arg_verb, "hybrid-sleep")) { -+ if (streq(arg_verb, "hibernate")) -+ pmtools = "/usr/sbin/pm-hibernate"; -+ else -+ pmtools = "/usr/sbin/pm-suspend-hybrid"; -+ } -+ -+ delegate_to_pmutils = (stat(pmtools, &buf) >= 0 && S_ISREG(buf.st_mode) && (buf.st_mode & 0111)); -+ - return 1 /* work to do */; - } - diff --git a/Revert-service-drop-support-for-SysV-scripts-for-the-early.patch b/Revert-service-drop-support-for-SysV-scripts-for-the-early.patch deleted file mode 100644 index 41d51bf..0000000 --- a/Revert-service-drop-support-for-SysV-scripts-for-the-early.patch +++ /dev/null @@ -1,140 +0,0 @@ -From: Frederic Crozat -Date: Fri, 12 Apr 2013 16:56:26 +0200 -Subject: Revert "service: drop support for SysV scripts for the early boot" - -This reverts commit 3cdebc217c42c8529086f2965319b6a48eaaeabe. - -Conflicts: - src/core/service.c ---- - src/core/service.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++----- - 1 file changed, 46 insertions(+), 5 deletions(-) - -Index: systemd-208/src/core/service.c -=================================================================== ---- systemd-208.orig/src/core/service.c -+++ systemd-208/src/core/service.c -@@ -51,7 +51,8 @@ - - typedef enum RunlevelType { - RUNLEVEL_UP, -- RUNLEVEL_DOWN -+ RUNLEVEL_DOWN, -+ RUNLEVEL_SYSINIT - } RunlevelType; - - static const struct { -@@ -66,6 +67,16 @@ static const struct { - { "rc4.d", SPECIAL_RUNLEVEL4_TARGET, RUNLEVEL_UP }, - { "rc5.d", SPECIAL_RUNLEVEL5_TARGET, RUNLEVEL_UP }, - -+#ifdef HAVE_SYSV_COMPAT -+ /* SUSE style boot.d */ -+ { "boot.d", SPECIAL_SYSINIT_TARGET, RUNLEVEL_SYSINIT }, -+#endif -+ -+#if defined(TARGET_DEBIAN) || defined(TARGET_UBUNTU) || defined(TARGET_ANGSTROM) -+ /* Debian style rcS.d */ -+ { "rcS.d", SPECIAL_SYSINIT_TARGET, RUNLEVEL_SYSINIT }, -+#endif -+ - /* Standard SysV runlevels for shutdown */ - { "rc0.d", SPECIAL_POWEROFF_TARGET, RUNLEVEL_DOWN }, - { "rc6.d", SPECIAL_REBOOT_TARGET, RUNLEVEL_DOWN } -@@ -74,10 +85,12 @@ static const struct { - directories in this order, and we want to make sure that - sysv_start_priority is known when we first load the - unit. And that value we only know from S links. Hence -- UP must be read before DOWN */ -+ UP/SYSINIT must be read before DOWN */ - }; - - #define RUNLEVELS_UP "12345" -+/* #define RUNLEVELS_DOWN "06" */ -+#define RUNLEVELS_BOOT "bBsS" - #endif - - static const UnitActiveState state_translation_table[_SERVICE_STATE_MAX] = { -@@ -340,6 +353,9 @@ static char *sysv_translate_name(const c - if (endswith(name, ".sh")) - /* Drop .sh suffix */ - strcpy(stpcpy(r, name) - 3, ".service"); -+ if (startswith(name, "boot.")) -+ /* Drop SuSE-style boot. prefix */ -+ strcpy(stpcpy(r, name + 5), ".service"); - else - /* Normal init script name */ - strcpy(stpcpy(r, name), ".service"); -@@ -942,6 +958,13 @@ static int service_load_sysv_path(Servic - - if ((r = sysv_exec_commands(s, supports_reload)) < 0) - goto finish; -+ if (s->sysv_runlevels && -+ chars_intersect(RUNLEVELS_BOOT, s->sysv_runlevels) && -+ chars_intersect(RUNLEVELS_UP, s->sysv_runlevels)) { -+ /* Service has both boot and "up" runlevels -+ configured. Kill the "up" ones. */ -+ delete_chars(s->sysv_runlevels, RUNLEVELS_UP); -+ } - - if (s->sysv_runlevels && !chars_intersect(RUNLEVELS_UP, s->sysv_runlevels)) { - /* If there a runlevels configured for this service -@@ -1023,6 +1046,9 @@ static int service_load_sysv_name(Servic - if (endswith(name, ".sh.service")) - return -ENOENT; - -+ if (startswith(name, "boot.")) -+ return -ENOENT; -+ - STRV_FOREACH(p, UNIT(s)->manager->lookup_paths.sysvinit_path) { - char *path; - int r; -@@ -1043,6 +1069,18 @@ static int service_load_sysv_name(Servic - } - free(path); - -+ if (r >= 0 && UNIT(s)->load_state == UNIT_STUB) { -+ /* Try SUSE style boot.* init scripts */ -+ -+ path = strjoin(*p, "/boot.", name, NULL); -+ if (!path) -+ return -ENOMEM; -+ -+ /* Drop .service suffix */ -+ path[strlen(path)-8] = 0; -+ r = service_load_sysv_path(s, path); -+ free(path); -+ } - if (r < 0) - return r; - -@@ -3574,7 +3612,7 @@ static int service_enumerate(Manager *m) - - if (de->d_name[0] == 'S') { - -- if (rcnd_table[i].type == RUNLEVEL_UP) { -+ if (rcnd_table[i].type == RUNLEVEL_UP || rcnd_table[i].type == RUNLEVEL_SYSINIT) { - SERVICE(service)->sysv_start_priority_from_rcnd = - MAX(a*10 + b, SERVICE(service)->sysv_start_priority_from_rcnd); - -@@ -3591,7 +3629,8 @@ static int service_enumerate(Manager *m) - goto finish; - - } else if (de->d_name[0] == 'K' && -- (rcnd_table[i].type == RUNLEVEL_DOWN)) { -+ (rcnd_table[i].type == RUNLEVEL_DOWN || -+ rcnd_table[i].type == RUNLEVEL_SYSINIT)) { - - r = set_ensure_allocated(&shutdown_services, - trivial_hash_func, trivial_compare_func); -@@ -3631,7 +3670,9 @@ static int service_enumerate(Manager *m) - * runlevels we assume the stop jobs will be implicitly added - * by the core logic. Also, we don't really distinguish here - * between the runlevels 0 and 6 and just add them to the -- * special shutdown target. */ -+ * special shutdown target. On SUSE the boot.d/ runlevel is -+ * also used for shutdown, so we add links for that too to the -+ * shutdown target.*/ - SET_FOREACH(service, shutdown_services, j) { - service = unit_follow_merge(service); - diff --git a/U_logind_revert_lazy_session_activation_on_non_vt_seats.patch b/U_logind_revert_lazy_session_activation_on_non_vt_seats.patch deleted file mode 100644 index fca524f..0000000 --- a/U_logind_revert_lazy_session_activation_on_non_vt_seats.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 3fdb2494c1e24c0a020f5b54022d2c751fd26f50 Mon Sep 17 00:00:00 2001 -From: David Herrmann -Date: Thu, 28 Nov 2013 09:52:18 +0000 -Subject: login: revert lazy session-activation on non-VT seats - -Existing applications like gdm already depend on new sessions to get -immediately activated on seats without VTs. Fixes a bug reported as: - [systemd-devel] systemd 208:trouble with inactive user sessions at non-seat0 seats - -This patch restores the original behavior. We either need to add a new -flag for session-creation or some other heuristic to avoid activating new -sessions in the future. ---- ---- a/src/login/logind-seat.c 2013-11-28 11:30:49.624623090 -0200 -+++ b/src/login/logind-seat.c 2013-11-28 11:31:46.668792391 -0200 -@@ -420,8 +420,8 @@ - seat_send_changed(s, "Sessions\0"); - - /* On seats with VTs, the VT logic defines which session is active. On -- * seats without VTs, we automatically activate the first session. */ -- if (!seat_has_vts(s) && !s->active) -+ * seats without VTs, we automatically activate new sessions. */ -+ if (!seat_has_vts(s)) - seat_set_active(s, session); - - return 0; diff --git a/after-local.service b/after-local.service deleted file mode 100644 index a9fb26a..0000000 --- a/after-local.service +++ /dev/null @@ -1,18 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -[Unit] -Description=/etc/init.d/after.local Compatibility -ConditionFileIsExecutable=/etc/init.d/after.local -After=getty.target - -[Service] -Type=idle -ExecStart=/etc/init.d/after.local -TimeoutSec=0 -RemainAfterExit=yes -SysVStartPriority=99 diff --git a/allow-multiple-sulogin-to-be-started.patch b/allow-multiple-sulogin-to-be-started.patch deleted file mode 100644 index 507d8fc..0000000 --- a/allow-multiple-sulogin-to-be-started.patch +++ /dev/null @@ -1,41 +0,0 @@ -From: Frederic Crozat -Date: Thu, 10 Jan 2013 15:43:25 +0000 -Subject: allow multiple sulogin to be started - -allows multiple sulogin instance (bnc#793182). ---- - units/getty@.service.m4 | 1 + - units/rescue.target | 1 + - units/serial-getty@.service.m4 | 1 + - 3 files changed, 3 insertions(+) - ---- systemd-206.orig/units/getty@.service.m4 -+++ systemd-206/units/getty@.service.m4 -@@ -9,6 +9,7 @@ - Description=Getty on %I - Documentation=man:agetty(8) man:systemd-getty-generator(8) - Documentation=http://0pointer.de/blog/projects/serial-console.html -+Conflicts=rescue.service - After=systemd-user-sessions.service plymouth-quit-wait.service - m4_ifdef(`HAVE_SYSV_COMPAT', - After=rc-local.service ---- systemd-206.orig/units/rescue.target -+++ systemd-206/units/rescue.target -@@ -10,6 +10,7 @@ Description=Rescue Mode - Documentation=man:systemd.special(7) - Requires=sysinit.target rescue.service - After=sysinit.target rescue.service -+Conflicts=getty.target - AllowIsolate=yes - - [Install] ---- systemd-206.orig/units/serial-getty@.service.m4 -+++ systemd-206/units/serial-getty@.service.m4 -@@ -10,6 +10,7 @@ Description=Serial Getty on %I - Documentation=man:agetty(8) man:systemd-getty-generator(8) - Documentation=http://0pointer.de/blog/projects/serial-console.html - BindsTo=dev-%i.device -+Conflicts=rescue.service - After=dev-%i.device systemd-user-sessions.service plymouth-quit-wait.service - m4_ifdef(`HAVE_SYSV_COMPAT', - After=rc-local.service diff --git a/analyze-fix-crash-in-command-line-parsing.patch b/analyze-fix-crash-in-command-line-parsing.patch deleted file mode 100644 index f76266e..0000000 --- a/analyze-fix-crash-in-command-line-parsing.patch +++ /dev/null @@ -1,35 +0,0 @@ -From da6de8a55784115451582051c8da620056994a05 Mon Sep 17 00:00:00 2001 -From: Frederic Crozat -Date: Mon, 20 Jan 2014 11:05:22 +0100 -Subject: [PATCH] analyze: fix crash in command line parsing - -Ensure DBusError is set before it can possibly be freed on return. -Fix crash when calling set-log-level without any parameter. - -Fix https://bugzilla.novell.com/show_bug.cgi?id=859365 ---- - src/analyze/systemd-analyze.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/analyze/systemd-analyze.c b/src/analyze/systemd-analyze.c -index 27d063c..cdfae93 100644 ---- a/src/analyze/systemd-analyze.c -+++ b/src/analyze/systemd-analyze.c -@@ -1226,13 +1226,13 @@ static int set_log_level(DBusConnection *bus, char **args) { - assert(bus); - assert(args); - -+ dbus_error_init(&error); - if (strv_length(args) != 1) { - log_error("This command expects one argument only."); - return -E2BIG; - } - - value = args[0]; -- dbus_error_init(&error); - - m = dbus_message_new_method_call("org.freedesktop.systemd1", - "/org/freedesktop/systemd1", --- -1.8.4 - diff --git a/apply-ACL-for-nvidia-device-nodes.patch b/apply-ACL-for-nvidia-device-nodes.patch deleted file mode 100644 index 7b5e362..0000000 --- a/apply-ACL-for-nvidia-device-nodes.patch +++ /dev/null @@ -1,37 +0,0 @@ -From: Ludwig Nussel -Date: Mon, 8 Apr 2013 14:51:47 +0200 -Subject: apply ACL for nvidia device nodes - -set ACL on nvidia devices (bnc#808319). ---- - src/login/logind-acl.c | 3 +++ - 1 file changed, 3 insertions(+) - - -Index: systemd-208/src/login/logind-acl.c -=================================================================== ---- systemd-208.orig/src/login/logind-acl.c -+++ systemd-208/src/login/logind-acl.c -@@ -287,6 +287,22 @@ int devnode_acl_all(struct udev *udev, - r = devnode_acl(n, flush, del, old_uid, add, new_uid); - } - -+ /* only apply ACL on nvidia* if /dev/nvidiactl exists */ -+ if (devnode_acl("/dev/nvidiactl", flush, del, old_uid, add, new_uid) >= 0) { -+ int i; -+ char *devname; -+ -+ for (i = 0; i <= 256 ; i++) { -+ if (asprintf(&devname, "/dev/nvidia%d", i) < 0) -+ break; -+ if (devnode_acl(devname, flush, del, old_uid, add, new_uid) < 0) { -+ free(devname); -+ break; -+ } -+ free(devname); -+ } -+ } -+ - finish: - udev_enumerate_unref(e); - set_free_free(nodes); diff --git a/avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch b/avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch deleted file mode 100644 index 04afafb..0000000 --- a/avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Ludwig Nussel -Date: Mon, 26 Nov 2012 09:49:42 +0100 -Subject: avoid assertion if invalid address familily is passed to - gethostbyaddr_r (bnc#791101) - ---- - src/nss-myhostname/nss-myhostname.c | 6 ++++++ - 1 file changed, 6 insertions(+) - ---- systemd-206_git201308300826.orig/src/nss-myhostname/nss-myhostname.c -+++ systemd-206_git201308300826/src/nss-myhostname/nss-myhostname.c -@@ -442,6 +442,12 @@ enum nss_status _nss_myhostname_gethostb - uint32_t local_address_ipv4 = LOCALADDRESS_IPV4; - const char *canonical = NULL, *additional = NULL; - -+ if (af != AF_INET && af != AF_INET6) { -+ *errnop = EAFNOSUPPORT; -+ *h_errnop = NO_DATA; -+ return NSS_STATUS_UNAVAIL; -+ } -+ - if (len != PROTO_ADDRESS_SIZE(af)) { - *errnop = EINVAL; - *h_errnop = NO_RECOVERY; diff --git a/baselibs.conf b/baselibs.conf deleted file mode 100644 index c06fbf4..0000000 --- a/baselibs.conf +++ /dev/null @@ -1,7 +0,0 @@ -systemd - supplements "packageand(systemd:pam-)" - -/lib/systemd/system/ -libudev0 -libgudev-1_0-0 -libudev1 -nss-myhostname diff --git a/boot.udev b/boot.udev deleted file mode 100644 index 4fa0bd6..0000000 --- a/boot.udev +++ /dev/null @@ -1,74 +0,0 @@ -#!/bin/sh -# -### BEGIN INIT INFO -# Provides: boot.udev -# Required-Start: -# Required-Stop: -# Should-Start: -# Should-Stop: -# Default-Start: B -# Default-Stop: -# Short-Description: manage /dev and kernel device-events -# Description: udevd daemon to manage /dev and kernel device events -### END INIT INFO - -. /etc/rc.status - -PATH="/sbin:/bin:/usr/sbin:/usr/bin" -DAEMON="@@SYSTEMD@@/systemd-udevd" -UDEVADM="@@BINDIR@@/udevadm" -WRITERULE="@@PREFIX@@/write_dev_root_rule" -udev_timeout=180 - -case "$1" in - start) - # create /dev/root symlink with dynamic rule - if [ -x ${WRITERULE} ]; then - ${WRITERULE} >/dev/null 2>&1 || true - fi - - # start udevd - echo -n "Starting udevd: " - ${DAEMON} --daemon - if [ $? -ne 0 ]; then - rc_status -v - rc_exit - fi - rc_status -v - - # trigger events for all devices - echo -n "Loading drivers, configuring devices: " - ${UDEVADM} trigger --type=subsystems --action=add - ${UDEVADM} trigger --type=devices --action=add - - # wait for events to finish - ${UDEVADM} settle --timeout=$udev_timeout - rc_status -v - ;; - stop) - echo -n "Stopping udevd: " - killproc ${DAEMON} - rc_status -v - ;; - restart) - echo -n "Restarting udevd: " - killproc ${DAEMON} - ${DAEMON} --daemon - rc_status -v - ;; - status) - echo -n "Checking for udevd: " - checkproc ${DAEMON} - rc_status -v - ;; - reload|force-reload) - echo -n "Reloading udevd: " - killproc -G -HUP ${DAEMON} - rc_status -v - ;; - *) - echo "Usage: $0 {start|stop|restart|status|reload|force-reload}" - exit 1 - ;; -esac -rc_exit diff --git a/build-sys-make-multi-seat-x-optional.patch b/build-sys-make-multi-seat-x-optional.patch deleted file mode 100644 index c86042c..0000000 --- a/build-sys-make-multi-seat-x-optional.patch +++ /dev/null @@ -1,60 +0,0 @@ -From bd441fa27a22b7c6e11d9330560e0622fb69f297 Mon Sep 17 00:00:00 2001 -From: Zbigniew Jędrzejewski-Szmek -Date: Thu, 28 Nov 2013 17:07:29 +0000 -Subject: build-sys: make multi-seat-x optional - -At some point it should become disabled by default. - -http://lists.freedesktop.org/archives/systemd-devel/2013-November/014869.html ---- -diff --git a/Makefile.am b/Makefile.am -index 90874df..3598edd 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -4141,6 +4141,8 @@ MULTI_USER_TARGET_WANTS += \ - SYSTEM_UNIT_ALIASES += \ - systemd-logind.service dbus-org.freedesktop.login1.service - -+if ENABLE_MULTI_SEAT_X -+ - systemd_multi_seat_x_SOURCES = \ - src/login/multi-seat-x.c - -@@ -4151,6 +4153,8 @@ systemd_multi_seat_x_LDADD = \ - rootlibexec_PROGRAMS += \ - systemd-multi-seat-x - -+endif -+ - dist_udevrules_DATA += \ - src/login/70-uaccess.rules \ - src/login/70-power-switch.rules -diff --git a/configure.ac b/configure.ac -index f1b00c5..ab24266 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -794,6 +794,14 @@ fi - AM_CONDITIONAL(ENABLE_EFI, [test "x$have_efi" = "xyes"]) - - # ------------------------------------------------------------------------------ -+have_multi_seat_x=no -+AC_ARG_ENABLE(multi_seat_x, AS_HELP_STRING([--disable-multi-seat-x], [do not build multi-seat-x])) -+if test "x$enable_multi_seat_x" != "xno"; then -+ have_multi_seat_x=yes -+fi -+AM_CONDITIONAL(ENABLE_MULTI_SEAT_X, [test "$have_multi_seat_x" = "yes"]) -+ -+# ------------------------------------------------------------------------------ - AC_ARG_WITH(rc-local-script-path-start, - AS_HELP_STRING([--with-rc-local-script-path-start=PATH], - [Path to /etc/rc.local]), -@@ -1077,6 +1085,7 @@ AC_MSG_RESULT([ - nss-myhostname: ${have_myhostname} - gudev: ${enable_gudev} - gintrospection: ${enable_introspection} -+ multi-seat-x: ${have_multi_seat_x} - Python: ${have_python} - Python Headers: ${have_python_devel} - man pages: ${have_manpages} --- -cgit v0.9.0.2-2-gbebe diff --git a/delay-fsck-cryptsetup-after-md-dmraid-lvm-are-started.patch b/delay-fsck-cryptsetup-after-md-dmraid-lvm-are-started.patch deleted file mode 100644 index b9ec512..0000000 --- a/delay-fsck-cryptsetup-after-md-dmraid-lvm-are-started.patch +++ /dev/null @@ -1,34 +0,0 @@ -From: Frederic Crozat -Date: Wed, 9 Nov 2011 11:10:49 +0100 -Subject: delay fsck / cryptsetup after md / dmraid are started - ---- - src/cryptsetup/cryptsetup-generator.c | 1 + - units/systemd-fsck@.service.in | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -Index: systemd-208/src/cryptsetup/cryptsetup-generator.c -=================================================================== ---- systemd-208.orig/src/cryptsetup/cryptsetup-generator.c -+++ systemd-208/src/cryptsetup/cryptsetup-generator.c -@@ -119,6 +119,7 @@ static int create_disk( - "DefaultDependencies=no\n" - "BindsTo=dev-mapper-%i.device\n" - "IgnoreOnIsolate=true\n" -+ "After=md.service dmraid.service\n" - "After=systemd-readahead-collect.service systemd-readahead-replay.service\n", - f); - -Index: systemd-208/units/systemd-fsck@.service.in -=================================================================== ---- systemd-208.orig/units/systemd-fsck@.service.in -+++ systemd-208/units/systemd-fsck@.service.in -@@ -10,7 +10,7 @@ Description=File System Check on %f - Documentation=man:systemd-fsck@.service(8) - DefaultDependencies=no - BindsTo=%i.device --After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device -+After=systemd-readahead-collect.service systemd-readahead-replay.service %i.device md.service dmraid.service - Before=shutdown.target - - [Service] diff --git a/disable-nss-myhostname-warning-bnc-783841.patch b/disable-nss-myhostname-warning-bnc-783841.patch deleted file mode 100644 index c20aad9..0000000 --- a/disable-nss-myhostname-warning-bnc-783841.patch +++ /dev/null @@ -1,18 +0,0 @@ -From: Ludwig Nussel -Date: Tue, 12 Feb 2013 17:24:35 +0100 -Subject: disable nss-myhostname warning (bnc#783841) - ---- - src/hostname/hostnamed.c | 1 + - 1 file changed, 1 insertion(+) - ---- systemd-206.orig/src/hostname/hostnamed.c -+++ systemd-206/src/hostname/hostnamed.c -@@ -134,6 +134,7 @@ static int read_data(void) { - - static bool check_nss(void) { - void *dl; -+ return true; - - dl = dlopen("libnss_myhostname.so.2", RTLD_LAZY); - if (dl) { diff --git a/ensure-DM-and-LVM-are-started-before-local-fs-pre-target.patch b/ensure-DM-and-LVM-are-started-before-local-fs-pre-target.patch deleted file mode 100644 index d53eb94..0000000 --- a/ensure-DM-and-LVM-are-started-before-local-fs-pre-target.patch +++ /dev/null @@ -1,17 +0,0 @@ -From: Frederic Crozat -Date: Thu, 9 Feb 2012 16:19:38 +0000 -Subject: ensure DM and dmraid are started before local-fs-pre-target - -ensure md / dmraid is started before mounting partitions, -if fsck was disabled for them (bnc#733283). ---- - units/local-fs-pre.target | 1 + - 1 file changed, 1 insertion(+) - ---- systemd-206_git201308300826.orig/units/local-fs-pre.target -+++ systemd-206_git201308300826/units/local-fs-pre.target -@@ -9,3 +9,4 @@ - Description=Local File Systems (Pre) - Documentation=man:systemd.special(7) - RefuseManualStart=yes -+After=md.service dmraid.service diff --git a/ensure-ask-password-wall-starts-after-getty-tty1.patch b/ensure-ask-password-wall-starts-after-getty-tty1.patch deleted file mode 100644 index 17d2e05..0000000 --- a/ensure-ask-password-wall-starts-after-getty-tty1.patch +++ /dev/null @@ -1,20 +0,0 @@ -From: Frederic Crozat -Date: Wed, 24 Aug 2011 13:02:12 +0000 -Subject: ensure ask-password-wall starts after getty@tty1 - -ensure passphrase is handled before starting getty on tty1. ---- - units/systemd-ask-password-wall.service.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- systemd-206_git201308300826.orig/units/systemd-ask-password-wall.service.in -+++ systemd-206_git201308300826/units/systemd-ask-password-wall.service.in -@@ -8,7 +8,7 @@ - [Unit] - Description=Forward Password Requests to Wall - Documentation=man:systemd-ask-password-console.service(8) --After=systemd-user-sessions.service -+After=systemd-user-sessions.service getty@tty1.service - - [Service] - ExecStartPre=-@SYSTEMCTL@ stop systemd-ask-password-console.path systemd-ask-password-console.service systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service diff --git a/ensure-shortname-is-set-as-hostname-bnc-820213.patch b/ensure-shortname-is-set-as-hostname-bnc-820213.patch deleted file mode 100644 index 3f6b0eb..0000000 --- a/ensure-shortname-is-set-as-hostname-bnc-820213.patch +++ /dev/null @@ -1,32 +0,0 @@ -From: Frederic Crozat -Date: Tue, 28 May 2013 15:17:35 +0200 -Subject: ensure shortname is set as hostname (bnc#820213) - -strip hostname so the domain part isn't set as part of the hostname ---- - src/core/hostname-setup.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - ---- systemd-206.orig/src/core/hostname-setup.c -+++ systemd-206/src/core/hostname-setup.c -@@ -32,7 +32,7 @@ - #include "fileio.h" - - static int read_and_strip_hostname(const char *path, char **hn) { -- char *s; -+ char *s, *domain; - int r; - - assert(path); -@@ -49,6 +49,11 @@ static int read_and_strip_hostname(const - return -ENOENT; - } - -+ /* strip any leftover of a domain name */ -+ if (domain = strchr(s, '.')) { -+ *domain = NULL; -+ } -+ - *hn = s; - return 0; - } diff --git a/ensure-sysctl-are-applied-after-modules-are-loaded.patch b/ensure-sysctl-are-applied-after-modules-are-loaded.patch deleted file mode 100644 index a672f33..0000000 --- a/ensure-sysctl-are-applied-after-modules-are-loaded.patch +++ /dev/null @@ -1,19 +0,0 @@ -From: Frederic Crozat -Date: Mon, 9 Jan 2012 17:01:22 +0000 -Subject: ensure sysctl are applied after modules are loaded - -(bnc#725412) ---- - units/systemd-sysctl.service.in | 1 + - 1 file changed, 1 insertion(+) - ---- systemd-206_git201308300826.orig/units/systemd-sysctl.service.in -+++ systemd-206_git201308300826/units/systemd-sysctl.service.in -@@ -11,6 +11,7 @@ Documentation=man:systemd-sysctl.service - DefaultDependencies=no - Conflicts=shutdown.target - After=systemd-readahead-collect.service systemd-readahead-replay.service -+After=systemd-modules-load.service - Before=sysinit.target shutdown.target - ConditionPathIsReadWrite=/proc/sys/ - ConditionDirectoryNotEmpty=|/lib/sysctl.d diff --git a/fix-owner-of-var-log-btmp.patch b/fix-owner-of-var-log-btmp.patch deleted file mode 100644 index fb6145c..0000000 --- a/fix-owner-of-var-log-btmp.patch +++ /dev/null @@ -1,20 +0,0 @@ -From: Frederic Crozat -Date: Tue, 20 Nov 2012 09:36:43 +0000 -Subject: fix owner of /var/log/btmp - -ensure btmp is owned only by root (bnc#777405). ---- - tmpfiles.d/systemd.conf | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- systemd-206_git201308300826.orig/tmpfiles.d/systemd.conf -+++ systemd-206_git201308300826/tmpfiles.d/systemd.conf -@@ -11,7 +11,7 @@ d /run/user 0755 root root ~10d - F /run/utmp 0664 root utmp - - - f /var/log/wtmp 0664 root utmp - --f /var/log/btmp 0600 root utmp - -+f /var/log/btmp 0600 root root - - - d /var/cache/man - - - 30d - diff --git a/fix-support-for-boot-prefixed-initscript-bnc-746506.patch b/fix-support-for-boot-prefixed-initscript-bnc-746506.patch deleted file mode 100644 index b8fea65..0000000 --- a/fix-support-for-boot-prefixed-initscript-bnc-746506.patch +++ /dev/null @@ -1,40 +0,0 @@ -From: Frederic Crozat -Date: Thu, 23 Aug 2012 11:08:25 +0200 -Subject: fix support for boot prefixed initscript (bnc#746506) - ---- - src/systemctl/systemctl.c | 22 +++++++++++++++++++++- - 1 file changed, 21 insertions(+), 1 deletion(-) - ---- systemd-206_git201308300826.orig/src/systemctl/systemctl.c -+++ systemd-206_git201308300826/src/systemctl/systemctl.c -@@ -4169,8 +4169,28 @@ static int enable_sysv_units(char **args - p[strlen(p) - sizeof(".service") + 1] = 0; - found_sysv = access(p, F_OK) >= 0; - -- if (!found_sysv) -+ if (!found_sysv) { -+#ifdef HAVE_SYSV_COMPAT -+ free(p); -+ p = NULL; -+ if (!isempty(arg_root)) -+ asprintf(&p, "%s/" SYSTEM_SYSVINIT_PATH "/boot.%s", arg_root, name); -+ else -+ asprintf(&p, SYSTEM_SYSVINIT_PATH "/boot.%s", name); -+ if (!p) { -+ r = log_oom(); -+ goto finish; -+ } -+ p[strlen(p) - sizeof(".service") + 1] = 0; -+ found_sysv = access(p, F_OK) >= 0; -+ -+ if (!found_sysv) { -+ continue; -+ } -+#else - continue; -+#endif -+ } - - /* Mark this entry, so that we don't try enabling it as native unit */ - args[f] = (char*) ""; diff --git a/handle-SYSTEMCTL_OPTIONS-environment-variable.patch b/handle-SYSTEMCTL_OPTIONS-environment-variable.patch deleted file mode 100644 index 577f268..0000000 --- a/handle-SYSTEMCTL_OPTIONS-environment-variable.patch +++ /dev/null @@ -1,42 +0,0 @@ -From: Frederic Crozat -Date: Tue, 22 Jan 2013 17:02:04 +0000 -Subject: handle SYSTEMCTL_OPTIONS environment variable - -(bnc#798620) ---- - src/systemctl/systemctl.c | 22 ++++++++++++++++++++++ - 1 file changed, 22 insertions(+) - -Index: systemd-208/src/systemctl/systemctl.c -=================================================================== ---- systemd-208.orig/src/systemctl/systemctl.c -+++ systemd-208/src/systemctl/systemctl.c -@@ -6115,6 +6115,28 @@ int main(int argc, char*argv[]) { - * ellipsized. */ - original_stdout_is_tty = isatty(STDOUT_FILENO); - -+ if (secure_getenv("SYSTEMCTL_OPTIONS") && -+ (!program_invocation_short_name || -+ (program_invocation_short_name && strstr(program_invocation_short_name, "systemctl")))) { -+ char **parsed_systemctl_options = strv_split_quoted(getenv("SYSTEMCTL_OPTIONS")); -+ -+ if (*parsed_systemctl_options && **parsed_systemctl_options) { -+ char **k,**a; -+ char **new_argv = new(char*, strv_length(argv) + strv_length(parsed_systemctl_options) + 1); -+ new_argv[0] = strdup(argv[0]); -+ for (k = new_argv+1, a = parsed_systemctl_options; *a; k++, a++) { -+ *k = strdup(*a); -+ } -+ for (a = argv+1; *a; k++, a++) { -+ *k = strdup(*a); -+ } -+ *k = NULL; -+ argv = new_argv; -+ argc = strv_length(new_argv); -+ strv_free (parsed_systemctl_options); -+ } -+ } -+ - r = parse_argv(argc, argv); - if (r < 0) - goto finish; diff --git a/handle-disable_caplock-and-compose_table-and-kbd_rate.patch b/handle-disable_caplock-and-compose_table-and-kbd_rate.patch deleted file mode 100644 index a6193b6..0000000 --- a/handle-disable_caplock-and-compose_table-and-kbd_rate.patch +++ /dev/null @@ -1,231 +0,0 @@ -From: Frederic Crozat -Date: Fri, 19 Aug 2011 15:29:49 +0000 -Subject: handle disable_caplock and compose_table and kbd_rate - -(bnc#746595) ---- - src/vconsole/vconsole-setup.c | 156 +++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 153 insertions(+), 3 deletions(-) - ---- systemd-206_git201308300826.orig/src/vconsole/vconsole-setup.c -+++ systemd-206_git201308300826/src/vconsole/vconsole-setup.c -@@ -40,6 +40,7 @@ - #include "macro.h" - #include "virt.h" - #include "fileio.h" -+#include "strv.h" - - static bool is_vconsole(int fd) { - unsigned char data[1]; -@@ -99,8 +100,8 @@ static int enable_utf8(int fd) { - return r; - } - --static int keymap_load(const char *vc, const char *map, const char *map_toggle, bool utf8, pid_t *_pid) { -- const char *args[8]; -+static int keymap_load(const char *vc, const char *map, const char *map_toggle, bool utf8, bool disable_capslock, pid_t *_pid) { -+ const char *args[9]; - int i = 0; - pid_t pid; - -@@ -119,6 +120,8 @@ static int keymap_load(const char *vc, c - args[i++] = map; - if (map_toggle) - args[i++] = map_toggle; -+ if (disable_capslock) -+ args[i++] = "disable.capslock"; - args[i++] = NULL; - - pid = fork(); -@@ -212,6 +215,101 @@ static void font_copy_to_all_vcs(int fd) - } - } - -+#ifdef HAVE_SYSV_COMPAT -+static int load_compose_table(const char *vc, const char *compose_table, pid_t *_pid) { -+ const char *args[1024]; -+ int i = 0, j = 0; -+ pid_t pid; -+ char **strv_compose_table = NULL; -+ char *to_free[1024]; -+ -+ if (isempty(compose_table)) { -+ /* An empty map means no compose table*/ -+ *_pid = 0; -+ return 0; -+ } -+ -+ args[i++] = KBD_LOADKEYS; -+ args[i++] = "-q"; -+ args[i++] = "-C"; -+ args[i++] = vc; -+ -+ strv_compose_table = strv_split(compose_table, WHITESPACE); -+ if (strv_compose_table) { -+ bool compose_loaded = false; -+ bool compose_clear = false; -+ char **name; -+ char *arg; -+ -+ STRV_FOREACH (name, strv_compose_table) { -+ if (streq(*name,"-c") || streq(*name,"clear")) { -+ compose_clear = true; -+ continue; -+ } -+ if (!compose_loaded) { -+ if (compose_clear) -+ args[i++] = "-c"; -+ } -+ asprintf(&arg, "compose.%s",*name); -+ compose_loaded = true; -+ args[i++] = to_free[j++] = arg; -+ -+ } -+ strv_free(strv_compose_table); -+ } -+ args[i++] = NULL; -+ -+ if ((pid = fork()) < 0) { -+ log_error("Failed to fork: %m"); -+ return -errno; -+ } else if (pid == 0) { -+ execv(args[0], (char **) args); -+ _exit(EXIT_FAILURE); -+ } -+ -+ *_pid = pid; -+ -+ for (i=0 ; i < j ; i++) -+ free (to_free[i]); -+ -+ return 0; -+} -+#endif -+ -+static int set_kbd_rate(const char *vc, const char *kbd_rate, const char *kbd_delay, pid_t *_pid) { -+ const char *args[7]; -+ int i = 0; -+ pid_t pid; -+ -+ if (isempty(kbd_rate) && isempty(kbd_delay)) { -+ *_pid = 0; -+ return 0; -+ } -+ -+ args[i++] = "/bin/kbdrate"; -+ if (!isempty(kbd_rate)) { -+ args[i++] = "-r"; -+ args[i++] = kbd_rate; -+ } -+ if (!isempty(kbd_delay)) { -+ args[i++] = "-d"; -+ args[i++] = kbd_delay; -+ } -+ args[i++] = "-s"; -+ args[i++] = NULL; -+ -+ if ((pid = fork()) < 0) { -+ log_error("Failed to fork: %m"); -+ return -errno; -+ } else if (pid == 0) { -+ execv(args[0], (char **) args); -+ _exit(EXIT_FAILURE); -+ } -+ -+ *_pid = pid; -+ return 0; -+} -+ - int main(int argc, char **argv) { - const char *vc; - char *vc_keymap = NULL; -@@ -219,8 +317,16 @@ int main(int argc, char **argv) { - char *vc_font = NULL; - char *vc_font_map = NULL; - char *vc_font_unimap = NULL; -+#ifdef HAVE_SYSV_COMPAT -+ char *vc_kbd_delay = NULL; -+ char *vc_kbd_rate = NULL; -+ char *vc_kbd_disable_caps_lock = NULL; -+ char *vc_compose_table = NULL; -+ pid_t kbd_rate_pid = 0, compose_table_pid = 0; -+#endif - int fd = -1; - bool utf8; -+ bool disable_capslock = false; - pid_t font_pid = 0, keymap_pid = 0; - bool font_copy = false; - int r = EXIT_FAILURE; -@@ -276,13 +382,43 @@ int main(int argc, char **argv) { - log_warning("Failed to read /proc/cmdline: %s", strerror(-r)); - } - -+ if (r <= 0) { -+#ifdef HAVE_SYSV_COMPAT -+ r = parse_env_file("/etc/sysconfig/keyboard", NEWLINE, -+ "KEYTABLE", &vc_keymap, -+ "KBD_DELAY", &vc_kbd_delay, -+ "KBD_RATE", &vc_kbd_rate, -+ "KBD_DISABLE_CAPS_LOCK", &vc_kbd_disable_caps_lock, -+ "COMPOSETABLE", &vc_compose_table, -+ NULL); -+ if (r < 0 && r != -ENOENT) -+ log_warning("Failed to read /etc/sysconfig/keyboard: %s", strerror(-r)); -+ -+ r = parse_env_file("/etc/sysconfig/console", NEWLINE, -+ "CONSOLE_FONT", &vc_font, -+ "CONSOLE_SCREENMAP", &vc_font_map, -+ "CONSOLE_UNICODEMAP", &vc_font_unimap, -+ NULL); -+ if (r < 0 && r != -ENOENT) -+ log_warning("Failed to read /etc/sysconfig/console: %s", strerror(-r)); -+ -+ disable_capslock = vc_kbd_disable_caps_lock && strcasecmp(vc_kbd_disable_caps_lock, "YES") == 0; -+ -+#endif -+ } -+ - if (utf8) - enable_utf8(fd); - else - disable_utf8(fd); - - r = EXIT_FAILURE; -- if (keymap_load(vc, vc_keymap, vc_keymap_toggle, utf8, &keymap_pid) >= 0 && -+ -+ if (keymap_load(vc, vc_keymap, vc_keymap_toggle, utf8, disable_capslock, &keymap_pid) >= 0 && -+#ifdef HAVE_SYSV_COMPAT -+ load_compose_table(vc, vc_compose_table, &compose_table_pid) >= 0 && -+ set_kbd_rate(vc, vc_kbd_rate, vc_kbd_delay, &kbd_rate_pid) >= 0 && -+#endif - font_load(vc, vc_font, vc_font_map, vc_font_unimap, &font_pid) >= 0) - r = EXIT_SUCCESS; - -@@ -290,6 +426,14 @@ finish: - if (keymap_pid > 0) - wait_for_terminate_and_warn(KBD_LOADKEYS, keymap_pid); - -+#ifdef HAVE_SYSV_COMPAT -+ if (compose_table_pid > 0) -+ wait_for_terminate_and_warn(KBD_LOADKEYS, compose_table_pid); -+ -+ if (kbd_rate_pid > 0) -+ wait_for_terminate_and_warn("/bin/kbdrate", kbd_rate_pid); -+#endif -+ - if (font_pid > 0) { - wait_for_terminate_and_warn(KBD_SETFONT, font_pid); - if (font_copy) -@@ -300,6 +444,12 @@ finish: - free(vc_font); - free(vc_font_map); - free(vc_font_unimap); -+#ifdef HAVE_SYSV_COMPAT -+ free(vc_kbd_delay); -+ free(vc_kbd_rate); -+ free(vc_kbd_disable_caps_lock); -+ free(vc_compose_table); -+#endif - - if (fd >= 0) - close_nointr_nofail(fd); diff --git a/handle-etc-HOSTNAME.patch b/handle-etc-HOSTNAME.patch deleted file mode 100644 index cdcb932..0000000 --- a/handle-etc-HOSTNAME.patch +++ /dev/null @@ -1,77 +0,0 @@ -From: Frederic Crozat -Date: Fri, 15 Feb 2013 16:04:39 +0000 -Subject: handle /etc/HOSTNAME - -(bnc#803653) ---- - src/core/hostname-setup.c | 22 +++++++++++++++++----- - src/hostname/hostnamed.c | 12 +++++++++++- - 2 files changed, 28 insertions(+), 6 deletions(-) - ---- systemd-206.orig/src/core/hostname-setup.c -+++ systemd-206/src/core/hostname-setup.c -@@ -61,12 +61,24 @@ int hostname_setup(void) { - - r = read_and_strip_hostname("/etc/hostname", &b); - if (r < 0) { -- if (r == -ENOENT) -- enoent = true; -- else -- log_warning("Failed to read configured hostname: %s", strerror(-r)); -+ if (r == -ENOENT) { -+ /* use SUSE fallback */ -+ r = read_and_strip_hostname("/etc/HOSTNAME", &b); -+ if (r < 0) { -+ if (r == -ENOENT) -+ enoent = true; -+ else -+ log_warning("Failed to read configured hostname: %s", strerror(-r)); -+ hn = NULL; -+ } -+ else -+ hn = b; - -- hn = NULL; -+ } -+ else { -+ log_warning("Failed to read configured hostname: %s", strerror(-r)); -+ hn = NULL; -+ } - } else - hn = b; - ---- systemd-206.orig/src/hostname/hostnamed.c -+++ systemd-206/src/hostname/hostnamed.c -@@ -129,6 +129,10 @@ static int read_data(void) { - if (r < 0 && r != -ENOENT) - return r; - -+ r = read_one_line_file("/etc/HOSTNAME", &data[PROP_STATIC_HOSTNAME]); -+ if (r < 0 && r != -ENOENT) -+ return r; -+ - return 0; - } - -@@ -283,6 +287,7 @@ static int write_data_hostname(void) { - - static int write_data_static_hostname(void) { - -+ int r; - if (isempty(data[PROP_STATIC_HOSTNAME])) { - - if (unlink("/etc/hostname") < 0) -@@ -290,7 +295,12 @@ static int write_data_static_hostname(vo - - return 0; - } -- return write_string_file_atomic_label("/etc/hostname", data[PROP_STATIC_HOSTNAME]); -+ -+ r = write_string_file_atomic_label("/etc/hostname", data[PROP_STATIC_HOSTNAME]); -+ if (!r) { -+ r = symlink_atomic("/etc/hostname", "/etc/HOSTNAME"); -+ } -+ return r; - } - - static int write_data_other(void) { diff --git a/handle-numlock-value-in-etc-sysconfig-keyboard.patch b/handle-numlock-value-in-etc-sysconfig-keyboard.patch deleted file mode 100644 index 023e66a..0000000 --- a/handle-numlock-value-in-etc-sysconfig-keyboard.patch +++ /dev/null @@ -1,181 +0,0 @@ -Set NumLock according to /etc/sysconfig/keyboard. - -https://bugzilla.novell.com/show_bug.cgi?id=746595 - -Authors: -Stanislav Brabec -Cristian Rodríguez - ---- systemd-206_git201308300826.orig/src/vconsole/vconsole-setup.c -+++ systemd-206_git201308300826/src/vconsole/vconsole-setup.c -@@ -42,6 +42,10 @@ - #include "fileio.h" - #include "strv.h" - -+#define BIOS_DATA_AREA 0x400 -+#define BDA_KEYBOARD_STATUS_FLAGS_4 0x97 -+#define BDA_KSF4_NUMLOCK_MASK 0x02 -+ - static bool is_vconsole(int fd) { - unsigned char data[1]; - -@@ -321,12 +325,14 @@ int main(int argc, char **argv) { - char *vc_kbd_delay = NULL; - char *vc_kbd_rate = NULL; - char *vc_kbd_disable_caps_lock = NULL; -+ char *vc_kbd_numlock = NULL; - char *vc_compose_table = NULL; - pid_t kbd_rate_pid = 0, compose_table_pid = 0; - #endif - int fd = -1; - bool utf8; - bool disable_capslock = false; -+ bool numlock = false; - pid_t font_pid = 0, keymap_pid = 0; - bool font_copy = false; - int r = EXIT_FAILURE; -@@ -389,6 +395,7 @@ int main(int argc, char **argv) { - "KBD_DELAY", &vc_kbd_delay, - "KBD_RATE", &vc_kbd_rate, - "KBD_DISABLE_CAPS_LOCK", &vc_kbd_disable_caps_lock, -+ "KBD_NUMLOCK", &vc_kbd_numlock, - "COMPOSETABLE", &vc_compose_table, - NULL); - if (r < 0 && r != -ENOENT) -@@ -403,6 +410,36 @@ int main(int argc, char **argv) { - log_warning("Failed to read /etc/sysconfig/console: %s", strerror(-r)); - - disable_capslock = vc_kbd_disable_caps_lock && strcasecmp(vc_kbd_disable_caps_lock, "YES") == 0; -+#if defined(__i386__) || defined(__x86_64__) -+ if (vc_kbd_numlock && strcaseeq(vc_kbd_numlock, "bios")) { -+ int _cleanup_close_ fdmem; -+ char c; -+ -+ fdmem = open ("/dev/mem", O_RDONLY); -+ -+ if(fdmem < 0) { -+ r = EXIT_FAILURE; -+ log_error("Failed to open /dev/mem: %m"); -+ goto finish; -+ } -+ -+ if(lseek(fdmem, BIOS_DATA_AREA + BDA_KEYBOARD_STATUS_FLAGS_4, SEEK_SET) == (off_t) -1) { -+ r = EXIT_FAILURE; -+ log_error("Failed to seek /dev/mem: %m"); -+ goto finish; -+ } -+ -+ if(read (fdmem, &c, sizeof(char)) == -1) { -+ r = EXIT_FAILURE; -+ log_error("Failed to read /dev/mem: %m"); -+ goto finish; -+ } -+ -+ if (c & BDA_KSF4_NUMLOCK_MASK) -+ numlock = true; -+ } else -+#endif -+ numlock = vc_kbd_numlock && strcaseeq(vc_kbd_numlock, "yes"); - - #endif - } -@@ -425,6 +462,10 @@ int main(int argc, char **argv) { - finish: - if (keymap_pid > 0) - wait_for_terminate_and_warn(KBD_LOADKEYS, keymap_pid); -+ if (numlock) -+ touch("/run/numlock-on"); -+ else -+ unlink("/run/numlock-on"); - - #ifdef HAVE_SYSV_COMPAT - if (compose_table_pid > 0) -@@ -444,6 +485,7 @@ finish: - free(vc_font); - free(vc_font_map); - free(vc_font_unimap); -+ free(vc_kbd_numlock); - #ifdef HAVE_SYSV_COMPAT - free(vc_kbd_delay); - free(vc_kbd_rate); ---- systemd-206_git201308300826.orig/Makefile.am -+++ systemd-206_git201308300826/Makefile.am -@@ -2488,6 +2488,19 @@ dist_udevrules_DATA += \ - rules/61-accelerometer.rules - - # ------------------------------------------------------------------------------ -+numlock_on_SOURCES = \ -+ src/login/numlock-on.c -+ -+numlock_on_CFLAGS = \ -+ $(AM_CFLAGS) -+ -+udevlibexec_PROGRAMS += \ -+ numlock-on -+ -+dist_udevrules_DATA += \ -+ rules/73-seat-numlock.rules -+ -+# ------------------------------------------------------------------------------ - if ENABLE_GUDEV - if ENABLE_GTK_DOC - SUBDIRS += \ ---- /dev/null -+++ systemd-206_git201308300826/rules/73-seat-numlock.rules -@@ -0,0 +1,8 @@ -+# This file is part of SUSE customization of systemd. -+# -+# systemd is free software; you can redistribute it and/or modify it -+# under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 2 of the License, or -+# (at your option) any later version. -+ -+SUBSYSTEM=="tty", ACTION=="add", KERNEL=="tty[0-9]|tty1[0-2]", TEST=="/run/numlock-on", RUN+="numlock-on $env{DEVNAME}" ---- /dev/null -+++ systemd-206_git201308300826/src/login/numlock-on.c -@@ -0,0 +1,34 @@ -+/* -+ * numlock-on.c: Turn numlock-on -+ * -+ * This file may be freely copied under the terms of the GNU General -+ * Public License (GPL), version 2, or at your option any later -+ * version. -+ -+ * Copyright (C) 2013 Stanislav Brabec, SUSE -+ * -+ * based on setleds.c, which is -+ * Copyright (C) 1994-1999 Andries E. Brouwer -+ */ -+ -+#include -+#include -+#include -+#include -+ -+int -+main(int argc, char **argv) { -+ char flags; -+ -+ if (ioctl(0, KDGKBLED, &flags)) { -+ perror("KDGKBLED"); -+ exit(1); -+ } -+ -+ if (ioctl(0, KDSKBLED, flags | LED_NUM | (LED_NUM << 4))) { -+ perror("KDSKBLED"); -+ exit(1); -+ } -+ -+ exit(0); -+} ---- systemd-206_git201308300826.orig/units/systemd-vconsole-setup.service.in -+++ systemd-206_git201308300826/units/systemd-vconsole-setup.service.in -@@ -11,7 +11,7 @@ Documentation=man:systemd-vconsole-setup - DefaultDependencies=no - Conflicts=shutdown.target - After=systemd-readahead-collect.service systemd-readahead-replay.service --Before=sysinit.target shutdown.target -+Before=sysinit.target shutdown.target systemd-udev-trigger.service - ConditionPathExists=/dev/tty0 - - [Service] diff --git a/handle-root_uses_lang-value-in-etc-sysconfig-language.patch b/handle-root_uses_lang-value-in-etc-sysconfig-language.patch deleted file mode 100644 index d7bea39..0000000 --- a/handle-root_uses_lang-value-in-etc-sysconfig-language.patch +++ /dev/null @@ -1,53 +0,0 @@ -From: Frederic Crozat -Date: Tue, 4 Dec 2012 16:51:32 +0000 -Subject: handle root_uses_lang value in /etc/sysconfig/language - -handle ROOT_USES_LANG=ctype (bnc#792182). ---- - src/core/locale-setup.c | 27 +++++++++++++++++++++++++++ - 1 file changed, 27 insertions(+) - -Index: systemd-208/src/core/locale-setup.c -=================================================================== ---- systemd-208.orig/src/core/locale-setup.c -+++ systemd-208/src/core/locale-setup.c -@@ -73,6 +73,11 @@ int locale_setup(char ***environment) { - char **add; - char *variables[_VARIABLE_MAX] = {}; - int r = 0, i; -+#ifdef HAVE_SYSV_COMPAT -+ char _cleanup_free_ *root_uses_lang; -+ -+ zero(root_uses_lang); -+#endif - - if (detect_container(NULL) <= 0) { - r = parse_env_file("/proc/cmdline", WHITESPACE, -@@ -119,6 +124,27 @@ int locale_setup(char ***environment) { - if (r < 0 && r != -ENOENT) - log_warning("Failed to read /etc/locale.conf: %s", strerror(-r)); - } -+#ifdef HAVE_SYSV_COMPAT -+ if (r <= 0 && -+ (r = parse_env_file("/etc/sysconfig/language", NEWLINE, -+ "ROOT_USES_LANG", &root_uses_lang, -+ "RC_LANG", &variables[VARIABLE_LANG], -+ NULL)) < 0) { -+ if (r != -ENOENT) -+ log_warning("Failed to read /etc/sysconfig/language: %s", strerror(-r)); -+ -+ } else { -+ if (!root_uses_lang || (root_uses_lang && !strcaseeq(root_uses_lang,"yes"))) { -+ if (root_uses_lang && strcaseeq(root_uses_lang,"ctype")) -+ variables[VARIABLE_LC_CTYPE]=variables[VARIABLE_LANG]; -+ else -+ free(variables[VARIABLE_LANG]); -+ -+ variables[VARIABLE_LANG]=strdup("POSIX"); -+ } -+ } -+ -+#endif - - add = NULL; - for (i = 0; i < _VARIABLE_MAX; i++) { diff --git a/insserv-generator.patch b/insserv-generator.patch deleted file mode 100644 index 3e0deb7..0000000 --- a/insserv-generator.patch +++ /dev/null @@ -1,392 +0,0 @@ -From a8cbe79c77836cc2466e3534157864abc98ef3ef Mon Sep 17 00:00:00 2001 -From: Frederic Crozat -Date: Fri, 28 Jun 2013 17:54:41 +0200 -Subject: [PATCH] insserv.conf generator - -parse /etc/insserv.conf.dd content and /etc/insserv.conf and generate -systemd unit drop-in files to add dependencies ---- - Makefile.am | 9 + - src/insserv-generator/Makefile | 28 +++ - src/insserv-generator/insserv-generator.c | 309 ++++++++++++++++++++++++++++++ - 3 files changed, 346 insertions(+) - create mode 100644 src/insserv-generator/Makefile - create mode 100644 src/insserv-generator/insserv-generator.c - -Index: systemd-208/Makefile.am -=================================================================== ---- systemd-208.orig/Makefile.am -+++ systemd-208/Makefile.am -@@ -322,6 +322,7 @@ rootlibexec_PROGRAMS = \ - systemd-sleep - - systemgenerator_PROGRAMS = \ -+ systemd-insserv-generator \ - systemd-getty-generator \ - systemd-fstab-generator \ - systemd-system-update-generator -@@ -1682,6 +1683,14 @@ systemd_delta_LDADD = \ - libsystemd-shared.la - - # ------------------------------------------------------------------------------ -+systemd_insserv_generator_SOURCES = \ -+ src/insserv-generator/insserv-generator.c -+ -+systemd_insserv_generator_LDADD = \ -+ libsystemd-label.la \ -+ libsystemd-shared.la -+ -+# ------------------------------------------------------------------------------ - systemd_getty_generator_SOURCES = \ - src/getty-generator/getty-generator.c - -Index: systemd-208/src/insserv-generator/Makefile -=================================================================== ---- /dev/null -+++ systemd-208/src/insserv-generator/Makefile -@@ -0,0 +1,28 @@ -+# This file is part of systemd. -+# -+# Copyright 2010 Lennart Poettering -+# -+# systemd is free software; you can redistribute it and/or modify it -+# under the terms of the GNU Lesser General Public License as published by -+# the Free Software Foundation; either version 2.1 of the License, or -+# (at your option) any later version. -+# -+# systemd is distributed in the hope that it will be useful, but -+# WITHOUT ANY WARRANTY; without even the implied warranty of -+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+# Lesser General Public License for more details. -+# -+# You should have received a copy of the GNU Lesser General Public License -+# along with systemd; If not, see . -+ -+# This file is a dirty trick to simplify compilation from within -+# emacs. This file is not intended to be distributed. So, don't touch -+# it, even better ignore it! -+ -+all: -+ $(MAKE) -C .. -+ -+clean: -+ $(MAKE) -C .. clean -+ -+.PHONY: all clean -Index: systemd-208/src/insserv-generator/insserv-generator.c -=================================================================== ---- /dev/null -+++ systemd-208/src/insserv-generator/insserv-generator.c -@@ -0,0 +1,312 @@ -+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -+ -+/*** -+ This file is part of systemd. -+ -+ Copyright 2012 Lennart Poettering -+ -+ systemd is free software; you can redistribute it and/or modify it -+ under the terms of the GNU Lesser General Public License as published by -+ the Free Software Foundation; either version 2.1 of the License, or -+ (at your option) any later version. -+ -+ systemd is distributed in the hope that it will be useful, but -+ WITHOUT ANY WARRANTY; without even the implied warranty of -+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -+ Lesser General Public License for more details. -+ -+ You should have received a copy of the GNU Lesser General Public License -+ along with systemd; If not, see . -+ ***/ -+ -+#include -+#include -+#include -+#include -+ -+#include "mkdir.h" -+#include "log.h" -+#include "fileio.h" -+#include "unit-name.h" -+#include "special.h" -+#include "path-util.h" -+#include "util.h" -+#include "strv.h" -+ -+static const char *arg_dest = "/tmp"; -+ -+static char *sysv_translate_name(const char *name) { -+ char *r; -+ -+ r = new(char, strlen(name) + sizeof(".service")); -+ if (!r) -+ return NULL; -+ -+ if (endswith(name, ".sh")) -+ /* Drop .sh suffix */ -+ strcpy(stpcpy(r, name) - 3, ".service"); -+ if (startswith(name, "boot.")) -+ /* Drop SuSE-style boot. prefix */ -+ strcpy(stpcpy(r, name + 5), ".service"); -+ else -+ /* Normal init script name */ -+ strcpy(stpcpy(r, name), ".service"); -+ -+ return r; -+} -+ -+static int sysv_translate_facility(const char *name, const char *filename, char **_r) { -+ -+ /* We silently ignore the $ prefix here. According to the LSB -+ * spec it simply indicates whether something is a -+ * standardized name or a distribution-specific one. Since we -+ * just follow what already exists and do not introduce new -+ * uses or names we don't care who introduced a new name. */ -+ -+ static const char * const table[] = { -+ /* LSB defined facilities */ -+ "local_fs", NULL, -+ "network", SPECIAL_NETWORK_TARGET, -+ "named", SPECIAL_NSS_LOOKUP_TARGET, -+ "portmap", SPECIAL_RPCBIND_TARGET, -+ "remote_fs", SPECIAL_REMOTE_FS_TARGET, -+ "syslog", NULL, -+ "time", SPECIAL_TIME_SYNC_TARGET, -+ }; -+ -+ unsigned i; -+ char *r; -+ const char *n; -+ -+ assert(name); -+ assert(_r); -+ -+ n = *name == '$' ? name + 1 : name; -+ -+ for (i = 0; i < ELEMENTSOF(table); i += 2) { -+ -+ if (!streq(table[i], n)) -+ continue; -+ -+ if (!table[i+1]) -+ return 0; -+ -+ r = strdup(table[i+1]); -+ if (!r) -+ return log_oom(); -+ -+ goto finish; -+ } -+ -+ /* If we don't know this name, fallback heuristics to figure -+ * out whether something is a target or a service alias. */ -+ -+ if (*name == '$') { -+ if (!unit_prefix_is_valid(n)) -+ return -EINVAL; -+ -+ /* Facilities starting with $ are most likely targets */ -+ r = unit_name_build(n, NULL, ".target"); -+ } else if (filename && streq(name, filename)) -+ /* Names equaling the file name of the services are redundant */ -+ return 0; -+ else -+ /* Everything else we assume to be normal service names */ -+ r = sysv_translate_name(n); -+ -+ if (!r) -+ return -ENOMEM; -+ -+finish: -+ *_r = r; -+ -+ return 1; -+} -+ -+ -+ -+static int parse_insserv_conf(const char* filename) { -+ _cleanup_fclose_ FILE *f = NULL; -+ int r; -+ -+ if (!(f = fopen(filename, "re"))) { -+ log_debug("Failed to open file %s", filename); -+ r = errno == ENOENT ? 0 : -errno; -+ return r; -+ } -+ -+ while (!feof(f)) { -+ char l[LINE_MAX], *t; -+ _cleanup_strv_free_ char **parsed = NULL; -+ -+ if (!fgets(l, sizeof(l), f)) { -+ if (feof(f)) -+ break; -+ -+ r = -errno; -+ log_error("Failed to read configuration file '%s': %s", filename, strerror(-r)); -+ return -r; -+ } -+ -+ t = strstrip(l); -+ if (*t != '$' && *t != '<') -+ continue; -+ -+ parsed = strv_split(t,WHITESPACE); -+ /* we ignore , not used, equivalent to X-Interactive */ -+ if (parsed && !startswith_no_case (parsed[0], "")) { -+ _cleanup_free_ char *facility = NULL; -+ if (sysv_translate_facility(parsed[0], NULL, &facility) < 0 || !facility) -+ continue; -+ if (streq(facility, SPECIAL_REMOTE_FS_TARGET)) { -+ _cleanup_free_ char *unit = NULL; -+ /* insert also a Wants dependency from remote-fs-pre on remote-fs */ -+ unit = strjoin(arg_dest, "/remote-fs.target.d/50-",path_get_file_name(filename),".conf", NULL); -+ if (!unit) -+ return log_oom(); -+ -+ mkdir_parents_label(unit, 0755); -+ -+ r = write_string_file(unit, -+ "# Automatically generated by systemd-insserv-generator\n\n" -+ "[Unit]\n" -+ "Wants=remote-fs-pre.target\n"); -+ if (r) -+ return r; -+ free (facility); -+ facility=strdup(SPECIAL_REMOTE_FS_PRE_TARGET); -+ } -+ if (facility && endswith(facility, ".target")) { -+ char *name, **j; -+ FILE *file = NULL; -+ -+ STRV_FOREACH (j, parsed+1) { -+ _cleanup_free_ char *unit = NULL; -+ _cleanup_free_ char *dep = NULL; -+ -+ if (*j[0] == '+') -+ name = *j+1; -+ else -+ name = *j; -+ if (streq(name, "boot.localfs") || -+ streq(name, "boot.crypto")) -+ continue; -+ if ((sysv_translate_facility(name, NULL, &dep) < 0) || !dep) -+ continue; -+ -+ unit = strjoin(arg_dest, "/", dep, ".d/50-",path_get_file_name(filename),"-",parsed[0],".conf", NULL); -+ if (!unit) -+ return log_oom(); -+ -+ mkdir_parents_label(unit, 0755); -+ -+ file = fopen(unit, "wxe"); -+ if (!file) { -+ if (errno == EEXIST) -+ log_error("Failed to create drop-in file %s", unit); -+ else -+ log_error("Failed to create drop-in file %s: %m", unit); -+ return -errno; -+ } -+ -+ fprintf(file, -+ "# Automatically generated by systemd-insserv-generator\n\n" -+ "[Unit]\n" -+ "Wants=%s\n" -+ "Before=%s\n", -+ facility, facility); -+ -+ fflush(file); -+ if (ferror(file)) { -+ log_error("Failed to write unit file %s: %m", unit); -+ return -errno; -+ } -+ fclose(file); -+ -+ if (*j[0] != '+') { -+ free (unit); -+ unit = strjoin(arg_dest, "/", facility, ".d/50-hard-dependency-",path_get_file_name(filename),"-",parsed[0],".conf", NULL); -+ if (!unit) -+ return log_oom(); -+ -+ mkdir_parents_label(unit, 0755); -+ -+ file = fopen(unit, "wxe"); -+ if (!file) { -+ if (errno == EEXIST) -+ log_error("Failed to create drop-in file %s, as it already exists", unit); -+ else -+ log_error("Failed to create drop-in file %s: %m", unit); -+ return -errno; -+ } -+ -+ -+ fprintf(file, -+ "# Automatically generated by systemd-insserv-generator\n\n" -+ "[Unit]\n" -+ "SourcePath=%s\n" -+ "Requires=%s\n", -+ filename, dep); -+ fflush(file); -+ if (ferror(file)) { -+ log_error("Failed to write unit file %s: %m", unit); -+ return -errno; -+ } -+ fclose(file); -+ } -+ } -+ } -+ } -+ } -+ return r; -+} -+ -+static int parse_insserv(void) { -+ DIR *d = NULL; -+ struct dirent *de; -+ int r = 0; -+ -+ if (!(d = opendir("/etc/insserv.conf.d/"))) { -+ if (errno != ENOENT) { -+ log_debug("opendir() failed on /etc/insserv.conf.d/ %s", strerror(errno)); -+ } -+ } else { -+ -+ while ((de = readdir(d))) { -+ char *path = NULL; -+ if (ignore_file(de->d_name)) -+ continue; -+ -+ path = strjoin("/etc/insserv.conf.d/", de->d_name, NULL); -+ parse_insserv_conf(path); -+ free(path); -+ } -+ closedir (d); -+ } -+ -+ r = parse_insserv_conf("/etc/insserv.conf"); -+ -+ return r; -+} -+ -+int main(int argc, char *argv[]) { -+ int r = 0; -+ -+ if (argc > 1 && argc != 4) { -+ log_error("This program takes three or no arguments."); -+ return EXIT_FAILURE; -+ } -+ -+ if (argc > 1) -+ arg_dest = argv[1]; -+ -+ log_set_target(LOG_TARGET_SAFE); -+ log_parse_environment(); -+ log_open(); -+ -+ umask(0022); -+ -+ r = parse_insserv(); -+ -+ return (r < 0) ? EXIT_FAILURE : EXIT_SUCCESS; -+} diff --git a/libgcrypt.m4 b/libgcrypt.m4 deleted file mode 100644 index b0aeccd..0000000 --- a/libgcrypt.m4 +++ /dev/null @@ -1,123 +0,0 @@ -dnl Autoconf macros for libgcrypt -dnl Copyright (C) 2002, 2004 Free Software Foundation, Inc. -dnl -dnl This file is free software; as a special exception the author gives -dnl unlimited permission to copy and/or distribute it, with or without -dnl modifications, as long as this notice is preserved. -dnl -dnl This file is distributed in the hope that it will be useful, but -dnl WITHOUT ANY WARRANTY, to the extent permitted by law; without even the -dnl implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - - -dnl AM_PATH_LIBGCRYPT([MINIMUM-VERSION, -dnl [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]]) -dnl Test for libgcrypt and define LIBGCRYPT_CFLAGS and LIBGCRYPT_LIBS. -dnl MINIMUN-VERSION is a string with the version number optionalliy prefixed -dnl with the API version to also check the API compatibility. Example: -dnl a MINIMUN-VERSION of 1:1.2.5 won't pass the test unless the installed -dnl version of libgcrypt is at least 1.2.5 *and* the API number is 1. Using -dnl this features allows to prevent build against newer versions of libgcrypt -dnl with a changed API. -dnl -AC_DEFUN([AM_PATH_LIBGCRYPT], -[ AC_ARG_WITH(libgcrypt-prefix, - AC_HELP_STRING([--with-libgcrypt-prefix=PFX], - [prefix where LIBGCRYPT is installed (optional)]), - libgcrypt_config_prefix="$withval", libgcrypt_config_prefix="") - if test x$libgcrypt_config_prefix != x ; then - if test x${LIBGCRYPT_CONFIG+set} != xset ; then - LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config - fi - fi - - AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no) - tmp=ifelse([$1], ,1:1.2.0,$1) - if echo "$tmp" | grep ':' >/dev/null 2>/dev/null ; then - req_libgcrypt_api=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\1/'` - min_libgcrypt_version=`echo "$tmp" | sed 's/\(.*\):\(.*\)/\2/'` - else - req_libgcrypt_api=0 - min_libgcrypt_version="$tmp" - fi - - AC_MSG_CHECKING(for LIBGCRYPT - version >= $min_libgcrypt_version) - ok=no - if test "$LIBGCRYPT_CONFIG" != "no" ; then - req_major=`echo $min_libgcrypt_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\1/'` - req_minor=`echo $min_libgcrypt_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\2/'` - req_micro=`echo $min_libgcrypt_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\)/\3/'` - libgcrypt_config_version=`$LIBGCRYPT_CONFIG --version` - major=`echo $libgcrypt_config_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'` - minor=`echo $libgcrypt_config_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'` - micro=`echo $libgcrypt_config_version | \ - sed 's/\([[0-9]]*\)\.\([[0-9]]*\)\.\([[0-9]]*\).*/\3/'` - if test "$major" -gt "$req_major"; then - ok=yes - else - if test "$major" -eq "$req_major"; then - if test "$minor" -gt "$req_minor"; then - ok=yes - else - if test "$minor" -eq "$req_minor"; then - if test "$micro" -ge "$req_micro"; then - ok=yes - fi - fi - fi - fi - fi - fi - if test $ok = yes; then - AC_MSG_RESULT([yes ($libgcrypt_config_version)]) - else - AC_MSG_RESULT(no) - fi - if test $ok = yes; then - # If we have a recent libgcrypt, we should also check that the - # API is compatible - if test "$req_libgcrypt_api" -gt 0 ; then - tmp=`$LIBGCRYPT_CONFIG --api-version 2>/dev/null || echo 0` - if test "$tmp" -gt 0 ; then - AC_MSG_CHECKING([LIBGCRYPT API version]) - if test "$req_libgcrypt_api" -eq "$tmp" ; then - AC_MSG_RESULT([okay]) - else - ok=no - AC_MSG_RESULT([does not match. want=$req_libgcrypt_api got=$tmp]) - fi - fi - fi - fi - if test $ok = yes; then - LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` - LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs` - ifelse([$2], , :, [$2]) - if test x"$host" != x ; then - libgcrypt_config_host=`$LIBGCRYPT_CONFIG --host 2>/dev/null || echo none` - if test x"$libgcrypt_config_host" != xnone ; then - if test x"$libgcrypt_config_host" != x"$host" ; then - AC_MSG_WARN([[ -*** -*** The config script $LIBGCRYPT_CONFIG was -*** built for $libgcrypt_config_host and thus may not match the -*** used host $host. -*** You may want to use the configure option --with-libgcrypt-prefix -*** to specify a matching config script. -***]]) - fi - fi - fi - else - LIBGCRYPT_CFLAGS="" - LIBGCRYPT_LIBS="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(LIBGCRYPT_CFLAGS) - AC_SUBST(LIBGCRYPT_LIBS) -]) diff --git a/localfs.service b/localfs.service deleted file mode 100644 index da3face..0000000 --- a/localfs.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Shadow /etc/init.d/boot.localfs -DefaultDependencies=no -After=local-fs.target - -[Service] -RemainAfterExit=true -ExecStart=/bin/true diff --git a/macros.systemd.upstream b/macros.systemd.upstream deleted file mode 100644 index 323d1d4..0000000 --- a/macros.systemd.upstream +++ /dev/null @@ -1,78 +0,0 @@ -# -*- Mode: makefile; indent-tabs-mode: t -*- */ -# -# This file is part of systemd. -# -# Copyright 2012 Lennart Poettering -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU Lesser General Public License as published by -# the Free Software Foundation; either version 2.1 of the License, or -# (at your option) any later version. -# -# systemd is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -# Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public License -# along with systemd; If not, see . - -# RPM macros for packages installing systemd unit files - -%_unitdir @systemunitdir@ -%_userunitdir @userunitdir@ -%_presetdir @systempresetdir@ -%_udevhwdbdir @udevhwdbdir@ -%_udevrulesdir @udevrulesdir@ -%_journalcatalogdir @catalogdir@ -%_tmpfilesdir @tmpfilesdir@ -%_sysctldir @sysctldir@ - -%systemd_requires \ -Requires(post): systemd \ -Requires(preun): systemd \ -Requires(postun): systemd \ -%{nil} - -%systemd_post() \ -if [ $1 -eq 1 ] ; then \ - # Initial installation \ - @rootbindir@/systemctl preset %{?*} >/dev/null 2>&1 || : \ -fi \ -%{nil} - -%systemd_preun() \ -if [ $1 -eq 0 ] ; then \ - # Package removal, not upgrade \ - @rootbindir@/systemctl --no-reload disable %{?*} > /dev/null 2>&1 || : \ - @rootbindir@/systemctl stop %{?*} > /dev/null 2>&1 || : \ -fi \ -%{nil} - -%systemd_postun() \ -@rootbindir@/systemctl daemon-reload >/dev/null 2>&1 || : \ -%{nil} - -%systemd_postun_with_restart() \ -@rootbindir@/systemctl daemon-reload >/dev/null 2>&1 || : \ -if [ $1 -ge 1 ] ; then \ - # Package upgrade, not uninstall \ - @rootbindir@/systemctl try-restart %{?*} >/dev/null 2>&1 || : \ -fi \ -%{nil} - -%udev_hwdb_update() \ -@rootbindir@/udevadm hwdb --update >/dev/null 2>&1 || : \ -%{nil} - -%udev_rules_update() \ -@rootbindir@/udevadm control --reload >/dev/null 2>&1 || : \ -%{nil} - -%journal_catalog_update() \ -@rootbindir@/journalctl --update-catalog >/dev/null 2>&1 || : \ -%{nil} - -%tmpfiles_create() \ -@rootbindir@/systemd-tmpfiles --create %{?*} >/dev/null 2>&1 || : \ -%{nil} diff --git a/make-emergency.service-conflict-with-syslog.socket.patch b/make-emergency.service-conflict-with-syslog.socket.patch deleted file mode 100644 index 63e513c..0000000 --- a/make-emergency.service-conflict-with-syslog.socket.patch +++ /dev/null @@ -1,22 +0,0 @@ -If after emergency service had been started there is incoming -traffic on syslog.socket emergency.service gets killed due to -implicit dependencies on basic.target => sysinit.target which in -turn conflict with emergency.target. - -As a workaround explicitly stop syslog.socket when entering -emergency.service. - -Reference: bnc#852232 -Index: systemd-208/units/emergency.service.in -=================================================================== ---- systemd-208/units/emergency.service.in -+++ systemd-208/units/emergency.service.in -@@ -9,7 +9,7 @@ - Description=Emergency Shell - Documentation=man:sulogin(8) - DefaultDependencies=no --Conflicts=shutdown.target -+Conflicts=shutdown.target syslog.socket - Before=shutdown.target - - [Service] diff --git a/module-load-handle-SUSE-etc-sysconfig-kernel-module-list.patch b/module-load-handle-SUSE-etc-sysconfig-kernel-module-list.patch deleted file mode 100644 index 4037a74..0000000 --- a/module-load-handle-SUSE-etc-sysconfig-kernel-module-list.patch +++ /dev/null @@ -1,62 +0,0 @@ -From: Frederic Crozat -Date: Wed, 12 Oct 2011 15:18:29 +0200 -Subject: module-load: handle SUSE /etc/sysconfig/kernel module list - ---- - src/modules-load/modules-load.c | 27 ++++++++++++++++++++++++++- - units/systemd-modules-load.service.in | 1 + - 2 files changed, 27 insertions(+), 1 deletion(-) - ---- systemd-206_git201308300826.orig/src/modules-load/modules-load.c -+++ systemd-206_git201308300826/src/modules-load/modules-load.c -@@ -262,6 +262,9 @@ static int parse_argv(int argc, char *ar - int main(int argc, char *argv[]) { - int r, k; - struct kmod_ctx *ctx; -+#ifdef HAVE_SYSV_COMPAT -+ _cleanup_free_ char *modules_on_boot = NULL; -+#endif - - r = parse_argv(argc, argv); - if (r <= 0) -@@ -318,7 +321,29 @@ int main(int argc, char *argv[]) { - r = k; - } - } -- -+#ifdef HAVE_SYSV_COMPAT -+ log_debug("apply: /etc/sysconfig/kernel MODULES_LOADED_ON_BOOT"); -+ if ((r = parse_env_file("/etc/sysconfig/kernel", NEWLINE, -+ "MODULES_LOADED_ON_BOOT", &modules_on_boot, -+ NULL)) < 0) { -+ if (r != -ENOENT) -+ log_warning("Failed to read /etc/sysconfig/kernel: %s", strerror(-r)); -+ } else -+ r = EXIT_SUCCESS; -+ if (modules_on_boot) { -+ char **modules = strv_split(modules_on_boot,WHITESPACE); -+ char **module; -+ -+ if (modules) { -+ STRV_FOREACH(module, modules) { -+ k = load_module(ctx, *module); -+ if (k < 0) -+ r = EXIT_FAILURE; -+ } -+ } -+ strv_free(modules); -+ } -+#endif - finish: - kmod_unref(ctx); - strv_free(arg_proc_cmdline_modules); ---- systemd-206_git201308300826.orig/units/systemd-modules-load.service.in -+++ systemd-206_git201308300826/units/systemd-modules-load.service.in -@@ -13,6 +13,7 @@ Conflicts=shutdown.target - After=systemd-readahead-collect.service systemd-readahead-replay.service - Before=sysinit.target shutdown.target - ConditionCapability=CAP_SYS_MODULE -+ConditionPathExists=|/etc/sysconfig/kernel - ConditionDirectoryNotEmpty=|/lib/modules-load.d - ConditionDirectoryNotEmpty=|/usr/lib/modules-load.d - ConditionDirectoryNotEmpty=|/usr/local/lib/modules-load.d diff --git a/nss-myhostname-config b/nss-myhostname-config deleted file mode 100644 index 110db7a..0000000 --- a/nss-myhostname-config +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/bash -# sed calls copied from fedora package -set -e - -case "$1" in - --help) - echo "$0 [--enable|--disable]" - exit 0 - ;; - --enable) - sed -i.bak -e ' - /^hosts:/ !b - /\/ b - s/[[:blank:]]*$/ myhostname/ - ' /etc/nsswitch.conf - ;; - --disable) - sed -i.bak -e ' - /^hosts:/ !b - s/[[:blank:]]\+myhostname\>// - ' /etc/nsswitch.conf - ;; - "") - if grep -q "^hosts:.*\" /etc/nsswitch.conf; then - echo "enabled" - else - echo "disabled" - fi - ;; - *) echo "invalid argument $1"; exit 1 ;; -esac diff --git a/optionally-warn-if-nss-myhostname-is-called.patch b/optionally-warn-if-nss-myhostname-is-called.patch deleted file mode 100644 index 5b296a1..0000000 --- a/optionally-warn-if-nss-myhostname-is-called.patch +++ /dev/null @@ -1,102 +0,0 @@ -From: Ludwig Nussel -Date: Fri, 20 May 2011 15:38:46 +0200 -Subject: optionally warn if nss-myhostname is called - ---- - configure.ac | 11 +++++++++++ - src/nss-myhostname/nss-myhostname.c | 32 ++++++++++++++++++++++++++++++++ - 2 files changed, 43 insertions(+) - ---- systemd-206_git201308300826.orig/configure.ac -+++ systemd-206_git201308300826/configure.ac -@@ -817,6 +817,17 @@ if test "x$enable_myhostname" != "xno"; - fi - AM_CONDITIONAL(HAVE_MYHOSTNAME, [test "$have_myhostname" = "yes"]) - -+if test "x$have_myhostname" != "xno"; then -+ AC_MSG_CHECKING([log warning messages for nss-myhostname]) -+ AC_ARG_WITH(nss-my-hostname-warning, AS_HELP_STRING([--with-nss-my-hostname-warning], [log warning to syslog when nss-myhostname is called (default=no)]),[],[with_nss_my_hostname_warning=no]) -+ AC_MSG_RESULT([$with_nss_my_hostname_warning]) -+ -+ if test x$with_nss_my_hostname_warning != xno; then -+ AC_CHECK_HEADERS([syslog.h]) -+ AC_DEFINE([LOG_NSS_MY_HOSTNAME_WARNING],[1],[whether to log warning message for nss-myhostname]) -+ fi -+fi -+ - # ------------------------------------------------------------------------------ - AC_ARG_WITH(firmware-path, - AS_HELP_STRING([--with-firmware-path=DIR[[[:DIR[...]]]]], ---- systemd-206_git201308300826.orig/src/nss-myhostname/nss-myhostname.c -+++ systemd-206_git201308300826/src/nss-myhostname/nss-myhostname.c -@@ -29,6 +29,9 @@ - #include - #include - #include -+#ifdef LOG_NSS_MY_HOSTNAME_WARNING -+#include -+#endif - - #include "ifconf.h" - #include "macro.h" -@@ -47,6 +50,10 @@ - #define LOCALADDRESS_IPV6 &in6addr_loopback - #define LOOPBACK_INTERFACE "lo" - -+#ifdef LOG_NSS_MY_HOSTNAME_WARNING -+static void warn(const char* hn); -+#endif -+ - enum nss_status _nss_myhostname_gethostbyname4_r( - const char *name, - struct gaih_addrtuple **pat, -@@ -129,6 +136,9 @@ enum nss_status _nss_myhostname_gethostb - return NSS_STATUS_NOTFOUND; - } - -+#ifdef LOG_NSS_MY_HOSTNAME_WARNING -+ warn(hn); -+#endif - /* If this fails, n_addresses is 0. Which is fine */ - ifconf_acquire_addresses(&addresses, &n_addresses); - -@@ -382,6 +392,9 @@ enum nss_status _nss_myhostname_gethostb - local_address_ipv4 = LOCALADDRESS_IPV4; - } - -+#ifdef LOG_NSS_MY_HOSTNAME_WARNING -+ warn(hn); -+#endif - return fill_in_hostent( - canonical, additional, - af, -@@ -509,6 +522,9 @@ found: - canonical = hn; - } - -+#ifdef LOG_NSS_MY_HOSTNAME_WARNING -+ warn(hn); -+#endif - return fill_in_hostent( - canonical, additional, - af, -@@ -537,3 +553,19 @@ enum nss_status _nss_myhostname_gethostb - errnop, h_errnop, - NULL); - } -+ -+#ifdef LOG_NSS_MY_HOSTNAME_WARNING -+static void warn(const char* hn) { -+ if (strstr(program_invocation_short_name, "nscd")) { -+ syslog(LOG_WARNING, -+ "Some application tried to resolve hostname \"%s\" which is not in DNS. Stop nscd to find out which one.\n", -+ hn); -+ } else { -+ syslog(LOG_WARNING, -+ "%s(%u) tried to resolve hostname \"%s\" which is not in DNS. This might be the reason for the delays you experience.\n", -+ program_invocation_short_name, -+ getpid(), -+ hn); -+ } -+} -+#endif diff --git a/plymouth-quit-and-wait-for-emergency-service.patch b/plymouth-quit-and-wait-for-emergency-service.patch deleted file mode 100644 index 560f9f3..0000000 --- a/plymouth-quit-and-wait-for-emergency-service.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- systemd-208/units/console-shell.service.m4.in -+++ systemd-208/units/console-shell.service.m4.in 2014-02-05 11:28:31.446735287 +0000 -@@ -17,6 +17,8 @@ Before=getty.target - [Service] - Environment=HOME=/root - WorkingDirectory=/root -+ExecStartPre=-/usr/bin/plymouth quit -+ExecStartPre=-/usr/bin/plymouth --wait - ExecStart=-/usr/sbin/sulogin - ExecStopPost=-@SYSTEMCTL@ poweroff - Type=idle ---- systemd-208/units/rescue.service.m4.in -+++ systemd-208/units/rescue.service.m4.in 2014-02-05 11:28:45.214235524 +0000 -@@ -16,7 +16,8 @@ Before=shutdown.target - [Service] - Environment=HOME=/root - WorkingDirectory=/root --ExecStartPre=-/bin/plymouth quit -+ExecStartPre=-/usr/bin/plymouth quit -+ExecStartPre=-/usr/bin/plymouth --wait - ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot.' - ExecStart=-/usr/sbin/sulogin - ExecStopPost=-@SYSTEMCTL@ --fail --no-block default ---- systemd-208/units/emergency.service.in -+++ systemd-208/units/emergency.service.in 2014-02-05 11:28:51.782235282 +0000 -@@ -15,7 +15,8 @@ Before=shutdown.target - [Service] - Environment=HOME=/root - WorkingDirectory=/root --ExecStartPre=-/bin/plymouth quit -+ExecStartPre=-/usr/bin/plymouth quit -+ExecStartPre=-/usr/bin/plymouth --wait - ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again\\nto boot into default mode.' - ExecStart=-/usr/sbin/sulogin - ExecStopPost=@SYSTEMCTL@ --fail --no-block default diff --git a/pre_checkin.sh b/pre_checkin.sh deleted file mode 100644 index 1870630..0000000 --- a/pre_checkin.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -# This script is based on libcdio_spec-prepare.sh (thanks to sbrabec@suse.cz) -# create a -mini spec for systemd for bootstrapping - -ORIG_SPEC=systemd -EDIT_WARNING="##### WARNING: please do not edit this auto generated spec file. Use the ${ORIG_SPEC}.spec! #####\n" -sed "s/^%define bootstrap.*$/${EDIT_WARNING}%define bootstrap 1/; - s/^%define udevpkgname.*$/${EDIT_WARNING}%define udevpkgname udev-mini/; - s/^\(Name:.*\)$/\1-mini/; - s/^BuildRoot.*/&\n\nProvides: %{real} = %{version}-%{release}\n/ - " < ${ORIG_SPEC}.spec > ${ORIG_SPEC}-mini.spec -cp ${ORIG_SPEC}.changes ${ORIG_SPEC}-mini.changes -cp ${ORIG_SPEC}-rpmlintrc ${ORIG_SPEC}-mini-rpmlintrc - -osc service localrun format_spec_file diff --git a/remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch b/remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch deleted file mode 100644 index f1e0dfc..0000000 --- a/remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch +++ /dev/null @@ -1,91 +0,0 @@ -From: Frederic Crozat -Date: Wed, 7 Dec 2011 15:15:07 +0000 -Subject: remain_after_exit initscript heuristic and add new LSB headers - -Add remain_after_exit heuristic for initscripts and add LSB headers -PIDFile: and X-Systemd-RemainAfterExit to control it. - -(bnc#721426) (bnc#727771) ---- - src/core/service.c | 34 ++++++++++++++++++++++++++++++++-- - src/core/service.h | 1 + - 2 files changed, 33 insertions(+), 2 deletions(-) - -Index: systemd-208/src/core/service.c -=================================================================== ---- systemd-208.orig/src/core/service.c -+++ systemd-208/src/core/service.c -@@ -135,6 +135,7 @@ static void service_init(Unit *u) { - #ifdef HAVE_SYSV_COMPAT - s->sysv_start_priority = -1; - s->sysv_start_priority_from_rcnd = -1; -+ s->sysv_remain_after_exit_heuristic = true; - #endif - s->socket_fd = -1; - s->guess_main_pid = true; -@@ -883,6 +884,34 @@ static int service_load_sysv_path(Servic - free(short_description); - short_description = d; - -+ } else if (startswith_no_case(t, "PIDFile:")) { -+ char *fn; -+ -+ state = LSB; -+ -+ fn = strstrip(t+8); -+ if (!path_is_absolute(fn)) { -+ log_warning("[%s:%u] PID file not absolute. Ignoring.", path, line); -+ continue; -+ } -+ -+ if (!(fn = strdup(fn))) { -+ r = -ENOMEM; -+ goto finish; -+ } -+ -+ free(s->pid_file); -+ s->pid_file = fn; -+ s->sysv_remain_after_exit_heuristic = false; -+ s->remain_after_exit = false; -+ } else if (startswith_no_case(t, "X-Systemd-RemainAfterExit:")) { -+ char *j; -+ -+ state = LSB; -+ if ((j = strstrip(t+26)) && *j) { -+ s->remain_after_exit = parse_boolean(j); -+ s->sysv_remain_after_exit_heuristic = false; -+ } - } else if (state == LSB_DESCRIPTION) { - - if (startswith(l, "#\t") || startswith(l, "# ")) { -@@ -933,7 +962,8 @@ static int service_load_sysv_path(Servic - - /* Special setting for all SysV services */ - s->type = SERVICE_FORKING; -- s->remain_after_exit = !s->pid_file; -+ if (s->sysv_remain_after_exit_heuristic) -+ s->remain_after_exit = !s->pid_file; - s->guess_main_pid = false; - s->restart = SERVICE_RESTART_NO; - s->exec_context.ignore_sigpipe = false; -@@ -2080,7 +2110,7 @@ static void service_enter_running(Servic - if ((main_pid_ok > 0 || (main_pid_ok < 0 && cgroup_ok != 0)) && - (s->bus_name_good || s->type != SERVICE_DBUS)) { - #ifdef HAVE_SYSV_COMPAT -- if (s->sysv_enabled && !s->pid_file) -+ if (s->sysv_enabled && !s->pid_file && s->sysv_remain_after_exit_heuristic) - s->remain_after_exit = false; - #endif - service_set_state(s, SERVICE_RUNNING); -Index: systemd-208/src/core/service.h -=================================================================== ---- systemd-208.orig/src/core/service.h -+++ systemd-208/src/core/service.h -@@ -178,6 +178,7 @@ struct Service { - bool is_sysv:1; - bool sysv_has_lsb:1; - bool sysv_enabled:1; -+ bool sysv_remain_after_exit_heuristic:1; - int sysv_start_priority_from_rcnd; - int sysv_start_priority; - diff --git a/restore-var-run-and-var-lock-bind-mount-if-they-aren-t-sym.patch b/restore-var-run-and-var-lock-bind-mount-if-they-aren-t-sym.patch deleted file mode 100644 index 422f23c..0000000 --- a/restore-var-run-and-var-lock-bind-mount-if-they-aren-t-sym.patch +++ /dev/null @@ -1,81 +0,0 @@ -From: Frederic Crozat -Date: Mon, 29 Oct 2012 13:01:20 +0000 -Subject: restore /var/run and /var/lock bind mount if they aren't symlink - ---- - Makefile.am | 9 +++++++++ - units/var-lock.mount | 19 +++++++++++++++++++ - units/var-run.mount | 19 +++++++++++++++++++ - 3 files changed, 47 insertions(+) - create mode 100644 units/var-lock.mount - create mode 100644 units/var-run.mount - ---- systemd-206_git201308300826.orig/Makefile.am -+++ systemd-206_git201308300826/Makefile.am -@@ -419,6 +419,12 @@ dist_systemunit_DATA = \ - units/system-update.target \ - units/initrd-switch-root.target - -+if HAVE_SYSV_COMPAT -+dist_systemunit_DATA += \ -+ units/var-run.mount \ -+ units/var-lock.mount -+endif -+ - nodist_systemunit_DATA = \ - units/getty@.service \ - units/serial-getty@.service \ -@@ -4379,6 +4385,9 @@ RUNLEVEL4_TARGET_WANTS += \ - systemd-update-utmp-runlevel.service - RUNLEVEL5_TARGET_WANTS += \ - systemd-update-utmp-runlevel.service -+LOCAL_FS_TARGET_WANTS += \ -+ var-run.mount \ -+ var-lock.mount - endif - SYSINIT_TARGET_WANTS += \ - systemd-update-utmp.service ---- /dev/null -+++ systemd-206_git201308300826/units/var-lock.mount -@@ -0,0 +1,19 @@ -+# This file is part of systemd. -+# -+# systemd is free software; you can redistribute it and/or modify it -+# under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 2 of the License, or -+# (at your option) any later version. -+ -+[Unit] -+Description=Lock Directory -+Before=local-fs.target -+# skip mounting if the directory does not exist or is a symlink -+ConditionPathIsDirectory=/var/lock -+ConditionPathIsSymbolicLink=!/var/lock -+ -+[Mount] -+What=/run/lock -+Where=/var/lock -+Type=bind -+Options=bind ---- /dev/null -+++ systemd-206_git201308300826/units/var-run.mount -@@ -0,0 +1,19 @@ -+# This file is part of systemd. -+# -+# systemd is free software; you can redistribute it and/or modify it -+# under the terms of the GNU General Public License as published by -+# the Free Software Foundation; either version 2 of the License, or -+# (at your option) any later version. -+ -+[Unit] -+Description=Runtime Directory -+Before=local-fs.target -+# skip mounting if the directory does not exist or is a symlink -+ConditionPathIsDirectory=/var/run -+ConditionPathIsSymbolicLink=!/var/run -+ -+[Mount] -+What=/run -+Where=/var/run -+Type=bind -+Options=bind diff --git a/rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch b/rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch deleted file mode 100644 index 52fe82e..0000000 --- a/rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch +++ /dev/null @@ -1,20 +0,0 @@ -From: Robert Schweikert -Date: Fri, 12 Apr 2013 12:08:16 -0400 -Subject: rules: add lid switch of ARM based Chromebook as a power switch to - logind - ---- - src/login/70-power-switch.rules | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/login/70-power-switch.rules b/src/login/70-power-switch.rules -index 36fb827..d925ab7 100644 ---- a/src/login/70-power-switch.rules -+++ b/src/login/70-power-switch.rules -@@ -9,5 +9,6 @@ ACTION=="remove", GOTO="power_switch_end" - - SUBSYSTEM=="input", KERNEL=="event*", SUBSYSTEMS=="acpi", TAG+="power-switch" - SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="thinkpad_acpi", TAG+="power-switch" -+SUBSYSTEM=="input", KERNEL=="event*", KERNELS=="gpio-keys.8", TAG+="power-switch" - - LABEL="power_switch_end" diff --git a/service-flags-sysv-service-with-detected-pid-as-RemainAfte.patch b/service-flags-sysv-service-with-detected-pid-as-RemainAfte.patch deleted file mode 100644 index d0e907b..0000000 --- a/service-flags-sysv-service-with-detected-pid-as-RemainAfte.patch +++ /dev/null @@ -1,31 +0,0 @@ -From: Frederic Crozat -Date: Fri, 30 Sep 2011 12:58:17 +0200 -Subject: service: flags sysv service with detected pid as - RemainAfterExit=false - -LSB header doesn't give pidfile, so all LSB initscripts have -RemainAfterExit=false, causing daemon termination to not be reported as -such by systemd. Checking at startup if daemon is still running for -sysv initscript to disable RemainAfterExit helps a lot. -Fixes https://bugzilla.novell.com/show_bug.cgi?id=721426 ---- - src/core/service.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - ---- systemd-206_git201308300826.orig/src/core/service.c -+++ systemd-206_git201308300826/src/core/service.c -@@ -2100,8 +2100,13 @@ static void service_enter_running(Servic - cgroup_ok = cgroup_good(s); - - if ((main_pid_ok > 0 || (main_pid_ok < 0 && cgroup_ok != 0)) && -- (s->bus_name_good || s->type != SERVICE_DBUS)) -+ (s->bus_name_good || s->type != SERVICE_DBUS)) { -+#ifdef HAVE_SYSV_COMPAT -+ if (s->sysv_enabled && !s->pid_file) -+ s->remain_after_exit = false; -+#endif - service_set_state(s, SERVICE_RUNNING); -+ } - else if (s->remain_after_exit) - service_set_state(s, SERVICE_EXITED); - else diff --git a/sysctl-handle-boot-sysctl.conf-kernel_release.patch b/sysctl-handle-boot-sysctl.conf-kernel_release.patch deleted file mode 100644 index 9b3defb..0000000 --- a/sysctl-handle-boot-sysctl.conf-kernel_release.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 752a4370ecb5643a432ad73b1e22c80cd304948f Mon Sep 17 00:00:00 2001 -From: Frederic Crozat -Date: Fri, 17 May 2013 13:31:46 +0200 -Subject: [PATCH] sysctl: handle /boot/sysctl.conf- - -Add support for kernel release sysctl.conf files (for per-flavor -configuration), needed by openSUSE (bnc#809420). ---- - src/sysctl/sysctl.c | 8 ++++++++ - units/systemd-sysctl.service.in | 1 + - 2 files changed, 9 insertions(+) - -Index: systemd-207/src/sysctl/sysctl.c -=================================================================== ---- systemd-207.orig/src/sysctl/sysctl.c -+++ systemd-207/src/sysctl/sysctl.c -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - - #include "log.h" - #include "strv.h" -@@ -299,6 +300,13 @@ int main(int argc, char *argv[]) { - } else { - _cleanup_strv_free_ char **files = NULL; - char **f; -+ char kernel_sysctl[PATH_MAX]; -+ struct utsname uts; -+ -+ assert_se(uname(&uts) >= 0); -+ -+ snprintf(kernel_sysctl, sizeof(kernel_sysctl), "/boot/sysctl.conf-%s", uts.release); -+ r = parse_file(sysctl_options, kernel_sysctl, true); - - r = conf_files_list_nulstr(&files, ".conf", NULL, conf_file_dirs); - if (r < 0) { -Index: systemd-207/units/systemd-sysctl.service.in -=================================================================== ---- systemd-207.orig/units/systemd-sysctl.service.in -+++ systemd-207/units/systemd-sysctl.service.in -@@ -19,6 +19,8 @@ ConditionDirectoryNotEmpty=|/usr/lib/sys - ConditionDirectoryNotEmpty=|/usr/local/lib/sysctl.d - ConditionDirectoryNotEmpty=|/etc/sysctl.d - ConditionDirectoryNotEmpty=|/run/sysctl.d -+ConditionPathExistsGlob=|/boot/sysctl.conf-%v -+RequiresMountsFor=/boot - - [Service] - Type=oneshot diff --git a/systemd-208.tar.xz b/systemd-208.tar.xz deleted file mode 100644 index 12a73a8..0000000 --- a/systemd-208.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa64fa864466fd5727005c55d61c092828b94b4f857272c0b503695022146390 -size 2382904 diff --git a/systemd-dbus-system-bus-address.patch b/systemd-dbus-system-bus-address.patch deleted file mode 100644 index 3d252dc..0000000 --- a/systemd-dbus-system-bus-address.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- systemd-207.orig/src/core/dbus.c -+++ systemd-207/src/core/dbus.c -@@ -50,7 +50,7 @@ - #define CONNECTIONS_MAX 512 - - /* Well-known address (http://dbus.freedesktop.org/doc/dbus-specification.html#message-bus-types) */ --#define DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "unix:path=/var/run/dbus/system_bus_socket" -+#define DBUS_SYSTEM_BUS_DEFAULT_ADDRESS "unix:path=/run/dbus/system_bus_socket" - /* Only used as a fallback */ - #define DBUS_SESSION_BUS_DEFAULT_ADDRESS "autolaunch:" - diff --git a/systemd-journald.init b/systemd-journald.init deleted file mode 100644 index 0b8d508..0000000 --- a/systemd-journald.init +++ /dev/null @@ -1,33 +0,0 @@ -#! /bin/sh -# -# Copyright (c) 2001-2002 SuSE Linux AG, Nuernberg, Germany. -# All rights reserved. -# -# /etc/init.d/systemd-journald -# -### BEGIN INIT INFO -# Provides: syslog -# Required-Start: $null -# Required-Stop: $null -# Default-Start: 2 3 5 -# Default-Stop: -# Short-Description: compat wrapper for journald -# Description: compat wrapper for journald -### END INIT INFO - -. /etc/rc.status - -rc_reset - -case "$1" in - start|stop|restart) - rc_failed 3 - rc_status -v - ;; - *) - echo "Usage: $0 {start|stop|restart}" - exit 1 - ;; -esac - -rc_exit diff --git a/systemd-mini-rpmlintrc b/systemd-mini-rpmlintrc deleted file mode 100644 index 87518f9..0000000 --- a/systemd-mini-rpmlintrc +++ /dev/null @@ -1,20 +0,0 @@ -addFilter(".*dangling-symlink /sbin/(halt|init|poweroff|telinit|shutdown|runlevel|reboot).*") -addFilter(".*dangling-symlink .* /dev/null.*") -addFilter(".*files-duplicate .*/reboot.8.*") -addFilter(".*files-duplicate .*/sd_is_socket.3.*") -addFilter("non-conffile-in-etc /etc/bash_completion.d/systemd-bash-completion.sh") -addFilter("non-conffile-in-etc /etc/rpm/macros.systemd") -addFilter(".*dbus-policy-allow-receive") -addFilter(".*dangling-symlink /lib/udev/devices/std(in|out|err).*") -addFilter(".*dangling-symlink /lib/udev/devices/core.*") -addFilter(".*dangling-symlink /lib/udev/devices/fd.*") -addFilter(".*incoherent-init-script-name boot.udev.*") -addFilter(".init-script-without-%stop_on_removal-preun /etc/init.d/boot.udev") -addFilter(".init-script-without-%restart_on_update-postun /etc/init.d/boot.udev") -addFilter(".*devel-file-in-non-devel-package.*udev.pc.*") -addFilter(".*libgudev-.*shlib-fixed-dependency.*") -addFilter(".*suse-filelist-forbidden-systemd-userdirs.*") -addFilter("libudev-mini.*shlib-policy-name-error.*") -addFilter("nss-myhostname.*shlib-policy-name-error.*") -addFilter("systemd-logger.*useless-provides sysvinit(syslog).*") - diff --git a/systemd-mini.changes b/systemd-mini.changes deleted file mode 100644 index 30031a9..0000000 --- a/systemd-mini.changes +++ /dev/null @@ -1,3871 +0,0 @@ -------------------------------------------------------------------- -Wed Feb 5 11:19:28 UTC 2014 - werner@suse.de - -- Change and extend patch - 0001-On_s390_con3270_disable_ANSI_colour_esc.patch - to disable the workaround to find /dev/3270/tty1 as this now - should be done by a) the kernel patch - http://lkml.indiana.edu/hypermail/linux/kernel/1402.0/02319.html - and the changed udev rule 99-systemd.rules - -------------------------------------------------------------------- -Sun Feb 2 08:53:17 UTC 2014 - ohering@suse.com - -- Remove PreReq pidof from udev, nothing in this pkg uses it - -------------------------------------------------------------------- -Fri Jan 31 14:24:35 UTC 2014 - werner@suse.de - -- Change and extend patch - 0001-On_s390_con3270_disable_ANSI_colour_esc.patch - to re-enable colouring if 3270 console was enforced on the kernel - command line as 3270 cna handle colour ANSI escape sequences. - Also let the serial getty generator find the /dev/3270/tty1 - character device (bnc#861316) - -------------------------------------------------------------------- -Thu Jan 30 12:33:08 UTC 2014 - werner@suse.de - -- Add patch 0001-On_s390_con3270_disable_ANSI_colour_esc.patch - to strip the colouring ANSI escape sequences from the console - messages (bnc#860937) - -------------------------------------------------------------------- -Thu Jan 30 08:29:00 UTC 2014 - werner@suse.de - -- Change patch 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch - to skip already by the kernel managed devices - -------------------------------------------------------------------- -Wed Jan 29 18:03:39 UTC 2014 - arvidjaar@gmail.com - -- fix timeout stopping user@.service (bnc#841544) - * 0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch - * 0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch - * 0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch - -------------------------------------------------------------------- -Tue Jan 28 12:44:07 UTC 2014 - werner@suse.de - -- Add patch 0001-upstream-systemctl-halt-reboot-error-handling.patch - to be able to detect if the sysctl reboot() returns. -- Add patch 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch - A check for unmaintained disk like devices is added to be able to - flush and maybe shut them down. Also the missing sync() system - call is added for the direct halt/reboot systemctl command. Then - the system halt is used as fallback if poweroff fails for both - the direct poweroff systemctl command as well as for the - systemd-shutdown utility. - -------------------------------------------------------------------- -Thu Jan 23 13:24:53 UTC 2014 - werner@suse.de - -- Make systemd-mini build - -------------------------------------------------------------------- -Thu Jan 23 13:18:39 UTC 2014 - werner@suse.de - -- Make requires bash-completion a recommends - -------------------------------------------------------------------- -Tue Jan 21 13:05:59 UTC 2014 - werner@suse.de - -- Add patch 1017-skip-native-unit-handling-if-sysv-already-handled.patch - to avoid that enabled boot scripts will be handled as unit files - by systemctl status command (bnc#818044) - -------------------------------------------------------------------- -Tue Jan 21 12:51:20 UTC 2014 - werner@suse.de - -- Drop patch 1017-enforce-sufficient-shutdown-warnings.patch - as the original code behaves exactly as the shutdown code of - the old SysVinit (bnc#750845) -- Rename support-powerfail-with-powerstatus.patch to - 1016-support-powerfail-with-powerstatus.patch - -------------------------------------------------------------------- -Mon Jan 20 10:18:20 UTC 2014 - fcrozat@suse.com - -- Add analyze-fix-crash-in-command-line-parsing.patch: fix crash in - systemd-analyze (bnc#859365) - -------------------------------------------------------------------- -Fri Jan 17 16:09:24 UTC 2014 - werner@suse.de - -- Add patch - 1019-make-completion-smart-to-be-able-to-redirect.patch - to make redirections work with the bash command completions for - for systemd command tools (bnc#856858, bnc#859072) - -------------------------------------------------------------------- -Fri Jan 17 12:24:13 UTC 2014 - werner@suse.de - -- Add patch - 1018-Make-LSB-Skripts-know-about-Required-and-Should.patch - to support the "+" to tag wanted dependencies as well as make - sure that required dependencies are handles as required ones. - This should fix bnc#858864 and bnc#857204. - -------------------------------------------------------------------- -Thu Jan 16 16:08:00 UTC 2014 - lnussel@suse.de - -- apply preset also to service files that are new in upgrade - -------------------------------------------------------------------- -Wed Jan 15 14:11:02 UTC 2014 - werner@suse.de - -- Change support-powerfail-with-powerstatus.patch to use BindsTo - instead of BindTo - -------------------------------------------------------------------- -Wed Jan 15 12:34:53 UTC 2014 - werner@suse.de - -- Add patch 1017-enforce-sufficient-shutdown-warnings.patch - Warn once per hour in the last 3 hours, then all 30 minutes in last - hour, all 15 minutes in the last 45 minutes, all 10 minutes in the - last 15 minutes, and then all minute in the last 10 minutes (bnc#750845) - -------------------------------------------------------------------- -Tue Jan 14 18:28:09 UTC 2014 - werner@suse.de - -- Add patch support-powerfail-with-powerstatus.patch and source - file systemd-powerfail to implement SIGPWR support with evaluation - of the file /var/run/powerstatus (bnc#737690) - -------------------------------------------------------------------- -Fri Dec 20 12:06:18 UTC 2013 - werner@suse.de - -- Adapt patch - 1011-check-4-valid-kmsg-device.patch - to fit current upstream version maybe related to bnc#854884 -- Change patch - 1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch - to check if XDG_RUNTIME_DIR is set before the call of pam_putenv() - may fix bnc#855160 - -------------------------------------------------------------------- -Fri Dec 20 09:40:01 UTC 2013 - lbsousajr@gmail.com - -- Disable multi-seat-x build, since package xorg-x11-server - currently in Factory no longer needs it. - -------------------------------------------------------------------- -Wed Dec 18 18:56:01 UTC 2013 - hrvoje.senjan@gmail.com - -- Added 0001-logind-garbage-collect-stale-users.patch: Don't stop a - running user manager from garbage-collecting the user. Original - behavior caused bnc#849870 - -------------------------------------------------------------------- -Mon Dec 16 11:08:33 UTC 2013 - lbsousajr@gmail.com - -- Add build-sys-make-multi-seat-x-optional.patch - * See: http://cgit.freedesktop.org/systemd/systemd/commit/?id=bd441fa27a22b7c6e11d9330560e0622fb69f297 - * Now systemd-multi-seat-x build can be disabled with configure option - --disable-multi-seat-x. It should be done when xorg-x11-server - no longer needs it (work in progress). - -------------------------------------------------------------------- -Mon Dec 16 09:43:29 UTC 2013 - fcrozat@suse.com - -- Update insserv-generator.patch: fix crash in insserv generator - (bnc#854314). -- Update apply-ACL-for-nvidia-device-nodes.patch with latest fixes - for Nvidia cards (bnc#808319). - -------------------------------------------------------------------- -Fri Dec 6 13:30:19 UTC 2013 - werner@suse.de - -- Add patch - 1014-journald-with-journaling-FS.patch - which now uses the file system ioctls for switching off atime, - compression, and copy-on-write of the journal directory of the - the systemd-journald (bnc#838475) -- Let us build require the package config for libpcre (bnc#853293) - -------------------------------------------------------------------- -Sat Nov 30 08:16:02 UTC 2013 - arvidjaar@gmail.com - -- Add patch - 0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch - Make sure emergency shell is not killed by attempt to start another unit - (bnc#852021). Backported from d420282b28f50720e233ccb1c02547c562195653. -- Add patch - make-emergency.service-conflict-with-syslog.socket.patch - Previous patch did not fix problem if syslog connection request came - after emergency shell was already started. So forcibly stop syslog.socket - when starting emergency.service. (bnc#852232) - -------------------------------------------------------------------- -Thu Nov 28 10:25:58 UTC 2013 - lbsousajr@gmail.com - -- Add U_logind_revert_lazy_session_activation_on_non_vt_seats.patch - * See: http://cgit.freedesktop.org/systemd/systemd/commit/?id=3fdb2494c1e24c0a020f5b54022d2c751fd26f50 - -------------------------------------------------------------------- -Tue Nov 26 15:12:58 UTC 2013 - werner@suse.de - -- Add patch - 1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch - to avoid (xdg-)su to set XDG_RUNTIME_DIR to the original user and - avoid that e.g. pulseaudio will create /run/user//pulse owned - by root (bnc#852015) - -------------------------------------------------------------------- -Thu Nov 21 12:27:11 UTC 2013 - werner@suse.de - -- Add patch - 1011-check-4-valid-kmsg-device.patch - to avoid a busy systemd-journald (bnc#851393) - -------------------------------------------------------------------- -Wed Nov 6 09:42:05 UTC 2013 - werner@suse.de - -- Add patch - 1010-do-not-install-sulogin-unit-with-poweroff.patch - that is do not install console-shell.service in any system target - as this will cause automatic poweroff at boot (bnc#849071) - -------------------------------------------------------------------- -Mon Nov 4 15:23:02 UTC 2013 - werner@suse.de - -- Add upstream patch - 0001-analyze-set-text-on-side-with-most-space.patch - to place the text on the side with most space - -------------------------------------------------------------------- -Fri Oct 25 12:12:48 UTC 2013 - werner@suse.de - -- Add upstream patch - 0001-analyze-set-white-background.patch - to make SVG output of systemd analyze readable - -------------------------------------------------------------------- -Mon Oct 21 09:27:36 UTC 2013 - werner@suse.de - -- Add patch - 1009-make-xsltproc-use-correct-ROFF-links.patch - to have valid ROFF links in manual pages working again (bnc#842844) - -------------------------------------------------------------------- -Tue Oct 15 13:50:52 CEST 2013 - fcrozat@suse.com - -- Add - 0001-gpt-auto-generator-exit-immediately-if-in-container.patch: - don't start gpt auto-generator in container (git). -- Add - 0001-manager-when-verifying-whether-clients-may-change-en.patch: - fix reload check in selinux case (git). -- Add 0001-logind-fix-bus-introspection-data-for-TakeControl.patch: - fix introspection for TakeControl (git). -- Add 0001-mount-check-for-NULL-before-reading-pm-what.patch: fix - crash when parsing some incorrect unit (git). -- Add - 0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch: - Fix udev rules parsing (git). -- Add - 0001-systemd-serialize-deserialize-forbid_restart-value.patch: - Fix incorrect deserialization for forbid_restart (git). -- Add - 0001-core-unify-the-way-we-denote-serialization-attribute.patch: - Ensure forbid_restart is named like other attributes (git). -- Add 0001-journald-fix-minor-memory-leak.patch: fix memleak in - journald (git). -- Add - 0001-do-not-accept-garbage-from-acpi-firmware-performance.patch: - Improve ACPI firmware performance parsing (git). -- Add - 0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch: - Fix journal rotation (git). -- Add - 0001-login-fix-invalid-free-in-sd_session_get_vt.patch: - Fix memory corruption in sd_session_get_vt (git). -- Add 0001-login-make-sd_session_get_vt-actually-work.patch: Ensure - sd_session_get_vt returns correct value (git). -- Add 0001-Never-call-qsort-on-potentially-NULL-arrays.patch: Don't - call qsort on NULL arrays (git). -- Add 0001-dbus-common-avoid-leak-in-error-path.patch: Fix memleak - in dbus-common code (git). -- Add 0001-drop-ins-check-return-value.patch: Fix return value for - drop-ins checks (git). -- Add 0001-shared-util-Fix-glob_extend-argument.patch: Fix - glob_extend argument (git). -- Add 0001-Fix-bad-assert-in-show_pid_array.patch: Fix bad assert - in show_pid_array (git). - - -------------------------------------------------------------------- -Thu Oct 3 08:43:51 UTC 2013 - fcrozat@suse.com - -- Add 0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch: - fix acpi memleak. -- Add - 0002-fix-lingering-references-to-var-lib-backlight-random.patch: - fix invalid path in documentation. -- Add - 0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch: - fix invalid memory free. -- Add 0004-systemctl-fix-name-mangling-for-sysv-units.patch: fix - name mangling for sysv units. -- Add - 0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch: - fix OOM handling. -- Add 0006-journald-add-missing-error-check.patch: add missing - error check. -- Add 0007-bus-fix-potentially-uninitialized-memory-access.patch: - fix uninitialized memory access. -- Add 0008-dbus-fix-return-value-of-dispatch_rqueue.patch: fix - return value. -- Add 0009-modules-load-fix-error-handling.patch: fix error - handling. -- Add 0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch: - fix incorrect memory access. -- Add 0011-strv-don-t-access-potentially-NULL-string-arrays.patch: - fix incorrect memory access. -- Add - 0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch: - fix invalid pointer. -- Add - 0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch: - fix permission on /run/log/journal. -- Add - 0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch: - order remote mount points properly before remote-fs.target. - -------------------------------------------------------------------- -Wed Oct 2 14:10:41 UTC 2013 - hrvoje.senjan@gmail.com - -- Explicitly require pam-config for %post of the main package - -------------------------------------------------------------------- -Wed Oct 2 08:03:30 UTC 2013 - fcrozat@suse.com - -- Release v208: - + logind gained support for facilitating privileged input and drm - devices access for unprivileged clients (helps Wayland / - kmscon). - + New kernel command line luks.options= allows to specify LUKS - options, when used with luks.uuid= - + tmpfileS.d snippets can uses specifier expansion in path names - (%m, %b, %H, %v). - + New tmpfiles.d command "m" introduced to change - owner/group/access mode of a file/directory only if it exists. - + MemorySoftLimit= cgroup settings is no longer supported - (underlying kernel cgroup attribute will disappear in the - future). - + memeory.use_hierarchy cgroup attribute is enabled for all - cgroups systemd creates in memory cgroup hierarchy. - + New filed _SYSTEMD_SLICE= is logged in journal messages related - to a slice. - + systemd-journald will no longer adjust the group of journal - files it creates to "systemd-journal" group. Permissions and - owernship is adjusted when package is upgraded. - + Backlight and random seed files are now stored in - /var/lib/systemd. - + Boot time performance measurements included ACPI 5.0 FPDT - informations if available. -- Drop merged patches: - 0001-cgroup-add-the-missing-setting-of-variable-s-value.patch, - 0002-cgroup-correct-the-log-information.patch, - 0003-cgroup-fix-incorrectly-setting-memory-cgroup.patch, - 0004-random-seed-we-should-return-errno-of-failed-loop_wr.patch, - 0005-core-cgroup-first-print-then-free.patch, - 0006-swap-fix-reverse-dependencies.patch, - 0008-swap-create-.wants-symlink-to-auto-swap-devices.patch, - 0009-polkit-Avoid-race-condition-in-scraping-proc.patch, - Fix-timeout-when-stopping-Type-notify-service.patch, - set-ignoreonisolate-noauto-cryptsetup.patch, - 0001-Fix-buffer-overrun-when-enumerating-files.patch, - 0007-libudev-fix-move_later-comparison.patch. -- Refresh patches - remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch, - delay-fsck-cryptsetup-after-md-dmraid-lvm-are-started.patch, - handle-root_uses_lang-value-in-etc-sysconfig-language.patch, - handle-SYSTEMCTL_OPTIONS-environment-variable.patch, - Revert-service-drop-support-for-SysV-scripts-for-the-early.patch. -- Own more ghost files. -- Do not run pam-config in systemd-mini %post. -- Add after-local.service to run after.local late during the boot - process (bnc#778715). - -------------------------------------------------------------------- -Tue Oct 1 17:09:01 UTC 2013 - fcrozat@suse.com - -- Update Fix-timeout-when-stopping-Type-notify-service.patch with - upstream fix. -- No longer start ask-password-wall, was causing too much spam on - terminals (bnc#747783). - -------------------------------------------------------------------- -Mon Sep 30 15:42:45 UTC 2013 - fcrozat@suse.com - -- Add set-ignoreonisolate-noauto-cryptsetup.patch: ensure noauto - encrypted mounts survives runlevel changes (bnc#843085). -- Add 0001-Fix-buffer-overrun-when-enumerating-files.patch: fix - logind crash when /run/systemd/sessions was too big (bnc#840055, - initial fix from hpj@suse.com). -- Update sysctl-handle-boot-sysctl.conf-kernel_release.patch to - only check for /boot/sysctl.conf- presence. -- Add service wrapper for after.local (bnc#778715). - -------------------------------------------------------------------- -Fri Sep 27 15:47:15 UTC 2013 - fcrozat@suse.com - -- Update use-usr-sbin-sulogin-for-emergency-service.patch to apply - to all services using sulogin and remove generated files from - upstream tarball (bnc#841398). - -------------------------------------------------------------------- -Mon Sep 23 13:09:06 UTC 2013 - arvidjaar@gmail.com - -- Fix-timeout-when-stopping-Type-notify-service.patch - Make sure MAINPID is watched when it becomes known (bnc#841544) - -------------------------------------------------------------------- -Mon Sep 23 13:11:08 CEST 2013 - fcrozat@suse.com - -- Remove output and error redirection to /dev/null in install - script, it might help tracing pam related issue (bnc#841573). - -------------------------------------------------------------------- -Thu Sep 19 16:37:03 CEST 2013 - fcrozat@suse.com - -- Move symlink migration trigger to post (bnc#821800). - -------------------------------------------------------------------- -Wed Sep 18 23:55:09 UTC 2013 - crrodriguez@opensuse.org - -- 0009-polkit-Avoid-race-condition-in-scraping-proc.patch - VUL-0: polkit: process subject race condition [bnc#835827] - CVE-2013-4288 - -------------------------------------------------------------------- -Wed Sep 18 23:45:54 UTC 2013 - crrodriguez@opensuse.org - -- Build with --disable-ima as the openSUSE kernel - does not support IMA (CONFIG_IMA is not set) - -------------------------------------------------------------------- -Wed Sep 18 23:40:27 UTC 2013 - crrodriguez@opensuse.org - -- Build with --disable-smack as the openSUSE kernel - does not support smack (CONFIG_SECURITY_SMACK is not set) - -------------------------------------------------------------------- -Wed Sep 18 12:05:47 UTC 2013 - fcrozat@suse.com - -- Don't use a trigger to create symlink for sysctl.conf, always run - the test on %post (bnc#840864). -- Update sysctl-handle-boot-sysctl.conf-kernel_release.patch to - ensure /boot is mounted before reading /boot/sysctl.conf-* - (bnc#809420). - -------------------------------------------------------------------- -Mon Sep 16 17:41:24 UTC 2013 - crrodriguez@opensuse.org - -- 0008-swap-create-.wants-symlink-to-auto-swap-devices.patch - really fixes the swap unit problem mentioned in previous - commit & the opensuse-factory mailing list. - -------------------------------------------------------------------- -Sat Sep 14 19:01:24 UTC 2013 - crrodriguez@opensuse.org - -- 0001-cgroup-add-the-missing-setting-of-variable-s-value.patch - missing important check on return value. -- 0002-cgroup-correct-the-log-information.patch fix misleading - log information. -- 0003-cgroup-fix-incorrectly-setting-memory-cgroup.patch fix - setting memory cgroup -- 0004-random-seed-we-should-return-errno-of-failed-loop_wr.patch - should fail if write fails. -- 0005-core-cgroup-first-print-then-free.patch use-after-free - will trigger if there is an error condition. -- 0006-swap-fix-reverse-dependencies.patch reported in - opensuse-factory list, topic "swap isn't activated" -- 0007-libudev-fix-move_later-comparison.patch libudev - invalid usage of "move_later". - -------------------------------------------------------------------- -Sat Sep 14 06:52:32 UTC 2013 - crrodriguez@opensuse.org - -- while testing this new release I get in the logs ocassionally - at boot "systemd[1]: Failed to open private bus connection: - Failed to connect to socket /var/run/dbus/system_bus_socket: - No such file or directory" indeed DBUS_SYSTEM_BUS_DEFAULT_ADDRESS - is defined to /var/run/dbus/system_bus_socket instead of - /run/dbus/system_bus_socket and that does not fly when /var/run - is not yet available. (systemd-dbus-system-bus-address.patch) - -------------------------------------------------------------------- -Fri Sep 13 07:47:40 UTC 2013 - fcrozat@suse.com - -- Enable Predictable Network interface names (bnc#829526). - -------------------------------------------------------------------- -Fri Sep 13 03:14:36 UTC 2013 - crrodriguez@opensuse.org - -- version 207, distribution specific changes follow, for overall - release notes see NEWS. -- Fixed: - * Failed at step PAM spawning /usr/lib/systemd/systemd: - Operation not permitted - * Fix shutdown hang "a stop job is running for Session 1 of user root" - that was reported in opensuse-factory list. -- systemd-sysctl no longer reads /etc/sysctl.conf however backward - compatbility is to be provides by a symlink created at %post. -- removed previously disabled upstream patches (merged): - 0002-core-mount.c-mount_dump-don-t-segfault-if-mount-is-n.patch, - 0004-disable-the-cgroups-release-agent-when-shutting-down.patch, - 0005-cgroups-agent-remove-ancient-fallback-code-turn-conn.patch, - 0006-suppress-status-message-output-at-shutdown-when-quie.patch, -- removed upstream merged patches: - exclude-dev-from-tmpfiles.patch, - logind_update_state_file_after_generating_....patch -- Add systemd-pam_config.patch: use correct include name for PAM - configuration on openSUSE. - -------------------------------------------------------------------- -Mon Sep 9 14:39:46 UTC 2013 - fcrozat@suse.com - -- Add exclude-dev-from-tmpfiles.patch: allow to exclude /dev from - tmpfiles (bnc#835813). - -------------------------------------------------------------------- -Fri Sep 6 15:02:08 UTC 2013 - fcrozat@suse.com - -- Remove - force-lvm-restart-after-cryptsetup-target-is-reached.patch and - remove additional dependencies on LVM in other patches: LVM has - now systemd support, no need to work around it anymore in - systemd. - -------------------------------------------------------------------- -Wed Aug 21 10:42:35 UTC 2013 - idonmez@suse.com - -- Add patch logind_update_state_file_after_generating_the_session_fifo_not_before.patch - to fix https://bugs.freedesktop.org/show_bug.cgi?id=67273 - -------------------------------------------------------------------- -Tue Aug 6 09:24:07 UTC 2013 - lnussel@suse.de - -- explicitly enable getty@tty1.service instead of getty@.service as - the tty1 alias has been removed from the file (bnc#833494) - -------------------------------------------------------------------- -Thu Aug 1 15:52:20 UTC 2013 - fcrozat@suse.com - -- Ensure /usr/lib/systemd/system/shutdown.target.wants is created - and owned by systemd package. - -------------------------------------------------------------------- -Mon Jul 29 14:01:48 UTC 2013 - fcrozat@suse.com - -- Fix drop-in for getty@tty1.service - -------------------------------------------------------------------- -Thu Jul 25 12:35:29 UTC 2013 - fcrozat@suse.com - -- Move systemd-journal-gateway to subpackage to lower dependencies - in default install. - -------------------------------------------------------------------- -Tue Jul 23 01:32:38 UTC 2013 - crrodriguez@opensuse.org - -- version 206 , highlights: -* Unit files now understand the new %v specifier which - resolves to the kernel version string as returned by "uname-r". -* "journalctl -b" may now be used to look for boot output of a - specific boot. Try "journalctl -b -1" -* Creation of "dead" device nodes has been moved from udev - into kmod and tmpfiles. -* The udev "keymap" data files and tools to apply keyboard - specific mappings of scan to key codes, and force-release - scan code lists have been entirely replaced by a udev - "keyboard" builtin and a hwdb data file. - -- remove patches now in upstream -- systemd now requires libkmod >=14 and cryptsetup >= 1.6.0 -- systemd now require the kmod tool in addition to the library. - -------------------------------------------------------------------- -Sun Jul 14 05:25:51 UTC 2013 - arvidjaar@gmail.com - -- use-usr-sbin-sulogin-for-emergency-service.patch - emergency.service failed to start because sulogin is in /usr/sbin now - -------------------------------------------------------------------- -Fri Jul 12 17:09:23 CEST 2013 - mls@suse.de - -- fix build with rpm-4.11.1: /etc/xdg/system/user is a symlink, - not a directory - -------------------------------------------------------------------- -Fri Jul 5 02:17:19 UTC 2013 - crrodriguez@opensuse.org - -- 0002-core-mount.c-mount_dump-don-t-segfault-if-mount-is-n.patch - fix segfault at shutdown -- 0004-disable-the-cgroups-release-agent-when-shutting-down.patch - disable the cgroups release agent when shutting down. -- 0005-cgroups-agent-remove-ancient-fallback-code-turn-conn.patch - remove ancient fallback code; turn connection error into warning -- 006-suppress-status-message-output-at-shutdown-when-quie.patch - make shutdown honour "quiet" kernel cmdline. - -------------------------------------------------------------------- -Fri Jul 5 02:09:55 UTC 2013 - crrodriguez@opensuse.org - -- fix broken symlink, service is called systemd-random-seed now. - -------------------------------------------------------------------- -Thu Jul 4 10:20:23 CEST 2013 - fcrozat@suse.com - -- Update to release 205: - + two new unit types have been introduced: - - Scope units are very similar to service units, however, are - created out of pre-existing processes -- instead of PID 1 - forking off the processes. - - Slice units may be used to partition system resources in an - hierarchial fashion and then assign other units to them. By - default there are now three slices: system.slice (for all - system services), user.slice (for all user sessions), - machine.slice (for VMs and containers). - + new concept of "transient" units, which are created at runtime - using an API and not based on configuration from disk. - + logind has been updated to make use of scope and slice units to - manage user sessions. Logind will no longer create cgroups - hierchies itself but will relying on PID 1. - + A new mini-daemon "systemd-machined" has been added which - may be used by virtualization managers to register local - VMs/containers. machinectl tool has been added to query - meta-data from systemd-machined. - + Low-level cgroup configuration options ControlGroup=, - ControlGroupModify=, ControlGroupPersistent=, - ControlGroupAttribute= have been removed. High-level attribute - settings or slice units should be used instead? - + A new bus call SetUnitProperties() has been added to alter - various runtime parameters of a unit, including cgroup - parameters. systemctl gained set-properties command to wrap - this call. - + A new tool "systemd-run" has been added which can be used to - run arbitrary command lines as transient services or scopes, - while configuring a number of settings via the command - line. - + nspawn will now inform the user explicitly that kernels with - audit enabled break containers, and suggest the user to turn - off audit. - + Support for detecting the IMA and AppArmor security - frameworks with ConditionSecurity= has been added. - + journalctl gained a new "-k" switch for showing only kernel - messages, mimicking dmesg output; in addition to "--user" - and "--system" switches for showing only user's own logs - and system logs. - + systemd-delta can now show information about drop-in - snippets extending unit files. - + systemd will now look for the "debug" argument on the kernel - command line and enable debug logging, similar to - "systemd.log_level=debug" already did before. - + "systemctl set-default", "systemctl get-default" has been - added to configure the default.target symlink, which - controls what to boot into by default. - + "systemctl set-log-level" has been added as a convenient - way to raise and lower systemd logging threshold. - + "systemd-analyze plot" will now show the time the various - generators needed for execution, as well as information - about the unit file loading. - + libsystemd-journal gained a new sd_journal_open_files() call - for opening specific journal files. journactl also gained a - new switch to expose this new functionality (useful for - debugging). - + systemd gained the new DefaultEnvironment= setting in - /etc/systemd/system.conf to set environment variables for - all services. - + If a privileged process logs a journal message with the - OBJECT_PID= field set, then journald will automatically - augment this with additional OBJECT_UID=, OBJECT_GID=, - OBJECT_COMM=, OBJECT_EXE=, ... fields. This is useful if - system services want to log events about specific client - processes. journactl/systemctl has been updated to make use - of this information if all log messages regarding a specific - unit is requested. -- Remove 0001-journal-letting-interleaved-seqnums-go.patch, - 0002-journal-remember-last-direction-of-search-and-keep-o.patch, - 0004-journald-DO-recalculate-the-ACL-mask-but-only-if-it-.patch, - 0006-systemctl-core-allow-nuking-of-symlinks-to-removed-u.patch, - 0008-service-don-t-report-alien-child-as-alive-when-it-s-.patch, - 0160-mount-when-learning-about-the-root-mount-from-mounti.patch, - 0185-core-only-attempt-to-connect-to-a-session-bus-if-one.patch, - Start-ctrl-alt-del.target-irreversibly.patch, - systemctl-does-not-expand-u-so-revert-back-to-I.patch: merged - upstream. -- Regenerate patches 1007-physical-hotplug-cpu-and-memory.patch, - 1008-add-msft-compability-rules.patch, - Revert-service-drop-support-for-SysV-scripts-for-the-early.patch, - fix-support-for-boot-prefixed-initscript-bnc-746506.patch, - handle-SYSTEMCTL_OPTIONS-environment-variable.patch, - handle-numlock-value-in-etc-sysconfig-keyboard.patch, - insserv-generator.patch, - optionally-warn-if-nss-myhostname-is-called.patch, - remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch, - restore-var-run-and-var-lock-bind-mount-if-they-aren-t-sym.patch, - service-flags-sysv-service-with-detected-pid-as-RemainAfte.patch. -- Update macros.systemd.upstream with latest upstream revision. - -------------------------------------------------------------------- -Mon Jul 1 13:43:31 UTC 2013 - fcrozat@suse.com - -- Replace - parse-etc-insserv.conf-and-adds-dependencies-accordingly.patch - patch with insserv-generator.patch: no longer patch systemd main - binary but generate systemd drop-in files using a generator, for - insserv.conf compatibility. - -------------------------------------------------------------------- -Mon Jul 1 09:14:55 UTC 2013 - coolo@suse.com - -- systemd-mini doesn't need dbus-1, only dbus-1-devel - -------------------------------------------------------------------- -Wed Jun 26 09:31:14 UTC 2013 - rmilasan@suse.com - -- Re-add fixed udev MSFT compability rules (bnc#805059, bnc#826528). - add: 1008-add-msft-compability-rules.patch - -------------------------------------------------------------------- -Wed Jun 26 08:51:29 UTC 2013 - rmilasan@suse.com - -- Drop 1007-add-msft-compability-rules.patch, breaks boot and links - in /dev/disk/by-id, will need proper rework (bnc#826528). - -------------------------------------------------------------------- -Mon Jun 24 00:15:24 UTC 2013 - crrodriguez@opensuse.org - -- 0160-mount-when-learning-about-the-root-mount-from-mounti.patch Another - case where we are trying to umount the root directory at shutdown. -- 0185-core-only-attempt-to-connect-to-a-session-bus-if-one.patch - only attempt to connect to a session bus if one likely exists - -------------------------------------------------------------------- -Fri Jun 21 12:40:27 UTC 2013 - rmilasan@suse.com - -- Automatically online CPUs/Memory on CPU/Memory hotplug add events - (bnc#703100, fate#311831). - add: 1008-physical-hotplug-cpu-and-memory.patch - -------------------------------------------------------------------- -Wed Jun 19 08:44:06 UTC 2013 - mhrusecky@suse.com - -- Dropped backward compatibility -- Added check for upstream rpm macros changes - -------------------------------------------------------------------- -Mon Jun 18 12:13:25 UTC 2013 - mhrusecky@suse.com - -- Split out RPM macros into separate package to simplify dependencies - -------------------------------------------------------------------- -Tue Jun 18 00:33:10 UTC 2013 - crrodriguez@opensuse.org - -- 0001-journal-letting-interleaved-seqnums-go.patch and - 0002-journal-remember-last-direction-of-search-and-keep-o.patch - fix possible infinite loops in the journal code, related to - bnc #817778 - -------------------------------------------------------------------- -Sun Jun 16 23:59:28 UTC 2013 - jengelh@inai.de - -- Explicitly list libattr-devel as BuildRequires -- More robust make install call. Remove redundant %clean section. - -------------------------------------------------------------------- -Thu Jun 13 16:00:25 CEST 2013 - sbrabec@suse.cz - -- Cleanup NumLock setting code - (handle-numlock-value-in-etc-sysconfig-keyboard.patch). - -------------------------------------------------------------------- -Wed Jun 12 10:00:53 UTC 2013 - fcrozat@suse.com - -- Only apply 1007-add-msft-compability-rules.patch when not - building systemd-mini. - -------------------------------------------------------------------- -Tue Jun 11 11:01:46 UTC 2013 - rmilasan@suse.com - -- Add udev MSFT compability rules (bnc#805059). - add: 1007-add-msft-compability-rules.patch -- Add sg3_utils requires, need it by 61-msft.rules (bnc#805059). -- Clean-up spec file, put udev patches after systemd patches. -- Rebase patches so they would apply nicely. - -------------------------------------------------------------------- -Tue Jun 11 02:29:49 UTC 2013 - crrodriguez@opensuse.org - -- 0004-journald-DO-recalculate-the-ACL-mask-but-only-if-it-.patch - fixes : - * systemd-journald[347]: Failed to set ACL on - /var/log/journal/11d90b1c0239b5b2e38ed54f513722e3/user-1000.journal, - ignoring: Invalid argument -- 006-systemctl-core-allow-nuking-of-symlinks-to-removed-u.patch - systemctl disable should remove dangling symlinks. -- 0008-service-don-t-report-alien-child-as-alive-when-it-s-.patch - alien childs are reported as alive when they are really dead. - -------------------------------------------------------------------- -Wed May 29 10:44:11 CEST 2013 - fcrozat@suse.com - -- Update to release 204: - + systemd-nspawn creates etc/resolv.conf in container if needed. - + systemd-nspawn will store metadata about container in container - cgroup including its root directory. - + cgroup hierarchy has been reworked, all objects are now suffxed - (with .session for user sessions, .user for users, .nspawn for - containers). All cgroup names are now escaped to preven - collision of object names. - + systemctl list-dependencies gained --plain, --reverse, --after - and --before switches. - + systemd-inhibit shows processes name taking inhibitor lock. - + nss-myhostname will now resolve "localhost" implicitly. - + .include is not allowed recursively anymore and only in unit - files. Drop-in files should be favored in most cases. - + systemd-analyze gained "critical-chain" command, to get slowest - chain of units run during boot-up. - + systemd-nspawn@.service has been added to easily run nspawn - container for system services. Just start - "systemd-nspawn@foobar.service" and container from - /var/lib/container/foobar" will be booted. - + systemd-cgls has new --machine parameter to list processes from - one container. - + ConditionSecurity= can now check for apparmor and SMACK. - + /etc/systemd/sleep.conf has been introduced to configure which - kernel operation will be execute when "suspend", "hibernate" or - "hybrid-sleep" is requrested. It allow new kernel "freeze" - state to be used too. (This setting won't have any effect if - pm-utils is installed). - + ENV{SYSTEMD_WANTS} in udev rules will now implicitly escape - passed argument if applicable. -- Regenerate some patches for this new release. -- Rename hostname-setup-shortname.patch to - ensure-shortname-is-set-as-hostname-bnc-820213.patch to be git - format-patch friendly. -- Update apply-ACL-for-nvidia-device-nodes.patch to apply ACL to - /dev/nvidia* (bnc#808319). -- Remove Ensure-debugshell-has-a-correct-value.patch, doable with a - configure option. -- Add systemctl-does-not-expand-u-so-revert-back-to-I.patch: avoids - expansion errors. -- Add Start-ctrl-alt-del.target-irreversibly.patch: ctrl-alt-del - should be irreversible for reliability. - -------------------------------------------------------------------- -Tue May 28 03:24:39 UTC 2013 - crrodriguez@opensuse.org - -- Drop Add-bootsplash-handling-for-password-dialogs.patch bootsplash -support has been removed from the kernel. -- Drop ensure-systemd-udevd-is-started-before-local-fs-pre-for-lo.patch -fixed in systemd v199, commit 89d09e1b5c65a2d97840f682e0932c8bb499f166 -- Apply rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch -only on ARM, patch rejected upstream because is too generic. -- no such define TARGET_SUSE exists but it is used in -Revert-service-drop-support-for-SysV-scripts-for-the-early.patch -use HAVE_SYSV_COMPAT instead. - -------------------------------------------------------------------- -Fri May 24 11:37:49 UTC 2013 - fcrozat@suse.com - -- Do no ship defaults for sysctl, they should be part of aaa_base - (currently in procps). -- Add hostname-setup-shortname.patch: ensure shortname is set as - hostname (bnc#820213). - -------------------------------------------------------------------- -Fri May 17 15:53:33 UTC 2013 - fcrozat@suse.com - -- Rebase - parse-etc-insserv.conf-and-adds-dependencies-accordingly.patch to - fix memory corruption (thanks to Michal Vyskocil) (bnc#820454). - -------------------------------------------------------------------- -Fri May 17 11:46:02 UTC 2013 - fcrozat@suse.com - -- Add sysctl-handle-boot-sysctl.conf-kernel_release.patch: ensure - /boot/sysctl.conf- is handled (bnc#809420). - -------------------------------------------------------------------- -Wed May 15 13:02:05 UTC 2013 - fcrozat@suse.com - -- Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch: don't - free variable whose content is still be used (bnc#819970). - -------------------------------------------------------------------- -Tue May 14 14:22:05 UTC 2013 - fcrozat@suse.com - -- Add configure flags to ensure boot.local/halt.local are run on - startup/shutdown. - -------------------------------------------------------------------- -Mon May 13 18:08:41 UTC 2013 - rmilasan@suse.com - -- Fix firmware loading by enabling --with-firmware-path (bnc#817551). - -------------------------------------------------------------------- -Mon Apr 29 14:50:37 UTC 2013 - dschung@cs.uni-kl.de - -- Fix systemd-sysv-convert, so empty runlevel folders don't lead - to "line 44: [: too many arguments" - -------------------------------------------------------------------- -Fri Apr 26 16:37:28 CEST 2013 - fcrozat@suse.com - -- Fix handle-etc-HOSTNAME.patch to properly set hostname at startup - when using /etc/HOSTNAME. - -------------------------------------------------------------------- -Thu Apr 25 08:19:30 UTC 2013 - rmilasan@suse.com - -- Rename remaning udev patches (clean-up). -- Generate %{_libexecdir}/modules-load.d/sg.conf so we load sg module at - boot time not from udev (bnc#761109). -- Drop unused patches: - 1001-Reinstate-TIMEOUT-handling.patch - 1005-udev-fix-sg-autoload-regression.patch - 1026-re-add-persistent-net.patch - -------------------------------------------------------------------- -Tue Apr 23 14:58:47 CEST 2013 - fcrozat@suse.com - -- Use drop-in file to fix bnc#804158. - -------------------------------------------------------------------- -Tue Apr 23 12:44:16 UTC 2013 - coolo@suse.com - -- add some more conflicts to make bootstrap work - -------------------------------------------------------------------- -Mon Apr 22 09:48:22 UTC 2013 - fcrozat@suse.com - -- Do not provide %{release} for systemd-analyze -- Add more conflicts to -mini packages -- Disable Predictable Network interface names until it has been - reviewed by network team, with /usr/lib/tmpfiles.d/network.conf. -- Don't package /usr/lib/firmware/update (not used) - -------------------------------------------------------------------- -Sun Apr 21 22:24:15 UTC 2013 - crrodriguez@opensuse.org - -- Fix packaging error, there is no syslog.target anymore - do not pretend there is one. - -------------------------------------------------------------------- -Fri Apr 19 16:40:17 UTC 2013 - fcrozat@suse.com - -- Update to release 202: - + 'systemctl list-jobs' got some polishing. '--type=' argument - may now be passed more than once. 'systemctl list-sockets' has - been added. - + systemd gained a new unit 'systemd-static-nodes.service' -    that generates static device nodes earlier during boot, and -    can run in conjunction with udev. - + systemd-nspawn now places all containers in the new /machine -    top-level cgroup directory in the name=systemd hierarchy. - + bootchart can now store its data in the journal. - + journactl can now take multiple --unit= and --user-unit= -    switches. - + The cryptsetup logic now understands the "luks.key=" kernel -    command line switch. If a configured key file is missing, it - will fallback to prompting the user. -- Rebase some patches -- Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch to - properly handle SYSTEMCTL_OPTIONS - -------------------------------------------------------------------- -Fri Apr 19 12:47:13 UTC 2013 - max@suse.com - -- Fix regression in the default for tmp auto-deletion - (systemd-tmp-safe-defaults.patch, FATE#314974). - -------------------------------------------------------------------- -Fri Apr 12 16:58:31 UTC 2013 - fcrozat@suse.com - -- Update to release 201: - + udev now supports different nameng policies for network - interface for predictable names. - + udev gained support for loading additional device properties - from an indexed database. %udev_hwdb_update macro should be - used by packages adding entries to this database. - + Journal gained support for "Message Catalog", indexed database - to link up additional information with journal entries. - %journal_catalog_update macro should be used by packages adding - %entries to this database. - + "age" field for tmpfiles entries can be set to 0, forcing - removal of files matching this entry. - + coredumpctl gained "gdb" verb to invoke gdb on selected - coredump. - + New rpm macros has been added: %udev_rules_update(), - %_udevhwdbdir, %_udevrulesdir, %_journalcatalogdir, - %_tmpfilesdir, %_sysctldir. - + In service files, %U can be used for configured user name of - the service. - + nspawn can be invoked without a controlling TTY. - + systemd and nspawn can accept socket file descriptors when - started for socket activation. This allow socket activated - nspawn containers. - + logind can now automatically suspend/hibernate/shutdown system - on idle. - + ConditionACPower can be used in unit file to detect if AC power - source is connected or if system is on battery power. - + EnvironmentFile= in unit files supports file globbing. - + Behaviour of PrivateTmp=, ReadWriteDirectories=, - ReadOnlyDirectories= and InaccessibleDirectories= has - changed. The private /tmp and /var/tmp directories are now - shared by all processes of a service (which means - ExecStartPre= may now leave data in /tmp that ExecStart= of - the same service can still access). When a service is - stopped its temporary directories are immediately deleted - (normal clean-up with tmpfiles is still done in addition to - this though). - + Resource limits (as exposed by cgroup controlers) can be - controlled dynamically at runtime for all units, using - "systemctl set-cgroup-attr foobar.server cgroup.attribute - value". Those settings are stored persistenly on disk. - + systemd-vconsole-setup will now copy all fonts settings to all - allocated VTs. - + timedated now exposes CanNTP property to indicate if a local - NTP service is available. - + pstore file system is mounted by default, if available. - + SMACK policies are loaded at early boot, if available. - + Timer units now support calendar time events. - + systemd-detect-virt detect xen PVs. - + Some distributions specific LSB targets has been dropped: - $x-display-manager, $mail-transfer-agent, - $mail-transport-agent, $mail-transfer-agent, $smtp, $null. As - well mail-transfer-agent.target and syslog.target has been - removed. - + systemd-journal-gatewayd gained SSL support and now runs as - unprivileged user/group - "systemd-journal-gateway:systemd-journal-gateway" - + systemd-analyze will read, when available, boot time - performance from EFI variable from boot loader supporting it. - + A new generator for automatically mounting EFI System Partition - (ESP) to /boot (if empty and no other file system has been - configured in fstab for it). - + logind will now send out PrepareForSleep(false) out - unconditionally, after coming back from suspend. - + tmpfiles gained a new "X" line type, that allows - configuration of files and directories (with wildcards) that - shall be excluded from automatic cleanup ("aging"). - + udev default rules set the device node permissions now only - at "add" events, and do not change them any longer with a - later "change" event. - + A new bootctl tool has been added that is an interface for - certain EFI boot loader operations. - + A new tool kernel-install has been added to install kernel - images according to Boot Loader Specification. - + A new tool systemd-activate can be used to test socket - activation. - + A new group "systemd-journal" is now owning journal files, - replacing "adm" group. - + journalctl gained "--reverse" to show output in reverse order, - "--pager-end" to jump at the end of the journal in the - pager (only less is supported) and "--user-unit" to filter for - user units. - + New unit files has been addedto ease for systemd usage in - initrd. - + "systemctl start" now supports "--irreversible" to queue - operations which can be reserved. It is now used to make - shutdown requests more robust. - + Auke Kok's bootchart has been merged and relicensed to - LGPLv2.1+. - + nss-myhostname has been merged in systemd codebase. - + some defaults sysctl values are now set by default: the safe - sysrq options are turned on, IP route verification is turned - on, and source routing disabled. The recently added hardlink - and softlink protection of the kernel is turned on. - + Add support for predictable network naming logic. It can be - turned off with kernel command line switch: net.ifnames=0 - + journald will now explicitly flush journal files to disk at the - latest 5 min after each write and will mark file offline until - next read. This should increase reliability in case of crash. - + remote-fs-setup.target target has been added to pull in - specific services when at least one remote file system is to be - mounted. - + timers.target and paths.target have been added as canonical - targets to pull user timer and path units, similar to - sockets.targets. - + udev daemon now sets default number of worker processes in - parallel based on number of CPUs instead of RAM. - + Most unit file settings which takes likst of items can now be -reset by assigning empty string to them, using drop-in. - + Add support for drop-in configuration file for units. - + Most unit file settings which takes likst of items can now be - reset by assigning empty string to them, using drop-in. - + improve systemg-cgtop output. - + improve 'systemctl status' output for socket, drop-in for units. - + 'hostnamectl set-hostname' allows setting FQDN hostnames. - + fractional time intervals are now parsed properly. - + localectl can list available X11 keymaps. - + systemd-analyze dot can filter for specific units and has been - rewritten in C. - + systemctl gained "list-dependencies" command. - + Inhibitors are now honored no only in GNOME. -- Many patches has been dropped, being merged upstream. -- Many patches has been renamed and regenerated with git, to have - consistent naming, authorship and comments embedded. -- Add - Revert-service-drop-support-for-SysV-scripts-for-the-early.patch: - re-add support for boot.* initscripts until they are all migrated - to systemd unit files. -- Merge patches for nss-myhostname package to this package. - -------------------------------------------------------------------- -Fri Apr 12 16:17:04 UTC 2013 - rschweikert@suse.com - -- Add chromebook lid switch as a power switch to logind rule to - enable suspend on lid close - -------------------------------------------------------------------- -Mon Apr 8 14:51:47 CEST 2013 - fcrozat@suse.com - -- Add improve-readahead-spinning.patch: improve readahead - performance on spinning media with ext4. -- Add fix-journal-vacuum-logic.patch: fix vacuum logic in journal - (bnc#789589). -- Add fix-lsb-provides.patch: ensure LSB provides are correctly - handled if also referenced as dependencies (bnc#809646). -- Add fix-loopback-mount.patch: ensure udevd is started (and - therefore static devices are created) before mounting - (bnc#809820). -- Update systemd-sysv-convert to search services files in new - location (bnc#809695). -- Add logind-nvidia-acl.diff: set ACL on nvidia devices - (bnc#808319). -- Add do-no-isolate-on-fsck-failure.patch: do not turn off services - if fsck fails (bnc#812874) -- Add wait-for-processes-killed.patch: wait for processes killed by - SIGTERM before killing them with SIGKILL. -- Update systemctl-options.patch to only apply SYSTEMCTL_OPTIONS to - systemctl command (bnc#801878). - -------------------------------------------------------------------- -Tue Apr 2 22:09:42 CEST 2013 - sbrabec@suse.cz - -- Fixed disabling CapsLock and enabling NumLock (bnc#746595, - 0001-handle-disable_caplock-and-compose_table-and-kbd_rat.patch, - systemd-numlock-suse.patch). -- Explicitly require libgcrypt-devel to fix build failure. - -------------------------------------------------------------------- -Thu Mar 28 09:24:43 UTC 2013 - rmilasan@suse.com - -- udev: ensure that the network interfaces are renamed even if they - exist (bnc#809843). - add: 1027-udev-always-rename-network.patch - -------------------------------------------------------------------- -Wed Mar 20 10:14:59 UTC 2013 - rmilasan@suse.com - -- udev: re-add persistent network rules (bnc#809843). - add: 1026-re-add-persistent-net.patch -- rebase all patches, ensure that they apply properly. - -------------------------------------------------------------------- -Thu Feb 21 14:45:12 UTC 2013 - fcrozat@suse.com - -- Add rbind-mount.patch: handle rbind mount points correctly - (bnc#804575). - -------------------------------------------------------------------- -Tue Feb 19 11:20:31 CET 2013 - fcrozat@suse.com - -- Ensure journal is flushed on disk when systemd-logger is - installed for the first time. -- Add improve-journal-perf.patch: improve journal performance on - query. -- Add support-hybrid-suspend.patch: add support for hybrid suspend. -- Add forward-to-pmutils.patch: forward suspend/hibernation calls - to pm-utils, if installed (bnc#790157). - -------------------------------------------------------------------- -Tue Feb 19 09:51:18 UTC 2013 - rmilasan@suse.com - -- udev: usb_id: parse only 'size' bytes of the 'descriptors' buffer - add: 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch -- udev: expose new ISO9660 properties from libblkid - add: 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch - -------------------------------------------------------------------- -Mon Feb 18 09:27:05 UTC 2013 - jengelh@inai.de - -- Create getty@tty1.service to restore traditional SUSE behavior - of not clearing tty1. (bnc#804158) -- Better use of find -exec - -------------------------------------------------------------------- -Fri Feb 15 16:04:39 UTC 2013 - fcrozat@suse.com - -- Add early-sync-shutdown.patch: start sync just when - shutdown.target is beginning -- Update parse-multiline-env-file.patch to better handle continuing - lines. -- Add handle-HOSTNAME.patch: handle /etc/HOSTNAME (bnc#803653). -- Add systemctl-print-wall-on-if-successful.patch: only print on - wall if successful. -- Add improve-bash-completion.patch: improve bash completion. - -------------------------------------------------------------------- -Fri Feb 15 13:05:19 UTC 2013 - lnussel@suse.de - -- disable nss-myhostname warning (bnc#783841) - => disable-nss-myhostname-warning-bnc-783841.diff - -------------------------------------------------------------------- -Wed Feb 13 11:34:06 UTC 2013 - rmilasan@suse.com - -- rework patch: - 1020-usb_id-some-strange-devices-have-a-very-bogus-or-strage-serial.patch -- udev: use unique names for temporary files created in /dev. - add: 1022-udev-use-unique-names-for-temporary-files-created-in.patch -- cdrom_id: add data track count for bad virtual drive. - add: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch - -------------------------------------------------------------------- -Tue Feb 12 09:16:23 UTC 2013 - rmilasan@suse.com - -- usb_id: ensure we have a valid serial number as a string (bnc#779493). - add: 1020-usb_id-some-strange-devices-have-a-very-bogus-or-strage-serial.patch -- cdrom_id: created links for the default cd/dvd drive (bnc#783054). - add: 1021-create-default-links-for-primary-cd_dvd-drive.patch - -------------------------------------------------------------------- -Fri Feb 1 16:27:45 UTC 2013 - fcrozat@suse.com - -- Add cryptsetup-accept-read-only.patch: accept "read-only" in - addition to "readonly" in crypttab -- Update parse-multiline-env-file.patch to correctly handle - commented lines (bnc#793411) - -------------------------------------------------------------------- -Tue Jan 29 13:32:30 UTC 2013 - rmilasan@suse.com - -- udev: Fix device matching in the accelerometer - add: 1019-udev-Fix-device-matching-in-the-accelerometer.patch -- keymap: add aditional support for some keyboard keys - add: 1018-keymap-add-aditional-support.patch -- journalctl: require argument for --priority - add: journalctl-require-argument-for-priority -- dropped useless patches: - libudev-validate-argument-udev_enumerate_new.patch - kmod-fix-builtin-typo.patch -- rename udev-root-symlink.service to systemd-udev-root-symlink.service. -- fix in udev package missing link in basic.target.wants for - systemd-udev-root-symlink.service - -------------------------------------------------------------------- -Mon Jan 28 10:49:21 UTC 2013 - fcrozat@suse.com - -- Add tmpfiles-X-type.patch: allow to clean directories with - removing them. -- Add systemd-fix-merge-ignore-dependencies.patch: fix merging with - --ignore-dependencies waiting for dependencies (bnc#800365). -- Update systemd-numlock-suse.patch: udev-trigger.service is now - called systemd-udev-trigger.service. -- Add improve-man-environment.patch: improve manpage regarding - Environment value. - -------------------------------------------------------------------- -Tue Jan 22 17:02:04 UTC 2013 - fcrozat@suse.com - -- Add systemctl-options.patch: handle SYSTEMCTL_OPTIONS internaly - (bnc#798620). -- Update crypt-loop-file.patch to correctly detect crypto loop - files (bnc#799514). -- Add journalctl-remove-leftover-message.patch: remove debug - message in systemctl. -- Add job-avoid-recursion-when-cancelling.patch: prevent potential - recursion when cancelling a service. -- Add sysctl-parse-all-keys.patch: ensure sysctl file is fully - parsed. -- Add journal-fix-cutoff-max-date.patch: fix computation of cutoff - max date for journal. -- Add reword-rescue-mode-hints.patch: reword rescue prompt. -- Add improve-overflow-checks.patch: improve time overflow checks. -- Add fix-swap-behaviour-with-symlinks.patch: fix swap behaviour - with symlinks. -- Add hostnamectl-fix-set-hostname-with-no-argument.patch: ensure - hostnamectl requires an argument when called with set-hostname - option. -- Add agetty-overrides-term.patch: pass correctly terminal type to - agetty. -- Add check-for-empty-strings-in-strto-conversions.patch: better - check for empty strings in strto* conversions. -- Add strv-cleanup-error-path-loops.patch: cleanup strv on error - path. -- Add cryptsetup-handle-plain.patch: correctly handle "plain" - option in cryptsetup. -- Add fstab-generator-improve-error-message.patch: improve error - message in fstab-generator. -- Add delta-accept-t-option.patch: accept -t option in - systemd-delta. -- Add highlight-ordering-cycle-deletions.patch: highlight ordering - cycle deletions in logs. -- Add core-interpret-escaped-semicolon-as-escaped.patch: accept \; - in ExecStart. -- Add hostnamectl-fix-parsing-no-ask-password.patch: accept - no-ask-password in hostnamectl. -- Add systemd-cgls-fix-piping-output.patch: fix piping output of - systemd-cgls. -- Add core-load-fragment-improve-error-message.patch: improve error - message when parsing fragments. -- Add fix-potential-bad-mem-access.patch: fix potential bad memory - access. -- Add socket-improve-error-message.patch: improve error message in - socket handling. -- Add journal-send-always-send-syslog_identifier.patch: always send - syslog_identifier if available for journal. -- Add crypsetup-handle-nofail.patch: handle nofail in cryptsetup. -- Add crypsetup-generator-state-file-name-in-error-message.patch: - add filename in error message from crypsetup-generator. -- Add fstab-generator-error-message-on-duplicates.patch: improve - error message on duplicate in fstab-generator. -- Add systemctl-verbose-message-on-missing-install.patch: reword - missing install error message in systemctl. -- Add shutdown-improvements.patch: various improvements at - shutdown. -- Add localectl-fix-assertion.patch: fix assertion in localectl. -- Add path-util-fix-potential-crash.patch: fix potential crash in - path-util. -- Add coredumpctl-fix-crash.patch: fix crash in coredumpctl. -- Add socket-verbose-error-message.patch: add more verbose error - message in socket handling. -- Add pam-properly-handle-ssh-logins-without-pam-tty-field.patch: - handle properly ssh-logins without pam tty field. -- Add fstab-generator-properly-detect-bind-mounts.patch: properly - detect bind-mounts in fstab-generator. -- Add localectl-support-systems-without-locale-archive.patch: - localectl now supports systemd without locale-archive file. -- Add logind-capability-making-seats-without-fb.patch: allows - capability of making seats without fb. -- Add service-forking-ignore-exit-status-main-process.patch: ignore - exit-statis of main process when forking, if specified in unit - file. -- Add systemctl-no-assert-on-reboot-without-dbus.patch: don't - assert on reboot if dbus isn't there. -- Add logind-ignore-non-tty-non-x11-session-on-shutdown.patch: - ignore non tty non-x11 session on shutdown. -- Add journalctl-quit-on-io-error.patch: fix journalctl quit on io - error. -- Add do-not-make-sockets-dependent-on-lo.patch: do not make - sockets dependent on lo interface. -- Add shutdown-dont-force-mnt-force-on-final-umount.patch: don't - force MNT_FORCE on final umount at shutdown. -- Add shutdown-ignore-loop-devices-without-backing-file.patch: - ignore loop devices without backing file at shutdown. -- Add fix-bad-mem-access.patch: fix bad memory access -- Add parse-multiline-env-file.patch: correctly parse multiline - environment files (bnc#793411). - -------------------------------------------------------------------- -Thu Jan 10 15:43:25 UTC 2013 - fcrozat@suse.com - -- Add multiple-sulogin.patch: allows multiple sulogin instance - (bnc#793182). - -------------------------------------------------------------------- -Wed Jan 9 09:42:50 UTC 2013 - rmilasan@suse.com - -- udev: path_id - handle Hyper-V devices - add: 1008-udev-path_id-handle-Hyper-V-devices.patch -- keymap: Update the list of Samsung Series 9 models - add: 1009-keymap-Update-the-list-of-Samsung-Series-9-models.patch -- keymap: Add Samsung 700T - add: 1010-keymap-Add-Samsung-700T.patch -- libudev: avoid leak during realloc failure - add: 1011-libudev-avoid-leak-during-realloc-failure.patch -- libudev: do not resolve $attr{device} symlinks - add: 1012-libudev-do-not-resolve-attr-device-symlinks.patch -- libudev: validate 'udev' argument to udev_enumerate_new() - add: 1013-libudev-validate-udev-argument-to-udev_enumerate_new.patch -- udev: fix whitespace - add: 1014-udev-fix-whitespace.patch -- udev: properly handle symlink removal by 'change' event - add: 1015-udev-properly-handle-symlink-removal-by-change-event.patch -- udev: builtin - do not fail builtin initialization if one of - them returns an error - add: 1016-udev-builtin-do-not-fail-builtin-initialization-if-o.patch -- udev: use usec_t and now() - add: 1017-udev-use-usec_t-and-now.patch - -------------------------------------------------------------------- -Tue Jan 8 12:47:43 UTC 2013 - rmilasan@suse.com - -- udevd: add missing ':' to getopt_long 'e'. - add: 1007-udevd-add-missing-to-getopt_long-e.patch -- clean up systemd.spec, make it easy to see which are udev and - systemd patches. -- make 'reload' and 'force-reload' LSB compliant (bnc#793936). - -------------------------------------------------------------------- -Tue Dec 11 00:22:50 UTC 2012 - crrodriguez@opensuse.org - -- detect-btrfs-ssd.patch: Fix btrfs detection on SSD. -- timedated-donot-close-bogus-dbus-connection.patch: Avoid - closing an non-existent dbus connection and getting assertion - failures. - -------------------------------------------------------------------- -Mon Dec 10 14:22:21 UTC 2012 - coolo@suse.com - -- add conflicts between udev-mini and udev-mini-devel to libudev1 - -------------------------------------------------------------------- -Thu Dec 6 22:47:09 UTC 2012 - crrodriguez@opensuse.org - -- revert-of-9279749b84cc87c7830280b7895a48bed03c9429.patch: - do not consider failure to umount / and /usr an error. - -------------------------------------------------------------------- -Wed Dec 5 15:13:27 UTC 2012 - fcrozat@suse.com - -- Add fix-devname-prefix.patch: fix modules.devname path, it isn't - in /usr. -- Move post script to fix symlinks in /etc/systemd/system to a - trigger to run it after old systemd is uninstalled. - -------------------------------------------------------------------- -Tue Dec 4 16:51:32 UTC 2012 - fcrozat@suse.com - -- Add fix-debugshell.patch: use /bin/bash if sushell isn't - installed (bnc#789052). -- Add handle-root-uses-lang.patch: handle ROOT_USES_LANG=ctype - (bnc#792182). -- Ensure libudev1 and libudev-mini1 conflicts. - -------------------------------------------------------------------- -Thu Nov 22 14:22:00 UTC 2012 - rmilasan@suse.com - -- Fix creation of /dev/root link. - -------------------------------------------------------------------- -Tue Nov 20 18:25:49 CET 2012 - fcrozat@suse.com - -- Add remount-ro-before-unmount.patch: always remount read-only - before unmounting in final shutdown loop. -- Add switch-root-try-pivot-root.patch: try pivot_root before - overmounting / - -------------------------------------------------------------------- -Tue Nov 20 09:36:43 UTC 2012 - fcrozat@suse.com - -- links more manpages for migrated tools (from Christopher - Yeleighton). -- disable boot.localnet service, ypbind service will do the right - thing now (bnc#716746) -- add xdm-display-manager.patch: pull xdm.service instead of - display-manager.service (needed until xdm initscript is migrated - to native systemd service). -- Add fix-permissions-btmp.patch: ensure btmp is owned only by root - (bnc#777405). -- Have the udev package create a tape group, as referenced by - 50-udev-default.rules and 60-persistent-storage-tape.rules - (DimStar). -- Add fix-bad-memory-access.patch: fix crash in journal rotation. -- Add fix-dbus-crash.patch: fix D-Bus caused crash. -- Add sync-on-shutdown.patch: ensure sync is done when initiating - shutdown. -- Add mount-efivars.patch: mount efivars if booting on UEFI. - - -------------------------------------------------------------------- -Thu Nov 15 14:31:28 UTC 2012 - fcrozat@suse.com - -- Ship a empty systemd-journald initscript in systemd-logger to - stop insserv to complain about missing syslog dependency. -- Update - 0001-service-Fix-dependencies-added-when-parsing-insserv..patch - with bug fixes from Debian. - -------------------------------------------------------------------- -Wed Nov 14 17:36:05 UTC 2012 - fcrozat@suse.com - -- /var/log/journal is now only provided by systemd-logger (journal - won't be persistent for people using another syslog - implementation). -- install README in /var/log (in systemd-logger) and /etc/init.d -- create adm group when installing systemd. -- fix path in udev-root-symlink.systemd. -- Enforce Requires(post) dependency on libudev in main systemd - package (help upgrade). -- Ensure configuration is reloaded when upgrading and save random - seed when installing. -- Create /lib/udev symlink, if we do a fresh install. -- Add fix-build-glibc217.patch: fix build with latest glibc. -- Add libgcrypt.m4: copy of autoconf macro from libgcrypt, only - used to bootstrap systemd-mini. - -------------------------------------------------------------------- -Tue Nov 6 14:40:37 UTC 2012 - coolo@suse.com - -- adding a package systemd-logger that blocks syslog implementations - from installation to make an installation that only uses the journal - -------------------------------------------------------------------- -Mon Nov 5 14:37:46 UTC 2012 - fcrozat@suse.com - -- Don't hardcode path for systemctl in udev post script. -- Ensure systemd-udevd.service is shadowing boot.udev when booting - under systemd. -- Fix udev daemon upgrade under both systemd and sysvinit. -- Add fix-logind-pty-seat.patch: fix logind complaining when doing - su/sudo in X terminal. - -------------------------------------------------------------------- -Sat Nov 3 07:21:44 UTC 2012 - coolo@suse.com - -- add libudev1 to baselibs.conf - -------------------------------------------------------------------- -Fri Nov 2 14:07:15 UTC 2012 - coolo@suse.com - -- udev is GPL-2.0, the rest remains LGPL-2.1+ (bnc#787824) - -------------------------------------------------------------------- -Mon Oct 29 13:01:20 UTC 2012 - fcrozat@suse.com - -- Add var-run-lock.patch: make sure /var/run and /var/lock are - handled as bind mount if they aren't symlinks. -- Update storage-after-cryptsetup.patch with new systemctl path. -- Migrate broken symlinks in /etc/systemd/system due to new systemd - location. - -------------------------------------------------------------------- -Fri Oct 26 13:37:52 UTC 2012 - fcrozat@suse.com - -- Update to release 195: - + journalctl agained --since and --until, as well as filtering - for units with --unit=/-u. - + allow ExecReload properly for Type=oneshot (needed for - iptables.service, rpc-nfsd.service). - + journal daemon supports time-based rotation and vaccuming. - + journalctl -F allow to list all values of a certain field in - journal database. - + new commandline clients for timedated, locald and hostnamed - + new tool systemd-coredumpctl to list and extract coredumps from - journal. - + improve gatewayd: follow mode, filtering, support for - HTML5/JSON Server-Sent-Events. - + reload support in SysV initscripts is now detected when file is - parted. - + "systemctl status --follow" as been removed, use "journalctl -fu - instead" - + journald.conf RuntimeMinSize and PersistentMinSize settings - have been removed. -- Add compatibility symlink for systemd-ask-password and systemctl - in /bin. - -------------------------------------------------------------------- -Thu Oct 18 12:27:07 UTC 2012 - fcrozat@suse.com - -- Create and own more systemd drop-in directories. - -------------------------------------------------------------------- -Tue Oct 16 13:18:13 UTC 2012 - fcrozat@suse.com - -- Improve mini packages for bootstrapping. -- do not mount /tmp as tmpfs by default. - -------------------------------------------------------------------- -Tue Oct 16 07:40:23 UTC 2012 - fcrozat@suse.com - -- Fix install script when there is no inittab - -------------------------------------------------------------------- -Mon Oct 15 14:48:47 UTC 2012 - fcrozat@suse.com - -- Create a systemd-mini specfile to prevent cycle in bootstrapping - -------------------------------------------------------------------- -Thu Oct 4 11:23:42 UTC 2012 - fcrozat@suse.com - -- udev and its subpackages are now generated by systemd source - package. -- migrate udev and systemd to /usr -- Update to version 194: - + if /etc/vconsole.conf is non-existent or empty and if - /etc/sysconfig/console:CONSOLE_FONT (resp - /etc/sysconfig/keyboard:KEYTABLE) set, console font (resp - keymap) is not modified. -- Changes from version 44 to 193: - + journalctl gained --cursor= to show entries starting from a - specified location in journal. - + Size limit enforced to 4K for fields exported with "-o json" in - journalctl. Use --all to disable this behavior. - + Optional journal gateway daemon - (systemd-journal-gatewayd.service) to access journal via HTTP - and JSON. Use "wget http://localhost:19531/entries" to get - /var/log/messages compatible format and - 'curl -H"Accept: application/json" - http://localhost:19531/entries' for JSON formatted content. - HTML5 static page is also available as explained on - http://0pointer.de/public/journal-gatewayd - + do not mount cpuset controler, doesn't work well by default - ATM. - + improved nspawn behaviour with /etc/localtime - + journald logs its maximize size on disk - + multi-seat X wrapper (partially merged in upstream X server). - + HandleSleepKey has been splitted into HandleSuspendKey and - HandleHibernateKey. - + systemd and logind now handle system sleep states, in - particular suspending and hibernating. - + new cgroups are mounted by default (cpu, cpuacct, - net_cls, net_pri) - + sync at shutdown is now handled by kernel - + imported journalctl output (colors, filtering, pager, bash - completion). - + suffix ".service" may now be ommited on most systemctl command - involving service unit names. - + much improved nspawn containers support. - + new conditions added : ConditionFileNotEmpty, ConditionHost, - ConditionPathIsReadWrite - + tmpfiles "w" supports file globbing - + logind handles lid switch, power and sleep keys all the time, - unless systemd-inhibit - --what=handle-power-key:handle-sleep-key:handle-lid-switch is - run by Desktop Environments. - + support for reading structured kernel message is used by - default (need kernel >= 3.5). /proc/kmsg is now used only by - classic syslog daemons. - + Forward Secure Sealing is now support for Journal files. - + RestartPrevenExitStatus and SuccessExitStatus allow configure - of exit status (exit code or signal). - + handles keyfile-size and keyfile-offset in /etc/crypttab. - + TimeoutSec settings has been splitted into TimeoutStartSec and - TimeoutStopSec. - + add SystemCallFilters option to add blacklist/whitelist to - system calls, using SECCOMP mode 2 of kernel >= 3.5. - + systemctl udevadm info now takes a /dev or /sys path as argument: - - udevadm info /dev/sda - + XDG_RUNTIME_DIR now uses numeric UIDs instead of usernames. - + systemd-loginctl and systemd-journalctl have been renamed - to loginctl and journalctl to match systemctl. - + udev: RUN+="socket:..." and udev_monitor_new_from_socket() is - no longer supported. udev_monitor_new_from_netlink() needs to - be used to subscribe to events. - + udev: when udevd is started by systemd, processes which are left - behind by forking them off of udev rules, are unconditionally - cleaned up and killed now after the event handling has finished. - Services or daemons must be started as systemd services. - Services can be pulled-in by udev to get started, but they can - no longer be directly forked by udev rules. - + For almost all files, license is now LGPL2.1+ (from previous - GPL2.0+). Exception are some minor stuff in udev (will be - changed to LGPL2.1 eventually) and MIT license sd-daemon.[ch] - library. - + var-run.mount and var-lock.mount are no longer provided - (should be converted to symlinks). - + A new service type Type=idle to avoid ugly interleaving of - getty output and boot status messages. - + systemd-delta has been added, a tool to explore differences - between user/admin configuration and vendor defaults. - + /tmp mouted as tmpfs by default. - + /media is now longer mounted as tmpfs - + GTK tool has been split off to systemd-ui package. - + much improved documentation. -- Merge BuildRequires from udev package: - gobject-introspection-devel, gtk-doc, libsepol-devel, - libusb-devel, pkgconfig(blkid), pkgconfig-glib-2.0), - pjgconfig(libcryptsetup), pkgconfig(libpci), - pkgconfig(libqrencode), pkgconfig(libselinux), - pkgconfig(usbutils). -- Add pkgconfig(libqrencode) and pkgconfig(libmicrohttpd) -- Merge sources from udev package: boot.udev, write_dev_root.rules, - udev-root-symlink.systemd. -- Merge patches from udev package: numbered started from 1000): - 0001-Reinstate-TIMEOUT-handling.patch, - 0013-re-enable-by_path-links-for-ata-devices.patch, - 0014-rules-create-by-id-scsi-links-for-ATA-devices.patch, - 0026-udev-netlink-null-rules.patch, - 0027-udev-fix-sg-autoload-regression.patch. -- Remove following patches, merged upstream: - 0001-util-never-follow-symlinks-in-rm_rf_children.patch, - fixppc.patch, logind-logout.patch, fix-getty-isolate.patch, - fix-swap-priority.patch, improve-restart-behaviour.patch, - fix-dir-noatime-tmpfiles.patch, journal-bugfixes.patch, - ulimit-support.patch, change-terminal.patch, - fix-tty-startup.patch, fix-write-user-state-file.patch, - fix-analyze-exception.patch, use_localtime.patch, - journalctl-pager-improvement.patch, - avoid-random-seed-cycle.patch, - 0001-add-sparse-support-to-detect-endianness-bug.patch, - drop-timezone.patch. -- Rebase the following patches: - 0001-Add-bootsplash-handling-for-password-dialogs.patch, - 0001-handle-disable_caplock-and-compose_table-and-kbd_rat.patch, - 0001-service-Fix-dependencies-added-when-parsing-insserv..patch, - 0001-service-flags-sysv-service-with-detected-pid-as-Rema.patch, - crypt-loop-file.patch, - delay-fsck-cryptsetup-after-md-lvm-dmraid.patch, - dm-lvm-after-local-fs-pre-target.patch, fastboot-forcefsck.patch, - fix-enable-disable-boot-initscript.patch, modules_on_boot.patch, - new-lsb-headers.patch, storage-after-cryptsetup.patch, - support-suse-clock-sysconfig.patch, support-sysvinit.patch, - sysctl-modules.patch, systemd-numlock-suse.patch, tty1.patch. - -------------------------------------------------------------------- -Thu Aug 23 11:11:25 CEST 2012 - fcrozat@suse.com - -- Add use_localtime.patch: use /etc/localtime instead of - /etc/timezone (bnc#773491) -- Add support-suse-clock-sysconfig.patch: read SUSE - /etc/sysconfig/clock file. -- Add drop-timezone.patch: drop support for /etc/timezone, never - supported on openSUSE. -- Add journalctl-pager-improvement.patch: better handle output when - using pager. -- Add fix-enable-disable-boot-initscript.patch: support boot.* - initscripts for systemctl enable /disable (bnc#746506). - -------------------------------------------------------------------- -Mon Jul 30 11:37:17 UTC 2012 - fcrozat@suse.com - -- Ensure systemd macros never fails (if systemd isn't install) - -------------------------------------------------------------------- -Mon Jul 23 08:28:15 UTC 2012 - fcrozat@suse.com - -- Add fix-analyze-exception.patch: prevent exception if running - systemd-analyze before boot is complete (bnc#772506) - -------------------------------------------------------------------- -Fri Jul 20 19:24:08 CEST 2012 - sbrabec@suse.cz - -- Fix NumLock detection/set race condition (bnc#746595#c47). - -------------------------------------------------------------------- -Wed Jul 18 13:14:37 UTC 2012 - fcrozat@suse.com - -- Move systemd-analyse to a subpackage, to remove any python - dependencies from systemd main package (bnc#772039). - -------------------------------------------------------------------- -Tue Jul 10 16:48:20 UTC 2012 - fcrozat@suse.com - -- Add fastboot-forcefsck.patch: ensure fastboot and forcefsck on - kernel commandline are handled. -- Add fix-write-user-state-file.patch: write logind state file - correctly. -- Disable logind-logout.patch: cause too many issues (bnc#769531). - -------------------------------------------------------------------- -Mon Jul 9 11:01:20 UTC 2012 - fcrozat@suse.com - -- Add fix-tty-startup.patch: don't limit tty VT to 12 (bnc#770182). - -------------------------------------------------------------------- -Tue Jul 3 20:07:47 CEST 2012 - sbrabec@suse.cz - -- Fix SUSE specific sysconfig numlock logic for 12.2 (bnc#746595). - -------------------------------------------------------------------- -Tue Jul 3 17:58:39 CEST 2012 - fcrozat@suse.com - -- Add fix-dir-noatime-tmpfiles.patch: do not modify directory - atime, which was preventing removing empty directories - (bnc#751253, rh#810257). -- Add improve-restart-behaviour.patch: prevent deadlock during - try-restart (bnc#743218). -- Add journal-bugfixes.patch: don't crash when rotating journal - (bnc#768953) and prevent memleak at rotation time too. -- Add ulimit-support.patch: add support for system wide ulimit - (bnc#744818). -- Add change-terminal.patch: use vt102 instead of vt100 as terminal - for non-vc tty. -- Package various .wants directories, which were no longer packaged - due to plymouth units being removed from systemd package. -- Fix buildrequires for manpages build. - -------------------------------------------------------------------- -Mon Jul 2 15:44:28 UTC 2012 - fcrozat@suse.com - -- Do not ship plymouth units, they are shipped by plymouth package - now (bnc#769397). -- Fix module loading (bnc#769462) - -------------------------------------------------------------------- -Thu Jun 7 13:14:40 UTC 2012 - fcrozat@suse.com - -- Add fix-swap-priority: fix default swap priority (bnc#731601). - -------------------------------------------------------------------- -Fri May 25 11:08:27 UTC 2012 - fcrozat@suse.com - -- Re-enable logind-logout.patch, fix in xdm-np PAM file is the real - fix. - -------------------------------------------------------------------- -Thu May 24 11:45:54 UTC 2012 - fcrozat@suse.com - -- Update new-lsb-headers.patch to handle entries written after - description tag (bnc#727771, bnc#747931). - -------------------------------------------------------------------- -Thu May 3 11:40:20 UTC 2012 - fcrozat@suse.com - -- Disable logind-logout.patch: it crashes sudo session (if called - after su -l) (bnc#746704). - -------------------------------------------------------------------- -Tue Apr 24 15:46:54 UTC 2012 - fcrozat@suse.com - -- Add fix-getty-isolate.patch: don't quit getty when changing - runlevel (bnc#746594) - -------------------------------------------------------------------- -Fri Apr 20 17:16:37 CEST 2012 - sbrabec@suse.cz - -- Implemented SUSE specific sysconfig numlock logic (bnc#746595). - -------------------------------------------------------------------- -Thu Apr 19 10:07:47 UTC 2012 - fcrozat@suse.com - -- Add dbus-1 as BuildRequires to fix build. - -------------------------------------------------------------------- -Tue Apr 3 09:37:09 UTC 2012 - dvaleev@suse.com - -- apply ppc patch to systemd-gtk too (fixes build) - -------------------------------------------------------------------- -Thu Mar 22 08:47:36 UTC 2012 - fcrozat@suse.com - -- Update fixppc.patch with upstream patches -- Add comments from upstream in - 0001-util-never-follow-symlinks-in-rm_rf_children.patch. -- Add logind-logout.patch: it should fix sudo / su with pam_systemd - (bnc#746704). - -------------------------------------------------------------------- -Mon Mar 19 14:07:23 UTC 2012 - fcrozat@suse.com - -- Add 0001-add-sparse-support-to-detect-endianness-bug.patch: fix - endianness error, preventing journal to work properly on ppc. -- Add fixppc.patch: fix build and warnings on ppc. - -------------------------------------------------------------------- -Mon Mar 19 10:11:23 UTC 2012 - fcrozat@suse.com - -- Add 0001-util-never-follow-symlinks-in-rm_rf_children.patch: fix - CVE-2012-1174 (bnc#752281). - -------------------------------------------------------------------- -Fri Mar 16 09:21:54 UTC 2012 - fcrozat@suse.com - -- Update to version 43: - + Support optional initialization of the machine ID from the KVM - or container configured UUID. - + Support immediate reboots with "systemctl reboot -ff" - + Show /etc/os-release data in systemd-analyze output - + Many bugfixes for the journal, including endianess fixes and - ensuring that disk space enforcement works - + non-UTF8 strings are refused if used in configuration and unit - files. - + Register Mimo USB Screens as suitable for automatic seat - configuration - + Reorder configuration file lookup order. /etc now always - overrides /run. - + manpages for journal utilities. -- Drop fix-c++-compat.patch, no-tmpfs-fsck.patch, - systemd-journald-fix-endianess-bug.patch. -- Requires util-linux >= 2.21 (needed to fix fsck on tmpfs). - -------------------------------------------------------------------- -Mon Mar 12 08:50:36 UTC 2012 - fcrozat@suse.com - -- Add fix-c++-compat.patch: fix C++ compatibility error in header. - -------------------------------------------------------------------- -Wed Feb 29 13:22:17 UTC 2012 - fcrozat@suse.com - -- Add systemd-journald-fix-endianess-bug.patch: fix journald not - starting on ppc architecture. -- Add correct_plymouth_paths_and_conflicts.patch: ensure plymouth - is correctly called and conflicts with bootsplash. - -------------------------------------------------------------------- -Tue Feb 21 08:58:31 UTC 2012 - fcrozat@suse.com - -- Remove rsyslog listen.conf, handled directly by rsyslog now - (bnc#747871). - -------------------------------------------------------------------- -Mon Feb 20 13:33:45 UTC 2012 - fcrozat@suse.com - -- Update to version 43: - + requires /etc/os-release, support for /etc/SuSE-release is no - longer present. - + Track class of PAM logins to distinguish greeters from normal - user logins. - + Various bug fixes. - -------------------------------------------------------------------- -Sun Feb 19 07:56:05 UTC 2012 - jengelh@medozas.de - -- Use pkgconfig symbols for BuildRequires and specify version - -------------------------------------------------------------------- -Fri Feb 17 09:22:50 UTC 2012 - tittiatcoke@gmail.com - -- Enable Plymouth integration. - * Bootsplash related files will be moved to the bootsplash - package - -------------------------------------------------------------------- -Mon Feb 13 12:11:17 UTC 2012 - fcrozat@suse.com - -- Update to version 42: - + Various bug fixes - + Watchdog support for supervising services is now usable - + Service start rate limiting is now configurable and can be - turned off per service. - + New CanReboot(), CanPowerOff() bus calls in systemd-logind -- Dropped fix-kmod-build.patch, fix-message-after-chkconfig.patch, - is-enabled-non-existing-service.patch (merged upstream) -- Add libxslt1 / docbook-xsl-stylesheets as BuildRequires for - manpage generation - -------------------------------------------------------------------- -Thu Feb 9 16:19:38 UTC 2012 - fcrozat@suse.com - -- Update to version 41: - + systemd binary is now installed in /lib/systemd (symlink for - /bin/systemd is available now) - + kernel modules are now loaded through libkmod - + Watchdog support is now useful (not complete) - + new kernel command line available to set system wide - environment variable: systemd.setenv - + journald capabilities set is now limited - + SIGPIPE is ignored by default. This can be disabled with - IgnoreSIGPIPE=no in unit files. -- Add fix-kmod-build.patch: fix build with libkmod -- Drop remote-fs-after-network.patch (merged upstream) -- Add dm-lvm-after-local-fs-pre-target.patch: ensure md / lvm - /dmraid is started before mounting partitions, if fsck was - disabled for them (bnc#733283). -- Update lsb-header patch to correctly disable heuristic if - X-Systemd-RemainAfterExit is specified (whatever its value) -- Add fix-message-after-chkconfig.patch: don't complain if only - sysv services are called in systemctl. -- Add is-enabled-non-existing-service.patch: fix error message when - running is-enabled on non-existing service. - -------------------------------------------------------------------- -Tue Feb 7 14:43:58 UTC 2012 - fcrozat@suse.com - -- Update to version 40: - + reason why a service failed is now exposed in the"Result" D-Bus - property. - + Rudimentary service watchdog support (not complete) - + Improve bootcharts, by immediatly changing argv[0] after - forking to to reflect which process will be executed. - + Various bug fixes. -- Add remote-fs-after-network.patch and update insserv patch: - ensure remote-fs-pre.target is enabled and started before network - mount points (bnc#744293). -- Ensure journald doesn't prevent syslogs to read from /proc/kmsg. - -------------------------------------------------------------------- -Tue Jan 31 13:40:51 CET 2012 - fcrozat@suse.com - -- Ensure systemd show service status when started behind bootsplash - (bnc#736225). -- Disable core dump redirection to journal, not stable atm. - -------------------------------------------------------------------- -Thu Jan 26 16:00:27 UTC 2012 - fcrozat@suse.com - -- Update modules_on_boot.patch to not cause failed state for - systemd-modules-load.service (bnc#741481). - -------------------------------------------------------------------- -Wed Jan 25 10:37:06 UTC 2012 - fcrozat@suse.com - -- Update to version 39: - + New systemd-cgtop tool to show control groups by their resource - usage. - + Linking against libacl for ACLs is optional again. - + If a group "adm" exists, journal files are automatically owned - by them, thus allow members of this group full access to the - system journal as well as all user journals. - + The journal now stores the SELinux context of the logging - client for all entries. - + Add C++ inclusion guards to all public headers. - + New output mode "cat" in the journal to print only text - messages, without any meta data like date or time. - + Include tiny X server wrapper as a temporary stop-gap to teach - XOrg udev display enumeration (until XOrg supports udev - hotplugging for display devices). - + Add new systemd-cat tool for executing arbitrary programs with - STDERR/STDOUT connected to the journal. Can also act as BSD - logger replacement, and does so by default. - + Optionally store all locally generated coredumps in the journal - along with meta data. - + systemd-tmpfiles learnt four new commands: n, L, c, b, for - writing short strings to files (for usage for /sys), and for - creating symlinks, character and block device nodes. - + New unit file option ControlGroupPersistent= to make cgroups - persistent. - + Support multiple local RTCs in a sane way. - + No longer monopolize IO when replaying readahead data on - rotating disks. - + Don't show kernel threads in systemd-cgls anymore, unless - requested with new -k switch. -- Drop systemd-syslog_away_early_on_shutdown.patch: fixed upstream. -- Add fdupes to BuildRequires and use it at build time. - -------------------------------------------------------------------- -Thu Jan 19 13:47:39 UTC 2012 - tittiatcoke@gmail.com - -- Make the systemd journal persistent by creating the - /var/log/journal directory - -------------------------------------------------------------------- -Wed Jan 18 09:03:51 UTC 2012 - tittiatcoke@gmail.com - -- Update to version 38 : - - Bugfixes - - Implementation of a Journal Utility Library - - Implementation of a 128 Bit ID Utility Library -- 11 Patches integrated upstream -- Add systemd-syslog_away_early_on_shutdown.patch: make sure - syslog socket goes away early during shutdown. -- Add listen.conf for rsyslog. This will ensure that it will still - work fine with rsyslog and the new journal. - -------------------------------------------------------------------- -Mon Jan 9 17:01:22 UTC 2012 - fcrozat@suse.com - -- Add fix-is-enabled.patch: ensure systemctl is-enabled work - properly when systemd isn't running. -- Add logind-console.patch: do not bail logind if /dev/tty0 doesn't - exist (bnc#733022, bnc#735047). -- Add sysctl-modules.patch: ensure sysctl is started after modules - are loaded (bnc#725412). -- Fix warning in insserv patch. -- Update avoid-random-seed-cycle.patch with better upstream - approach. -- Update storage-after-cryptsetup.patch to restart lvm before - local-fs.target, not after it (bnc#740106). -- Increase pam-config dependency (bnc#713319). - -------------------------------------------------------------------- -Wed Dec 7 15:15:07 UTC 2011 - fcrozat@suse.com - -- Remove storage-after-cryptsetup.service, add - storage-after-cryptsetup.patch instead to prevent dependency - cycle (bnc#722539). -- Add delay-fsck-cryptsetup-after-md-lvm-dmraid.patch: ensure - fsck/cryptsetup is run after lvm/md/dmraid have landed - (bnc#724912). -- Add cron-tty-pam.patch: Fix cron filling logs (bnc#731358). -- Add do_not_warn_pidfile.patch: Fix PID warning in logs - (bnc#732912). -- Add mount-swap-log.patch: Ensure swap and mount output is - redirected to default log target (rhb#750032). -- Add color-on-boot.patch: ensure colored status are displayed at - boot time. -- Update modules_on_boot.patch to fix bnc#732041. -- Replace private_tmp_crash.patch with log_on_close.patch, better - upstream fix for bnc#699829 and fix bnc#731719. -- Update vconsole patch to fix memleaks and crash (bnc#734527). -- Add handle-racy-daemon.patch: fix warnings with sendmail - (bnc#732912). -- Add new-lsb-headers.patch: support PIDFile: and - X-Systemd-RemainAfterExit: header in initscript (bnc#727771). -- Update bootsplash services to not start if vga= is missing from - cmdline (bnc#727771) -- Add lock-opensuse.patch: disable /var/lock/{subsys,lockdev} and - change default permissions on /var/lock (bnc#733523). -- Add garbage_collect_units: ensure error units are correctly - garbage collected (rhb#680122). -- Add crypt-loop-file.patch: add support for crypt file loop - (bnc#730496). - -------------------------------------------------------------------- -Sat Nov 19 15:40:38 UTC 2011 - coolo@suse.com - -- add libtool as buildrequire to avoid implicit dependency - -------------------------------------------------------------------- -Fri Nov 4 14:44:18 UTC 2011 - fcrozat@suse.com - -- Fix rpm macros to only call presets on initial install - (bnc#728104). - -------------------------------------------------------------------- -Thu Oct 27 13:39:03 UTC 2011 - fcrozat@suse.com - -- Add no-tmpfs-fsck.patch: don't try to fsck tmpfs mountpoint - (bnc#726791). - -------------------------------------------------------------------- -Wed Oct 19 13:18:54 UTC 2011 - fcrozat@suse.com - -- Add avoid-random-seed-cycle.patch: fix dependency cycle between - cryptsetup and random-seed-load (bnc#721666). -- Add crash-isolating.patch: fix crash when isolating a service. -- Fix bootsplash being killed too early. -- Fix some manpages not being redirected properly. -- Add storage-after-cryptsetup.service to restart lvm after - cryptsetup. Fixes lvm on top of LUKS (bnc#724238). - -------------------------------------------------------------------- -Fri Oct 14 13:07:07 UTC 2011 - fcrozat@suse.com - -- Recommends dbus-1-python, do not requires python (bnc#716939) -- Add private_tmp_crash.patch: prevent crash in debug mode - (bnc#699829). -- Add systemctl-completion-fix.patch: fix incorrect bash completion - with some commands (git). - -------------------------------------------------------------------- -Wed Oct 12 13:21:15 UTC 2011 - fcrozat@suse.com - -- Shadow single sysv service, it was breaking runlevel 1. -- Add modules_on_boot.patch to handle /etc/sysconfig/kernel - MODULES_ON_BOOT variable (bnc#721662). - -------------------------------------------------------------------- -Wed Oct 12 08:38:36 UTC 2011 - fcrozat@suse.com - -- Update to release 37: - - many bugfixes - - ConditionCapability added, useful for containers. - - locale mechanism got extend to kbd configuration for - both X and the console - - don't try to guess PID for SysV services anymore (bnc#723194) -- Drop detect-non-running.patch, logind-warning.patch. -- Rewrite systemd-sysv-convert in bash (bnc#716939) -------------------------------------------------------------------- -Tue Oct 11 13:57:32 UTC 2011 - coolo@suse.com - -- make sure updaters get in the /sbin/init from here - the sub package - of the split package will decide which init wins in update case - -------------------------------------------------------------------- -Tue Oct 11 13:10:27 UTC 2011 - coolo@suse.com - -- under openSUSE if it's not systemd, chances are good it's - sysvinit - -------------------------------------------------------------------- -Tue Oct 11 11:07:02 UTC 2011 - coolo@suse.com - -- do not list specific sbin_init providers - -------------------------------------------------------------------- -Wed Oct 5 16:18:48 UTC 2011 - fcrozat@suse.com - -- Add logind-warning.patch: fix pam warning (bnc#716384) - -------------------------------------------------------------------- -Fri Sep 30 13:55:31 UTC 2011 - fcrozat@suse.com - -- Update to version 36 : - - many bugfixes - - systemd now requires socket-activated syslog implementations - - After=syslog.target is no longer needed in .service files - - X-Interactive is ignored in LSB headers (was not working) -- Enable back insserv.conf parsing in systemd core and fix added - dependencies (bnc#721428). -- Fix detection of LSB services status when running daemon - (bnc#721426). -- Drop 0001-execute-fix-bus-serialization-for-commands.patch, - fix-reload.patch - -------------------------------------------------------------------- -Thu Sep 29 16:08:33 UTC 2011 - fcrozat@suse.com - -- Add services to stop bootsplash at end of startup and start it at - beginning of shutdown. -- Fix bootsplash call and ensure dependencies are set right. - -------------------------------------------------------------------- -Thu Sep 29 13:43:00 UTC 2011 - fcrozat@suse.com - -- Add detect-non-running.patch: fix assertion when running - systemctl under non systemd system (git). -- Requires presets branding package. -- Improve macros a little bit. - -------------------------------------------------------------------- -Mon Sep 26 14:52:46 UTC 2011 - fcrozat@suse.com - -- Merge migration rpm macros into service_add/service_del macros. -- Use systemd presets in rpm macros -- Add fix-reload.patch: handle daemon-reload and start condition - properly (bnc#719221). - -------------------------------------------------------------------- -Fri Sep 23 15:39:03 UTC 2011 - fcrozat@suse.com - -- Add systemd-splash / bootsplash-startup.service: enable - bootsplash at startup. - -------------------------------------------------------------------- -Fri Sep 16 15:54:54 UTC 2011 - fcrozat@suse.com - -- Create -32bit package (bnc#713319) - -------------------------------------------------------------------- -Mon Sep 12 08:33:04 UTC 2011 - fcrozat@suse.com - -- Do not mask localnet service, it is not yet handled by systemd. - (bnc#716746) - -------------------------------------------------------------------- -Fri Sep 9 09:28:54 UTC 2011 - fcrozat@suse.com - -- Add revert_insserv_conf_parsing.patch and systemd-insserv_conf: - remove insserv.conf parsing from systemd and use generator - instead. -- put back default.target creation at package install and remove - inittab generator, Yast2 is now able to create it. - -------------------------------------------------------------------- -Thu Sep 1 09:25:40 UTC 2011 - fcrozat@novell.com - -- Update to version 34: - * Bugfixes - * optionaly apply cgroup attributes to cgroups systemd creates - * honour sticky bit when trimming cgroup trees - * improve readahead -- Add libacl-devel as BuildRequires (needed for systemd-uaccess) -- Add some %{nil} to systemd.macros to fix some build issues. -- Fix dbus assertion -- move gtk part to its own package, to reduce bootstrapping - (bnc#713981). - -------------------------------------------------------------------- -Fri Aug 26 14:10:30 UTC 2011 - fcrozat@suse.com - -- Update compose_table patch to use two separate loadkeys call, - compose table overflows otherwise (spotted by Werner Fink). - -------------------------------------------------------------------- -Wed Aug 24 13:02:12 UTC 2011 - fcrozat@novell.com - -- Add tty1.patch: ensure passphrase are handled before starting - gettty on tty1. -- Add inittab generator, creating default.target at startup based - on /etc/inittab value. -- No longer try to create /etc/systemd/system/default.target at - initial package install (bnc#707418) -- Fix configuration path used for systemd user manager. -- Ensure pam-config output is no display in install script. -- Remove buildrequires on vala, no longer needed. - -------------------------------------------------------------------- -Fri Aug 19 15:29:49 UTC 2011 - fcrozat@suse.com - -- Handle disable_capslock, compose table and kbd_rate -- Add rpm macros.systemd file. -- Do not disable klogd, it has its own service now. -- Handle kexec correctly (bnc#671673). -- Disable preload services, they are conflicting with systemd. - -------------------------------------------------------------------- -Fri Aug 19 08:15:15 UTC 2011 - fcrozat@suse.com - -- enable pam_systemd module, using pam-config. - -------------------------------------------------------------------- -Thu Aug 18 07:31:12 UTC 2011 - aj@suse.de - -- Fix crash with systemctl enable. - -------------------------------------------------------------------- -Tue Aug 16 17:02:27 UTC 2011 - fcrozat@suse.com - -- Fix localfs.service to no cause cycle and starts it after - local-fs.target. - -------------------------------------------------------------------- -Thu Aug 4 15:59:58 UTC 2011 - fcrozat@suse.com - -- Remove root-fsck.patch, mkinitrd will use the same path as - dracut. -- Add systemd-cryptsetup.patch: don't complain on "none" option in - crypttab. -- Add systemd-cryptsetup-query.patch: block boot until passphrase - is typed. - -------------------------------------------------------------------- -Wed Aug 3 16:03:25 UTC 2011 - fcrozat@suse.com - -- Add root-fsck.patch: do not run fsck on / if it is rw -- Ship a non null localfs.service, fixes static mount points not - being mounted properly. - -------------------------------------------------------------------- -Wed Aug 3 07:11:33 UTC 2011 - aj@suse.de - -- Update to version 33: - * optimizations and bugfixes. - * New PrivateNetwork= service setting which allows you to shut off - networking for a specific service (i.e. all routable network - interfaces will disappear for that service). - * Merged insserv-parsing.patch and bash-completion-restart.patch - patches. - -------------------------------------------------------------------- -Tue Aug 2 08:29:30 UTC 2011 - fcrozat@suse.com - -- Add insserv-parsing.patch: read/parse insserv.conf. -- Add bash-completion-restart.patch: fix restart service list - (bnc#704782). - -------------------------------------------------------------------- -Mon Aug 1 09:04:53 UTC 2011 - aj@suse.de - -- Split up devel package. -- restart logind after upgrade. -- Adjust rpmlintrc for changes. - -------------------------------------------------------------------- -Fri Jul 29 10:48:20 UTC 2011 - aj@suse.de - -- Update to version 32: - * bugfixes - * improve selinux setup - -------------------------------------------------------------------- -Thu Jul 28 07:27:32 UTC 2011 - aj@suse.de - -- Update to version 31: - * rewrite of enable/disable code: New features systemctl --runtime, - systemctl mask, systemctl link and presets. - * sd-daemon is now shared library. - -------------------------------------------------------------------- -Tue Jul 19 11:56:43 UTC 2011 - aj@suse.de - -- Update to version 30: - + Logic from pam_systemd has been moved to new systemd-login. - + VT gettys are autospawn only when needed - + Handle boot.local/halt.local on SUSE distribution - + add support for systemctl --root - -------------------------------------------------------------------- -Wed Jun 29 12:54:24 UTC 2011 - fcrozat@suse.com - -- Make sure to not start kbd initscript, it is handled by systemd - natively. - -------------------------------------------------------------------- -Fri Jun 17 09:34:24 UTC 2011 - fcrozat@novell.com - -- version 29: - + enable chkconfig support in systemctl for openSUSE. - + systemctl: plug a leak upon create_symlink mismatch - + mount /run without MS_NOEXEC - + dbus: fix name of capability property - + systemctl: fix double unref of a dbus message - + cryptsetup-generator: fix /etc/cryptsetup options - + selinux: selinuxfs can be mounted on /sys/fs/selinux - + readahead-common: fix total memory size detection - + systemctl: fix 'is-enabled' for native units under /lib - + systemctl: fix a FILE* leak - + pam-module: add debug= parameter - + remote-fs.target: do not order after network.target -- update tarball url. - -------------------------------------------------------------------- -Wed Jun 15 10:00:29 UTC 2011 - saschpe@suse.de - -- Use RPM macros instead of $RPM_FOO variables -- Don't require %{version}-%{release} of the base package, - %{version} is sufficient - -------------------------------------------------------------------- -Tue Jun 14 15:10:41 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - mount /run without MS_NOEXEC - - readahead-common: fix total memory size detection - - enable chkconfig support in systemctl for openSUSE - - selinux: selinuxfs can be mounted on /sys/fs/selinux - - cryptsetup-generator: fix /etc/cryptsetup options - - systemctl: fix double unref of a dbus message -- drop merged chkconfig patch - -------------------------------------------------------------------- -Tue Jun 14 12:39:25 UTC 2011 - fcrozat@novell.com - -- Add sysv chkconfig patch to be able to enable / disable sysv - initscripts with systemctl. -- Ensure plymouth support is buildable conditionnally. - -------------------------------------------------------------------- -Thu May 26 21:16:06 CEST 2011 - kay.sievers@novell.com - -- version 28 - - drop hwclock-save.service - - fix segfault when a DBus message has no interface - - man: update the list of unit search locations - - readahead-collect: ignore EACCES for fanotify - - rtc in localtime: use settimeofday(NULL, tz) - instead of hwclock(8) - -------------------------------------------------------------------- -Sat May 21 23:57:30 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - fix crash in D-Bus code - -------------------------------------------------------------------- -Sat May 21 18:17:59 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - socket: always use SO_{RCV,SND}BUFFORCE to allow larger values - - util: use new VT ESC sequence to clear scrollback buffer - - sd-daemon: move _sd_hidden_ from .h to .c file - - missing: add IP_TRANSPARENT - -------------------------------------------------------------------- -Sat May 21 16:17:38 CEST 2011 - kay.sievers@novell.com - -- version 27 - - util: use open_terminal() in chvt() too - - socket: expose SO_BROADCAST - - git: add .mailmap - - exec: expose tty reset options in dbus introspection data - - socket: expose IP_TRANSPARENT - - exec: hangup/reset/deallocate VTs in gettys - - socket: use 666 socket mode by default since neither fifos, - nor sockets, nor mqueues need to be executable - - socket: add POSIX mqueue support - - README: document relation to nss-myhostname - - hostnamed: check that nss-myhostname is installed - -------------------------------------------------------------------- -Tue May 17 19:15:17 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - sysctl: apply /etc/sysctl.conf last - - systemd-analyze: print hostname, kernelversion and arch at - the top of the plot - - pam: downgrade a few log msgs - - hostnamed: SetPrettyHostname() should check PK action - org.freedesktop.hostname1.set-static-hostname - - user-sessions: ignore EROFS when unlinking /etc/nologin if - the file doesn't exist anyway - - unit: make ignoring in snapshots a per unit property, - instead of a per unit type property - - vconsole: use open_terminal() instead of open() - - units: enable automount units only if the kernel supports them - -------------------------------------------------------------------- -Thu May 5 07:45:46 UTC 2011 - coolo@opensuse.org - -- remove policy filter - -------------------------------------------------------------------- -Thu May 5 08:59:46 CEST 2011 - meissner@suse.de - -- add missing buildrequires dbus-1-devel, vala, libxslt-devel -- touch vala files for rebuilding to unbreak Factory - -------------------------------------------------------------------- -Mon May 2 23:05:35 CEST 2011 - kay.sievers@novell.com - -- also delete plymouth files - -------------------------------------------------------------------- -Mon May 2 19:00:41 CEST 2011 - kay.sievers@novell.com - -- disable plymouth sub-package until plymouth gets into Factory - -------------------------------------------------------------------- -Sun May 1 22:51:28 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - binfmt, modules-load, sysctl, tmpfiles: add missing - ConditionDirectoryNotEmpty= - - binfmt, modules-load, sysctl, tmpfiles: read /usr/local/lib - and where appropriate /lib directories - -------------------------------------------------------------------- -Sat Apr 30 04:56:55 CEST 2011 - kay.sievers@novell.com - -- version 26 - - plymouth: introduce plymouth.enable=0 kernel command line - - util: don't AND cx with cx - - man: typo in sd_daemon reference - - util: conf_files_list() return list as parameter - - dbus: make daemon reexecution synchronous - -------------------------------------------------------------------- -Thu Apr 28 14:07:12 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - service: properly notice when services with a main process - that isn't a child of init die - - unit: fix assert when trying to load unit instances for - uninstanciable types - - def: lower default timeout to 90s - - manager: fix serialization counter - -------------------------------------------------------------------- -Wed Apr 27 04:19:05 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - dbus: don't hit assert when dumping properties - - cryptsetup: fix keyfile size option processing - - socket: improve warning message when we get POLLHUP - - mount: failure to mount cgroup hierarchies should not be fatal - - configure: add AC_SYS_LARGEFILE - -------------------------------------------------------------------- -Mon Apr 25 21:45:02 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - tmpfiles.d: switch to stacked config dirs in /lib, /etc, /run - - sysctl.d, binfmt.d, modules-load.d: switch to stacked config - dirs in /lib, /etc, /run - - manager: mkdir /run/systemd/system when starting up - - man: Spelling fixes - -------------------------------------------------------------------- -Thu Apr 21 04:39:57 CEST 2011 - kay.sievers@novell.com - -- version 25 - - mount: Allow creating mount units for /var/lib/nfs/rpc_pipefs - and /proc/fs/nfsd. - - socket: support ListeSpecial= sockets - - vconsole: don't set console font/keymap if settings are empty - - nspawn: don't fail when we receive SIGCHLD - - cgroup: don't accidentaly trim on reload - - units: set capability bounding set for syslog services - - socket: log more information about invalid poll events - - man: fix specification of default timeouts - - mount,crypto: rework meaning of noauto/nofail - - fsck: don't fsck against basic.target in order to properly - allow automount /home - - manager: when running in test mode, do not write generated - unit files to /run/systemd/generator - - mount: properly parse timeouts options in the middle of - the string - - hostnamed: drop all caps but CAP_SYS_ADMIN - - execute: when we run as PID 1 the kernel doesn't give us - CAP_SETPCAP by default. Get that temporarily when dropping - capabilities for good - - mount: make device timeout configurable - - cryptsetup: do not order crypto DM devices against the - cryptsetup service - - socket: reuse existing FIFOs - - socket: guarantee order in which sockets are passed to be - the one of the configuration file - - systemctl: always consider unit files with no - [Install] section but stored in /lib enabled - - job: also print status messages when we successfully started - a unit - - hostnamed: add reference to SMBIOS specs - - man: runlevel 5 is usually more comprehensive, so use it - instead of 3 to detect whether a sysv service is enabled - - polkit: follow the usual syntax for polkit actions - - hostnamed: introduce systemd-hostnamed - - units: order quotacheck after remount-rootfs - - hostname: split out hostname validation into util.c - - dbus: split out object management code into dbus-common, - and simplify it - - strv: properly override settings in env_append() - - strv: detect non-assignments in env blocks properly in - env_append() - - strv: handle empty lists in strv_copy() properly - - util: truncate newline inside of read_one_line_file() - - util: modernize get_parent_of_pid() a bit - - crypto: let the cryptsetup binary handles its own - configurable timeouts - - logger,initctl: use global exit timeout - - ask-password: use default timeout - - manager: drop all pending jobs when isolating - - manager: introduce IgnoreOnIsolate flag so that we can keep - systemd-logger around when isolating - - units: never pull in sysinit from utmp, so that we can - shutdown from emergency mode without pulling in sysinit - - manager: downgrade a few log messages - - units: require syslog.socket from the logger because we - simply fail if we don't have it - - logger: adjust socket description to match service - - units: set stdout of kmsg syslogd to /dev/null - - units: add --no-block when starting normal service after - shell exited - - ask-password: use kill(PID, 0) before querying a password - - ask-password: support passwords without timeouts - - ask-password: always send final NUL char - - ask-password: properly accept empty passwords from agent - - unit: skip default cgroup setup if we have no hierarchy - - units: isolate emergency.target instead of emergency.service - when we fail to mount all file systems - - mount: don't pull in stdio logger for root mount unit - - cgroup: be nice to Ingo Molnar - - pam: use /proc/self/sessionid only with CAP_AUDIT_CONTROL - - pam: use /proc/self/loginuid only with CAP_AUDIT_CONTROL - - socket: try creating a socket under our own identity if we - have no perms to consult the selinux database - - socket: fix check for SEQPACKET - - execute: don't fail if we cannot fix OOM in a container - - unit: fix dump output - - socket: be a bit more verbose when refusing to start a - socket unit - - socket: support netlink sockets - - local-fs: invoke emergency.service mounting at boot fails - - path: optionally, create watched directories in .path units - - tmpfiles: don't warn if two identical lines are configured - - man: add man page for ask-password - - dbus: expose monotonic timestamps on the bus - - manager: no need to use randomized generator dir when running - as system manager - - don't make up buffer sizes, use standard LINE_MAX instead - - unit: disallow configuration of more than one on_failure - dependencies if OnFailureIsolate= is on - - unit: pull in logger unit only when running in system mode - - manager: serialize/deserialize max job id and /usr taint flag - - manager: don't garbage collect jobs when isolating, to change - global state - - unit: introduce OnFailureIsolate= - - mount: relabel both before and after a mount, just in case - - cmdline: we actually want to parse the kernel cmdline in VMs, - just not in containers - - units: rename rtc-set.target to time-sync.target and pull it - in by hwclock-load.service - - job: fix deserialization of jobs: do not ignore ordering - - systemctl: properly parse JobNew signals - - service: fix units with more than one socket - - systemctl: make most operations NOPs in a chroot - - manager: don't show PID for incoming signals if it is 0 - - man: fix description of systemctl reload-or-try-restart - - mount: block creation of mount units for API file systems - - units: call the logger a bridge too - - build-sys: always place user units in /usr/lib/systemd - - pkgconfig: update .pc file accordingly - - lookup: always also look into /usr/lib for units - - exec: support unlimited resources - - selinux: relabel /run the same way as /dev after loading - the policy since they both come pre-filled and unlabelled - - manager: fd must be int, not char - - change remaining /var/run to /run - - units: move user units from /usr/share to /usr/lib since - they might be arch-dependent - - man: document /etc/sysctl.d/ - - binfmt: add binfmt tool to set up binfmt_misc at boot - - tmpfiles: create leading directories for d/D instructions - - condition: add ConditionSecurity - - load-fragment: unify config_parse_condition_{kernel, virt} - - condition: fix dumping of conditions - - initctl: /dev/initctl is a named pipe, not a socket - - kmsg-syslogd: pass facility value into kmsg - - move /var/lock to HAVE_SYSV_COMPAT - - tmpfiles: split off rules for legacy systems into legacy.conf - - general: replace a few uses of /var/run by /run - - tmpfiles: enforce new /var/lock semantics - - man: document ConditionPathIsDirectory= - - mount: also relabel pre-mounted API dirs - - log: don't strip facility when writing to kmsg - - build-sys: create a number of drop-in config dirs - - random: do not print warning if random seed doesn't exist - - plymouth: use PID file to detect whether ply is running - - build-sys: install systemd-analyze by default - - analyze: improve output - - analyze: add plotter - - unit: when deserializing do reconnect to dbus/syslog when - they show up - - analyze: beautify output a bit - - add systemd-analyze tool - - unit: don't override timestamps due to state changes when - deserializing - - plymouth: don't explicitly enable status message when - plymouth is up - - status: show status messages unconditionally if plymouth - is around - - taint: add missing cgroups taint flag - - locale: don't access misinitialized variable - - quota: do not pull in quota tools for mounts that do not - originate in neither /etc/fstab nor fragment files - - manager: fix taint check for /usr - - unit: never apply /etc/rcN.d/ priority to native services - - unit: fix parsing of condition-result - - unit: don't complain about failed units when deserializing - - exec: drop process group kill mode since it has little use - and confuses the user - - cgroup: explain when we cannot initialize the cgroup stuff - - systemctl: don't truncate description when using pager - - ask-password: also accept Backspace as first keypress as - silent mode switch - - unit: when deserializing jobs, don't pull in dependencies - - locale: fix LC_MESSAGES variable name - - plymouth: Remove the calls to plymouth message - - udev: systemd-tag all ttys - - tmpfiles fix /run/lock permissions - - ask-password: use TAB to disable asterisk password echo - - execute: socket isn't abstract anymore - - use /run instead of /dev/.run - - man: explain a couple of default dependencies - - mount: pull in quota services from local mountpoints with - usr/grpquota options - - service: pull in sysv facility targets from the sysv units, - not the other way round - - units: pull in syslog.target from syslog.socket - - units: don't ever pull in SysV targets from other SysV - targets - - units: document that some targets exists only for compat - with SysV - - man: document pidns containers - - units: deemphesize Names= settings, and explain why nobody - whould use them - - units: on mandriva/fedora create single.service alias via - symlink, not Names= - - units: get rid of runlevel Names=, the symlinks in - /lib/systemd/system are much more useful - - rework syslog detection so that we need no compile-time - option what the name of the syslog implementation is - - man: document .requires/ directories - - special: get rid of dbus.target - - exec: properly apply capability bounding set, add inverted - bounding sets - - dbus: add service D-Bus property "Sockets" - - dbus: consolidate service SysV conditionals - - unit: serialize condition test results - - def: centralize definition of default timeout in one place - - chkconfig: check against runlevel 5 instead of 3, since it is - a superset of the latter - - systemctl: accept condstop as alias for stop - - dbus: allow LoadUnit to unprivileged users - - umount: make sure skip_ro is always correctly initialized -- create /run (link it to /var/run) -- refresh splash password patch -- conflict with old mkinitrd version (we need /run) -- conflict with old udev (we need /run) - -------------------------------------------------------------------- -Wed Mar 16 18:38:04 CET 2011 - kay.sievers@novell.com - -- new snapshot - - man: fix systemctl try-restart description - - Add Frugalware display-manager service - - main: revert recognition of "b" argument - - main: interpret all argv[] arguments unconditionally when - run in a container - - loopback: downgrade an error to warning - - nspawn: bind mount /etc/localtime - - nspawn: make tty code more robust against closed/reopened - /dev/console - - util: make touched files non-writable by default - - nspawn: allocate a new pty instead of passing ours through - to avoid terminal settings chaos - - main: parse the whole arv[] as kernel command line - - main: check if we have a valid PID before getting the name - - ask-password: reset signal mask after we are done - - cgroup: don't recheck all the time whether the systemd - hierarchy is mounted, to make strace outputs nicer and save - a few stat()s - - man: document systemd-nspawn - - cgls: don't strip user processes and kernel threads from - default output - - umount: don't try to remount bind mounts ro during shutdown - - getty: move automatic serial getty logic into generator - - container: skip a few things when we are run in a container - such as accessing /proc/cmdline - - cgls: by default start with group of PID 1 - - pam: determine user cgroup tree from cgroup of PID 1 - - nspawn: move container into its own name=systemd cgroup - - manager: don't show kernel boot-up time for containers - - manager: show who killed us - - units: add console-shell.service which can be used insted of - the gettys to get a shell on /dev/console - -------------------------------------------------------------------- -Mon Mar 14 18:29:23 CET 2011 - kay.sievers@novell.com - -- new snapshot - - build-sys: move remaining tools from sbin/ to bin/ since they - might eventually be useful for user execution - - hostname: don't override the hostname with localhost if it - is already set and /etc/hostname unset - - audit: give up sending auditing messages when it failed due - to EPERM - - nspawn: don't require selinux on if it is compiled in - - main: remove AF_UNIX sockets before binding - - shutdown: print a nice message when terminating a container - - nspawn: mount /selinux if needed - - shutdown: just call exit() if we are in a container - - umount: assume that a non-existing /dev/loop device means it - is already detached - - socket: use 777 as default mode for sockets - - main: log to the console in a container - - main: don't parse /proc/cmdline in containers - - util: add detect_container() - - nspawn: reset environment and load login shell - - core: move abstract namespace sockets to /dev/.run - - nspawn: add simple chroot(1) like tool to execute commands - in a namespace container - - util: return exit status in wait_for_terminate_and_warn() - - util: properly identify pty devices by their major - -------------------------------------------------------------------- -Sat Mar 12 14:26:28 CET 2011 - kay.sievers@novell.com - -- new snapshot - - polkit: autogenerate polkit policy with correct paths - - systemctl: support remote and privileged systemctl access - via SSH and pkexec - - gnome-ask-password-agent: fix path to watch - -------------------------------------------------------------------- -Fri Mar 11 13:59:34 CET 2011 - kay.sievers@novell.com - -- fix broken sysctl.service linking - -------------------------------------------------------------------- -Fri Mar 11 01:39:41 CET 2011 - kay.sievers@novell.com - -- new snapshot - - units: move the last flag files to /dev/.run - - util: close all fds before freezing execution - - dbus: timeout connection setup - - main: properly handle -b boot option - - pam: do not leak file descriptor if flock fails -- disable sysv services natively provided by systemd - -------------------------------------------------------------------- -Thu Mar 10 14:16:50 CET 2011 - kay.sievers@novell.com - -- new snapshot - - main: refuse system to be started in a chroot - - main: don't check if /usr really is a mount point, since it is - fine if it is passed pre-mounted to us from the initrd - - condition: take a timestamp and store last result of conditions - - dev: use /dev/.run/systemd as runtime directory, instead of - /dev/.systemd - - machine-id: move machine-id-setup to /sbin - - pkconfig: export full search path as .pc variable - - selinux: bump up error level when in non-enforcing mode - - dbus: fix dbus assert due to uninitialized error - - dbus: properly generate UnknownInterface, UnknownProperty - and PropertyReadOnly errors - - mount: use /dev/.run as an early boot alias for /var/run - -------------------------------------------------------------------- -Tue Mar 8 19:06:45 UTC 2011 - kay.sievers@novell.com - -- version 20 - - service: prefix description with LSB only if script has LSB header, - use 'SysV:' otherwise - - unit: don't accidently create ordering links to targets when - default deps are off for either target and unit - - mount: support less cumbersome x-systemd-xxx mount options - - unit: distuingish mandatory from triggering conditions - - dbus: return DBUS_ERROR_UNKNOWN_OBJECT when an object - is unknown - - systemctl: when forwarding is-enabled to chkconfig - hardcode runlevel 3 - - job: introduce new job result code 'skipped' to use when pre - conditions of job did not apply - - job: convert job type as early as we can, to simplify things - - Keep emacs configuration in one configuration file. - - syslog: make sure the kmsg bridge is always pulled in and - never terminated automatically - - mount: make /media a tmpfs - -------------------------------------------------------------------- -Mon Mar 7 17:24:46 CET 2011 - kay.sievers@novell.com - -- new snapshot - - add org.freedesktop.DBus.Properies.Set method - - main: introduce /etc/machine-id - - systemctl: fix exit code when directing is-enabled - to chkconfig - - dbus: add 'Tainted' property to Manager object - - dbus: expose distribution name and features on manager - object as properties - - man: document changed EnvironmentFile= behaviour - - main: add link to wiki page with longer explanation of the - /usr madness - - execute: load environment files at time of execution, not - when we load the service configuration - - path: after installing inotify watches, recheck file again - to fix race - - path: don't use IN_ATTRIB on parent dirs when watching a - file, since those cannot be removed without emptying the dir - first anyway and we need IN_ATTRIB only to detect the link - count dropping to 0 - - kill: always send SIGCONT after SIGTERM - - readahead: disable collector automatically on read-only media - - sysctl: use scandir() instead of nftw() to guarantee - systematic ordering - - support DT_UNKNOWN where necessary for compat with reiserfs - - systemctl: always null-terminate the password -- call systemd-machine-id-setup at installation - -------------------------------------------------------------------- -Tue Mar 1 12:28:01 CET 2011 - kay.sievers@novell.com - -- version 19 - - udev: don't ignore non-encrypted block devices with no - superblock - - udev: expose ttyUSB devices too - - udev: mark hvc devices for exposure in systemd - - cryptsetup: add a terse help - - agent: don't print warnings if a password was removed or - timed out - - systemctl: shutdown agent explicitly so that it can reset - the tty properly - - never clean up a service that still has a process in it - - label: udev might be making changes in /dev while we - iterate through it - - systemctl: properly handle job results - - job: also trigger on-failure dependencies when jobs faile - due to dependencies, timeout - - job: when cancelling jobs, make sure to propagate this - properly to depending jobs - - job: start job timeout on enqueuing not when we start to - process a job - - unit: increase default timeout to 3min - - logger: leave the logger longer around and allow it do - handle more connections - - dbus: pass along information why a job failed when it - failed (dbus api change!) - - general: unify error code we generate on timeout - - units: synchronize gettys to plymouth even if plymouth is - killed by gdm - - job: start job timer when we begin running the job, not - already when we add it to the queue of jobs - - cryptsetup: try to show the mount point for a crypto disk - if we can - - rescue: terminate plymouth entirely when going into - rescue mode - - ask-password: fix handling of timeouts when waiting - for password - - ask-password: supported plymouth cached passwords - - main: print warning if /usr is on a seperate partition - - ensure we start not a single getty before plymouth is - gone because we never know which ttys plymouth still controls - - unit: introduce ConditionVirtualization= - -------------------------------------------------------------------- -Mon Feb 21 19:30:30 CET 2011 - kay.sievers@novell.com - -- new snapshot - - dbus: don't rely that timer/path units have an initialized - unit field (bnc#671561) - -------------------------------------------------------------------- -Mon Feb 21 13:58:51 CET 2011 - kay.sievers@novell.com - -- new snapshot - - order network mounts after network.target (bnc#672855) - -------------------------------------------------------------------- -Mon Feb 21 04:19:15 CET 2011 - kay.sievers@novell.com - -- new snapshot - - kmsg-syslogd: increase terminate timeout to 5min to generte - less debug spew - - shutdown(8) - call kexec if kexec kernel is loaded (bnc#671673) - - unit: don't timeout fsck - - man: fixed typo in SyslogIdentifier= - - tmpfiles: never clean up block devices - - main: refuse --test as root - -------------------------------------------------------------------- -Fri Feb 18 13:52:22 CET 2011 - kay.sievers@novell.com - -- new snapshot - - units: order fsck@.service before basic.target - instead of local-fs.target to relax things a little - - readahead: remove misleading error messages - - man: don't do more reloads than necessary in spec files - - util: retry opening a TTY on EIO - - util: beef up logic to find ctty name - - tmpfiles: kill double slashes in unix socket names -- drop vhangup patch, it is fixed in login(3) by forwarding the - SIGHUP to the child process - -------------------------------------------------------------------- -Fri Feb 18 09:33:55 UTC 2011 - coolo@novell.com - -- revert back to conflicts: sysvinit - -------------------------------------------------------------------- -Thu Feb 17 15:04:44 CET 2011 - werner@suse.de - -- Add temporary workaround for bnc#652633, that is do a vhangup - to all processes on a tty line used for a getty - -------------------------------------------------------------------- -Wed Feb 16 21:39:20 CET 2011 - kay.sievers@novell.com - -- version 18 - - systemctl: introduce --ignore-dependencies - - systemctl: introduce --failed to show only failed services - - systemctl: introduce --failed to show only failed services - - rescue: make 'systemctl default' fail if there is already - something running when the shell exited - - util: seperate welcome line from other output by empty lines - - manager: don't consider transaction jobs conflicting with - queued jobs redundant - - udev: ignore block devices which no known contents, to avoid - trying of mounts/swapons when devices aren't set up full yet - - swap: handle "nofail" from fstab - - mount,swap: properly add dependencies to logger if needed - - service: change default std output to inherit - - exec: introduce global defaults for the standard output - of services - - udev: use SYSTEMD_READY to mask uninitialized DM devices - - fsck: output to /dev/console by default in addition to syslog - - execute: optionally forward program output to /dev/console in - addition to syslog/kmsg - - socket: refuse socket activation for SysV services - - fsck: do not fail boot if fsck returns with an error code that - hasn't 2 or 6 set - - shutdown: execute all binaries in /lib/systemd/system-shutdown - as last step before invoking reboot() - - job: make status message printing more verbose - - cryptsetup: fix unit file description - - tmpfiles: never delete AF_UNIX sockets that are alive - - getty: don't parse console= anymore, use - /sys/class/tty/console/active instead - - properly resolve /dev/console if more than once console= - argument was passed on the kernel command line - - getty: do not auto-spawn getty's on VC ttys if console=ttyN - - fsck: skip root fsck if dracut already did it - - util: when determining the right TERM for /dev/console - consult /sys/class/tty/console/active - - pam: introduce whitelist and blacklist user list feature - - systemctl: minor optimizations - - systemctl: don't unnecessarily close stdin/stdout/stderr for - tty agent so that locking by tty works - - readahead: disable readahead in virtual machines - - tmpfiles: move binary to /bin to make it publicly available - - tmpfiles: take names of tmpfiles configuration files on the - command line - - tmpfiles: log to stderr if possible - - tmpfiles: support globs - - units: introduce and hook up sound.target - - dbus: allow all clients access to org.freedesktop.DBus.Peer - - consider udev devices with SYSTEMD_READY=0 as unplugged - - systemctl: don't start agent for --user - - systemctl: make sure the tty agent does not retain a copy - of stdio - -------------------------------------------------------------------- -Tue Feb 8 19:10:06 CET 2011 - kay.sievers@novell.com - -- new snapshot - - plymouth: move plymouth out of TARGET_FEDORA - - build-sys: fix AC_COMPILE_IFELSE tests - - build-sys: ensure selinux configure check follows logic of - other optional features - - build-sys: autodetect and use pkg-config for libselinux - - dbus: use ControlGroup as property name to match config option - - pam: optionally reset cgroup memberships for login sessions - - load-fragment: properly parse Nice= value - - automount: use unit_pending_inactive() where appropriate - -------------------------------------------------------------------- -Tue Feb 8 17:40:29 CET 2011 - jeffm@suse.de - -- Removed unecessary workaround for plymouth startup. - -------------------------------------------------------------------- -Fri Feb 4 21:24:11 CET 2011 - jeffm@suse.de - -- Split plymouth support into systemd-plymouth package. - -------------------------------------------------------------------- -Sat Jan 22 14:42:34 CET 2011 - kay.sievers@novell.com - -- new snapshot - - clang: fix some issues found with clang-analyzer - - gcc: make gcc shut up - -------------------------------------------------------------------- -Sat Jan 22 14:40:24 CET 2011 - kay.sievers@novell.com - -- version 17 - - vala 0.10 seem to work fine - - cryptsetup: fix ordering loop when dealing with encrypted - swap devices - - main: don't warn if /etc/mtab is a symlink to /proc/mounts - - socket: don't crash if the .service unit for a .socket unit - is not found - - mount: ignore if an fsck is requested for a bind mount, - so that we don't wait for the bind 'device' to show up - - automount: fix segfault when shutting down - - man: give an example for vconsole.conf - - dbus: don't try to connect to the system bus before it is - actually up - - service: make chain of main commands and control commands - independent of each other, so that both can be executed - simultaneously and independently - - service: don't allow reload operations for oneshot services - - vala: convert from dbus-glib to gdbus - - systemctl: highlight failed processes in systemctl status - - systemctl: show process type along process exit codes - - service: when reloading a service fails don't fail the entire - service but just the reload job - -------------------------------------------------------------------- -Wed Jan 19 12:55:40 CET 2011 - kay.sievers@novell.com - -- new snapshot - - shutdown: use correct kexec options - - serial-getty: do not invoke /sbin/securetty; recent - pam_securetty looks for console= in /proc/cmdline - - systemctl: before spawning pager cache number of columns - - pam: optionally keep processes of root user around - - service: if a reload operation fails, don't shut down - the service - - execute: make sending of SIGKILL on shutdown optional - - mount: do not translate uuids to lowercase - - man: document missing KillSignal= and swap options -- require recent util-linux -- drop mtab symlink creation which is done in util-linux - -------------------------------------------------------------------- -Sat Jan 8 19:25:40 CET 2011 - kay.sievers@novell.com - -- version 16 - - device: don't warn if we cannot bump the udev socket buffer - - logger: when passing on PID info, fall back to our own if - originating process is already gone - - service: don't hit an assert if information in LSB headers is - incorrectly formatted - - execute,util: fix two small memory leaks - - getty: unset locale before execution - - execute: drop empty assignments from env blocks on execution - but keep them around otherwise to make them visible - - umount: don't try to detach the dm device the root dir is on, - to minimize warning messages - - locale: fix variable names - - fragment: allow prefixing of the EnvironmentFile= - path with - to ignore errors - - util: don't pass invalid fd to fdopendir() on error to avoid - corruption of errno - - tmpfiles: nicer message when two or more conflicting lines - are configured for the same file - - fragment: properly handle quotes in assignments in - EnvironmentFile= files - - sysctl: don't warn if sysctls are gone - - readahead: ignore if files are removed during collection or - before replay - - serial: use TERM=vt100 instead of TERM=vt100-nav - - cryptsetup: call mkswap on dm device, not on source device - - mount-setup: mount /dev/pts with mode=620,gid=5 by default - and make GID overridable via configure switch - - systemctl: implement auto-pager a la git - - shutdown: drop redundant sync() invocation - - util: invoke sync() implicitly on freeze() - - tmpfiles: do no follow symlinks when cleaning up dirs - -------------------------------------------------------------------- -Tue Dec 28 22:08:28 CET 2010 - jeffm@suse.de - -- Add support for building plymouth support with openSUSE - -------------------------------------------------------------------- -Mon Dec 27 22:15:41 CET 2010 - kay.sievers@novell.com - -- new snapshot - - pam: do not sort user sessions into their own cgroups in - the 'cpu' hierarchy - - mount-setup: drop noexec flag from default mount options - for /dev/shm - - systemd.pc: change 'session' to 'user' - -------------------------------------------------------------------- -Thu Dec 16 16:52:04 CET 2010 - kay.sievers@novell.com - -- new snapshot - - ifdef suse-only sysv script lookup code - -------------------------------------------------------------------- -Thu Dec 16 12:49:00 UTC 2010 - seife@opensuse.org - -- add bootsplash handling patch to be able to enter e.g. - crypto passphrases (bnc#659885) - -------------------------------------------------------------------- -Thu Dec 9 18:54:15 CET 2010 - kay.sievers@novell.com - -- new snapshot - - add LSB 'smtp' alias for mail-transport-agent.target - -------------------------------------------------------------------- -Wed Dec 8 12:43:53 CET 2010 - kay.sievers@novell.com - -- new snapshot - - path: fix watching the root directory - - update README - -------------------------------------------------------------------- -Fri Nov 26 19:17:46 CET 2010 - kay.sievers@novell.com - -- new snapshot - - gnome-ask-password-agent: also support libnotify < 0.7 for now - - udev: increase event buffer size -- require fsck -l - -------------------------------------------------------------------- -Thu Nov 25 06:45:41 CET 2010 - kay.sievers@novell.com - -- version 15 - - dbus: use the right data slot allocator - - manager: bump up max number of units to 128K - - build-sys: allow cross-compilation -- revert too new libnotify code/requirement -- revert fsck -l option requirement - -------------------------------------------------------------------- -Tue Nov 23 11:49:43 CET 2010 - kay.sievers@novell.com - -- new snapshot - - units: simplify shutdown scripts - - logger: fix error handling - - swap: order file-based swap devices after remount-rootfs -- revert too new libnotify code/requirement -- revert fsck -l option requirement - -------------------------------------------------------------------- -Mon Nov 22 10:10:59 CET 2010 - kay.sievers@novell.com - -- new snapshot - - systemctl: don't return LSB status error codes for 'show' - - mount: do not try to mount disabled cgroup controllers - - man: document /etc/modules-load.d/, /etc/os-release, - locale.conf, /etc/vconsole.conf, /etc/hostname - - units: move a couple of units from base.target to - sysinit.target - - man: reorder things to follow the same order everywhere -- revert too new libnotify code/requirement -- revert fsck -l option requirement - -------------------------------------------------------------------- -Sat Nov 20 19:58:14 CET 2010 - kay.sievers@novell.com - -- version 13 - - cryptsetup: actually show disk name - - cryptsetup: show udev device name when asking for password - - sysctl: implement native tool and support /etc/sysctl.d - - units: enable console ask-password agent by default - - introduce /etc/os-release distro description - - job: make sure we don't fail umount.target if a mount unit - failed to stop - - cgroup: after killing cgroup processes, ensure the group is - really dead gone. wait for 3s at max - - cgroup: if we couldn't remove a cgroup after killing - evertyhing in it then it's fine - - cryptsetup: automatically order crypt partitions before - cryptsetup.target - - man: trivial BindTo description fix - - manager: make list of default controllers configurable - - build: expose libcryptsetup dependency in build string - - pam: document controllers= switch - - cgroup: by default, duplicate service cgroup in the cpu hierarchy - - pam: duplicate cgroup tree in the cpu hierarchy by default, - optionally more -- enable native crypto handling instead of boot.crypto -- revert too new libnotify code/requirement -- revert fsck -l option requirement - -------------------------------------------------------------------- -Wed Nov 17 01:32:04 CET 2010 - kay.sievers@novell.com - -- version 12 - - ask-password: add --console mode to ask /dev/console -- revert too new libnotify code/requirement - -------------------------------------------------------------------- -Tue Nov 16 11:47:28 CET 2010 - kay.sievers@novell.com - -- new snapshot - - cryptsetup: reword questions a little - - units: order hwclock after readahead - - path: don't mention too many inotify msgs - - cryptsetup: include device name in password question - - cryptsetup: lock ourselves into memory as long as we deal - with passwords - - plymouth: use updated socket name - - units: set TERM for gettys again, since they acquire a TTY - - units: allow start-up of plymouth ask-password agent very early - - units: enable ask-paswword .path units early enough to be useful - for early mounts - - units: delay getty until logins are allowed - - pam: always rely on loginuid instead of uid to determine cgroup - and XDG_RUNTIME_DIR name - - cgroup: call root cgroup system instead of systemd-1 - - exec: determine right TERM= setting based on tty name - - pam: rename master user cgroup to 'master' - - drop support for MANAGER_SESSION, introduce MANAGER_USER - - units: use ConditionDirectoryNotEmpty= where applicable - - unit: introduce ConditionDirectoryNotEmpty= - - delete tmp.mount which may conflict with an unrelated fstab - entry -- revert too new libnotify code/requirement -- disable native crypto handling - -------------------------------------------------------------------- -Mon Nov 15 18:45:31 CET 2010 - kay.sievers@novell.com - -- new snapshot - - load-dropin: add support for .requires directories - - manager: consider jobs already installed as redundant when - reducing new transactions - - manager: always pull 'following' units into transaction - - util: always highlight distro name - - units: make use of agetty mandatory - - manager: don't fail transaction if adding CONFLICTED_BY job fails - - job: make it possible to wait for devices to be unplugged - - tmpfiles: ignore files marked with the sticky bit - - cryptsetup: handle password=none properly - - cryptsetup: properly parse cipher= switch - - cryptsetup: support non-LUKS crypto partitions - - ask-password: enable password agent - - automatically start cryptsetup when looking for mount source - - log: add automatic log target - - cryptsetup: hook up tool with ask-password - - manager: hookup generators - - split mount_point_is_api() and mount_point_ignore() -- replace boot.crypto job with systemd native crypto handling -- enable readahead (requires 2.6.37+ kernel's fanotify to work) - -------------------------------------------------------------------- -Thu Nov 11 07:44:02 CET 2010 - kay.sievers@novell.com - -- new snapshot - - tmpfiles: include reference to man page in tmpfiles files - - vconsole: support additional keymap for toggling layouts - - main: warn if /etc/mtab is not a symlink - - add bash completion for systemctl --system - - man: minor tmpfiles(5) updates and reindenting - - main: rename process on startup to 'systemd' to avoid confusion - - unit: add ConditionNull= condition - - ac-power: make ac-power a proper binary that scripts can call - - manager: parse RD_TIMESTAMP passed from initrd - - modules-load: fix minor race - - label: use internal utility functions wher epossible - - cryptsetup: minimal cryptsetup unit generator - - selinux: relabel /dev after loading policy - - log: downgrade syslog connection failure message - - service: delay automatic restart if job is pending - - manager: when isolating undo all pending jobs, too - - manager: only minimize impact if we are in fail mode -- replace /etc/mtab with link to /proc/self/mounts - -------------------------------------------------------------------- -Fri Nov 5 00:28:10 CET 2010 - kay.sievers@novell.com - -- new snapshot - - man/tmpfiles.d.xml: add a manpage for tmpfiles - - do not overwrite other udev tags - - readahead: shortcut replay if /.readahead doesn't exist - -------------------------------------------------------------------- -Fri Oct 29 21:20:57 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - fsck: return SUCCESS when we skip the check - - fsck: skip checking / if it is writable - - units: fix variable expansion - - mount: don't pull in nofail mounts by default, but use them - if they are around - - job: recursively fail BoundBy dependencies - - fsck: fix target name to check for - - units: rename fedora/single.service to rescue.service - - units: introduce plymouth-start and plymouth-kexec - - unit: get rid of IgnoreDependencyFailure= - - use util-linux:agetty instead of mingetty - - unit: replace StopRetroactively= by BindTo= dependencies - - automount: show who's triggering an automount - - units: run sysctl only if /etc/sysctl.conf exists - - systemctl: always show what and where for mount units - - shutdown: reword a few messages a little - - manager: show which jobs are actually installed after a transaction - - timer: when deserializing timer state stay elapsed - - device: set recursive_stop=true by default - - unit: suppress incorrect deserialization errors - - swap: there's no reason not order swap after sysinit - - socket: fix IPv6 availability detection - -------------------------------------------------------------------- -Wed Oct 27 12:00:26 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - create /dev/stderr and friends early on boot - - run sysv related scripts with TERM=linux - - add only swaps listed in /etc/fstab automatically to swap.target - - errors: refer to systemctl status when useful - - swap: add default cgroup to swap exec env - - readahead: bump a device's request_nr when enabling readahead - - shutdown: properly handle sigtimedwait() timing out - - main: fix typo in kernel cmdline parameters help - - ord-tty: properly handle SIGINT/SIGTERM - - systemctl: automatically spawn temporary password agent - - ask-password: properly handle multiple pending passwords - - ask-password: enable plymouth agent by default - - ask-password: add minimal plymouth password agent - -------------------------------------------------------------------- -Tue Oct 26 13:10:01 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - make sure to pass TERM=linux to all sysv scripts - - don't unset HOME/TERM when run in session mode - - mount: add nosuid,nodev,noexec switches to /var/lock and /var/run - - tmpfiles: Don't clean /var/lock/subsys - - tmpfiles: Make wtmp match utmp perms, and add btmp - - umount: Make sure / is remounted ro on shutdown - - unset HOME and TERM set from the kernel - - activate wall agent automatically - - ask-password: add basic tty agent - -------------------------------------------------------------------- -Sat Oct 23 18:09:23 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - rename ask-password-agent to gnome-ask-password-agent - - fsck: suppress error message if we cannot change into single - user mode since - - dbus: epose FsckPassNo property for service objects - - man: document systemctl --force - - introduce 'systemctl kill' - -------------------------------------------------------------------- -Sat Oct 23 14:57:57 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - syslog: enable kmsg bridge by default - - fsck: add initial version of fsck and quotacheck wrappers - - tmpfiles: remove forcefsck/fastboot flag files after boot - - swap: listen for POLLPRI events on /proc/swaps if availabled - - tmpfiles: integrate native tmpwatch - - shutdown: loop only as long as we manage to unmount/detach devices - - umount: disable dm devices by devnode, not by path name - - introduce final.target - - replace distro-specific shutdown scripts with native services - - try to get rid of DM devices - - log to console by default - - introduce kexec.service, kexec.target and exit.target - - hook in fsck@.service instance for all mount points with passno > 0 - - systemctl: warn if user enables unit with no installation instructions - - dbus: add introspection to midlevel paths - - look for dynamic throw-away units in /dev/.systemd/system - - major rework, use /sbin/swapon for setting up swaps - - introduce Restart=on-failure and Restart=on-abort - - units: enable utmp for serial gettys too - - rename 'banned' load state to 'masked' - - optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service -- use systemd-native fsck/mount -- use systemd-native tmpfiles.d/ instead of tmpwatch - -------------------------------------------------------------------- -Fri Oct 8 14:49:04 CEST 2010 - kay.sievers@novell.com - -new snapshot - - fix 'systemctl enable getty@.service' - - properly support 'banning' of services - - handle nologin - - add native reboot/shutdown implementation - -------------------------------------------------------------------- -Thu Oct 7 15:58:10 CEST 2010 - kay.sievers@novell.com - -- version 11 - -------------------------------------------------------------------- -Wed Oct 6 09:27:13 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - readahead fixes - -------------------------------------------------------------------- -Sun Oct 3 08:08:13 UTC 2010 - aj@suse.de - -- /etc/modules.d was renamed to modules-load.d -- only include tmpfiles.d/*conf files - -------------------------------------------------------------------- -Wed Sep 29 11:55:11 CEST 2010 - kay.sievers@novell.com - -- don't create sysv order deps on merged units -- fix Provides: handling in LSB headers (network.target) -- native (optional) readahead - -------------------------------------------------------------------- -Sun Sep 26 20:39:53 UTC 2010 - aj@suse.de - -- Do not package man pages twice. - -------------------------------------------------------------------- -Wed Sep 22 11:40:02 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - basic services are enabled by default now - -------------------------------------------------------------------- -Tue Sep 21 14:39:02 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - vconsole and locale setup - - hook up tmpwatch - -------------------------------------------------------------------- -Fri Sep 17 10:58:24 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - add new utility to initialize the virtual console - - initialize locale from /etc/locale by default - - ask-password: allow services query SSL/harddisk passphrases - -------------------------------------------------------------------- -Fri Sep 17 10:54:24 CEST 2010 - kay.sievers@novell.com - -- version 10 - - logger: support SOCK_STREAM /dev/log sockets - - make sure the file system is writable before we write utmp data - - systemctl: use isolate when called as telinit for a runlevel - - initctl: properly use isolate when activating runlevels - - set HOME=/root when running shells - - make sure we don't crash if there's an automount unit without - mount unit - - start logger only after syslog is up - -------------------------------------------------------------------- -Fri Sep 3 11:52:42 CEST 2010 - kay.sievers@novell.com - -- version 9 - - units: don't add shutdown conflicts dep to umount.target - - dbus: don't send cgroup agent messages directly to system bus - - dbus: don't accept activation requests anymore if we are going - down anyway - - systemctl: fix return value of systemctl start and friends - - service: wait for process exit only if we actually killed - somebody - -------------------------------------------------------------------- -Thu Aug 26 22:14:04 CEST 2010 - kay.sievers@novell.com - -- version 8 - - KERNEL 2.6.36+ REQUIRED! - - mount cgroup file systems to /sys/fs/cgroup instead of /cgroup - - invoke sulogin instead of /bin/sh - - systemctl: show timestamps for state changes - - add global configuration options for handling of auto mounts - -------------------------------------------------------------------- -Fri Aug 20 06:51:26 CEST 2010 - kay.sievers@novell.com - -- apply /etc/fstab mount options to all api mounts -- properly handle LABEL="" in fstab -- do not consider LSB exit codes 5 and 6 as failure - -------------------------------------------------------------------- -Tue Aug 17 22:54:41 CEST 2010 - kay.sievers@novell.com - -- prefix sysv job descriptions with LSB: -- add native sysctl + hwclock + random seed service files -- properly fallback to rescue.target if default.target is hosed -- rename ValidNoProcess= to RemainAfterExit= -- add systemd-modules-load tool to handle /etc/modules.d/ - -------------------------------------------------------------------- -Tue Aug 17 09:01:04 CEST 2010 - kay.sievers@novell.com - -- add support for delayed shutdown, similar to sysv in style -- rename Type=finish to Type=oneshot and allow multiple ExecStart= -- don't show ENOENT for non exitent configuration files -- log build time features on startup -- rearrange structs to make them smaller -- move runlevel[2-5] links to /lib -- create default.target link to /lib not /etc -- handle random-seed -- write utmp record before we kill all processes -- create /var/lock/subsys, /var/run/utmp - -------------------------------------------------------------------- -Wed Aug 11 11:29:17 CEST 2010 - kay.sievers@novell.com - -- add audit messages for service changes -- update utmp with external program -- all to refuse manual service starting/stopping - -------------------------------------------------------------------- -Tue Aug 10 06:54:23 CEST 2010 - kay.sievers@novell.com - -- version 7 - - hide output if quiet is passed on the kernel cmdline - - fix auto restarting of units after a configuration reload - - don't call bus_path_escape() with NULL unit name - -------------------------------------------------------------------- -Fri Aug 6 13:07:35 CEST 2010 - kay.sievers@novell.com - -- version 6 - - man page update - -------------------------------------------------------------------- -Fri Aug 6 09:48:34 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - downgrade a few log messages - - properly handle devices which are referenced before they exist - -------------------------------------------------------------------- -Fri Aug 6 01:59:50 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - fix dependency cycle of boot.* by splitting fsck.target - - sort boot.* before other sysv services - from sysinint.target - - start getty for serial console - -------------------------------------------------------------------- -Thu Aug 5 23:12:32 CEST 2010 - kay.sievers@novell.com - -- add licence to subpackages - -------------------------------------------------------------------- -Wed Aug 4 12:42:23 CEST 2010 - kay.sievers@novell.com - -- version 5 - - selinux fixes -- fix hanging 'reboot' started from vc - -------------------------------------------------------------------- -Mon Aug 2 16:33:20 CEST 2010 - kay.sievers@novell.com - -- enable getty.target by default - -------------------------------------------------------------------- -Sat Jul 24 11:16:52 CEST 2010 - kay.sievers@novell.com - -- at install, read old inittab for the defaul target/runlevel -- disable services on package uninstall - -------------------------------------------------------------------- -Sat Jul 24 09:50:05 CEST 2010 - kay.sievers@novell.com - -- version 4 - - merge systemd-install into systemctl - -------------------------------------------------------------------- -Fri Jul 23 10:39:19 CEST 2010 - kay.sievers@novell.com - -- create config files in /etc in %post -- mark files in /etc as config -- remove nodev from /dev/pts -- add selinux support - -------------------------------------------------------------------- -Thu Jul 22 10:51:16 CEST 2010 - kay.sievers@novell.com - -- version 4 (pre) - - require newer vala - - add [Install] section to getty.target and remote-fs.target -- re-enable post-build check - -------------------------------------------------------------------- -Wed Jul 21 08:51:22 CEST 2010 - kay.sievers@novell.com - -- do not add sysv services that are not enabled in /etc/rcN.d/ -- allow symlinking unit files to /dev/null -- remove only pam sessions we ourselves created -- unit files in /etc/ always take precedence, even over link targets - -------------------------------------------------------------------- -Tue Jul 20 21:20:43 CEST 2010 - kay.sievers@novell.com - -- fix access mode verification of FIFOs - -------------------------------------------------------------------- -Sun Jul 18 11:31:06 CEST 2010 - kay.sievers@novell.com - -- fix default mode of /var/run and /var/lock -- force /var/run and /var/lock to be on tmpfs - -------------------------------------------------------------------- -Wed Jul 14 17:49:57 CEST 2010 - kay.sievers@novell.com - -- always enable udev and dbus until we can require systemd from - packages providing systemd service files - -------------------------------------------------------------------- -Wed Jul 14 01:10:27 CEST 2010 - kay.sievers@novell.com - -- drop systemd-units.rpm - -------------------------------------------------------------------- -Wed Jul 14 00:07:24 CEST 2010 - kay.sievers@novell.com - -- version 3 - - treat non-existing cgroups like empty ones, to deal with races - - replace --running-as= by --session and --system - - always allow stopping of units that failed to load - -------------------------------------------------------------------- -Tue Jul 13 06:22:56 CEST 2010 - kay.sievers@novell.com - -- update - -------------------------------------------------------------------- -Mon Jul 12 18:23:41 CEST 2010 - kay.sievers@novell.com - -- drop libcgroup - -------------------------------------------------------------------- -Mon Jul 12 10:04:26 CEST 2010 - kay.sievers@novell.com - -- trim cgroups for services that are "active" but "exited" -- drop /bin/init hack and require now fixed mkinitrd - -------------------------------------------------------------------- -Sun Jul 11 23:38:45 CEST 2010 - kay.sievers@novell.com - -- fix reboot issue -- fix abstract namespace name handling (needs udev update) -- prefer private D-Bus socket wherever possible - -------------------------------------------------------------------- -Sun Jul 11 00:50:14 CEST 2010 - kay.sievers@novell.com - -- D-Bus 1.3.2 support -- use COLD_BOOT=1 on reboot to skip sysv boot.d/ handling - -------------------------------------------------------------------- -Fri Jul 9 10:05:00 CEST 2010 - kay.sievers@novell.com - -- fix typo in spec file - -------------------------------------------------------------------- -Fri Jul 9 09:09:33 CEST 2010 - kay.sievers@novell.com - -- provide /bin/init to be found by 'too simple' mkinitrd, and work - around mindless relinking of relative links in the buildsystem -- add rpmlintrc to silent warnings about intentional behavior - -------------------------------------------------------------------- -Fri Jul 9 06:18:52 CEST 2010 - kay.sievers@novell.com - -- version 2 - -------------------------------------------------------------------- -Thu Jul 8 23:48:09 CEST 2010 - kay.sievers@novell.com - -- fix 'reboot -w' to skip the actual reboot -- fix segfault in D-Bus code -- use unique instead of multiple keys in config file -- support continuation lines in config files -- support multiple commands in a single key in config files -- adapt log level of some messages - -------------------------------------------------------------------- -Wed Jul 7 06:20:00 CEST 2010 - kay.sievers@novell.com - -- version 1 - - default log level to INFO - - show welcome message - -------------------------------------------------------------------- -Tue Jul 6 08:55:03 CEST 2010 - kay.sievers@novell.com - -- add systemd-install --start option -- add more documentation - -------------------------------------------------------------------- -Mon Jul 5 16:23:28 CEST 2010 - kay.sievers@novell.com - -- new snapshot with extended D-Bus support - -------------------------------------------------------------------- -Sun Jul 4 21:31:49 CEST 2010 - kay.sievers@novell.com - -- new snapshot with default unit dependency handling - -------------------------------------------------------------------- -Sat Jul 3 16:54:19 CEST 2010 - kay.sievers@novell.com - -- new snapshot - -------------------------------------------------------------------- -Fri Jul 2 10:04:26 CEST 2010 - kay.sievers@novell.com - -- add more documentation - -------------------------------------------------------------------- -Thu Jul 1 17:40:28 CEST 2010 - kay.sievers@novell.com - -- new snapshot - -------------------------------------------------------------------- -Fri Jun 25 00:34:03 CEST 2010 - kay.sievers@novell.com - -- split off systemd-units.rpm which can be pulled-in by other - packages without further dependencies - -------------------------------------------------------------------- -Thu Jun 24 09:40:06 CEST 2010 - kay.sievers@novell.com - -- add more documentation - -------------------------------------------------------------------- -Tue Jun 22 22:13:02 CEST 2010 - kay.sievers@novell.com - -- more man pages and documentation - -------------------------------------------------------------------- -Tue Jun 22 18:14:05 CEST 2010 - kay.sievers@novell.com - -- conflict with upstart -- include all installed doc files - -------------------------------------------------------------------- -Tue Jun 22 09:33:44 CEST 2010 - kay.sievers@novell.com - -- provide pam module - -------------------------------------------------------------------- -Mon Jun 21 10:21:20 CEST 2010 - kay.sievers@novell.com - -- use private D-Bus connection -- properly handle replacing a running upstart - -------------------------------------------------------------------- -Fri Jun 18 09:37:46 CEST 2010 - kay.sievers@novell.com - -- implement wall message in halt/reboot/... -- speak /dev/initctl to old /sbin/init after installing - -------------------------------------------------------------------- -Thu Jun 17 23:54:59 CEST 2010 - kay.sievers@novell.com - -- drop no longer needed -fno-strict-aliasing -- add README and examples - -------------------------------------------------------------------- -Thu Jun 17 23:23:42 CEST 2010 - kay.sievers@novell.com - -- enable pam and libwrap - -------------------------------------------------------------------- -Thu Jun 17 23:10:57 CEST 2010 - kay.sievers@novell.com - -- provide systemd-sysvinit.rpm with /sbin/init and friends - -------------------------------------------------------------------- -Thu Jun 17 11:06:14 CEST 2010 - kay.sievers@novell.com - -- libwrap / pam support - -------------------------------------------------------------------- -Wed Jun 16 09:46:15 CEST 2010 - kay.sievers@novell.com - -- initial packaging of experimental version 0 - diff --git a/systemd-mini.spec b/systemd-mini.spec deleted file mode 100644 index fbeba0d..0000000 --- a/systemd-mini.spec +++ /dev/null @@ -1,1324 +0,0 @@ -# -# spec file for package systemd-mini -# -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! ##### -%define bootstrap 1 -%define real systemd -##### WARNING: please do not edit this auto generated spec file. Use the systemd.spec! ##### -%define udevpkgname udev-mini -%define udev_major 1 - -%if 0%{?sles_version} == 0 -%global with_bash_completion 1 -%endif -%bcond_with bash_completion - -Name: systemd-mini -Url: http://www.freedesktop.org/wiki/Software/systemd -Version: 208 -Release: 0 -Summary: A System and Session Manager -License: LGPL-2.1+ -Group: System/Base -BuildRoot: %{_tmppath}/%{name}-%{version}-build - -Provides: %{real} = %{version}-%{release} - -BuildRequires: audit-devel -%if ! 0%{?bootstrap} -BuildRequires: dbus-1 -BuildRequires: docbook-xsl-stylesheets -%endif -BuildRequires: fdupes -%if ! 0%{?bootstrap} -BuildRequires: gobject-introspection-devel -%endif -BuildRequires: gperf -%if ! 0%{?bootstrap} -BuildRequires: gtk-doc -%endif -BuildRequires: intltool -BuildRequires: libacl-devel -BuildRequires: libattr-devel -BuildRequires: libcap-devel -BuildRequires: libsepol-devel -BuildRequires: libtool -BuildRequires: libusb-devel -%if ! 0%{?bootstrap} -BuildRequires: libxslt-tools -%endif -BuildRequires: pam-devel -BuildRequires: tcpd-devel -BuildRequires: xz -BuildRequires: pkgconfig(blkid) >= 2.20 -BuildRequires: pkgconfig(dbus-1) >= 1.3.2 -%if ! 0%{?bootstrap} -BuildRequires: libgcrypt-devel -BuildRequires: pkgconfig(glib-2.0) >= 2.22.0 -BuildRequires: pkgconfig(libcryptsetup) >= 1.6.0 -%endif -BuildRequires: pkgconfig(libkmod) >= 14 -BuildRequires: pkgconfig(liblzma) -%if ! 0%{?bootstrap} -BuildRequires: pkgconfig(libmicrohttpd) -%endif -BuildRequires: pkgconfig(libpci) >= 3 -BuildRequires: pkgconfig(libpcre) -%if ! 0%{?bootstrap} -BuildRequires: pkgconfig(libqrencode) -%endif -BuildRequires: pkgconfig(libselinux) >= 2.1.9 -BuildRequires: pkgconfig(libsepol) -BuildRequires: pkgconfig(usbutils) >= 0.82 -%if 0%{?bootstrap} -#!BuildIgnore: dbus-1 -Requires: this-is-only-for-build-envs -Conflicts: systemd -Conflicts: kiwi -%else -# the buildignore is important for bootstrapping -#!BuildIgnore: udev -Requires: %{udevpkgname} >= 172 -%if %{with bash_completion} -Recommends: bash-completion -%endif -Requires: dbus-1 >= 1.4.0 -Requires: kbd -Requires: kmod >= 14 -Requires: pam-config >= 0.79-5 -Requires: pwdutils -Requires: systemd-presets-branding -Requires: util-linux >= 2.21 -Requires(post): coreutils -Requires(post): findutils -%endif -%if ! 0%{?bootstrap} -Requires(post): pam-config -%endif -Conflicts: filesystem < 11.5 -Conflicts: mkinitrd < 2.7.0 -Obsoletes: systemd-analyze < 201 -Provides: systemd-analyze = %{version} -Source0: http://www.freedesktop.org/software/systemd/systemd-%{version}.tar.xz -Source1: systemd-rpmlintrc -Source2: localfs.service -Source3: systemd-sysv-convert -Source4: macros.systemd -Source6: baselibs.conf -Source7: libgcrypt.m4 -Source8: systemd-journald.init -Source9: nss-myhostname-config -Source10: macros.systemd.upstream -Source11: after-local.service -Source12: systemd-powerfail - -Source1060: boot.udev -Source1061: write_dev_root_rule -Source1062: systemd-udev-root-symlink - -# PATCH-FIX-UPSTREAM avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch lnussel@suse.com bnc#791101 -- avoid assertion if invalid address familily is passed to gethostbyaddr_r -Patch0: avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch -# PATCH-FIX-UPSTREAM optionally-warn-if-nss-myhostname-is-called.patch lnussel@suse.com -- optionally warn if nss-myhostname is called -Patch1: optionally-warn-if-nss-myhostname-is-called.patch -# handle SUSE specific kbd settings -Patch3: handle-disable_caplock-and-compose_table-and-kbd_rate.patch -Patch4: handle-numlock-value-in-etc-sysconfig-keyboard.patch -Patch6: insserv-generator.patch -Patch7: service-flags-sysv-service-with-detected-pid-as-RemainAfte.patch -Patch8: module-load-handle-SUSE-etc-sysconfig-kernel-module-list.patch -Patch9: remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch -Patch11: delay-fsck-cryptsetup-after-md-dmraid-lvm-are-started.patch -Patch12: Fix-run-lock-directories-permissions-to-follow-openSUSE-po.patch -Patch13: ensure-sysctl-are-applied-after-modules-are-loaded.patch -Patch14: ensure-DM-and-LVM-are-started-before-local-fs-pre-target.patch -Patch15: timedate-add-support-for-openSUSE-version-of-etc-sysconfig.patch -Patch16: fix-support-for-boot-prefixed-initscript-bnc-746506.patch -Patch17: restore-var-run-and-var-lock-bind-mount-if-they-aren-t-sym.patch -Patch18: fix-owner-of-var-log-btmp.patch - -# PATCH-FIX-OPENSUSE ensure-ask-password-wall-starts-after-getty-tty1.patch -- don't start getty on tty1 until all password request are done -Patch5: ensure-ask-password-wall-starts-after-getty-tty1.patch -# PATCH-FIX-OPENSUSE handle-root_uses_lang-value-in-etc-sysconfig-language.patch bnc#792182 fcrozat@suse.com -- handle ROOT_USES_LANG=ctype -Patch20: handle-root_uses_lang-value-in-etc-sysconfig-language.patch -# PATCH-FIX-OPENSUSE allow-multiple-sulogin-to-be-started.patch bnc#793182 fcrozat@suse.com -- handle multiple sulogin -Patch21: allow-multiple-sulogin-to-be-started.patch -# PATCH-FIX-OPENSUSE handle-SYSTEMCTL_OPTIONS-environment-variable.patch bnc#798620 fcrozat@suse.com -- handle SYSTEMCTL_OPTIONS environment variable -Patch22: handle-SYSTEMCTL_OPTIONS-environment-variable.patch -# PATCH-FIX-OPENSUSE apply-ACL-for-nvidia-device-nodes.patch bnc#808319 -- set ACL on nvidia devices -Patch27: apply-ACL-for-nvidia-device-nodes.patch -# PATCH-FIX-OPENSUSE Revert-service-drop-support-for-SysV-scripts-for-the-early.patch fcrozat@suse.com -- handle boot.* initscripts -Patch37: Revert-service-drop-support-for-SysV-scripts-for-the-early.patch -# PATCH-FIX-OPENSUSE systemd-tmp-safe-defaults.patch FATE#314974 max@suse.de -- Return to SUSE's "safe defaults" policy on deleting files from tmp direcorie. -Patch39: systemd-tmp-safe-defaults.patch -# PATCH-FIX-OPENSUSE sysctl-handle-boot-sysctl.conf-kernel_release.patch bnc#809420 fcrozat@suse.com -- handle /boot/sysctl.conf- file -Patch40: sysctl-handle-boot-sysctl.conf-kernel_release.patch -# PATCH-FIX-OPENSUSE ensure-shortname-is-set-as-hostname-bnc-820213.patch bnc#820213 fcrozat@suse.com -- Do not set anything beyond first dot as hostname -Patch41: ensure-shortname-is-set-as-hostname-bnc-820213.patch -Patch42: systemd-pam_config.patch - -# Upstream First - Policy: -# Never add any patches to this package without the upstream commit id -# in the patch. Any patches added here without a very good reason to make -# an exception will be silently removed with the next version update. -# PATCH-FIX-OPENSUSE disable-nss-myhostname-warning-bnc-783841.diff lnussel@suse.de -- disable nss-myhostname warning (bnc#783841) -Patch23: disable-nss-myhostname-warning-bnc-783841.patch -# PATCH-FIX-OPENSUSE handle-HOSTNAME.patch fcrozat@suse.com -- handle /etc/HOSTNAME (bnc#803653) -Patch24: handle-etc-HOSTNAME.patch -# PATCH-FIX-OPENSUSE Forward-suspend-hibernate-calls-to-pm-utils.patch fcrozat@suse.com bnc#790157 -- forward to pm-utils -Patch25: Forward-suspend-hibernate-calls-to-pm-utils.patch -# PATCH-FIX-UPSTREAM rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch rjschwei@suse.com -- add lid switch of ARM based Chromebook as a power switch to logind -Patch38: rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch -# PATCH-FIX-OPENSUSE use-usr-sbin-sulogin-for-emergency-service.patch arvidjaar@gmail.com -- fix path to sulogin -Patch46: use-usr-sbin-sulogin-for-emergency-service.patch -# PATCH-FIX-OPENSUSE systemd-dbus-system-bus-address.patch always use /run/dbus not /var/run -Patch47: systemd-dbus-system-bus-address.patch -# PATCH-FIX-UPSTREAM 0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch fcrozat@suse.com -- fix acpi memleak -Patch48: 0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch -# PATCH-FIX-UPSTREAM 0002-fix-lingering-references-to-var-lib-backlight-random.patch fcrozat@suse.com -- fix invalid path in documentation -Patch49: 0002-fix-lingering-references-to-var-lib-backlight-random.patch -# PATCH-FIX-UPSTREAM 0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch fcrozat@suse.com -- fix invalid memory free -Patch50: 0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch -# PATCH-FIX-UPSTREAM 0004-systemctl-fix-name-mangling-for-sysv-units.patch fcrozat@suse.com -- fix name mangling for sysv units -Patch51: 0004-systemctl-fix-name-mangling-for-sysv-units.patch -# PATCH-FIX-UPSTREAM 0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch fcrozat@suse.com -- fix OOM handling -Patch52: 0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch -# PATCH-FIX-UPSTREAM 0006-journald-add-missing-error-check.patch fcrozat@suse.com -- add missing error check -Patch53: 0006-journald-add-missing-error-check.patch -# PATCH-FIX-UPSTREAM 0007-bus-fix-potentially-uninitialized-memory-access.patch fcrozat@suse.com -- fix uninitialized memory access -Patch54: 0007-bus-fix-potentially-uninitialized-memory-access.patch -# PATCH-FIX-UPSTREAM 0008-dbus-fix-return-value-of-dispatch_rqueue.patch fcrozat@suse.com -- fix return value -Patch55: 0008-dbus-fix-return-value-of-dispatch_rqueue.patch -# PATCH-FIX-UPSTREAM 0009-modules-load-fix-error-handling.patch fcrozat@suse.com -- fix error handling -Patch56: 0009-modules-load-fix-error-handling.patch -# PATCH-FIX-UPSTREAM 0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch fcrozat@suse.com -- fix incorrect memory access -Patch57: 0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch -# PATCH-FIX-UPSTREAM 0011-strv-don-t-access-potentially-NULL-string-arrays.patch fcrozat@suse.com -- fix incorrect memory access -Patch58: 0011-strv-don-t-access-potentially-NULL-string-arrays.patch -# PATCH-FIX-UPSTREAM 0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch fcrozat@suse.com -- fix invalid pointer -Patch59: 0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch -# PATCH-FIX-UPSTREAM 0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch fcrozat@suse.com -- fix permission on /run/log/journal -Patch60: 0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch -# PATCH-FIX-UPSTREAM 0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch fcrozat@suse.com -- order remote mount points properly before remote-fs.target -Patch61: 0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch -# PATCH-FIX-UPSTREAM 0001-gpt-auto-generator-exit-immediately-if-in-container.patch fcrozat@suse.com -- don't start gpt auto-generator in container -Patch62: 0001-gpt-auto-generator-exit-immediately-if-in-container.patch -# PATCH-FIX-UPSTREAM 0001-manager-when-verifying-whether-clients-may-change-en.patch fcrozat@suse.com -- fix reload check in selinux case -Patch63: 0001-manager-when-verifying-whether-clients-may-change-en.patch -# PATCH-FIX-UPSTREAM 0001-logind-fix-bus-introspection-data-for-TakeControl.patch fcrozat@suse.com -- fix introspection for TakeControl -Patch64: 0001-logind-fix-bus-introspection-data-for-TakeControl.patch -# PATCH-FIX-UPSTREAM 0001-mount-check-for-NULL-before-reading-pm-what.patch fcrozat@suse.com -- fix crash when parsing some incorrect unit -Patch65: 0001-mount-check-for-NULL-before-reading-pm-what.patch -# PATCH-FIX-UPSTREAM 0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch fcrozat@suse.com -- Fix udev rules parsing -Patch66: 0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch -# PATCH-FIX-UPSTREAM 0001-systemd-serialize-deserialize-forbid_restart-value.patch fcrozat@suse.com -- Fix incorrect deserialization for forbid_restart -Patch67: 0001-systemd-serialize-deserialize-forbid_restart-value.patch -# PATCH-FIX-UPSTREAM 0001-core-unify-the-way-we-denote-serialization-attribute.patch fcrozat@suse.com -- Ensure forbid_restart is named like other attributes -Patch68: 0001-core-unify-the-way-we-denote-serialization-attribute.patch -# PATCH-FIX-UPSTREAM 0001-journald-fix-minor-memory-leak.patch fcrozat@suse.com -- fix memleak in journald -Patch69: 0001-journald-fix-minor-memory-leak.patch -# PATCH-FIX-UPSTREAM 0001-do-not-accept-garbage-from-acpi-firmware-performance.patch fcrozat@suse.com -- Improve ACPI firmware performance parsing -Patch70: 0001-do-not-accept-garbage-from-acpi-firmware-performance.patch -# PATCH-FIX-UPSTREAM 0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch fcrozat@suse.com -- Fix journal rotation -Patch71: 0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch -# PATCH-FIX-UPSTREAM 0001-login-fix-invalid-free-in-sd_session_get_vt.patchfcrozat@suse.com -- Fix memory corruption in sd_session_get_vt -Patch72: 0001-login-fix-invalid-free-in-sd_session_get_vt.patch -# PATCH-FIX-UPSTREAM 0001-login-make-sd_session_get_vt-actually-work.patch fcrozat@suse.com -- Ensure sd_session_get_vt returns correct value -Patch73: 0001-login-make-sd_session_get_vt-actually-work.patch -# PATCH-FIX-UPSTREAM 0001-Never-call-qsort-on-potentially-NULL-arrays.patch fcrozat@suse.com -- Don't call qsort on NULL arrays -Patch74: 0001-Never-call-qsort-on-potentially-NULL-arrays.patch -# PATCH-FIX-UPSTREAM 0001-dbus-common-avoid-leak-in-error-path.patch fcrozat@suse.com -- Fix memleak in dbus-common code -Patch75: 0001-dbus-common-avoid-leak-in-error-path.patch -# PATCH-FIX-UPSTREAM 0001-drop-ins-check-return-value.patch fcrozat@suse.com -- Fix return value for drop-ins checks -Patch76: 0001-drop-ins-check-return-value.patch -# PATCH-FIX-UPSTREAM 0001-shared-util-Fix-glob_extend-argument.patch fcrozat@suse.com -- Fix glob_extend argument -Patch77: 0001-shared-util-Fix-glob_extend-argument.patch -# PATCH-FIX-UPSTREAM 0001-Fix-bad-assert-in-show_pid_array.patch fcrozat@suse.com -- Fix bad assert in show_pid_array -Patch78: 0001-Fix-bad-assert-in-show_pid_array.patch -# PATCH-FIX-UPSTREAM 0001-analyze-set-white-background.patch werner@suse.com -- Make background of systemd-analyze SVG white -Patch79: 0001-analyze-set-white-background.patch -# PATCH-FIX-UPSTREAM 0001-analyze-set-text-on-side-with-most-space.patch werner@suse.com -- Place the text on the side with most space -Patch80: 0001-analyze-set-text-on-side-with-most-space.patch -# PATCH-FIX-UPSTREAM 0001-logind-garbage-collect-stale-users.patch -- Don't stop a running user manager from garbage-collecting the user. -Patch81: 0001-logind-garbage-collect-stale-users.patch -# PATCH-FIX-UPSTREAM analyze-fix-crash-in-command-line-parsing.patch fcrozat@suse.com bnc#859365 -- Fix crash in systemd-analyze -Patch82: analyze-fix-crash-in-command-line-parsing.patch -# PATCH-FIX-UPSTREAM 0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch -- Prevent accidental kill of emergency shell (bnc#852021) -Patch83: 0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch -# PATCH-FIX-OPENSUSE make-emergency.service-conflict-with-syslog.socket.patch (bnc#852232) -Patch84: make-emergency.service-conflict-with-syslog.socket.patch -# PATCH-FIX-UPSTREAM 0001-upstream-systemctl-halt-reboot-error-handling.patch -Patch85: 0001-upstream-systemctl-halt-reboot-error-handling.patch -# PATCH-FIX-SUSE 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch -Patch86: 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch -# PATCH-FIX-UPSTREAM 0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch -- Allow sending SIGTERM to main PID only (bnc#841544) -Patch87: 0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch -# PATCH-FIX-UPSTREAM 0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch -- Allow using it with PAM enabled services (bnc#841544) -Patch88: 0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch -# PATCH-FIX-UPSTREAM 0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch -- Make sure final SIGKILL actually kills everything (bnc#841544) -Patch89: 0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch -# PATCH-FIX-SUSE 0001-On_s390_con3270_disable_ANSI_colour_esc.patch -Patch90: 0001-On_s390_con3270_disable_ANSI_colour_esc.patch -# PATCH-FIX-SUSE plymouth-quit-and-wait-for-emergency-service.patch -- Make sure that no plymouthd is locking the tty -Patch91: plymouth-quit-and-wait-for-emergency-service.patch - -# udev patches -# PATCH-FIX-OPENSUSE 1001-re-enable-by_path-links-for-ata-devices.patch -Patch1001: 1001-re-enable-by_path-links-for-ata-devices.patch -# PATCH-FIX-OPENSUSE 1002-rules-create-by-id-scsi-links-for-ATA-devices.patch -Patch1002: 1002-rules-create-by-id-scsi-links-for-ATA-devices.patch -# PATCH-FIX-OPENSUSE 1003-udev-netlink-null-rules.patch -Patch1003: 1003-udev-netlink-null-rules.patch -# PATCH-FIX-OPENSUSE 1005-create-default-links-for-primary-cd_dvd-drive.patch -Patch1005: 1005-create-default-links-for-primary-cd_dvd-drive.patch -# PATCH-FIX-OPENSUSE 1006-udev-always-rename-network.patch -Patch1006: 1006-udev-always-rename-network.patch -# PATCH-FIX-OPENSUSE 1007-physical-hotplug-cpu-and-memory.patch -Patch1007: 1007-physical-hotplug-cpu-and-memory.patch -# PATCH-FIX-OPENSUSE 1008-add-msft-compability-rules.patch -Patch1008: 1008-add-msft-compability-rules.patch -# PATCH-FIX-OPENSUSE 1009-make-xsltproc-use-correct-ROFF-links.patch -- Make ROFF links working again in manual pages (bnc#842844) -Patch1009: 1009-make-xsltproc-use-correct-ROFF-links.patch -# PATCH-FIX-OPENSUSE 1010-do-not-install-sulogin-unit-with-poweroff.patch -- Avoid installing console-shell.service (bnc#849071) -Patch1010: 1010-do-not-install-sulogin-unit-with-poweroff.patch -# PATCH-FIX-OPENSUSE 1011-check-4-valid-kmsg-device.patch -- Avoid busy systemd-journald (bnc#851393) -Patch1011: 1011-check-4-valid-kmsg-device.patch -# PATCH-FIX-UPSTREAM 1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch -Patch1012: 1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch -# PATCH-FIX-UPSTREAM U_logind_revert_lazy_session_activation_on_non_vt_seats.patch -Patch1013: U_logind_revert_lazy_session_activation_on_non_vt_seats.patch -# PATCH-FIX-OPENSUSE 1014-journald-with-journaling-FS.patch -Patch1014: 1014-journald-with-journaling-FS.patch -# PATCH-FIX-UPSTREAM build-sys-make-multi-seat-x-optional.patch -Patch1015: build-sys-make-multi-seat-x-optional.patch -# PATCH-FIX-SUSE 1016-support-powerfail-with-powerstatus.patch -Patch1016: 1016-support-powerfail-with-powerstatus.patch -# PATCH-FIX-UPSTREAM 1017-skip-native-unit-handling-if-sysv-already-handled.patch -Patch1017: 1017-skip-native-unit-handling-if-sysv-already-handled.patch -# PATCH-FIX-SUSE 1018-Make-LSB-Skripts-know-about-Required-and-Should.patch -Patch1018: 1018-Make-LSB-Skripts-know-about-Required-and-Should.patch -# PATCH-FIX-SUSE 1019-make-completion-smart-to-be-able-to-redirect.patch -Patch1019: 1019-make-completion-smart-to-be-able-to-redirect.patch - -%description -Systemd is a system and service manager, compatible with SysV and LSB -init scripts for Linux. systemd provides aggressive parallelization -capabilities, uses socket and D-Bus activation for starting services, -offers on-demand starting of daemons, keeps track of processes using -Linux cgroups, supports snapshotting and restoring of the system state, -maintains mount and automount points and implements an elaborate -transactional dependency-based service control logic. It can work as a -drop-in replacement for sysvinit. - - - -%package devel -Summary: Development headers for systemd -License: LGPL-2.1+ -Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} -Requires: systemd-rpm-macros -%if 0%{?bootstrap} -Conflicts: systemd-devel -%endif - -%description devel -Development headers and auxiliary files for developing applications for systemd. - -%package sysvinit -Summary: System V init tools -License: LGPL-2.1+ -Group: System/Base -Requires: %{name} = %{version} -Provides: sbin_init -Conflicts: otherproviders(sbin_init) -Provides: sysvinit:/sbin/init - -%description sysvinit -Drop-in replacement of System V init tools. - -%package -n %{udevpkgname} -Summary: A rule-based device node and kernel event manager -License: GPL-2.0 -Group: System/Kernel -Url: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html -PreReq: /bin/rm /usr/bin/stat %insserv_prereq %fillup_prereq /usr/sbin/groupadd /usr/bin/getent /sbin/mkinitrd /usr/bin/sg_inq -Requires(post): lib%{udevpkgname}%{udev_major} -Conflicts: systemd < 39 -Conflicts: aaa_base < 11.5 -Conflicts: filesystem < 11.5 -Conflicts: mkinitrd < 2.7.0 -Conflicts: util-linux < 2.16 -Conflicts: ConsoleKit < 0.4.1 -Requires: filesystem -%if 0%{?bootstrap} -Provides: udev = %{version} -Conflicts: libudev%{udev_major} -Conflicts: udev -%endif - -%description -n %{udevpkgname} -Udev creates and removes device nodes in /dev for devices discovered or -removed from the system. It receives events via kernel netlink messages -and dispatches them according to rules in /lib/udev/rules.d/. Matching -rules may name a device node, create additional symlinks to the node, -call tools to initialize a device, or load needed kernel modules. - - - -%package -n lib%{udevpkgname}%{udev_major} -Summary: Dynamic library to access udev device information -License: LGPL-2.1+ -Group: System/Libraries -Requires: %{udevpkgname} >= %{version}-%{release} -%if 0%{?bootstrap} -Conflicts: libudev%{udev_major} -Conflicts: kiwi -%endif - -%description -n lib%{udevpkgname}%{udev_major} -This package contains the dynamic library libudev, which provides -access to udev device information - -%package -n lib%{udevpkgname}-devel -Summary: Development files for libudev -License: LGPL-2.1+ -Group: Development/Libraries/Other -Requires: lib%{udevpkgname}%{udev_major} = %{version}-%{release} -%if 0%{?bootstrap} -Provides: libudev-devel = %{version} -Conflicts: libudev%{udev_major} = %{version} -Conflicts: libudev-devel -%endif - -%description -n lib%{udevpkgname}-devel -This package contains the development files for the library libudev, a -dynamic library, which provides access to udev device information. - -%if ! 0%{?bootstrap} -%package -n libgudev-1_0-0 -Summary: GObject library, to access udev device information -License: LGPL-2.1+ -Group: System/Libraries -Requires: lib%{udevpkgname}%{udev_major} = %{version}-%{release} - -%description -n libgudev-1_0-0 -This package contains the GObject library libgudev, which provides -access to udev device information. - -%package -n typelib-1_0-GUdev-1_0 -Summary: GObject library, to access udev device information -- Introspection bindings -License: LGPL-2.1+ -Group: System/Libraries - -%description -n typelib-1_0-GUdev-1_0 -This package provides the GObject Introspection bindings for libgudev, which -provides access to udev device information. - -%package -n libgudev-1_0-devel -Summary: Devel package for libgudev -License: LGPL-2.1+ -Group: Development/Libraries/Other -Requires: glib2-devel -Requires: libgudev-1_0-0 = %{version}-%{release} -Requires: libudev-devel = %{version}-%{release} -Requires: typelib-1_0-GUdev-1_0 = %{version}-%{release} - -%description -n libgudev-1_0-devel -This is the devel package for the GObject library libgudev, which -provides GObject access to udev device information. - -%package logger -Summary: Journal only logging -License: LGPL-2.1+ -Group: System/Base -Provides: syslog -Provides: sysvinit(syslog) -Conflicts: otherproviders(syslog) - -%description logger -This package marks the installation to not use syslog but only the journal. - -%package -n nss-myhostname -Summary: Plugin for local system host name resolution -License: LGPL-2.1+ -Group: System/Libraries - -%description -n nss-myhostname -nss-myhostname is a plugin for the GNU Name Service Switch (NSS) -functionality of the GNU C Library (glibc) providing host name -resolution for the locally configured system hostname as returned by -gethostname(2). Various software relies on an always resolvable local -host name. When using dynamic hostnames this is usually achieved by -patching /etc/hosts at the same time as changing the host name. This -however is not ideal since it requires a writable /etc file system and -is fragile because the file might be edited by the administrator at -the same time. nss-myhostname simply returns all locally -configured public IP addresses, or -- if none are configured -- -the IPv4 address 127.0.0.2 (wich is on the local loopback) and the -IPv6 address ::1 (which is the local host) for whatever system -hostname is configured locally. Patching /etc/hosts is thus no -longer necessary. - -Note that nss-myhostname only provides a workaround for broken -software. If nss-myhostname is trigged by an application a message -is logged to /var/log/messages. Please check whether that's worth -a bug report then. -This package marks the installation to not use syslog but only the journal. - -%package journal-gateway -Summary: Gateway for serving journal events over the network using HTTP -License: LGPL-2.1+ -Group: System/Base -Requires: %{name} = %{version}-%{release} -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - -%description journal-gateway -systemd-journal-gatewayd serves journal events over the network using HTTP. - -%endif - -%prep -%setup -q -n systemd-%{version} -echo "Checking whether upstream rpm macros changed..." -[ -z "`diff -Naru "%{S:10}" src/core/macros.systemd.in`" ] || exit 1 - -# only needed for bootstrap -%if 0%{?bootstrap} -cp %{SOURCE7} m4/ -%endif - -# systemd patches -%patch0 -p1 -%patch1 -p1 -%patch3 -p1 -# don't apply when bootstrapping to not modify configure.in -%if ! 0%{?bootstrap} -%patch4 -p1 -%endif -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 -%patch25 -p1 -%patch27 -p1 -%patch37 -p1 -%ifarch %arm -%patch38 -p1 -%endif -%patch39 -p1 -%patch40 -p1 -%patch41 -p1 -%patch42 -p1 -%patch46 -p1 -%patch47 -p1 -%patch48 -p1 -%patch49 -p1 -%patch50 -p1 -%patch51 -p1 -%patch52 -p1 -%patch53 -p1 -%patch54 -p1 -%patch55 -p1 -%patch56 -p1 -%patch57 -p1 -%patch58 -p1 -%patch59 -p1 -%patch60 -p1 -%patch61 -p1 -%patch62 -p1 -%patch63 -p1 -%patch64 -p1 -%patch65 -p1 -%patch66 -p1 -%patch67 -p1 -%patch68 -p1 -%patch69 -p1 -%patch70 -p1 -%patch71 -p1 -%patch72 -p1 -%patch73 -p1 -%patch74 -p1 -%patch75 -p1 -%patch76 -p1 -%patch77 -p1 -%patch78 -p1 -%patch79 -p1 -%patch80 -p1 -%patch81 -p1 -%patch82 -p1 -%patch83 -p1 -%patch84 -p1 -%patch85 -p1 -%patch86 -p1 -%patch87 -p1 -%patch88 -p1 -%patch89 -p1 -%patch90 -p1 -%patch91 -p1 - -# udev patches -%patch1001 -p1 -%patch1002 -p1 -%patch1003 -p1 -%patch1005 -p1 -%patch1006 -p1 -# don't apply when bootstrapping to not modify Makefile.am -%if ! 0%{?bootstrap} -%patch1007 -p1 -%patch1008 -p1 -%endif -%patch1009 -p1 -%patch1010 -p1 -%patch1011 -p1 -%patch1012 -p1 -%patch1013 -p1 -%patch1014 -p1 -%patch1015 -p1 -%patch1016 -p1 -%patch1017 -p1 -%patch1018 -p1 -%patch1019 -p1 - -# ensure generate files are removed -rm -f units/emergency.service - -%build -autoreconf -fiv -# prevent pre-generated and distributed files from re-building -find . -name "*.[1-8]" -exec touch '{}' '+'; -export V=1 -# keep split-usr until all packages have moved their systemd rules to /usr -%configure \ - --docdir=%{_docdir}/systemd \ - --with-pamlibdir=/%{_lib}/security \ -%if 0%{?bootstrap} - --disable-gudev \ - --disable-myhostname \ -%else - --enable-manpages \ - --enable-gtk-doc \ - --with-nss-my-hostname-warning \ -%endif - --enable-selinux \ - --enable-split-usr \ - --disable-static \ - --with-firmware-path="%{_prefix}/lib/firmware:/lib/firmware" \ - --with-rc-local-script-path-start=/etc/init.d/boot.local \ - --with-rc-local-script-path-stop=/etc/init.d/halt.local \ - --with-debug-shell=/bin/bash \ - --disable-smack \ - --disable-ima \ -%if 0%{?suse_version} > 1310 - --disable-multi-seat-x \ -%endif - CFLAGS="%{optflags}" -make %{?_smp_mflags} - -%install -make install DESTDIR="%buildroot" - -# move to %{_lib} -%if ! 0%{?bootstrap} -mv $RPM_BUILD_ROOT%{_libdir}/libnss_myhostname.so.2 $RPM_BUILD_ROOT/%{_lib} -%endif - -mkdir -p $RPM_BUILD_ROOT/{sbin,lib,bin} -ln -sf %{_bindir}/udevadm $RPM_BUILD_ROOT/sbin/udevadm -ln -sf %{_bindir}/systemd-ask-password $RPM_BUILD_ROOT/bin/systemd-ask-password -ln -sf %{_bindir}/systemctl $RPM_BUILD_ROOT/bin/systemctl -ln -sf %{_prefix}/lib/systemd/systemd-udevd $RPM_BUILD_ROOT/sbin/udevd -%if ! 0%{?bootstrap} -ln -sf systemd-udevd.8 $RPM_BUILD_ROOT/%{_mandir}/man8/udevd.8 -%endif -ln -sf /lib/firmware $RPM_BUILD_ROOT/usr/lib/firmware -%if ! 0%{?bootstrap} -install -m755 -D %{S:8} $RPM_BUILD_ROOT/etc/init.d/systemd-journald -install -D -m 755 %{S:9} %{buildroot}%{_sbindir}/nss-myhostname-config -%endif - -sed -ie "s|@@PREFIX@@|%{_prefix}/lib/udev|g" %{S:1060} -sed -ie "s|@@SYSTEMD@@|%{_prefix}/lib/systemd|g" %{S:1060} -sed -ie "s|@@BINDIR@@|%{_bindir}|g" %{S:1060} -install -m755 -D %{S:1060} $RPM_BUILD_ROOT/etc/init.d/boot.udev -ln -s systemd-udevd.service $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/udev.service -sed -ie "s|@@PREFIX@@|%{_bindir}|g" %{S:1061} -install -m755 -D %{S:1061} $RPM_BUILD_ROOT/%{_prefix}/lib/udev/write_dev_root_rule -sed -ie "s|@@PREFIX@@|%{_prefix}/lib/udev|g" %{S:1062} -install -m644 -D %{S:1062} $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/systemd-udev-root-symlink.service -mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/basic.target.wants -ln -sf ../systemd-udev-root-symlink.service $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/basic.target.wants -rm -rf %{buildroot}%{_sysconfdir}/rpm -find %{buildroot} -type f -name '*.la' -delete -mkdir -p %{buildroot}/{sbin,var/lib/systemd/sysv-convert,var/lib/systemd/migrated} %{buildroot}/usr/lib/systemd/{system-generators,user-generators,system-preset,user-preset,system/halt.target.wants,system/kexec.target.wants,system/poweroff.target.wants,system/reboot.target.wants,system/shutdown.target.wants} - -install -m755 %{S:3} -D %{buildroot}%{_sbindir}/systemd-sysv-convert -ln -s ../usr/lib/systemd/systemd %{buildroot}/bin/systemd -ln -s ../usr/lib/systemd/systemd %{buildroot}/sbin/init -ln -s ../usr/bin/systemctl %{buildroot}/sbin/reboot -ln -s ../usr/bin/systemctl %{buildroot}/sbin/halt -ln -s ../usr/bin/systemctl %{buildroot}/sbin/shutdown -ln -s ../usr/bin/systemctl %{buildroot}/sbin/poweroff -ln -s ../usr/bin/systemctl %{buildroot}/sbin/telinit -ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel -rm -rf %{buildroot}/etc/systemd/system/*.target.wants -rm -f %{buildroot}/etc/systemd/system/default.target -# aliases for /etc/init.d/* -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/cgroup.service -ln -s systemd-tmpfiles-setup.service %{buildroot}/%{_prefix}/lib/systemd/system/cleanup.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/clock.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/crypto.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/crypto-early.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/device-mapper.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/earlysyslog.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/kbd.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/ldconfig.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/loadmodules.service -install -m644 %{S:2} %{buildroot}/%{_prefix}/lib/systemd/system/localfs.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/localnet.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/proc.service -ln -s systemd-fsck-root.service %{buildroot}/%{_prefix}/lib/systemd/system/rootfsck.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/single.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/swap.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/startpreload.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/stoppreload.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/earlyxdm.service -ln -s systemd-sysctl.service %{buildroot}/%{_prefix}/lib/systemd/system/sysctl.service -ln -s systemd-random-seed.service %{buildroot}/%{_prefix}/lib/systemd/system/random.service -# don't mount /tmp as tmpfs for now -rm %{buildroot}/%{_prefix}/lib/systemd/system/local-fs.target.wants/tmp.mount - -# don't enable wall ask password service, it spams every console (bnc#747783) -rm %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants/systemd-ask-password-wall.path - -# create %{_libexecdir}/modules-load.d -mkdir -p %{buildroot}%{_libexecdir}/modules-load.d -cat << EOF > %{buildroot}%{_libexecdir}/modules-load.d/sg.conf -# load sg module at boot time -sg -EOF - -# To avoid making life hard for Factory developers, don't package the -# kernel.core_pattern setting until systemd-coredump is a part of an actual -# systemd release and it's made clear how to get the core dumps out of the -# journal. -rm -f %{buildroot}%{_prefix}/lib/sysctl.d/50-coredump.conf - -# do not ship sysctl defaults in systemd package, will be part of -# aaa_base (in procps for now) -rm -f %{buildroot}%{_prefix}/lib/sysctl.d/50-default.conf - -# remove README file for now -rm -f %{buildroot}/etc/init.d/README -%if 0%{?bootstrap} -rm -f %{buildroot}/var/log/README -%endif - -# legacy links -for f in loginctl journalctl ; do - ln -s $f %{buildroot}%{_bindir}/systemd-$f -%if ! 0%{?bootstrap} - ln -s $f.1 %{buildroot}%{_mandir}/man1/systemd-$f.1 -%endif -done -ln -s /usr/lib/udev %{buildroot}/lib/udev - -# Create the /var/log/journal directory to change the volatile journal to a persistent one -mkdir -p %{buildroot}/var/log/journal - -# Make sure directories in /var exist -mkdir -p %{buildroot}/var/lib/systemd/coredump -mkdir -p %{buildroot}/var/lib/systemd/catalog -#create ghost databases -touch %{buildroot}/var/lib/systemd/catalog/database -touch %{buildroot}%{_sysconfdir}/udev/hwdb.bin - -# Make sure the NTP units dir exists -mkdir -p %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/ - -# Make sure the shutdown/sleep drop-in dirs exist -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-shutdown/ -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-sleep/ - -# Make sure these directories are properly owned -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/dbus.target.wants - -# create drop-in to prevent tty1 to be cleared (bnc#804158) -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/getty@tty1.service.d/ -cat << EOF > %{buildroot}%{_prefix}/lib/systemd/system/getty@tty1.service.d/noclear.conf -[Service] -# ensure tty1 isn't cleared (bnc#804158) -TTYVTDisallocate=no -EOF - -# ensure after.local wrapper is called -install -m 644 %{S:11} %{buildroot}/%{_prefix}/lib/systemd/system/ -ln -s ../after-local.service %{buildroot}/%{_prefix}/lib/systemd/system/multi-user.target.wants/ - -# support for SIGPWR handling with /var/run/powerstatus of e.g. powerd -install -m 755 %{S:12} %{buildroot}/%{_prefix}/lib/systemd/ -install -m 644 units/powerfail.service %{buildroot}/%{_prefix}/lib/systemd/system/ -%if ! 0%{?bootstrap} -install -m 644 man/systemd-powerfail.service.8 %{buildroot}/%{_mandir}/man8/ -%endif - -# clean out some completions which requires bash-completion package -%if %{without bash_completion} -for c in %{buildroot}/%{_datadir}/bash-completion/completions/* -do - test -e "$c" || continue - grep -q _init_completion "$c" || continue - rm -vf "$c" -done -%endif - -%fdupes -s %{buildroot}%{_mandir} - -# packaged in systemd-rpm-macros -rm -f %{buildroot}/%{_prefix}/lib/rpm/macros.d/macros.systemd - -%pre -getent group systemd-journal >/dev/null || groupadd -r systemd-journal || : -exit 0 - -%post -%if ! 0%{?bootstrap} -/usr/sbin/pam-config -a --systemd || : -%endif -/sbin/ldconfig -[ -e /var/lib/random-seed ] && mv /var/lib/random-seed /var/lib/systemd/ > /dev/null || : -/usr/bin/systemd-machine-id-setup >/dev/null 2>&1 || : -/usr/lib/systemd/systemd-random-seed save >/dev/null 2>&1 || : -/usr/bin/systemctl daemon-reexec >/dev/null 2>&1 || : -/usr/bin/journalctl --update-catalog >/dev/null 2>&1 || : -# Make sure new journal files -chgrp systemd-journal /var/log/journal/ /var/log/journal/`cat /etc/machine-id 2> /dev/null` >/dev/null 2>&1 || : -chmod g+s /var/log/journal/ /var/log/journal/`cat /etc/machine-id 2> /dev/null` >/dev/null 2>&1 || : - -# Try to read default runlevel from the old inittab if it exists -if [ ! -e /etc/systemd/system/default.target -a -e /etc/inittab ]; then - runlevel=$(awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null) - if [ -n "$runlevel" ] ; then - /bin/ln -sf /usr/lib/systemd/system/runlevel$runlevel.target /etc/systemd/system/default.target 2>&1 || : - fi -fi -# Create default config in /etc at first install. -# Later package updates should not overwrite these settings. -if [ "$1" -eq 1 ]; then - # Enable these services by default. - /usr/bin/systemctl enable \ - getty@tty1.service \ - systemd-readahead-collect.service \ - systemd-readahead-replay.service \ - remote-fs.target >/dev/null 2>&1 || : -fi - -# since v207 /etc/sysctl.conf is no longer parsed, however -# backward compatibility is provided by /etc/sysctl.d/99-sysctl.conf -if [ ! -L /etc/sysctl.d/99-sysctl.conf -a -e /etc/sysctl.conf ]; then - /bin/ln -sf /etc/sysctl.conf /etc/sysctl.d/99-sysctl.conf || : -fi - -# migrate any symlink which may refer to the old path -for f in $(find /etc/systemd/system -type l -xtype l); do - new_target="/usr$(readlink $f)" - [ -f "$new_target" ] && ln -s -f $new_target $f || : -done - -%postun -/sbin/ldconfig -if [ $1 -ge 1 ]; then - /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : - /usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : -fi -%if ! 0%{?bootstrap} -if [ $1 -eq 0 ]; then - /usr/sbin/pam-config -d --systemd || : -fi -%endif - -%preun -if [ $1 -eq 0 ]; then - /usr/bin/systemctl disable \ - getty@.service \ - systemd-readahead-collect.service \ - systemd-readahead-replay.service \ - remote-fs.target >/dev/null 2>&1 || : - rm -f /etc/systemd/system/default.target 2>&1 || : -fi - -%pretrans -n %{udevpkgname} -p -if posix.stat("/lib/udev") and not posix.stat("/usr/lib/udev") then - posix.symlink("/lib/udev", "/usr/lib/udev") -end - -%pre -n %{udevpkgname} -if test -L /usr/lib/udev -a /lib/udev -ef /usr/lib/udev ; then - rm /usr/lib/udev - mv /lib/udev /usr/lib - ln -s /usr/lib/udev /lib/udev -elif [ ! -e /lib/udev ]; then - ln -s /usr/lib/udev /lib/udev -fi -# Create "tape" group which is referenced by 50-udev-default.rules and 60-persistent-storage-tape.rules -/usr/sbin/groupadd -r tape 2> /dev/null || : -# kill daemon if we are not in a chroot -if test -f /proc/1/exe -a -d /proc/1/root ; then - if test "$(stat -Lc '%%D-%%i' /)" = "$(stat -Lc '%%D-%%i' /proc/1/root)"; then - systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service udev.service udev-control.socket udev-kernel.socket >/dev/null 2>&1 || : - udevadm control --exit 2>&1 || : - fi -fi - -%post -n %{udevpkgname} -/usr/bin/udevadm hwdb --update >/dev/null 2>&1 || : -%{fillup_and_insserv -Y boot.udev} -# add KERNEL name match to existing persistent net rules -sed -ri '/KERNEL/ ! { s/NAME="(eth|wlan|ath)([0-9]+)"/KERNEL=="\1*", NAME="\1\2"/}' \ - /etc/udev/rules.d/70-persistent-net.rules >/dev/null 2>&1 || : -# cleanup old stuff -rm -f /etc/sysconfig/udev -rm -f /etc/udev/rules.d/20-cdrom.rules -rm -f /etc/udev/rules.d/55-cdrom.rules -rm -f /etc/udev/rules.d/65-cdrom.rules -systemctl daemon-reload >/dev/null 2>&1 || : -# start daemon if we are not in a chroot -if test -f /proc/1/exe -a -d /proc/1/root; then - if test "$(stat -Lc '%%D-%%i' /)" = "$(stat -Lc '%%D-%%i' /proc/1/root)"; then - if ! systemctl start systemd-udevd.service >/dev/null 2>&1; then - /usr/lib/systemd/systemd-udevd --daemon >/dev/null 2>&1 || : - fi - fi -fi - -if [ "${YAST_IS_RUNNING}" != "instsys" ]; then - if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then - echo "Skipping recreation of existing initial ramdisks, due" - echo "to presence of /var/lib/no_initrd_recreation_by_suspend" - elif [ -x /sbin/mkinitrd ]; then - [ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup - /sbin/mkinitrd || : - fi -fi - -%postun -n %{udevpkgname} -%insserv_cleanup -systemctl daemon-reload >/dev/null 2>&1 || : - -if [ "${YAST_IS_RUNNING}" != "instsys" ]; then - if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then - echo "Skipping recreation of existing initial ramdisks, due" - echo "to presence of /var/lib/no_initrd_recreation_by_suspend" - elif [ -x /sbin/mkinitrd ]; then - [ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup - /sbin/mkinitrd || : - fi -fi - -%post -n lib%{udevpkgname}%{udev_major} -p /sbin/ldconfig - -%postun -n lib%{udevpkgname}%{udev_major} -p /sbin/ldconfig - -%if ! 0%{?bootstrap} - -%post -n libgudev-1_0-0 -p /sbin/ldconfig - -%postun -n libgudev-1_0-0 -p /sbin/ldconfig - -%post logger -if [ "$1" -eq 1 ]; then -# tell journal to start logging on disk if directory didn't exist before - systemctl --no-block restart systemd-journal-flush.service >/dev/null 2>&1 || : -fi - -%preun -n nss-myhostname -if [ "$1" -eq 0 -a -f /etc/nsswitch.conf ] ; then - %{_sbindir}/nss-myhostname-config --disable -fi - -%post -n nss-myhostname -p /sbin/ldconfig - -%postun -n nss-myhostname -p /sbin/ldconfig - -%pre journal-gateway -getent passwd systemd-journal-gateway >/dev/null || useradd -r -l -g systemd-journal-gateway -d /var/log/journal -s /usr/sbin/nologin -c "Journal Gateway" systemd-journal-gateway >/dev/null 2>&1 || : -getent group systemd-journal-gateway >/dev/null || groupadd -r systemd-journal-gateway || : -%service_add_pre systemd-journal-gatewayd.socket systemd-journal-gatewayd.service -exit 0 - -%post journal-gateway -%service_add_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service - -%preun journal-gateway -%service_del_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service - -%postun journal-gateway -%service_del_postun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service - -%endif - -%files -%defattr(-,root,root) -/bin/systemd -/bin/systemd-ask-password -/bin/systemctl -%{_bindir}/bootctl -%{_bindir}/kernel-install -%{_bindir}/hostnamectl -%{_bindir}/localectl -%{_bindir}/machinectl -%{_bindir}/systemctl -%{_bindir}/systemd-analyze -%{_bindir}/systemd-coredumpctl -%{_bindir}/systemd-delta -%{_bindir}/systemd-notify -%{_bindir}/systemd-run -%{_bindir}/systemd-journalctl -%{_bindir}/journalctl -%{_bindir}/systemd-ask-password -%{_bindir}/loginctl -%{_bindir}/systemd-loginctl -%{_bindir}/systemd-inhibit -%{_bindir}/systemd-tty-ask-password-agent -%{_bindir}/systemd-tmpfiles -%{_bindir}/systemd-machine-id-setup -%{_bindir}/systemd-nspawn -%{_bindir}/systemd-stdio-bridge -%{_bindir}/systemd-detect-virt -%{_bindir}/timedatectl -%{_sbindir}/systemd-sysv-convert -%{_libdir}/libsystemd-daemon.so.* -%{_libdir}/libsystemd-login.so.* -%{_libdir}/libsystemd-id128.so.* -%{_libdir}/libsystemd-journal.so.* -%{_bindir}/systemd-cgls -%{_bindir}/systemd-cgtop -%{_bindir}/systemd-cat -%dir %{_prefix}/lib/kernel -%dir %{_prefix}/lib/kernel/install.d -%{_prefix}/lib/kernel/install.d/50-depmod.install -%{_prefix}/lib/kernel/install.d/90-loaderentry.install -%dir %{_prefix}/lib/systemd -%dir %{_prefix}/lib/systemd/user -%dir %{_prefix}/lib/systemd/system -%exclude %{_prefix}/lib/systemd/system/systemd-udev*.* -%exclude %{_prefix}/lib/systemd/system/udev.service -%exclude %{_prefix}/lib/systemd/system/systemd-udev-root-symlink.service -%exclude %{_prefix}/lib/systemd/system/*.target.wants/systemd-udev*.* -%exclude %{_prefix}/lib/systemd/system/basic.target.wants/systemd-udev-root-symlink.service -%exclude %{_prefix}/lib/systemd/system/systemd-journal-gatewayd.* -%{_prefix}/lib/systemd/system/*.automount -%{_prefix}/lib/systemd/system/*.service -%{_prefix}/lib/systemd/system/*.slice -%{_prefix}/lib/systemd/system/*.target -%{_prefix}/lib/systemd/system/*.mount -%{_prefix}/lib/systemd/system/*.timer -%{_prefix}/lib/systemd/system/*.socket -%{_prefix}/lib/systemd/system/*.wants -%{_prefix}/lib/systemd/system/*.path -%{_prefix}/lib/systemd/user/*.target -%{_prefix}/lib/systemd/user/*.service -%exclude %{_prefix}/lib/systemd/systemd-udevd -%exclude %{_prefix}/lib/systemd/systemd-journal-gatewayd -%{_prefix}/lib/systemd/systemd-* -%{_prefix}/lib/systemd/systemd -%dir %{_prefix}/lib/systemd/catalog -%{_prefix}/lib/systemd/catalog/systemd.catalog -%dir %{_prefix}/lib/systemd/system-shutdown -%dir %{_prefix}/lib/systemd/system-shutdown -%dir %{_prefix}/lib/systemd/system-preset -%dir %{_prefix}/lib/systemd/user-preset -%dir %{_prefix}/lib/systemd/system-generators -%dir %{_prefix}/lib/systemd/user-generators -%dir %{_prefix}/lib/systemd/ntp-units.d/ -%dir %{_prefix}/lib/systemd/system-shutdown/ -%dir %{_prefix}/lib/systemd/system-sleep/ -%dir %{_prefix}/lib/systemd/system/default.target.wants -%dir %{_prefix}/lib/systemd/system/dbus.target.wants -%dir %{_prefix}/lib/systemd/system/getty@tty1.service.d -%{_prefix}/lib/systemd/system/getty@tty1.service.d/noclear.conf -%if ! 0%{?bootstrap} -%{_prefix}/lib/systemd/system-generators/systemd-cryptsetup-generator -%endif -%{_prefix}/lib/systemd/system-generators/systemd-efi-boot-generator -%{_prefix}/lib/systemd/system-generators/systemd-getty-generator -%{_prefix}/lib/systemd/system-generators/systemd-rc-local-generator -%{_prefix}/lib/systemd/system-generators/systemd-fstab-generator -%{_prefix}/lib/systemd/system-generators/systemd-system-update-generator -%{_prefix}/lib/systemd/system-generators/systemd-insserv-generator -%{_prefix}/lib/systemd/system-generators/systemd-gpt-auto-generator -/%{_lib}/security/pam_systemd.so -/etc/pam.d/systemd-user - -%dir %{_libexecdir}/modules-load.d -%dir %{_sysconfdir}/modules-load.d -%{_libexecdir}/modules-load.d/sg.conf - -%dir %{_libexecdir}/tmpfiles.d -%dir %{_sysconfdir}/tmpfiles.d -%{_libexecdir}/tmpfiles.d/*.conf - -%dir %{_libexecdir}/binfmt.d -%dir %{_sysconfdir}/binfmt.d - -%dir %{_libexecdir}/sysctl.d -%dir %{_sysconfdir}/sysctl.d - -%dir %{_sysconfdir}/systemd -%dir %{_sysconfdir}/systemd/system -%dir %{_sysconfdir}/systemd/user -%dir %{_sysconfdir}/xdg/systemd -%{_sysconfdir}/xdg/systemd/user -%config(noreplace) %{_sysconfdir}/systemd/bootchart.conf -%config(noreplace) %{_sysconfdir}/systemd/system.conf -%config(noreplace) %{_sysconfdir}/systemd/logind.conf -%config(noreplace) %{_sysconfdir}/systemd/journald.conf -%config(noreplace) %{_sysconfdir}/systemd/user.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf - -%{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml -%{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml -%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml -%{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml -%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service -%dir %{_datadir}/polkit-1 -%dir %{_datadir}/polkit-1/actions -%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy -%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy -%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy -%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy -%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy -%exclude %{_datadir}/systemd/gatewayd -%{_datadir}/systemd - -%if ! 0%{?bootstrap} -# Packaged in sysvinit subpackage -%exclude %{_mandir}/man1/init.1* -%exclude %{_mandir}/man8/halt.8* -%exclude %{_mandir}/man8/reboot.8* -%exclude %{_mandir}/man8/shutdown.8* -%exclude %{_mandir}/man8/poweroff.8* -%exclude %{_mandir}/man8/telinit.8* -%exclude %{_mandir}/man8/runlevel.8* -%exclude %{_mandir}/man*/*udev*.[0-9]* -%exclude %{_mandir}/man8/systemd-journal-gatewayd.* -%{_mandir}/man1/*.1* -%{_mandir}/man3/*.3* -%{_mandir}/man5/*.5* -%{_mandir}/man7/*.7* -%{_mandir}/man8/*.8* -%endif -%{_docdir}/systemd -%{_prefix}/lib/udev/rules.d/70-uaccess.rules -%{_prefix}/lib/udev/rules.d/71-seat.rules -%{_prefix}/lib/udev/rules.d/73-seat-late.rules -%if ! 0%{?bootstrap} -%{_prefix}/lib/udev/rules.d/73-seat-numlock.rules -%endif -%{_prefix}/lib/udev/rules.d/99-systemd.rules -%if ! 0%{?bootstrap} -%{_prefix}/lib/udev/numlock-on -%endif -%dir %{_datadir}/bash-completion -%dir %{_datadir}/bash-completion/completions -%ghost /var/lib/systemd/catalog/database -%{_datadir}/bash-completion/completions/* -%if 0%{suse_version} < 1310 -%{_sysconfdir}/rpm/macros.systemd -%endif -%dir /var/lib/systemd -%dir /var/lib/systemd/sysv-convert -%dir /var/lib/systemd/migrated -%dir /var/lib/systemd/catalog -%ghost /var/lib/systemd/catalog/database -%dir /var/lib/systemd/coredump -%dir /usr/share/zsh -%dir /usr/share/zsh/site-functions -/usr/share/zsh/site-functions/* -%ghost /var/lib/systemd/backlight -%ghost /var/lib/systemd/random-seed - -%files devel -%defattr(-,root,root,-) -%{_libdir}/libsystemd-daemon.so -%{_libdir}/libsystemd-login.so -%{_libdir}/libsystemd-id128.so -%{_libdir}/libsystemd-journal.so -%dir %{_includedir}/systemd -%{_includedir}/systemd/sd-login.h -%{_includedir}/systemd/sd-daemon.h -%{_includedir}/systemd/sd-id128.h -%{_includedir}/systemd/sd-journal.h -%{_includedir}/systemd/sd-messages.h -%{_includedir}/systemd/sd-shutdown.h -%{_datadir}/pkgconfig/systemd.pc -%{_libdir}/pkgconfig/libsystemd-daemon.pc -%{_libdir}/pkgconfig/libsystemd-login.pc -%{_libdir}/pkgconfig/libsystemd-id128.pc -%{_libdir}/pkgconfig/libsystemd-journal.pc - -%files sysvinit -%defattr(-,root,root,-) -/sbin/init -/sbin/reboot -/sbin/halt -/sbin/shutdown -/sbin/poweroff -/sbin/telinit -/sbin/runlevel -%if ! 0%{?bootstrap} -%{_mandir}/man1/init.1* -%{_mandir}/man8/halt.8* -%{_mandir}/man8/reboot.8* -%{_mandir}/man8/shutdown.8* -%{_mandir}/man8/poweroff.8* -%{_mandir}/man8/telinit.8* -%{_mandir}/man8/runlevel.8* -%endif - -%files -n %{udevpkgname} -%defattr(-,root,root) -/sbin/udevd -/sbin/udevadm -# keep for compatibility -%ghost /lib/udev -%{_bindir}/udevadm -%{_prefix}/lib/firmware -%dir %{_prefix}/lib/udev/ -%{_prefix}/lib/udev/accelerometer -%{_prefix}/lib/udev/ata_id -%{_prefix}/lib/udev/cdrom_id -%{_prefix}/lib/udev/collect -%{_prefix}/lib/udev/mtd_probe -%{_prefix}/lib/udev/scsi_id -%{_prefix}/lib/udev/v4l_id -%{_prefix}/lib/udev/write_dev_root_rule -%dir %{_prefix}/lib/udev/rules.d/ -%exclude %{_prefix}/lib/udev/rules.d/70-uaccess.rules -%exclude %{_prefix}/lib/udev/rules.d/71-seat.rules -%exclude %{_prefix}/lib/udev/rules.d/73-seat-late.rules -%exclude %{_prefix}/lib/udev/rules.d/73-seat-numlock.rules -%exclude %{_prefix}/lib/udev/rules.d/99-systemd.rules -%{_prefix}/lib/udev/rules.d/*.rules -%dir %{_prefix}/lib/udev/hwdb.d -%{_prefix}/lib/udev/hwdb.d/* -%{_sysconfdir}/init.d/boot.udev -%dir %{_sysconfdir}/udev/ -%dir %{_sysconfdir}/udev/rules.d/ -%ghost %{_sysconfdir}/udev/hwdb.bin -%config(noreplace) %{_sysconfdir}/udev/udev.conf -%if ! 0%{?bootstrap} -%{_mandir}/man?/*udev*.[0-9]* -%endif -%dir %{_prefix}/lib/systemd/system -%{_prefix}/lib/systemd/systemd-udevd -%{_prefix}/lib/systemd/system/systemd-udev-root-symlink.service -%{_prefix}/lib/systemd/system/basic.target.wants/systemd-udev-root-symlink.service -%{_prefix}/lib/systemd/system/*udev*.service -%{_prefix}/lib/systemd/system/systemd-udevd*.socket -%dir %{_prefix}/lib/systemd/system/sysinit.target.wants -%{_prefix}/lib/systemd/system/sysinit.target.wants/systemd-udev*.service -%dir %{_prefix}/lib/systemd/system/sockets.target.wants -%{_prefix}/lib/systemd/system/sockets.target.wants/systemd-udev*.socket - -%files -n lib%{udevpkgname}%{udev_major} -%defattr(-,root,root) -%{_libdir}/libudev.so.* - -%files -n lib%{udevpkgname}-devel -%defattr(-,root,root) -%{_includedir}/libudev.h -%{_libdir}/libudev.so -%{_datadir}/pkgconfig/udev.pc -%{_libdir}/pkgconfig/libudev.pc -%if ! 0%{?bootstrap} -%dir %{_datadir}/gtk-doc -%dir %{_datadir}/gtk-doc/html -%dir %{_datadir}/gtk-doc/html/libudev -%{_datadir}/gtk-doc/html/libudev/* -%endif - -%if ! 0%{?bootstrap} -%files -n libgudev-1_0-0 -%defattr(-,root,root) -%{_libdir}/libgudev-1.0.so.* - -%files -n typelib-1_0-GUdev-1_0 -%defattr(-,root,root) -%{_libdir}/girepository-1.0/GUdev-1.0.typelib - -%files -n libgudev-1_0-devel -%defattr(-,root,root) -%dir %{_includedir}/gudev-1.0 -%dir %{_includedir}/gudev-1.0/gudev -%{_includedir}/gudev-1.0/gudev/*.h -%{_libdir}/libgudev-1.0.so -%{_libdir}/pkgconfig/gudev-1.0.pc -%dir %{_datadir}/gtk-doc -%dir %{_datadir}/gtk-doc/html -%dir %{_datadir}/gtk-doc/html/gudev -%{_datadir}/gtk-doc/html/gudev/* -%{_datadir}/gir-1.0/GUdev-1.0.gir - -%files logger -%defattr(-,root,root) -%dir /var/log/journal -/var/log/README -/etc/init.d/systemd-journald - -%files -n nss-myhostname -%defattr(-, root, root) -%{_sbindir}/nss-myhostname-config -/%{_lib}/*nss_myhostname* - -%files journal-gateway -%defattr(-, root, root) -%{_prefix}/lib/systemd/system/systemd-journal-gatewayd.* -%{_prefix}/lib/systemd/systemd-journal-gatewayd -%{_mandir}/man8/systemd-journal-gatewayd.* -%{_datadir}/systemd/gatewayd -%endif - -%changelog diff --git a/systemd-pam_config.patch b/systemd-pam_config.patch deleted file mode 100644 index 85027c5..0000000 --- a/systemd-pam_config.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/src/login/systemd-user b/src/login/systemd-user -index 7b57dbf..c0fc793 100644 ---- a/src/login/systemd-user -+++ b/src/login/systemd-user -@@ -2,7 +2,7 @@ - - # Used by systemd when launching systemd user instances. - --account include system-auth --session include system-auth -+account include common-account -+session include common-session - auth required pam_deny.so - password required pam_deny.so diff --git a/systemd-powerfail b/systemd-powerfail deleted file mode 100644 index 797fb7d..0000000 --- a/systemd-powerfail +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -# -# /usr/lib/systemd/systemd-powerfail -# -# Copyright (c) 2014 SUSE LINUX Products GmbH, Germany. -# Author: Werner Fink -# Please send feedback to http://www.suse.de/feedback -# -# Description: -# -# Used to evaluate the status of /var/run/powerstatus -# - -trap "echo" SIGINT SIGSEGV SIGTERM - - POWERFAIL='THE POWER IS FAILED! SYSTEM GOING DOWN! PLEASE LOG OFF NOW!' -POWERFAILNOW='THE POWER IS FAILED! LOW BATTERY - EMERGENCY SYSTEM SHUTDOWN!' - POWERISBACK='THE POWER IS BACK' - -typeset pwrstat=0 -test -s /var/run/powerstatus && read pwrstat < /var/run/powerstatus -rm -f /var/run/powerstatus - -case "$pwrstat" in -O*) exec /sbin/shutdown -c +0 "$POWERISBACK" ;; -L*) exec /sbin/shutdown -P +0 "$POWERFAILNOW" ;; -*) exec /sbin/shutdown -P +2 "$POWERFAIL" ;; -esac diff --git a/systemd-rpm-macros.changes b/systemd-rpm-macros.changes index 165b84c..125087a 100644 --- a/systemd-rpm-macros.changes +++ b/systemd-rpm-macros.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 7 12:43:13 UTC 2014 - werner@suse.de + +- Make systemd rpm macros package a separate to avoid rebuild of + the full package tree if systemd package change + ------------------------------------------------------------------- Thu Jul 4 13:59:43 CEST 2013 - fcrozat@suse.com diff --git a/systemd-rpmlintrc b/systemd-rpmlintrc deleted file mode 100644 index 87518f9..0000000 --- a/systemd-rpmlintrc +++ /dev/null @@ -1,20 +0,0 @@ -addFilter(".*dangling-symlink /sbin/(halt|init|poweroff|telinit|shutdown|runlevel|reboot).*") -addFilter(".*dangling-symlink .* /dev/null.*") -addFilter(".*files-duplicate .*/reboot.8.*") -addFilter(".*files-duplicate .*/sd_is_socket.3.*") -addFilter("non-conffile-in-etc /etc/bash_completion.d/systemd-bash-completion.sh") -addFilter("non-conffile-in-etc /etc/rpm/macros.systemd") -addFilter(".*dbus-policy-allow-receive") -addFilter(".*dangling-symlink /lib/udev/devices/std(in|out|err).*") -addFilter(".*dangling-symlink /lib/udev/devices/core.*") -addFilter(".*dangling-symlink /lib/udev/devices/fd.*") -addFilter(".*incoherent-init-script-name boot.udev.*") -addFilter(".init-script-without-%stop_on_removal-preun /etc/init.d/boot.udev") -addFilter(".init-script-without-%restart_on_update-postun /etc/init.d/boot.udev") -addFilter(".*devel-file-in-non-devel-package.*udev.pc.*") -addFilter(".*libgudev-.*shlib-fixed-dependency.*") -addFilter(".*suse-filelist-forbidden-systemd-userdirs.*") -addFilter("libudev-mini.*shlib-policy-name-error.*") -addFilter("nss-myhostname.*shlib-policy-name-error.*") -addFilter("systemd-logger.*useless-provides sysvinit(syslog).*") - diff --git a/systemd-sysv-convert b/systemd-sysv-convert deleted file mode 100644 index 8ba3f21..0000000 --- a/systemd-sysv-convert +++ /dev/null @@ -1,179 +0,0 @@ -#!/bin/bash - -if [ "$UID" != "0" ]; then - echo Need to be root. - exit 1 -fi - -declare -A results_runlevel -declare -A results_priority - -usage() { -cat << EOF -usage: systemd-sysv-convert [-h] [--save] [--show] [--apply] - SERVICE [SERVICE ...] -EOF -} - -help() { -usage -cat << EOF -Save and Restore SysV Service Runlevel Information - -positional arguments: - SERVICE Service names - -optional arguments: - -h, --help show this help message and exit - --save Save SysV runlevel information for one or more services - --show Show saved SysV runlevel information for one or more services - --apply Apply saved SysV runlevel information for one or more services - to systemd counterparts -EOF -} - -find_service() { -local service -local runlevel -declare -i priority -service=$1 -runlevel=$2 -priority=-1 -for l in $(ls /etc/rc.d/rc$runlevel.d/) ; do - initscript=$(basename $l) - if [ ${initscript:0:1} != "S" -o ${initscript:3} != "$service" ]; then - continue - fi - if [ ${initscript:1:2} -ge 0 -a ${initscript:1:2} -le 99 -a ${initscript:1:2} -ge $priority ]; then - if [ ${initscript:1:1} == 0 ]; then - priority=${initscript:2:1} - else - priority=${initscript:1:2} - fi - fi -done -if [ $priority -ge 0 ]; then - return $priority -else - return 255 -fi -} - -lookup_database() { -local services -local service -local service_file -local runlevel -local priority -local -i k -declare -a parsed -services=$@ -k=0 -results_runlevel=() -results_priority=() -while read line ; do - k+=1 - parsed=($line) - service=${parsed[0]} - runlevel=${parsed[1]} - priority=${parsed[2]} - if [ $runlevel -lt 2 -o $runlevel -gt 5 ]; then - echo "Runlevel out of bounds in database line $k. Ignoring" >/dev/stderr - continue - fi - if [ $priority -lt 0 -o $priority -gt 99 ]; then - echo "Priority out of bounds in database line $k. Ignoring" >/dev/stderr - continue - fi - - declare -i found - found=0 - for s in $services ; do - if [ $s == $service ]; then - found=1 - continue - fi - done - if [ $found -eq 0 ]; then - continue - fi - results_runlevel[$service]+=" $runlevel" - results_priority[$service]+=" $priority" -done < /var/lib/systemd/sysv-convert/database -} - -case "$1" in - -h|--help) - help - exit 0 - ;; - --save) - shift - for service in $@ ; do - if [ ! -r "/etc/init.d/$service" ]; then - echo "SysV service $service does not exist" >/dev/stderr - exit 1 - fi - for runlevel in 2 3 4 5; do - find_service $service $runlevel - priority=$? - if [ $priority -lt 255 ]; then - echo "$service $runlevel $priority" >> /var/lib/systemd/sysv-convert/database - fi - done - done - ;; - --show) - shift - services=$@ - lookup_database $services - fail=0 - for service in $services; do - if [ -z "${results_runlevel[$service]}" ]; then - echo No information found about service $service found. >/dev/stderr - fail=1 - continue - fi - declare -i count - count=0 - priority=(${results_priority[$service]}) - for runlevel in ${results_runlevel[$service]}; do - echo SysV service $service enabled in runlevel $runlevel at priority ${priority[$count]} - count+=1 - done - done - exit $fail - ;; - --apply) - shift - services=$@ - for service in $services; do - if [ ! -f "/lib/systemd/system/$service.service" -a ! -f "/usr/lib/systemd/system/$service.service" ]; then - echo systemd service $service.service does not exist. >/dev/stderr - exit 1 - fi - done - lookup_database $services - for service in $services; do - [ -f "/lib/systemd/system/$service.service" ] && service_file="/lib/systemd/system/$service.service" - [ -f "/usr/lib/systemd/system/$service.service" ] && service_file="/usr/lib/systemd/system/$service.service" - - if [ -z "${results_runlevel[$service]}" ]; then - echo No information found about service $service found. >/dev/stderr - fail=1 - continue - fi - for runlevel in ${results_runlevel[$service]}; do - echo ln -sf $service_file /etc/systemd/system/runlevel$runlevel.target.wants/$service.service >/dev/stderr - mkdir -p "/etc/systemd/system/runlevel$runlevel.target.wants" - /bin/ln -sf $service_file /etc/systemd/system/runlevel$runlevel.target.wants/$service.service - done - - done - ;; - *) usage - exit 2;; -esac - - - diff --git a/systemd-tmp-safe-defaults.patch b/systemd-tmp-safe-defaults.patch deleted file mode 100644 index 492ab22..0000000 --- a/systemd-tmp-safe-defaults.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Reinhard Max -Date: Fri, 19 Apr 2013 16:12:28 +0200 -Subject: systemd tmp safe defaults - -Fix regression in the default for tmp auto-deletion (FATE#314974). -SUSE policy is to not clean /tmp by default. ---- - tmpfiles.d/tmp.conf | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - ---- systemd-206.orig/tmpfiles.d/tmp.conf -+++ systemd-206/tmpfiles.d/tmp.conf -@@ -8,8 +8,9 @@ - # See tmpfiles.d(5) for details - - # Clear tmp directories separately, to make them easier to override --d /tmp 1777 root root 10d --d /var/tmp 1777 root root 30d -+# SUSE policy: we don't clean those directories -+d /tmp 1777 root root - -+d /var/tmp 1777 root root - - - # Exclude namespace mountpoints created with PrivateTmp=yes - x /tmp/systemd-private-* diff --git a/systemd-udev-root-symlink b/systemd-udev-root-symlink deleted file mode 100644 index 8cbe87e..0000000 --- a/systemd-udev-root-symlink +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Create dynamic rule for /dev/root link -Before=udev.service -DefaultDependencies=no - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=@@PREFIX@@/write_dev_root_rule diff --git a/systemd.changes b/systemd.changes deleted file mode 100644 index 30031a9..0000000 --- a/systemd.changes +++ /dev/null @@ -1,3871 +0,0 @@ -------------------------------------------------------------------- -Wed Feb 5 11:19:28 UTC 2014 - werner@suse.de - -- Change and extend patch - 0001-On_s390_con3270_disable_ANSI_colour_esc.patch - to disable the workaround to find /dev/3270/tty1 as this now - should be done by a) the kernel patch - http://lkml.indiana.edu/hypermail/linux/kernel/1402.0/02319.html - and the changed udev rule 99-systemd.rules - -------------------------------------------------------------------- -Sun Feb 2 08:53:17 UTC 2014 - ohering@suse.com - -- Remove PreReq pidof from udev, nothing in this pkg uses it - -------------------------------------------------------------------- -Fri Jan 31 14:24:35 UTC 2014 - werner@suse.de - -- Change and extend patch - 0001-On_s390_con3270_disable_ANSI_colour_esc.patch - to re-enable colouring if 3270 console was enforced on the kernel - command line as 3270 cna handle colour ANSI escape sequences. - Also let the serial getty generator find the /dev/3270/tty1 - character device (bnc#861316) - -------------------------------------------------------------------- -Thu Jan 30 12:33:08 UTC 2014 - werner@suse.de - -- Add patch 0001-On_s390_con3270_disable_ANSI_colour_esc.patch - to strip the colouring ANSI escape sequences from the console - messages (bnc#860937) - -------------------------------------------------------------------- -Thu Jan 30 08:29:00 UTC 2014 - werner@suse.de - -- Change patch 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch - to skip already by the kernel managed devices - -------------------------------------------------------------------- -Wed Jan 29 18:03:39 UTC 2014 - arvidjaar@gmail.com - -- fix timeout stopping user@.service (bnc#841544) - * 0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch - * 0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch - * 0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch - -------------------------------------------------------------------- -Tue Jan 28 12:44:07 UTC 2014 - werner@suse.de - -- Add patch 0001-upstream-systemctl-halt-reboot-error-handling.patch - to be able to detect if the sysctl reboot() returns. -- Add patch 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch - A check for unmaintained disk like devices is added to be able to - flush and maybe shut them down. Also the missing sync() system - call is added for the direct halt/reboot systemctl command. Then - the system halt is used as fallback if poweroff fails for both - the direct poweroff systemctl command as well as for the - systemd-shutdown utility. - -------------------------------------------------------------------- -Thu Jan 23 13:24:53 UTC 2014 - werner@suse.de - -- Make systemd-mini build - -------------------------------------------------------------------- -Thu Jan 23 13:18:39 UTC 2014 - werner@suse.de - -- Make requires bash-completion a recommends - -------------------------------------------------------------------- -Tue Jan 21 13:05:59 UTC 2014 - werner@suse.de - -- Add patch 1017-skip-native-unit-handling-if-sysv-already-handled.patch - to avoid that enabled boot scripts will be handled as unit files - by systemctl status command (bnc#818044) - -------------------------------------------------------------------- -Tue Jan 21 12:51:20 UTC 2014 - werner@suse.de - -- Drop patch 1017-enforce-sufficient-shutdown-warnings.patch - as the original code behaves exactly as the shutdown code of - the old SysVinit (bnc#750845) -- Rename support-powerfail-with-powerstatus.patch to - 1016-support-powerfail-with-powerstatus.patch - -------------------------------------------------------------------- -Mon Jan 20 10:18:20 UTC 2014 - fcrozat@suse.com - -- Add analyze-fix-crash-in-command-line-parsing.patch: fix crash in - systemd-analyze (bnc#859365) - -------------------------------------------------------------------- -Fri Jan 17 16:09:24 UTC 2014 - werner@suse.de - -- Add patch - 1019-make-completion-smart-to-be-able-to-redirect.patch - to make redirections work with the bash command completions for - for systemd command tools (bnc#856858, bnc#859072) - -------------------------------------------------------------------- -Fri Jan 17 12:24:13 UTC 2014 - werner@suse.de - -- Add patch - 1018-Make-LSB-Skripts-know-about-Required-and-Should.patch - to support the "+" to tag wanted dependencies as well as make - sure that required dependencies are handles as required ones. - This should fix bnc#858864 and bnc#857204. - -------------------------------------------------------------------- -Thu Jan 16 16:08:00 UTC 2014 - lnussel@suse.de - -- apply preset also to service files that are new in upgrade - -------------------------------------------------------------------- -Wed Jan 15 14:11:02 UTC 2014 - werner@suse.de - -- Change support-powerfail-with-powerstatus.patch to use BindsTo - instead of BindTo - -------------------------------------------------------------------- -Wed Jan 15 12:34:53 UTC 2014 - werner@suse.de - -- Add patch 1017-enforce-sufficient-shutdown-warnings.patch - Warn once per hour in the last 3 hours, then all 30 minutes in last - hour, all 15 minutes in the last 45 minutes, all 10 minutes in the - last 15 minutes, and then all minute in the last 10 minutes (bnc#750845) - -------------------------------------------------------------------- -Tue Jan 14 18:28:09 UTC 2014 - werner@suse.de - -- Add patch support-powerfail-with-powerstatus.patch and source - file systemd-powerfail to implement SIGPWR support with evaluation - of the file /var/run/powerstatus (bnc#737690) - -------------------------------------------------------------------- -Fri Dec 20 12:06:18 UTC 2013 - werner@suse.de - -- Adapt patch - 1011-check-4-valid-kmsg-device.patch - to fit current upstream version maybe related to bnc#854884 -- Change patch - 1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch - to check if XDG_RUNTIME_DIR is set before the call of pam_putenv() - may fix bnc#855160 - -------------------------------------------------------------------- -Fri Dec 20 09:40:01 UTC 2013 - lbsousajr@gmail.com - -- Disable multi-seat-x build, since package xorg-x11-server - currently in Factory no longer needs it. - -------------------------------------------------------------------- -Wed Dec 18 18:56:01 UTC 2013 - hrvoje.senjan@gmail.com - -- Added 0001-logind-garbage-collect-stale-users.patch: Don't stop a - running user manager from garbage-collecting the user. Original - behavior caused bnc#849870 - -------------------------------------------------------------------- -Mon Dec 16 11:08:33 UTC 2013 - lbsousajr@gmail.com - -- Add build-sys-make-multi-seat-x-optional.patch - * See: http://cgit.freedesktop.org/systemd/systemd/commit/?id=bd441fa27a22b7c6e11d9330560e0622fb69f297 - * Now systemd-multi-seat-x build can be disabled with configure option - --disable-multi-seat-x. It should be done when xorg-x11-server - no longer needs it (work in progress). - -------------------------------------------------------------------- -Mon Dec 16 09:43:29 UTC 2013 - fcrozat@suse.com - -- Update insserv-generator.patch: fix crash in insserv generator - (bnc#854314). -- Update apply-ACL-for-nvidia-device-nodes.patch with latest fixes - for Nvidia cards (bnc#808319). - -------------------------------------------------------------------- -Fri Dec 6 13:30:19 UTC 2013 - werner@suse.de - -- Add patch - 1014-journald-with-journaling-FS.patch - which now uses the file system ioctls for switching off atime, - compression, and copy-on-write of the journal directory of the - the systemd-journald (bnc#838475) -- Let us build require the package config for libpcre (bnc#853293) - -------------------------------------------------------------------- -Sat Nov 30 08:16:02 UTC 2013 - arvidjaar@gmail.com - -- Add patch - 0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch - Make sure emergency shell is not killed by attempt to start another unit - (bnc#852021). Backported from d420282b28f50720e233ccb1c02547c562195653. -- Add patch - make-emergency.service-conflict-with-syslog.socket.patch - Previous patch did not fix problem if syslog connection request came - after emergency shell was already started. So forcibly stop syslog.socket - when starting emergency.service. (bnc#852232) - -------------------------------------------------------------------- -Thu Nov 28 10:25:58 UTC 2013 - lbsousajr@gmail.com - -- Add U_logind_revert_lazy_session_activation_on_non_vt_seats.patch - * See: http://cgit.freedesktop.org/systemd/systemd/commit/?id=3fdb2494c1e24c0a020f5b54022d2c751fd26f50 - -------------------------------------------------------------------- -Tue Nov 26 15:12:58 UTC 2013 - werner@suse.de - -- Add patch - 1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch - to avoid (xdg-)su to set XDG_RUNTIME_DIR to the original user and - avoid that e.g. pulseaudio will create /run/user//pulse owned - by root (bnc#852015) - -------------------------------------------------------------------- -Thu Nov 21 12:27:11 UTC 2013 - werner@suse.de - -- Add patch - 1011-check-4-valid-kmsg-device.patch - to avoid a busy systemd-journald (bnc#851393) - -------------------------------------------------------------------- -Wed Nov 6 09:42:05 UTC 2013 - werner@suse.de - -- Add patch - 1010-do-not-install-sulogin-unit-with-poweroff.patch - that is do not install console-shell.service in any system target - as this will cause automatic poweroff at boot (bnc#849071) - -------------------------------------------------------------------- -Mon Nov 4 15:23:02 UTC 2013 - werner@suse.de - -- Add upstream patch - 0001-analyze-set-text-on-side-with-most-space.patch - to place the text on the side with most space - -------------------------------------------------------------------- -Fri Oct 25 12:12:48 UTC 2013 - werner@suse.de - -- Add upstream patch - 0001-analyze-set-white-background.patch - to make SVG output of systemd analyze readable - -------------------------------------------------------------------- -Mon Oct 21 09:27:36 UTC 2013 - werner@suse.de - -- Add patch - 1009-make-xsltproc-use-correct-ROFF-links.patch - to have valid ROFF links in manual pages working again (bnc#842844) - -------------------------------------------------------------------- -Tue Oct 15 13:50:52 CEST 2013 - fcrozat@suse.com - -- Add - 0001-gpt-auto-generator-exit-immediately-if-in-container.patch: - don't start gpt auto-generator in container (git). -- Add - 0001-manager-when-verifying-whether-clients-may-change-en.patch: - fix reload check in selinux case (git). -- Add 0001-logind-fix-bus-introspection-data-for-TakeControl.patch: - fix introspection for TakeControl (git). -- Add 0001-mount-check-for-NULL-before-reading-pm-what.patch: fix - crash when parsing some incorrect unit (git). -- Add - 0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch: - Fix udev rules parsing (git). -- Add - 0001-systemd-serialize-deserialize-forbid_restart-value.patch: - Fix incorrect deserialization for forbid_restart (git). -- Add - 0001-core-unify-the-way-we-denote-serialization-attribute.patch: - Ensure forbid_restart is named like other attributes (git). -- Add 0001-journald-fix-minor-memory-leak.patch: fix memleak in - journald (git). -- Add - 0001-do-not-accept-garbage-from-acpi-firmware-performance.patch: - Improve ACPI firmware performance parsing (git). -- Add - 0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch: - Fix journal rotation (git). -- Add - 0001-login-fix-invalid-free-in-sd_session_get_vt.patch: - Fix memory corruption in sd_session_get_vt (git). -- Add 0001-login-make-sd_session_get_vt-actually-work.patch: Ensure - sd_session_get_vt returns correct value (git). -- Add 0001-Never-call-qsort-on-potentially-NULL-arrays.patch: Don't - call qsort on NULL arrays (git). -- Add 0001-dbus-common-avoid-leak-in-error-path.patch: Fix memleak - in dbus-common code (git). -- Add 0001-drop-ins-check-return-value.patch: Fix return value for - drop-ins checks (git). -- Add 0001-shared-util-Fix-glob_extend-argument.patch: Fix - glob_extend argument (git). -- Add 0001-Fix-bad-assert-in-show_pid_array.patch: Fix bad assert - in show_pid_array (git). - - -------------------------------------------------------------------- -Thu Oct 3 08:43:51 UTC 2013 - fcrozat@suse.com - -- Add 0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch: - fix acpi memleak. -- Add - 0002-fix-lingering-references-to-var-lib-backlight-random.patch: - fix invalid path in documentation. -- Add - 0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch: - fix invalid memory free. -- Add 0004-systemctl-fix-name-mangling-for-sysv-units.patch: fix - name mangling for sysv units. -- Add - 0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch: - fix OOM handling. -- Add 0006-journald-add-missing-error-check.patch: add missing - error check. -- Add 0007-bus-fix-potentially-uninitialized-memory-access.patch: - fix uninitialized memory access. -- Add 0008-dbus-fix-return-value-of-dispatch_rqueue.patch: fix - return value. -- Add 0009-modules-load-fix-error-handling.patch: fix error - handling. -- Add 0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch: - fix incorrect memory access. -- Add 0011-strv-don-t-access-potentially-NULL-string-arrays.patch: - fix incorrect memory access. -- Add - 0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch: - fix invalid pointer. -- Add - 0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch: - fix permission on /run/log/journal. -- Add - 0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch: - order remote mount points properly before remote-fs.target. - -------------------------------------------------------------------- -Wed Oct 2 14:10:41 UTC 2013 - hrvoje.senjan@gmail.com - -- Explicitly require pam-config for %post of the main package - -------------------------------------------------------------------- -Wed Oct 2 08:03:30 UTC 2013 - fcrozat@suse.com - -- Release v208: - + logind gained support for facilitating privileged input and drm - devices access for unprivileged clients (helps Wayland / - kmscon). - + New kernel command line luks.options= allows to specify LUKS - options, when used with luks.uuid= - + tmpfileS.d snippets can uses specifier expansion in path names - (%m, %b, %H, %v). - + New tmpfiles.d command "m" introduced to change - owner/group/access mode of a file/directory only if it exists. - + MemorySoftLimit= cgroup settings is no longer supported - (underlying kernel cgroup attribute will disappear in the - future). - + memeory.use_hierarchy cgroup attribute is enabled for all - cgroups systemd creates in memory cgroup hierarchy. - + New filed _SYSTEMD_SLICE= is logged in journal messages related - to a slice. - + systemd-journald will no longer adjust the group of journal - files it creates to "systemd-journal" group. Permissions and - owernship is adjusted when package is upgraded. - + Backlight and random seed files are now stored in - /var/lib/systemd. - + Boot time performance measurements included ACPI 5.0 FPDT - informations if available. -- Drop merged patches: - 0001-cgroup-add-the-missing-setting-of-variable-s-value.patch, - 0002-cgroup-correct-the-log-information.patch, - 0003-cgroup-fix-incorrectly-setting-memory-cgroup.patch, - 0004-random-seed-we-should-return-errno-of-failed-loop_wr.patch, - 0005-core-cgroup-first-print-then-free.patch, - 0006-swap-fix-reverse-dependencies.patch, - 0008-swap-create-.wants-symlink-to-auto-swap-devices.patch, - 0009-polkit-Avoid-race-condition-in-scraping-proc.patch, - Fix-timeout-when-stopping-Type-notify-service.patch, - set-ignoreonisolate-noauto-cryptsetup.patch, - 0001-Fix-buffer-overrun-when-enumerating-files.patch, - 0007-libudev-fix-move_later-comparison.patch. -- Refresh patches - remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch, - delay-fsck-cryptsetup-after-md-dmraid-lvm-are-started.patch, - handle-root_uses_lang-value-in-etc-sysconfig-language.patch, - handle-SYSTEMCTL_OPTIONS-environment-variable.patch, - Revert-service-drop-support-for-SysV-scripts-for-the-early.patch. -- Own more ghost files. -- Do not run pam-config in systemd-mini %post. -- Add after-local.service to run after.local late during the boot - process (bnc#778715). - -------------------------------------------------------------------- -Tue Oct 1 17:09:01 UTC 2013 - fcrozat@suse.com - -- Update Fix-timeout-when-stopping-Type-notify-service.patch with - upstream fix. -- No longer start ask-password-wall, was causing too much spam on - terminals (bnc#747783). - -------------------------------------------------------------------- -Mon Sep 30 15:42:45 UTC 2013 - fcrozat@suse.com - -- Add set-ignoreonisolate-noauto-cryptsetup.patch: ensure noauto - encrypted mounts survives runlevel changes (bnc#843085). -- Add 0001-Fix-buffer-overrun-when-enumerating-files.patch: fix - logind crash when /run/systemd/sessions was too big (bnc#840055, - initial fix from hpj@suse.com). -- Update sysctl-handle-boot-sysctl.conf-kernel_release.patch to - only check for /boot/sysctl.conf- presence. -- Add service wrapper for after.local (bnc#778715). - -------------------------------------------------------------------- -Fri Sep 27 15:47:15 UTC 2013 - fcrozat@suse.com - -- Update use-usr-sbin-sulogin-for-emergency-service.patch to apply - to all services using sulogin and remove generated files from - upstream tarball (bnc#841398). - -------------------------------------------------------------------- -Mon Sep 23 13:09:06 UTC 2013 - arvidjaar@gmail.com - -- Fix-timeout-when-stopping-Type-notify-service.patch - Make sure MAINPID is watched when it becomes known (bnc#841544) - -------------------------------------------------------------------- -Mon Sep 23 13:11:08 CEST 2013 - fcrozat@suse.com - -- Remove output and error redirection to /dev/null in install - script, it might help tracing pam related issue (bnc#841573). - -------------------------------------------------------------------- -Thu Sep 19 16:37:03 CEST 2013 - fcrozat@suse.com - -- Move symlink migration trigger to post (bnc#821800). - -------------------------------------------------------------------- -Wed Sep 18 23:55:09 UTC 2013 - crrodriguez@opensuse.org - -- 0009-polkit-Avoid-race-condition-in-scraping-proc.patch - VUL-0: polkit: process subject race condition [bnc#835827] - CVE-2013-4288 - -------------------------------------------------------------------- -Wed Sep 18 23:45:54 UTC 2013 - crrodriguez@opensuse.org - -- Build with --disable-ima as the openSUSE kernel - does not support IMA (CONFIG_IMA is not set) - -------------------------------------------------------------------- -Wed Sep 18 23:40:27 UTC 2013 - crrodriguez@opensuse.org - -- Build with --disable-smack as the openSUSE kernel - does not support smack (CONFIG_SECURITY_SMACK is not set) - -------------------------------------------------------------------- -Wed Sep 18 12:05:47 UTC 2013 - fcrozat@suse.com - -- Don't use a trigger to create symlink for sysctl.conf, always run - the test on %post (bnc#840864). -- Update sysctl-handle-boot-sysctl.conf-kernel_release.patch to - ensure /boot is mounted before reading /boot/sysctl.conf-* - (bnc#809420). - -------------------------------------------------------------------- -Mon Sep 16 17:41:24 UTC 2013 - crrodriguez@opensuse.org - -- 0008-swap-create-.wants-symlink-to-auto-swap-devices.patch - really fixes the swap unit problem mentioned in previous - commit & the opensuse-factory mailing list. - -------------------------------------------------------------------- -Sat Sep 14 19:01:24 UTC 2013 - crrodriguez@opensuse.org - -- 0001-cgroup-add-the-missing-setting-of-variable-s-value.patch - missing important check on return value. -- 0002-cgroup-correct-the-log-information.patch fix misleading - log information. -- 0003-cgroup-fix-incorrectly-setting-memory-cgroup.patch fix - setting memory cgroup -- 0004-random-seed-we-should-return-errno-of-failed-loop_wr.patch - should fail if write fails. -- 0005-core-cgroup-first-print-then-free.patch use-after-free - will trigger if there is an error condition. -- 0006-swap-fix-reverse-dependencies.patch reported in - opensuse-factory list, topic "swap isn't activated" -- 0007-libudev-fix-move_later-comparison.patch libudev - invalid usage of "move_later". - -------------------------------------------------------------------- -Sat Sep 14 06:52:32 UTC 2013 - crrodriguez@opensuse.org - -- while testing this new release I get in the logs ocassionally - at boot "systemd[1]: Failed to open private bus connection: - Failed to connect to socket /var/run/dbus/system_bus_socket: - No such file or directory" indeed DBUS_SYSTEM_BUS_DEFAULT_ADDRESS - is defined to /var/run/dbus/system_bus_socket instead of - /run/dbus/system_bus_socket and that does not fly when /var/run - is not yet available. (systemd-dbus-system-bus-address.patch) - -------------------------------------------------------------------- -Fri Sep 13 07:47:40 UTC 2013 - fcrozat@suse.com - -- Enable Predictable Network interface names (bnc#829526). - -------------------------------------------------------------------- -Fri Sep 13 03:14:36 UTC 2013 - crrodriguez@opensuse.org - -- version 207, distribution specific changes follow, for overall - release notes see NEWS. -- Fixed: - * Failed at step PAM spawning /usr/lib/systemd/systemd: - Operation not permitted - * Fix shutdown hang "a stop job is running for Session 1 of user root" - that was reported in opensuse-factory list. -- systemd-sysctl no longer reads /etc/sysctl.conf however backward - compatbility is to be provides by a symlink created at %post. -- removed previously disabled upstream patches (merged): - 0002-core-mount.c-mount_dump-don-t-segfault-if-mount-is-n.patch, - 0004-disable-the-cgroups-release-agent-when-shutting-down.patch, - 0005-cgroups-agent-remove-ancient-fallback-code-turn-conn.patch, - 0006-suppress-status-message-output-at-shutdown-when-quie.patch, -- removed upstream merged patches: - exclude-dev-from-tmpfiles.patch, - logind_update_state_file_after_generating_....patch -- Add systemd-pam_config.patch: use correct include name for PAM - configuration on openSUSE. - -------------------------------------------------------------------- -Mon Sep 9 14:39:46 UTC 2013 - fcrozat@suse.com - -- Add exclude-dev-from-tmpfiles.patch: allow to exclude /dev from - tmpfiles (bnc#835813). - -------------------------------------------------------------------- -Fri Sep 6 15:02:08 UTC 2013 - fcrozat@suse.com - -- Remove - force-lvm-restart-after-cryptsetup-target-is-reached.patch and - remove additional dependencies on LVM in other patches: LVM has - now systemd support, no need to work around it anymore in - systemd. - -------------------------------------------------------------------- -Wed Aug 21 10:42:35 UTC 2013 - idonmez@suse.com - -- Add patch logind_update_state_file_after_generating_the_session_fifo_not_before.patch - to fix https://bugs.freedesktop.org/show_bug.cgi?id=67273 - -------------------------------------------------------------------- -Tue Aug 6 09:24:07 UTC 2013 - lnussel@suse.de - -- explicitly enable getty@tty1.service instead of getty@.service as - the tty1 alias has been removed from the file (bnc#833494) - -------------------------------------------------------------------- -Thu Aug 1 15:52:20 UTC 2013 - fcrozat@suse.com - -- Ensure /usr/lib/systemd/system/shutdown.target.wants is created - and owned by systemd package. - -------------------------------------------------------------------- -Mon Jul 29 14:01:48 UTC 2013 - fcrozat@suse.com - -- Fix drop-in for getty@tty1.service - -------------------------------------------------------------------- -Thu Jul 25 12:35:29 UTC 2013 - fcrozat@suse.com - -- Move systemd-journal-gateway to subpackage to lower dependencies - in default install. - -------------------------------------------------------------------- -Tue Jul 23 01:32:38 UTC 2013 - crrodriguez@opensuse.org - -- version 206 , highlights: -* Unit files now understand the new %v specifier which - resolves to the kernel version string as returned by "uname-r". -* "journalctl -b" may now be used to look for boot output of a - specific boot. Try "journalctl -b -1" -* Creation of "dead" device nodes has been moved from udev - into kmod and tmpfiles. -* The udev "keymap" data files and tools to apply keyboard - specific mappings of scan to key codes, and force-release - scan code lists have been entirely replaced by a udev - "keyboard" builtin and a hwdb data file. - -- remove patches now in upstream -- systemd now requires libkmod >=14 and cryptsetup >= 1.6.0 -- systemd now require the kmod tool in addition to the library. - -------------------------------------------------------------------- -Sun Jul 14 05:25:51 UTC 2013 - arvidjaar@gmail.com - -- use-usr-sbin-sulogin-for-emergency-service.patch - emergency.service failed to start because sulogin is in /usr/sbin now - -------------------------------------------------------------------- -Fri Jul 12 17:09:23 CEST 2013 - mls@suse.de - -- fix build with rpm-4.11.1: /etc/xdg/system/user is a symlink, - not a directory - -------------------------------------------------------------------- -Fri Jul 5 02:17:19 UTC 2013 - crrodriguez@opensuse.org - -- 0002-core-mount.c-mount_dump-don-t-segfault-if-mount-is-n.patch - fix segfault at shutdown -- 0004-disable-the-cgroups-release-agent-when-shutting-down.patch - disable the cgroups release agent when shutting down. -- 0005-cgroups-agent-remove-ancient-fallback-code-turn-conn.patch - remove ancient fallback code; turn connection error into warning -- 006-suppress-status-message-output-at-shutdown-when-quie.patch - make shutdown honour "quiet" kernel cmdline. - -------------------------------------------------------------------- -Fri Jul 5 02:09:55 UTC 2013 - crrodriguez@opensuse.org - -- fix broken symlink, service is called systemd-random-seed now. - -------------------------------------------------------------------- -Thu Jul 4 10:20:23 CEST 2013 - fcrozat@suse.com - -- Update to release 205: - + two new unit types have been introduced: - - Scope units are very similar to service units, however, are - created out of pre-existing processes -- instead of PID 1 - forking off the processes. - - Slice units may be used to partition system resources in an - hierarchial fashion and then assign other units to them. By - default there are now three slices: system.slice (for all - system services), user.slice (for all user sessions), - machine.slice (for VMs and containers). - + new concept of "transient" units, which are created at runtime - using an API and not based on configuration from disk. - + logind has been updated to make use of scope and slice units to - manage user sessions. Logind will no longer create cgroups - hierchies itself but will relying on PID 1. - + A new mini-daemon "systemd-machined" has been added which - may be used by virtualization managers to register local - VMs/containers. machinectl tool has been added to query - meta-data from systemd-machined. - + Low-level cgroup configuration options ControlGroup=, - ControlGroupModify=, ControlGroupPersistent=, - ControlGroupAttribute= have been removed. High-level attribute - settings or slice units should be used instead? - + A new bus call SetUnitProperties() has been added to alter - various runtime parameters of a unit, including cgroup - parameters. systemctl gained set-properties command to wrap - this call. - + A new tool "systemd-run" has been added which can be used to - run arbitrary command lines as transient services or scopes, - while configuring a number of settings via the command - line. - + nspawn will now inform the user explicitly that kernels with - audit enabled break containers, and suggest the user to turn - off audit. - + Support for detecting the IMA and AppArmor security - frameworks with ConditionSecurity= has been added. - + journalctl gained a new "-k" switch for showing only kernel - messages, mimicking dmesg output; in addition to "--user" - and "--system" switches for showing only user's own logs - and system logs. - + systemd-delta can now show information about drop-in - snippets extending unit files. - + systemd will now look for the "debug" argument on the kernel - command line and enable debug logging, similar to - "systemd.log_level=debug" already did before. - + "systemctl set-default", "systemctl get-default" has been - added to configure the default.target symlink, which - controls what to boot into by default. - + "systemctl set-log-level" has been added as a convenient - way to raise and lower systemd logging threshold. - + "systemd-analyze plot" will now show the time the various - generators needed for execution, as well as information - about the unit file loading. - + libsystemd-journal gained a new sd_journal_open_files() call - for opening specific journal files. journactl also gained a - new switch to expose this new functionality (useful for - debugging). - + systemd gained the new DefaultEnvironment= setting in - /etc/systemd/system.conf to set environment variables for - all services. - + If a privileged process logs a journal message with the - OBJECT_PID= field set, then journald will automatically - augment this with additional OBJECT_UID=, OBJECT_GID=, - OBJECT_COMM=, OBJECT_EXE=, ... fields. This is useful if - system services want to log events about specific client - processes. journactl/systemctl has been updated to make use - of this information if all log messages regarding a specific - unit is requested. -- Remove 0001-journal-letting-interleaved-seqnums-go.patch, - 0002-journal-remember-last-direction-of-search-and-keep-o.patch, - 0004-journald-DO-recalculate-the-ACL-mask-but-only-if-it-.patch, - 0006-systemctl-core-allow-nuking-of-symlinks-to-removed-u.patch, - 0008-service-don-t-report-alien-child-as-alive-when-it-s-.patch, - 0160-mount-when-learning-about-the-root-mount-from-mounti.patch, - 0185-core-only-attempt-to-connect-to-a-session-bus-if-one.patch, - Start-ctrl-alt-del.target-irreversibly.patch, - systemctl-does-not-expand-u-so-revert-back-to-I.patch: merged - upstream. -- Regenerate patches 1007-physical-hotplug-cpu-and-memory.patch, - 1008-add-msft-compability-rules.patch, - Revert-service-drop-support-for-SysV-scripts-for-the-early.patch, - fix-support-for-boot-prefixed-initscript-bnc-746506.patch, - handle-SYSTEMCTL_OPTIONS-environment-variable.patch, - handle-numlock-value-in-etc-sysconfig-keyboard.patch, - insserv-generator.patch, - optionally-warn-if-nss-myhostname-is-called.patch, - remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch, - restore-var-run-and-var-lock-bind-mount-if-they-aren-t-sym.patch, - service-flags-sysv-service-with-detected-pid-as-RemainAfte.patch. -- Update macros.systemd.upstream with latest upstream revision. - -------------------------------------------------------------------- -Mon Jul 1 13:43:31 UTC 2013 - fcrozat@suse.com - -- Replace - parse-etc-insserv.conf-and-adds-dependencies-accordingly.patch - patch with insserv-generator.patch: no longer patch systemd main - binary but generate systemd drop-in files using a generator, for - insserv.conf compatibility. - -------------------------------------------------------------------- -Mon Jul 1 09:14:55 UTC 2013 - coolo@suse.com - -- systemd-mini doesn't need dbus-1, only dbus-1-devel - -------------------------------------------------------------------- -Wed Jun 26 09:31:14 UTC 2013 - rmilasan@suse.com - -- Re-add fixed udev MSFT compability rules (bnc#805059, bnc#826528). - add: 1008-add-msft-compability-rules.patch - -------------------------------------------------------------------- -Wed Jun 26 08:51:29 UTC 2013 - rmilasan@suse.com - -- Drop 1007-add-msft-compability-rules.patch, breaks boot and links - in /dev/disk/by-id, will need proper rework (bnc#826528). - -------------------------------------------------------------------- -Mon Jun 24 00:15:24 UTC 2013 - crrodriguez@opensuse.org - -- 0160-mount-when-learning-about-the-root-mount-from-mounti.patch Another - case where we are trying to umount the root directory at shutdown. -- 0185-core-only-attempt-to-connect-to-a-session-bus-if-one.patch - only attempt to connect to a session bus if one likely exists - -------------------------------------------------------------------- -Fri Jun 21 12:40:27 UTC 2013 - rmilasan@suse.com - -- Automatically online CPUs/Memory on CPU/Memory hotplug add events - (bnc#703100, fate#311831). - add: 1008-physical-hotplug-cpu-and-memory.patch - -------------------------------------------------------------------- -Wed Jun 19 08:44:06 UTC 2013 - mhrusecky@suse.com - -- Dropped backward compatibility -- Added check for upstream rpm macros changes - -------------------------------------------------------------------- -Mon Jun 18 12:13:25 UTC 2013 - mhrusecky@suse.com - -- Split out RPM macros into separate package to simplify dependencies - -------------------------------------------------------------------- -Tue Jun 18 00:33:10 UTC 2013 - crrodriguez@opensuse.org - -- 0001-journal-letting-interleaved-seqnums-go.patch and - 0002-journal-remember-last-direction-of-search-and-keep-o.patch - fix possible infinite loops in the journal code, related to - bnc #817778 - -------------------------------------------------------------------- -Sun Jun 16 23:59:28 UTC 2013 - jengelh@inai.de - -- Explicitly list libattr-devel as BuildRequires -- More robust make install call. Remove redundant %clean section. - -------------------------------------------------------------------- -Thu Jun 13 16:00:25 CEST 2013 - sbrabec@suse.cz - -- Cleanup NumLock setting code - (handle-numlock-value-in-etc-sysconfig-keyboard.patch). - -------------------------------------------------------------------- -Wed Jun 12 10:00:53 UTC 2013 - fcrozat@suse.com - -- Only apply 1007-add-msft-compability-rules.patch when not - building systemd-mini. - -------------------------------------------------------------------- -Tue Jun 11 11:01:46 UTC 2013 - rmilasan@suse.com - -- Add udev MSFT compability rules (bnc#805059). - add: 1007-add-msft-compability-rules.patch -- Add sg3_utils requires, need it by 61-msft.rules (bnc#805059). -- Clean-up spec file, put udev patches after systemd patches. -- Rebase patches so they would apply nicely. - -------------------------------------------------------------------- -Tue Jun 11 02:29:49 UTC 2013 - crrodriguez@opensuse.org - -- 0004-journald-DO-recalculate-the-ACL-mask-but-only-if-it-.patch - fixes : - * systemd-journald[347]: Failed to set ACL on - /var/log/journal/11d90b1c0239b5b2e38ed54f513722e3/user-1000.journal, - ignoring: Invalid argument -- 006-systemctl-core-allow-nuking-of-symlinks-to-removed-u.patch - systemctl disable should remove dangling symlinks. -- 0008-service-don-t-report-alien-child-as-alive-when-it-s-.patch - alien childs are reported as alive when they are really dead. - -------------------------------------------------------------------- -Wed May 29 10:44:11 CEST 2013 - fcrozat@suse.com - -- Update to release 204: - + systemd-nspawn creates etc/resolv.conf in container if needed. - + systemd-nspawn will store metadata about container in container - cgroup including its root directory. - + cgroup hierarchy has been reworked, all objects are now suffxed - (with .session for user sessions, .user for users, .nspawn for - containers). All cgroup names are now escaped to preven - collision of object names. - + systemctl list-dependencies gained --plain, --reverse, --after - and --before switches. - + systemd-inhibit shows processes name taking inhibitor lock. - + nss-myhostname will now resolve "localhost" implicitly. - + .include is not allowed recursively anymore and only in unit - files. Drop-in files should be favored in most cases. - + systemd-analyze gained "critical-chain" command, to get slowest - chain of units run during boot-up. - + systemd-nspawn@.service has been added to easily run nspawn - container for system services. Just start - "systemd-nspawn@foobar.service" and container from - /var/lib/container/foobar" will be booted. - + systemd-cgls has new --machine parameter to list processes from - one container. - + ConditionSecurity= can now check for apparmor and SMACK. - + /etc/systemd/sleep.conf has been introduced to configure which - kernel operation will be execute when "suspend", "hibernate" or - "hybrid-sleep" is requrested. It allow new kernel "freeze" - state to be used too. (This setting won't have any effect if - pm-utils is installed). - + ENV{SYSTEMD_WANTS} in udev rules will now implicitly escape - passed argument if applicable. -- Regenerate some patches for this new release. -- Rename hostname-setup-shortname.patch to - ensure-shortname-is-set-as-hostname-bnc-820213.patch to be git - format-patch friendly. -- Update apply-ACL-for-nvidia-device-nodes.patch to apply ACL to - /dev/nvidia* (bnc#808319). -- Remove Ensure-debugshell-has-a-correct-value.patch, doable with a - configure option. -- Add systemctl-does-not-expand-u-so-revert-back-to-I.patch: avoids - expansion errors. -- Add Start-ctrl-alt-del.target-irreversibly.patch: ctrl-alt-del - should be irreversible for reliability. - -------------------------------------------------------------------- -Tue May 28 03:24:39 UTC 2013 - crrodriguez@opensuse.org - -- Drop Add-bootsplash-handling-for-password-dialogs.patch bootsplash -support has been removed from the kernel. -- Drop ensure-systemd-udevd-is-started-before-local-fs-pre-for-lo.patch -fixed in systemd v199, commit 89d09e1b5c65a2d97840f682e0932c8bb499f166 -- Apply rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch -only on ARM, patch rejected upstream because is too generic. -- no such define TARGET_SUSE exists but it is used in -Revert-service-drop-support-for-SysV-scripts-for-the-early.patch -use HAVE_SYSV_COMPAT instead. - -------------------------------------------------------------------- -Fri May 24 11:37:49 UTC 2013 - fcrozat@suse.com - -- Do no ship defaults for sysctl, they should be part of aaa_base - (currently in procps). -- Add hostname-setup-shortname.patch: ensure shortname is set as - hostname (bnc#820213). - -------------------------------------------------------------------- -Fri May 17 15:53:33 UTC 2013 - fcrozat@suse.com - -- Rebase - parse-etc-insserv.conf-and-adds-dependencies-accordingly.patch to - fix memory corruption (thanks to Michal Vyskocil) (bnc#820454). - -------------------------------------------------------------------- -Fri May 17 11:46:02 UTC 2013 - fcrozat@suse.com - -- Add sysctl-handle-boot-sysctl.conf-kernel_release.patch: ensure - /boot/sysctl.conf- is handled (bnc#809420). - -------------------------------------------------------------------- -Wed May 15 13:02:05 UTC 2013 - fcrozat@suse.com - -- Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch: don't - free variable whose content is still be used (bnc#819970). - -------------------------------------------------------------------- -Tue May 14 14:22:05 UTC 2013 - fcrozat@suse.com - -- Add configure flags to ensure boot.local/halt.local are run on - startup/shutdown. - -------------------------------------------------------------------- -Mon May 13 18:08:41 UTC 2013 - rmilasan@suse.com - -- Fix firmware loading by enabling --with-firmware-path (bnc#817551). - -------------------------------------------------------------------- -Mon Apr 29 14:50:37 UTC 2013 - dschung@cs.uni-kl.de - -- Fix systemd-sysv-convert, so empty runlevel folders don't lead - to "line 44: [: too many arguments" - -------------------------------------------------------------------- -Fri Apr 26 16:37:28 CEST 2013 - fcrozat@suse.com - -- Fix handle-etc-HOSTNAME.patch to properly set hostname at startup - when using /etc/HOSTNAME. - -------------------------------------------------------------------- -Thu Apr 25 08:19:30 UTC 2013 - rmilasan@suse.com - -- Rename remaning udev patches (clean-up). -- Generate %{_libexecdir}/modules-load.d/sg.conf so we load sg module at - boot time not from udev (bnc#761109). -- Drop unused patches: - 1001-Reinstate-TIMEOUT-handling.patch - 1005-udev-fix-sg-autoload-regression.patch - 1026-re-add-persistent-net.patch - -------------------------------------------------------------------- -Tue Apr 23 14:58:47 CEST 2013 - fcrozat@suse.com - -- Use drop-in file to fix bnc#804158. - -------------------------------------------------------------------- -Tue Apr 23 12:44:16 UTC 2013 - coolo@suse.com - -- add some more conflicts to make bootstrap work - -------------------------------------------------------------------- -Mon Apr 22 09:48:22 UTC 2013 - fcrozat@suse.com - -- Do not provide %{release} for systemd-analyze -- Add more conflicts to -mini packages -- Disable Predictable Network interface names until it has been - reviewed by network team, with /usr/lib/tmpfiles.d/network.conf. -- Don't package /usr/lib/firmware/update (not used) - -------------------------------------------------------------------- -Sun Apr 21 22:24:15 UTC 2013 - crrodriguez@opensuse.org - -- Fix packaging error, there is no syslog.target anymore - do not pretend there is one. - -------------------------------------------------------------------- -Fri Apr 19 16:40:17 UTC 2013 - fcrozat@suse.com - -- Update to release 202: - + 'systemctl list-jobs' got some polishing. '--type=' argument - may now be passed more than once. 'systemctl list-sockets' has - been added. - + systemd gained a new unit 'systemd-static-nodes.service' -    that generates static device nodes earlier during boot, and -    can run in conjunction with udev. - + systemd-nspawn now places all containers in the new /machine -    top-level cgroup directory in the name=systemd hierarchy. - + bootchart can now store its data in the journal. - + journactl can now take multiple --unit= and --user-unit= -    switches. - + The cryptsetup logic now understands the "luks.key=" kernel -    command line switch. If a configured key file is missing, it - will fallback to prompting the user. -- Rebase some patches -- Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch to - properly handle SYSTEMCTL_OPTIONS - -------------------------------------------------------------------- -Fri Apr 19 12:47:13 UTC 2013 - max@suse.com - -- Fix regression in the default for tmp auto-deletion - (systemd-tmp-safe-defaults.patch, FATE#314974). - -------------------------------------------------------------------- -Fri Apr 12 16:58:31 UTC 2013 - fcrozat@suse.com - -- Update to release 201: - + udev now supports different nameng policies for network - interface for predictable names. - + udev gained support for loading additional device properties - from an indexed database. %udev_hwdb_update macro should be - used by packages adding entries to this database. - + Journal gained support for "Message Catalog", indexed database - to link up additional information with journal entries. - %journal_catalog_update macro should be used by packages adding - %entries to this database. - + "age" field for tmpfiles entries can be set to 0, forcing - removal of files matching this entry. - + coredumpctl gained "gdb" verb to invoke gdb on selected - coredump. - + New rpm macros has been added: %udev_rules_update(), - %_udevhwdbdir, %_udevrulesdir, %_journalcatalogdir, - %_tmpfilesdir, %_sysctldir. - + In service files, %U can be used for configured user name of - the service. - + nspawn can be invoked without a controlling TTY. - + systemd and nspawn can accept socket file descriptors when - started for socket activation. This allow socket activated - nspawn containers. - + logind can now automatically suspend/hibernate/shutdown system - on idle. - + ConditionACPower can be used in unit file to detect if AC power - source is connected or if system is on battery power. - + EnvironmentFile= in unit files supports file globbing. - + Behaviour of PrivateTmp=, ReadWriteDirectories=, - ReadOnlyDirectories= and InaccessibleDirectories= has - changed. The private /tmp and /var/tmp directories are now - shared by all processes of a service (which means - ExecStartPre= may now leave data in /tmp that ExecStart= of - the same service can still access). When a service is - stopped its temporary directories are immediately deleted - (normal clean-up with tmpfiles is still done in addition to - this though). - + Resource limits (as exposed by cgroup controlers) can be - controlled dynamically at runtime for all units, using - "systemctl set-cgroup-attr foobar.server cgroup.attribute - value". Those settings are stored persistenly on disk. - + systemd-vconsole-setup will now copy all fonts settings to all - allocated VTs. - + timedated now exposes CanNTP property to indicate if a local - NTP service is available. - + pstore file system is mounted by default, if available. - + SMACK policies are loaded at early boot, if available. - + Timer units now support calendar time events. - + systemd-detect-virt detect xen PVs. - + Some distributions specific LSB targets has been dropped: - $x-display-manager, $mail-transfer-agent, - $mail-transport-agent, $mail-transfer-agent, $smtp, $null. As - well mail-transfer-agent.target and syslog.target has been - removed. - + systemd-journal-gatewayd gained SSL support and now runs as - unprivileged user/group - "systemd-journal-gateway:systemd-journal-gateway" - + systemd-analyze will read, when available, boot time - performance from EFI variable from boot loader supporting it. - + A new generator for automatically mounting EFI System Partition - (ESP) to /boot (if empty and no other file system has been - configured in fstab for it). - + logind will now send out PrepareForSleep(false) out - unconditionally, after coming back from suspend. - + tmpfiles gained a new "X" line type, that allows - configuration of files and directories (with wildcards) that - shall be excluded from automatic cleanup ("aging"). - + udev default rules set the device node permissions now only - at "add" events, and do not change them any longer with a - later "change" event. - + A new bootctl tool has been added that is an interface for - certain EFI boot loader operations. - + A new tool kernel-install has been added to install kernel - images according to Boot Loader Specification. - + A new tool systemd-activate can be used to test socket - activation. - + A new group "systemd-journal" is now owning journal files, - replacing "adm" group. - + journalctl gained "--reverse" to show output in reverse order, - "--pager-end" to jump at the end of the journal in the - pager (only less is supported) and "--user-unit" to filter for - user units. - + New unit files has been addedto ease for systemd usage in - initrd. - + "systemctl start" now supports "--irreversible" to queue - operations which can be reserved. It is now used to make - shutdown requests more robust. - + Auke Kok's bootchart has been merged and relicensed to - LGPLv2.1+. - + nss-myhostname has been merged in systemd codebase. - + some defaults sysctl values are now set by default: the safe - sysrq options are turned on, IP route verification is turned - on, and source routing disabled. The recently added hardlink - and softlink protection of the kernel is turned on. - + Add support for predictable network naming logic. It can be - turned off with kernel command line switch: net.ifnames=0 - + journald will now explicitly flush journal files to disk at the - latest 5 min after each write and will mark file offline until - next read. This should increase reliability in case of crash. - + remote-fs-setup.target target has been added to pull in - specific services when at least one remote file system is to be - mounted. - + timers.target and paths.target have been added as canonical - targets to pull user timer and path units, similar to - sockets.targets. - + udev daemon now sets default number of worker processes in - parallel based on number of CPUs instead of RAM. - + Most unit file settings which takes likst of items can now be -reset by assigning empty string to them, using drop-in. - + Add support for drop-in configuration file for units. - + Most unit file settings which takes likst of items can now be - reset by assigning empty string to them, using drop-in. - + improve systemg-cgtop output. - + improve 'systemctl status' output for socket, drop-in for units. - + 'hostnamectl set-hostname' allows setting FQDN hostnames. - + fractional time intervals are now parsed properly. - + localectl can list available X11 keymaps. - + systemd-analyze dot can filter for specific units and has been - rewritten in C. - + systemctl gained "list-dependencies" command. - + Inhibitors are now honored no only in GNOME. -- Many patches has been dropped, being merged upstream. -- Many patches has been renamed and regenerated with git, to have - consistent naming, authorship and comments embedded. -- Add - Revert-service-drop-support-for-SysV-scripts-for-the-early.patch: - re-add support for boot.* initscripts until they are all migrated - to systemd unit files. -- Merge patches for nss-myhostname package to this package. - -------------------------------------------------------------------- -Fri Apr 12 16:17:04 UTC 2013 - rschweikert@suse.com - -- Add chromebook lid switch as a power switch to logind rule to - enable suspend on lid close - -------------------------------------------------------------------- -Mon Apr 8 14:51:47 CEST 2013 - fcrozat@suse.com - -- Add improve-readahead-spinning.patch: improve readahead - performance on spinning media with ext4. -- Add fix-journal-vacuum-logic.patch: fix vacuum logic in journal - (bnc#789589). -- Add fix-lsb-provides.patch: ensure LSB provides are correctly - handled if also referenced as dependencies (bnc#809646). -- Add fix-loopback-mount.patch: ensure udevd is started (and - therefore static devices are created) before mounting - (bnc#809820). -- Update systemd-sysv-convert to search services files in new - location (bnc#809695). -- Add logind-nvidia-acl.diff: set ACL on nvidia devices - (bnc#808319). -- Add do-no-isolate-on-fsck-failure.patch: do not turn off services - if fsck fails (bnc#812874) -- Add wait-for-processes-killed.patch: wait for processes killed by - SIGTERM before killing them with SIGKILL. -- Update systemctl-options.patch to only apply SYSTEMCTL_OPTIONS to - systemctl command (bnc#801878). - -------------------------------------------------------------------- -Tue Apr 2 22:09:42 CEST 2013 - sbrabec@suse.cz - -- Fixed disabling CapsLock and enabling NumLock (bnc#746595, - 0001-handle-disable_caplock-and-compose_table-and-kbd_rat.patch, - systemd-numlock-suse.patch). -- Explicitly require libgcrypt-devel to fix build failure. - -------------------------------------------------------------------- -Thu Mar 28 09:24:43 UTC 2013 - rmilasan@suse.com - -- udev: ensure that the network interfaces are renamed even if they - exist (bnc#809843). - add: 1027-udev-always-rename-network.patch - -------------------------------------------------------------------- -Wed Mar 20 10:14:59 UTC 2013 - rmilasan@suse.com - -- udev: re-add persistent network rules (bnc#809843). - add: 1026-re-add-persistent-net.patch -- rebase all patches, ensure that they apply properly. - -------------------------------------------------------------------- -Thu Feb 21 14:45:12 UTC 2013 - fcrozat@suse.com - -- Add rbind-mount.patch: handle rbind mount points correctly - (bnc#804575). - -------------------------------------------------------------------- -Tue Feb 19 11:20:31 CET 2013 - fcrozat@suse.com - -- Ensure journal is flushed on disk when systemd-logger is - installed for the first time. -- Add improve-journal-perf.patch: improve journal performance on - query. -- Add support-hybrid-suspend.patch: add support for hybrid suspend. -- Add forward-to-pmutils.patch: forward suspend/hibernation calls - to pm-utils, if installed (bnc#790157). - -------------------------------------------------------------------- -Tue Feb 19 09:51:18 UTC 2013 - rmilasan@suse.com - -- udev: usb_id: parse only 'size' bytes of the 'descriptors' buffer - add: 1024-udev-usb_id-parse-only-size-bytes-of-the-descriptors.patch -- udev: expose new ISO9660 properties from libblkid - add: 1025-udev-expose-new-ISO9660-properties-from-libblkid.patch - -------------------------------------------------------------------- -Mon Feb 18 09:27:05 UTC 2013 - jengelh@inai.de - -- Create getty@tty1.service to restore traditional SUSE behavior - of not clearing tty1. (bnc#804158) -- Better use of find -exec - -------------------------------------------------------------------- -Fri Feb 15 16:04:39 UTC 2013 - fcrozat@suse.com - -- Add early-sync-shutdown.patch: start sync just when - shutdown.target is beginning -- Update parse-multiline-env-file.patch to better handle continuing - lines. -- Add handle-HOSTNAME.patch: handle /etc/HOSTNAME (bnc#803653). -- Add systemctl-print-wall-on-if-successful.patch: only print on - wall if successful. -- Add improve-bash-completion.patch: improve bash completion. - -------------------------------------------------------------------- -Fri Feb 15 13:05:19 UTC 2013 - lnussel@suse.de - -- disable nss-myhostname warning (bnc#783841) - => disable-nss-myhostname-warning-bnc-783841.diff - -------------------------------------------------------------------- -Wed Feb 13 11:34:06 UTC 2013 - rmilasan@suse.com - -- rework patch: - 1020-usb_id-some-strange-devices-have-a-very-bogus-or-strage-serial.patch -- udev: use unique names for temporary files created in /dev. - add: 1022-udev-use-unique-names-for-temporary-files-created-in.patch -- cdrom_id: add data track count for bad virtual drive. - add: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch - -------------------------------------------------------------------- -Tue Feb 12 09:16:23 UTC 2013 - rmilasan@suse.com - -- usb_id: ensure we have a valid serial number as a string (bnc#779493). - add: 1020-usb_id-some-strange-devices-have-a-very-bogus-or-strage-serial.patch -- cdrom_id: created links for the default cd/dvd drive (bnc#783054). - add: 1021-create-default-links-for-primary-cd_dvd-drive.patch - -------------------------------------------------------------------- -Fri Feb 1 16:27:45 UTC 2013 - fcrozat@suse.com - -- Add cryptsetup-accept-read-only.patch: accept "read-only" in - addition to "readonly" in crypttab -- Update parse-multiline-env-file.patch to correctly handle - commented lines (bnc#793411) - -------------------------------------------------------------------- -Tue Jan 29 13:32:30 UTC 2013 - rmilasan@suse.com - -- udev: Fix device matching in the accelerometer - add: 1019-udev-Fix-device-matching-in-the-accelerometer.patch -- keymap: add aditional support for some keyboard keys - add: 1018-keymap-add-aditional-support.patch -- journalctl: require argument for --priority - add: journalctl-require-argument-for-priority -- dropped useless patches: - libudev-validate-argument-udev_enumerate_new.patch - kmod-fix-builtin-typo.patch -- rename udev-root-symlink.service to systemd-udev-root-symlink.service. -- fix in udev package missing link in basic.target.wants for - systemd-udev-root-symlink.service - -------------------------------------------------------------------- -Mon Jan 28 10:49:21 UTC 2013 - fcrozat@suse.com - -- Add tmpfiles-X-type.patch: allow to clean directories with - removing them. -- Add systemd-fix-merge-ignore-dependencies.patch: fix merging with - --ignore-dependencies waiting for dependencies (bnc#800365). -- Update systemd-numlock-suse.patch: udev-trigger.service is now - called systemd-udev-trigger.service. -- Add improve-man-environment.patch: improve manpage regarding - Environment value. - -------------------------------------------------------------------- -Tue Jan 22 17:02:04 UTC 2013 - fcrozat@suse.com - -- Add systemctl-options.patch: handle SYSTEMCTL_OPTIONS internaly - (bnc#798620). -- Update crypt-loop-file.patch to correctly detect crypto loop - files (bnc#799514). -- Add journalctl-remove-leftover-message.patch: remove debug - message in systemctl. -- Add job-avoid-recursion-when-cancelling.patch: prevent potential - recursion when cancelling a service. -- Add sysctl-parse-all-keys.patch: ensure sysctl file is fully - parsed. -- Add journal-fix-cutoff-max-date.patch: fix computation of cutoff - max date for journal. -- Add reword-rescue-mode-hints.patch: reword rescue prompt. -- Add improve-overflow-checks.patch: improve time overflow checks. -- Add fix-swap-behaviour-with-symlinks.patch: fix swap behaviour - with symlinks. -- Add hostnamectl-fix-set-hostname-with-no-argument.patch: ensure - hostnamectl requires an argument when called with set-hostname - option. -- Add agetty-overrides-term.patch: pass correctly terminal type to - agetty. -- Add check-for-empty-strings-in-strto-conversions.patch: better - check for empty strings in strto* conversions. -- Add strv-cleanup-error-path-loops.patch: cleanup strv on error - path. -- Add cryptsetup-handle-plain.patch: correctly handle "plain" - option in cryptsetup. -- Add fstab-generator-improve-error-message.patch: improve error - message in fstab-generator. -- Add delta-accept-t-option.patch: accept -t option in - systemd-delta. -- Add highlight-ordering-cycle-deletions.patch: highlight ordering - cycle deletions in logs. -- Add core-interpret-escaped-semicolon-as-escaped.patch: accept \; - in ExecStart. -- Add hostnamectl-fix-parsing-no-ask-password.patch: accept - no-ask-password in hostnamectl. -- Add systemd-cgls-fix-piping-output.patch: fix piping output of - systemd-cgls. -- Add core-load-fragment-improve-error-message.patch: improve error - message when parsing fragments. -- Add fix-potential-bad-mem-access.patch: fix potential bad memory - access. -- Add socket-improve-error-message.patch: improve error message in - socket handling. -- Add journal-send-always-send-syslog_identifier.patch: always send - syslog_identifier if available for journal. -- Add crypsetup-handle-nofail.patch: handle nofail in cryptsetup. -- Add crypsetup-generator-state-file-name-in-error-message.patch: - add filename in error message from crypsetup-generator. -- Add fstab-generator-error-message-on-duplicates.patch: improve - error message on duplicate in fstab-generator. -- Add systemctl-verbose-message-on-missing-install.patch: reword - missing install error message in systemctl. -- Add shutdown-improvements.patch: various improvements at - shutdown. -- Add localectl-fix-assertion.patch: fix assertion in localectl. -- Add path-util-fix-potential-crash.patch: fix potential crash in - path-util. -- Add coredumpctl-fix-crash.patch: fix crash in coredumpctl. -- Add socket-verbose-error-message.patch: add more verbose error - message in socket handling. -- Add pam-properly-handle-ssh-logins-without-pam-tty-field.patch: - handle properly ssh-logins without pam tty field. -- Add fstab-generator-properly-detect-bind-mounts.patch: properly - detect bind-mounts in fstab-generator. -- Add localectl-support-systems-without-locale-archive.patch: - localectl now supports systemd without locale-archive file. -- Add logind-capability-making-seats-without-fb.patch: allows - capability of making seats without fb. -- Add service-forking-ignore-exit-status-main-process.patch: ignore - exit-statis of main process when forking, if specified in unit - file. -- Add systemctl-no-assert-on-reboot-without-dbus.patch: don't - assert on reboot if dbus isn't there. -- Add logind-ignore-non-tty-non-x11-session-on-shutdown.patch: - ignore non tty non-x11 session on shutdown. -- Add journalctl-quit-on-io-error.patch: fix journalctl quit on io - error. -- Add do-not-make-sockets-dependent-on-lo.patch: do not make - sockets dependent on lo interface. -- Add shutdown-dont-force-mnt-force-on-final-umount.patch: don't - force MNT_FORCE on final umount at shutdown. -- Add shutdown-ignore-loop-devices-without-backing-file.patch: - ignore loop devices without backing file at shutdown. -- Add fix-bad-mem-access.patch: fix bad memory access -- Add parse-multiline-env-file.patch: correctly parse multiline - environment files (bnc#793411). - -------------------------------------------------------------------- -Thu Jan 10 15:43:25 UTC 2013 - fcrozat@suse.com - -- Add multiple-sulogin.patch: allows multiple sulogin instance - (bnc#793182). - -------------------------------------------------------------------- -Wed Jan 9 09:42:50 UTC 2013 - rmilasan@suse.com - -- udev: path_id - handle Hyper-V devices - add: 1008-udev-path_id-handle-Hyper-V-devices.patch -- keymap: Update the list of Samsung Series 9 models - add: 1009-keymap-Update-the-list-of-Samsung-Series-9-models.patch -- keymap: Add Samsung 700T - add: 1010-keymap-Add-Samsung-700T.patch -- libudev: avoid leak during realloc failure - add: 1011-libudev-avoid-leak-during-realloc-failure.patch -- libudev: do not resolve $attr{device} symlinks - add: 1012-libudev-do-not-resolve-attr-device-symlinks.patch -- libudev: validate 'udev' argument to udev_enumerate_new() - add: 1013-libudev-validate-udev-argument-to-udev_enumerate_new.patch -- udev: fix whitespace - add: 1014-udev-fix-whitespace.patch -- udev: properly handle symlink removal by 'change' event - add: 1015-udev-properly-handle-symlink-removal-by-change-event.patch -- udev: builtin - do not fail builtin initialization if one of - them returns an error - add: 1016-udev-builtin-do-not-fail-builtin-initialization-if-o.patch -- udev: use usec_t and now() - add: 1017-udev-use-usec_t-and-now.patch - -------------------------------------------------------------------- -Tue Jan 8 12:47:43 UTC 2013 - rmilasan@suse.com - -- udevd: add missing ':' to getopt_long 'e'. - add: 1007-udevd-add-missing-to-getopt_long-e.patch -- clean up systemd.spec, make it easy to see which are udev and - systemd patches. -- make 'reload' and 'force-reload' LSB compliant (bnc#793936). - -------------------------------------------------------------------- -Tue Dec 11 00:22:50 UTC 2012 - crrodriguez@opensuse.org - -- detect-btrfs-ssd.patch: Fix btrfs detection on SSD. -- timedated-donot-close-bogus-dbus-connection.patch: Avoid - closing an non-existent dbus connection and getting assertion - failures. - -------------------------------------------------------------------- -Mon Dec 10 14:22:21 UTC 2012 - coolo@suse.com - -- add conflicts between udev-mini and udev-mini-devel to libudev1 - -------------------------------------------------------------------- -Thu Dec 6 22:47:09 UTC 2012 - crrodriguez@opensuse.org - -- revert-of-9279749b84cc87c7830280b7895a48bed03c9429.patch: - do not consider failure to umount / and /usr an error. - -------------------------------------------------------------------- -Wed Dec 5 15:13:27 UTC 2012 - fcrozat@suse.com - -- Add fix-devname-prefix.patch: fix modules.devname path, it isn't - in /usr. -- Move post script to fix symlinks in /etc/systemd/system to a - trigger to run it after old systemd is uninstalled. - -------------------------------------------------------------------- -Tue Dec 4 16:51:32 UTC 2012 - fcrozat@suse.com - -- Add fix-debugshell.patch: use /bin/bash if sushell isn't - installed (bnc#789052). -- Add handle-root-uses-lang.patch: handle ROOT_USES_LANG=ctype - (bnc#792182). -- Ensure libudev1 and libudev-mini1 conflicts. - -------------------------------------------------------------------- -Thu Nov 22 14:22:00 UTC 2012 - rmilasan@suse.com - -- Fix creation of /dev/root link. - -------------------------------------------------------------------- -Tue Nov 20 18:25:49 CET 2012 - fcrozat@suse.com - -- Add remount-ro-before-unmount.patch: always remount read-only - before unmounting in final shutdown loop. -- Add switch-root-try-pivot-root.patch: try pivot_root before - overmounting / - -------------------------------------------------------------------- -Tue Nov 20 09:36:43 UTC 2012 - fcrozat@suse.com - -- links more manpages for migrated tools (from Christopher - Yeleighton). -- disable boot.localnet service, ypbind service will do the right - thing now (bnc#716746) -- add xdm-display-manager.patch: pull xdm.service instead of - display-manager.service (needed until xdm initscript is migrated - to native systemd service). -- Add fix-permissions-btmp.patch: ensure btmp is owned only by root - (bnc#777405). -- Have the udev package create a tape group, as referenced by - 50-udev-default.rules and 60-persistent-storage-tape.rules - (DimStar). -- Add fix-bad-memory-access.patch: fix crash in journal rotation. -- Add fix-dbus-crash.patch: fix D-Bus caused crash. -- Add sync-on-shutdown.patch: ensure sync is done when initiating - shutdown. -- Add mount-efivars.patch: mount efivars if booting on UEFI. - - -------------------------------------------------------------------- -Thu Nov 15 14:31:28 UTC 2012 - fcrozat@suse.com - -- Ship a empty systemd-journald initscript in systemd-logger to - stop insserv to complain about missing syslog dependency. -- Update - 0001-service-Fix-dependencies-added-when-parsing-insserv..patch - with bug fixes from Debian. - -------------------------------------------------------------------- -Wed Nov 14 17:36:05 UTC 2012 - fcrozat@suse.com - -- /var/log/journal is now only provided by systemd-logger (journal - won't be persistent for people using another syslog - implementation). -- install README in /var/log (in systemd-logger) and /etc/init.d -- create adm group when installing systemd. -- fix path in udev-root-symlink.systemd. -- Enforce Requires(post) dependency on libudev in main systemd - package (help upgrade). -- Ensure configuration is reloaded when upgrading and save random - seed when installing. -- Create /lib/udev symlink, if we do a fresh install. -- Add fix-build-glibc217.patch: fix build with latest glibc. -- Add libgcrypt.m4: copy of autoconf macro from libgcrypt, only - used to bootstrap systemd-mini. - -------------------------------------------------------------------- -Tue Nov 6 14:40:37 UTC 2012 - coolo@suse.com - -- adding a package systemd-logger that blocks syslog implementations - from installation to make an installation that only uses the journal - -------------------------------------------------------------------- -Mon Nov 5 14:37:46 UTC 2012 - fcrozat@suse.com - -- Don't hardcode path for systemctl in udev post script. -- Ensure systemd-udevd.service is shadowing boot.udev when booting - under systemd. -- Fix udev daemon upgrade under both systemd and sysvinit. -- Add fix-logind-pty-seat.patch: fix logind complaining when doing - su/sudo in X terminal. - -------------------------------------------------------------------- -Sat Nov 3 07:21:44 UTC 2012 - coolo@suse.com - -- add libudev1 to baselibs.conf - -------------------------------------------------------------------- -Fri Nov 2 14:07:15 UTC 2012 - coolo@suse.com - -- udev is GPL-2.0, the rest remains LGPL-2.1+ (bnc#787824) - -------------------------------------------------------------------- -Mon Oct 29 13:01:20 UTC 2012 - fcrozat@suse.com - -- Add var-run-lock.patch: make sure /var/run and /var/lock are - handled as bind mount if they aren't symlinks. -- Update storage-after-cryptsetup.patch with new systemctl path. -- Migrate broken symlinks in /etc/systemd/system due to new systemd - location. - -------------------------------------------------------------------- -Fri Oct 26 13:37:52 UTC 2012 - fcrozat@suse.com - -- Update to release 195: - + journalctl agained --since and --until, as well as filtering - for units with --unit=/-u. - + allow ExecReload properly for Type=oneshot (needed for - iptables.service, rpc-nfsd.service). - + journal daemon supports time-based rotation and vaccuming. - + journalctl -F allow to list all values of a certain field in - journal database. - + new commandline clients for timedated, locald and hostnamed - + new tool systemd-coredumpctl to list and extract coredumps from - journal. - + improve gatewayd: follow mode, filtering, support for - HTML5/JSON Server-Sent-Events. - + reload support in SysV initscripts is now detected when file is - parted. - + "systemctl status --follow" as been removed, use "journalctl -fu - instead" - + journald.conf RuntimeMinSize and PersistentMinSize settings - have been removed. -- Add compatibility symlink for systemd-ask-password and systemctl - in /bin. - -------------------------------------------------------------------- -Thu Oct 18 12:27:07 UTC 2012 - fcrozat@suse.com - -- Create and own more systemd drop-in directories. - -------------------------------------------------------------------- -Tue Oct 16 13:18:13 UTC 2012 - fcrozat@suse.com - -- Improve mini packages for bootstrapping. -- do not mount /tmp as tmpfs by default. - -------------------------------------------------------------------- -Tue Oct 16 07:40:23 UTC 2012 - fcrozat@suse.com - -- Fix install script when there is no inittab - -------------------------------------------------------------------- -Mon Oct 15 14:48:47 UTC 2012 - fcrozat@suse.com - -- Create a systemd-mini specfile to prevent cycle in bootstrapping - -------------------------------------------------------------------- -Thu Oct 4 11:23:42 UTC 2012 - fcrozat@suse.com - -- udev and its subpackages are now generated by systemd source - package. -- migrate udev and systemd to /usr -- Update to version 194: - + if /etc/vconsole.conf is non-existent or empty and if - /etc/sysconfig/console:CONSOLE_FONT (resp - /etc/sysconfig/keyboard:KEYTABLE) set, console font (resp - keymap) is not modified. -- Changes from version 44 to 193: - + journalctl gained --cursor= to show entries starting from a - specified location in journal. - + Size limit enforced to 4K for fields exported with "-o json" in - journalctl. Use --all to disable this behavior. - + Optional journal gateway daemon - (systemd-journal-gatewayd.service) to access journal via HTTP - and JSON. Use "wget http://localhost:19531/entries" to get - /var/log/messages compatible format and - 'curl -H"Accept: application/json" - http://localhost:19531/entries' for JSON formatted content. - HTML5 static page is also available as explained on - http://0pointer.de/public/journal-gatewayd - + do not mount cpuset controler, doesn't work well by default - ATM. - + improved nspawn behaviour with /etc/localtime - + journald logs its maximize size on disk - + multi-seat X wrapper (partially merged in upstream X server). - + HandleSleepKey has been splitted into HandleSuspendKey and - HandleHibernateKey. - + systemd and logind now handle system sleep states, in - particular suspending and hibernating. - + new cgroups are mounted by default (cpu, cpuacct, - net_cls, net_pri) - + sync at shutdown is now handled by kernel - + imported journalctl output (colors, filtering, pager, bash - completion). - + suffix ".service" may now be ommited on most systemctl command - involving service unit names. - + much improved nspawn containers support. - + new conditions added : ConditionFileNotEmpty, ConditionHost, - ConditionPathIsReadWrite - + tmpfiles "w" supports file globbing - + logind handles lid switch, power and sleep keys all the time, - unless systemd-inhibit - --what=handle-power-key:handle-sleep-key:handle-lid-switch is - run by Desktop Environments. - + support for reading structured kernel message is used by - default (need kernel >= 3.5). /proc/kmsg is now used only by - classic syslog daemons. - + Forward Secure Sealing is now support for Journal files. - + RestartPrevenExitStatus and SuccessExitStatus allow configure - of exit status (exit code or signal). - + handles keyfile-size and keyfile-offset in /etc/crypttab. - + TimeoutSec settings has been splitted into TimeoutStartSec and - TimeoutStopSec. - + add SystemCallFilters option to add blacklist/whitelist to - system calls, using SECCOMP mode 2 of kernel >= 3.5. - + systemctl udevadm info now takes a /dev or /sys path as argument: - - udevadm info /dev/sda - + XDG_RUNTIME_DIR now uses numeric UIDs instead of usernames. - + systemd-loginctl and systemd-journalctl have been renamed - to loginctl and journalctl to match systemctl. - + udev: RUN+="socket:..." and udev_monitor_new_from_socket() is - no longer supported. udev_monitor_new_from_netlink() needs to - be used to subscribe to events. - + udev: when udevd is started by systemd, processes which are left - behind by forking them off of udev rules, are unconditionally - cleaned up and killed now after the event handling has finished. - Services or daemons must be started as systemd services. - Services can be pulled-in by udev to get started, but they can - no longer be directly forked by udev rules. - + For almost all files, license is now LGPL2.1+ (from previous - GPL2.0+). Exception are some minor stuff in udev (will be - changed to LGPL2.1 eventually) and MIT license sd-daemon.[ch] - library. - + var-run.mount and var-lock.mount are no longer provided - (should be converted to symlinks). - + A new service type Type=idle to avoid ugly interleaving of - getty output and boot status messages. - + systemd-delta has been added, a tool to explore differences - between user/admin configuration and vendor defaults. - + /tmp mouted as tmpfs by default. - + /media is now longer mounted as tmpfs - + GTK tool has been split off to systemd-ui package. - + much improved documentation. -- Merge BuildRequires from udev package: - gobject-introspection-devel, gtk-doc, libsepol-devel, - libusb-devel, pkgconfig(blkid), pkgconfig-glib-2.0), - pjgconfig(libcryptsetup), pkgconfig(libpci), - pkgconfig(libqrencode), pkgconfig(libselinux), - pkgconfig(usbutils). -- Add pkgconfig(libqrencode) and pkgconfig(libmicrohttpd) -- Merge sources from udev package: boot.udev, write_dev_root.rules, - udev-root-symlink.systemd. -- Merge patches from udev package: numbered started from 1000): - 0001-Reinstate-TIMEOUT-handling.patch, - 0013-re-enable-by_path-links-for-ata-devices.patch, - 0014-rules-create-by-id-scsi-links-for-ATA-devices.patch, - 0026-udev-netlink-null-rules.patch, - 0027-udev-fix-sg-autoload-regression.patch. -- Remove following patches, merged upstream: - 0001-util-never-follow-symlinks-in-rm_rf_children.patch, - fixppc.patch, logind-logout.patch, fix-getty-isolate.patch, - fix-swap-priority.patch, improve-restart-behaviour.patch, - fix-dir-noatime-tmpfiles.patch, journal-bugfixes.patch, - ulimit-support.patch, change-terminal.patch, - fix-tty-startup.patch, fix-write-user-state-file.patch, - fix-analyze-exception.patch, use_localtime.patch, - journalctl-pager-improvement.patch, - avoid-random-seed-cycle.patch, - 0001-add-sparse-support-to-detect-endianness-bug.patch, - drop-timezone.patch. -- Rebase the following patches: - 0001-Add-bootsplash-handling-for-password-dialogs.patch, - 0001-handle-disable_caplock-and-compose_table-and-kbd_rat.patch, - 0001-service-Fix-dependencies-added-when-parsing-insserv..patch, - 0001-service-flags-sysv-service-with-detected-pid-as-Rema.patch, - crypt-loop-file.patch, - delay-fsck-cryptsetup-after-md-lvm-dmraid.patch, - dm-lvm-after-local-fs-pre-target.patch, fastboot-forcefsck.patch, - fix-enable-disable-boot-initscript.patch, modules_on_boot.patch, - new-lsb-headers.patch, storage-after-cryptsetup.patch, - support-suse-clock-sysconfig.patch, support-sysvinit.patch, - sysctl-modules.patch, systemd-numlock-suse.patch, tty1.patch. - -------------------------------------------------------------------- -Thu Aug 23 11:11:25 CEST 2012 - fcrozat@suse.com - -- Add use_localtime.patch: use /etc/localtime instead of - /etc/timezone (bnc#773491) -- Add support-suse-clock-sysconfig.patch: read SUSE - /etc/sysconfig/clock file. -- Add drop-timezone.patch: drop support for /etc/timezone, never - supported on openSUSE. -- Add journalctl-pager-improvement.patch: better handle output when - using pager. -- Add fix-enable-disable-boot-initscript.patch: support boot.* - initscripts for systemctl enable /disable (bnc#746506). - -------------------------------------------------------------------- -Mon Jul 30 11:37:17 UTC 2012 - fcrozat@suse.com - -- Ensure systemd macros never fails (if systemd isn't install) - -------------------------------------------------------------------- -Mon Jul 23 08:28:15 UTC 2012 - fcrozat@suse.com - -- Add fix-analyze-exception.patch: prevent exception if running - systemd-analyze before boot is complete (bnc#772506) - -------------------------------------------------------------------- -Fri Jul 20 19:24:08 CEST 2012 - sbrabec@suse.cz - -- Fix NumLock detection/set race condition (bnc#746595#c47). - -------------------------------------------------------------------- -Wed Jul 18 13:14:37 UTC 2012 - fcrozat@suse.com - -- Move systemd-analyse to a subpackage, to remove any python - dependencies from systemd main package (bnc#772039). - -------------------------------------------------------------------- -Tue Jul 10 16:48:20 UTC 2012 - fcrozat@suse.com - -- Add fastboot-forcefsck.patch: ensure fastboot and forcefsck on - kernel commandline are handled. -- Add fix-write-user-state-file.patch: write logind state file - correctly. -- Disable logind-logout.patch: cause too many issues (bnc#769531). - -------------------------------------------------------------------- -Mon Jul 9 11:01:20 UTC 2012 - fcrozat@suse.com - -- Add fix-tty-startup.patch: don't limit tty VT to 12 (bnc#770182). - -------------------------------------------------------------------- -Tue Jul 3 20:07:47 CEST 2012 - sbrabec@suse.cz - -- Fix SUSE specific sysconfig numlock logic for 12.2 (bnc#746595). - -------------------------------------------------------------------- -Tue Jul 3 17:58:39 CEST 2012 - fcrozat@suse.com - -- Add fix-dir-noatime-tmpfiles.patch: do not modify directory - atime, which was preventing removing empty directories - (bnc#751253, rh#810257). -- Add improve-restart-behaviour.patch: prevent deadlock during - try-restart (bnc#743218). -- Add journal-bugfixes.patch: don't crash when rotating journal - (bnc#768953) and prevent memleak at rotation time too. -- Add ulimit-support.patch: add support for system wide ulimit - (bnc#744818). -- Add change-terminal.patch: use vt102 instead of vt100 as terminal - for non-vc tty. -- Package various .wants directories, which were no longer packaged - due to plymouth units being removed from systemd package. -- Fix buildrequires for manpages build. - -------------------------------------------------------------------- -Mon Jul 2 15:44:28 UTC 2012 - fcrozat@suse.com - -- Do not ship plymouth units, they are shipped by plymouth package - now (bnc#769397). -- Fix module loading (bnc#769462) - -------------------------------------------------------------------- -Thu Jun 7 13:14:40 UTC 2012 - fcrozat@suse.com - -- Add fix-swap-priority: fix default swap priority (bnc#731601). - -------------------------------------------------------------------- -Fri May 25 11:08:27 UTC 2012 - fcrozat@suse.com - -- Re-enable logind-logout.patch, fix in xdm-np PAM file is the real - fix. - -------------------------------------------------------------------- -Thu May 24 11:45:54 UTC 2012 - fcrozat@suse.com - -- Update new-lsb-headers.patch to handle entries written after - description tag (bnc#727771, bnc#747931). - -------------------------------------------------------------------- -Thu May 3 11:40:20 UTC 2012 - fcrozat@suse.com - -- Disable logind-logout.patch: it crashes sudo session (if called - after su -l) (bnc#746704). - -------------------------------------------------------------------- -Tue Apr 24 15:46:54 UTC 2012 - fcrozat@suse.com - -- Add fix-getty-isolate.patch: don't quit getty when changing - runlevel (bnc#746594) - -------------------------------------------------------------------- -Fri Apr 20 17:16:37 CEST 2012 - sbrabec@suse.cz - -- Implemented SUSE specific sysconfig numlock logic (bnc#746595). - -------------------------------------------------------------------- -Thu Apr 19 10:07:47 UTC 2012 - fcrozat@suse.com - -- Add dbus-1 as BuildRequires to fix build. - -------------------------------------------------------------------- -Tue Apr 3 09:37:09 UTC 2012 - dvaleev@suse.com - -- apply ppc patch to systemd-gtk too (fixes build) - -------------------------------------------------------------------- -Thu Mar 22 08:47:36 UTC 2012 - fcrozat@suse.com - -- Update fixppc.patch with upstream patches -- Add comments from upstream in - 0001-util-never-follow-symlinks-in-rm_rf_children.patch. -- Add logind-logout.patch: it should fix sudo / su with pam_systemd - (bnc#746704). - -------------------------------------------------------------------- -Mon Mar 19 14:07:23 UTC 2012 - fcrozat@suse.com - -- Add 0001-add-sparse-support-to-detect-endianness-bug.patch: fix - endianness error, preventing journal to work properly on ppc. -- Add fixppc.patch: fix build and warnings on ppc. - -------------------------------------------------------------------- -Mon Mar 19 10:11:23 UTC 2012 - fcrozat@suse.com - -- Add 0001-util-never-follow-symlinks-in-rm_rf_children.patch: fix - CVE-2012-1174 (bnc#752281). - -------------------------------------------------------------------- -Fri Mar 16 09:21:54 UTC 2012 - fcrozat@suse.com - -- Update to version 43: - + Support optional initialization of the machine ID from the KVM - or container configured UUID. - + Support immediate reboots with "systemctl reboot -ff" - + Show /etc/os-release data in systemd-analyze output - + Many bugfixes for the journal, including endianess fixes and - ensuring that disk space enforcement works - + non-UTF8 strings are refused if used in configuration and unit - files. - + Register Mimo USB Screens as suitable for automatic seat - configuration - + Reorder configuration file lookup order. /etc now always - overrides /run. - + manpages for journal utilities. -- Drop fix-c++-compat.patch, no-tmpfs-fsck.patch, - systemd-journald-fix-endianess-bug.patch. -- Requires util-linux >= 2.21 (needed to fix fsck on tmpfs). - -------------------------------------------------------------------- -Mon Mar 12 08:50:36 UTC 2012 - fcrozat@suse.com - -- Add fix-c++-compat.patch: fix C++ compatibility error in header. - -------------------------------------------------------------------- -Wed Feb 29 13:22:17 UTC 2012 - fcrozat@suse.com - -- Add systemd-journald-fix-endianess-bug.patch: fix journald not - starting on ppc architecture. -- Add correct_plymouth_paths_and_conflicts.patch: ensure plymouth - is correctly called and conflicts with bootsplash. - -------------------------------------------------------------------- -Tue Feb 21 08:58:31 UTC 2012 - fcrozat@suse.com - -- Remove rsyslog listen.conf, handled directly by rsyslog now - (bnc#747871). - -------------------------------------------------------------------- -Mon Feb 20 13:33:45 UTC 2012 - fcrozat@suse.com - -- Update to version 43: - + requires /etc/os-release, support for /etc/SuSE-release is no - longer present. - + Track class of PAM logins to distinguish greeters from normal - user logins. - + Various bug fixes. - -------------------------------------------------------------------- -Sun Feb 19 07:56:05 UTC 2012 - jengelh@medozas.de - -- Use pkgconfig symbols for BuildRequires and specify version - -------------------------------------------------------------------- -Fri Feb 17 09:22:50 UTC 2012 - tittiatcoke@gmail.com - -- Enable Plymouth integration. - * Bootsplash related files will be moved to the bootsplash - package - -------------------------------------------------------------------- -Mon Feb 13 12:11:17 UTC 2012 - fcrozat@suse.com - -- Update to version 42: - + Various bug fixes - + Watchdog support for supervising services is now usable - + Service start rate limiting is now configurable and can be - turned off per service. - + New CanReboot(), CanPowerOff() bus calls in systemd-logind -- Dropped fix-kmod-build.patch, fix-message-after-chkconfig.patch, - is-enabled-non-existing-service.patch (merged upstream) -- Add libxslt1 / docbook-xsl-stylesheets as BuildRequires for - manpage generation - -------------------------------------------------------------------- -Thu Feb 9 16:19:38 UTC 2012 - fcrozat@suse.com - -- Update to version 41: - + systemd binary is now installed in /lib/systemd (symlink for - /bin/systemd is available now) - + kernel modules are now loaded through libkmod - + Watchdog support is now useful (not complete) - + new kernel command line available to set system wide - environment variable: systemd.setenv - + journald capabilities set is now limited - + SIGPIPE is ignored by default. This can be disabled with - IgnoreSIGPIPE=no in unit files. -- Add fix-kmod-build.patch: fix build with libkmod -- Drop remote-fs-after-network.patch (merged upstream) -- Add dm-lvm-after-local-fs-pre-target.patch: ensure md / lvm - /dmraid is started before mounting partitions, if fsck was - disabled for them (bnc#733283). -- Update lsb-header patch to correctly disable heuristic if - X-Systemd-RemainAfterExit is specified (whatever its value) -- Add fix-message-after-chkconfig.patch: don't complain if only - sysv services are called in systemctl. -- Add is-enabled-non-existing-service.patch: fix error message when - running is-enabled on non-existing service. - -------------------------------------------------------------------- -Tue Feb 7 14:43:58 UTC 2012 - fcrozat@suse.com - -- Update to version 40: - + reason why a service failed is now exposed in the"Result" D-Bus - property. - + Rudimentary service watchdog support (not complete) - + Improve bootcharts, by immediatly changing argv[0] after - forking to to reflect which process will be executed. - + Various bug fixes. -- Add remote-fs-after-network.patch and update insserv patch: - ensure remote-fs-pre.target is enabled and started before network - mount points (bnc#744293). -- Ensure journald doesn't prevent syslogs to read from /proc/kmsg. - -------------------------------------------------------------------- -Tue Jan 31 13:40:51 CET 2012 - fcrozat@suse.com - -- Ensure systemd show service status when started behind bootsplash - (bnc#736225). -- Disable core dump redirection to journal, not stable atm. - -------------------------------------------------------------------- -Thu Jan 26 16:00:27 UTC 2012 - fcrozat@suse.com - -- Update modules_on_boot.patch to not cause failed state for - systemd-modules-load.service (bnc#741481). - -------------------------------------------------------------------- -Wed Jan 25 10:37:06 UTC 2012 - fcrozat@suse.com - -- Update to version 39: - + New systemd-cgtop tool to show control groups by their resource - usage. - + Linking against libacl for ACLs is optional again. - + If a group "adm" exists, journal files are automatically owned - by them, thus allow members of this group full access to the - system journal as well as all user journals. - + The journal now stores the SELinux context of the logging - client for all entries. - + Add C++ inclusion guards to all public headers. - + New output mode "cat" in the journal to print only text - messages, without any meta data like date or time. - + Include tiny X server wrapper as a temporary stop-gap to teach - XOrg udev display enumeration (until XOrg supports udev - hotplugging for display devices). - + Add new systemd-cat tool for executing arbitrary programs with - STDERR/STDOUT connected to the journal. Can also act as BSD - logger replacement, and does so by default. - + Optionally store all locally generated coredumps in the journal - along with meta data. - + systemd-tmpfiles learnt four new commands: n, L, c, b, for - writing short strings to files (for usage for /sys), and for - creating symlinks, character and block device nodes. - + New unit file option ControlGroupPersistent= to make cgroups - persistent. - + Support multiple local RTCs in a sane way. - + No longer monopolize IO when replaying readahead data on - rotating disks. - + Don't show kernel threads in systemd-cgls anymore, unless - requested with new -k switch. -- Drop systemd-syslog_away_early_on_shutdown.patch: fixed upstream. -- Add fdupes to BuildRequires and use it at build time. - -------------------------------------------------------------------- -Thu Jan 19 13:47:39 UTC 2012 - tittiatcoke@gmail.com - -- Make the systemd journal persistent by creating the - /var/log/journal directory - -------------------------------------------------------------------- -Wed Jan 18 09:03:51 UTC 2012 - tittiatcoke@gmail.com - -- Update to version 38 : - - Bugfixes - - Implementation of a Journal Utility Library - - Implementation of a 128 Bit ID Utility Library -- 11 Patches integrated upstream -- Add systemd-syslog_away_early_on_shutdown.patch: make sure - syslog socket goes away early during shutdown. -- Add listen.conf for rsyslog. This will ensure that it will still - work fine with rsyslog and the new journal. - -------------------------------------------------------------------- -Mon Jan 9 17:01:22 UTC 2012 - fcrozat@suse.com - -- Add fix-is-enabled.patch: ensure systemctl is-enabled work - properly when systemd isn't running. -- Add logind-console.patch: do not bail logind if /dev/tty0 doesn't - exist (bnc#733022, bnc#735047). -- Add sysctl-modules.patch: ensure sysctl is started after modules - are loaded (bnc#725412). -- Fix warning in insserv patch. -- Update avoid-random-seed-cycle.patch with better upstream - approach. -- Update storage-after-cryptsetup.patch to restart lvm before - local-fs.target, not after it (bnc#740106). -- Increase pam-config dependency (bnc#713319). - -------------------------------------------------------------------- -Wed Dec 7 15:15:07 UTC 2011 - fcrozat@suse.com - -- Remove storage-after-cryptsetup.service, add - storage-after-cryptsetup.patch instead to prevent dependency - cycle (bnc#722539). -- Add delay-fsck-cryptsetup-after-md-lvm-dmraid.patch: ensure - fsck/cryptsetup is run after lvm/md/dmraid have landed - (bnc#724912). -- Add cron-tty-pam.patch: Fix cron filling logs (bnc#731358). -- Add do_not_warn_pidfile.patch: Fix PID warning in logs - (bnc#732912). -- Add mount-swap-log.patch: Ensure swap and mount output is - redirected to default log target (rhb#750032). -- Add color-on-boot.patch: ensure colored status are displayed at - boot time. -- Update modules_on_boot.patch to fix bnc#732041. -- Replace private_tmp_crash.patch with log_on_close.patch, better - upstream fix for bnc#699829 and fix bnc#731719. -- Update vconsole patch to fix memleaks and crash (bnc#734527). -- Add handle-racy-daemon.patch: fix warnings with sendmail - (bnc#732912). -- Add new-lsb-headers.patch: support PIDFile: and - X-Systemd-RemainAfterExit: header in initscript (bnc#727771). -- Update bootsplash services to not start if vga= is missing from - cmdline (bnc#727771) -- Add lock-opensuse.patch: disable /var/lock/{subsys,lockdev} and - change default permissions on /var/lock (bnc#733523). -- Add garbage_collect_units: ensure error units are correctly - garbage collected (rhb#680122). -- Add crypt-loop-file.patch: add support for crypt file loop - (bnc#730496). - -------------------------------------------------------------------- -Sat Nov 19 15:40:38 UTC 2011 - coolo@suse.com - -- add libtool as buildrequire to avoid implicit dependency - -------------------------------------------------------------------- -Fri Nov 4 14:44:18 UTC 2011 - fcrozat@suse.com - -- Fix rpm macros to only call presets on initial install - (bnc#728104). - -------------------------------------------------------------------- -Thu Oct 27 13:39:03 UTC 2011 - fcrozat@suse.com - -- Add no-tmpfs-fsck.patch: don't try to fsck tmpfs mountpoint - (bnc#726791). - -------------------------------------------------------------------- -Wed Oct 19 13:18:54 UTC 2011 - fcrozat@suse.com - -- Add avoid-random-seed-cycle.patch: fix dependency cycle between - cryptsetup and random-seed-load (bnc#721666). -- Add crash-isolating.patch: fix crash when isolating a service. -- Fix bootsplash being killed too early. -- Fix some manpages not being redirected properly. -- Add storage-after-cryptsetup.service to restart lvm after - cryptsetup. Fixes lvm on top of LUKS (bnc#724238). - -------------------------------------------------------------------- -Fri Oct 14 13:07:07 UTC 2011 - fcrozat@suse.com - -- Recommends dbus-1-python, do not requires python (bnc#716939) -- Add private_tmp_crash.patch: prevent crash in debug mode - (bnc#699829). -- Add systemctl-completion-fix.patch: fix incorrect bash completion - with some commands (git). - -------------------------------------------------------------------- -Wed Oct 12 13:21:15 UTC 2011 - fcrozat@suse.com - -- Shadow single sysv service, it was breaking runlevel 1. -- Add modules_on_boot.patch to handle /etc/sysconfig/kernel - MODULES_ON_BOOT variable (bnc#721662). - -------------------------------------------------------------------- -Wed Oct 12 08:38:36 UTC 2011 - fcrozat@suse.com - -- Update to release 37: - - many bugfixes - - ConditionCapability added, useful for containers. - - locale mechanism got extend to kbd configuration for - both X and the console - - don't try to guess PID for SysV services anymore (bnc#723194) -- Drop detect-non-running.patch, logind-warning.patch. -- Rewrite systemd-sysv-convert in bash (bnc#716939) -------------------------------------------------------------------- -Tue Oct 11 13:57:32 UTC 2011 - coolo@suse.com - -- make sure updaters get in the /sbin/init from here - the sub package - of the split package will decide which init wins in update case - -------------------------------------------------------------------- -Tue Oct 11 13:10:27 UTC 2011 - coolo@suse.com - -- under openSUSE if it's not systemd, chances are good it's - sysvinit - -------------------------------------------------------------------- -Tue Oct 11 11:07:02 UTC 2011 - coolo@suse.com - -- do not list specific sbin_init providers - -------------------------------------------------------------------- -Wed Oct 5 16:18:48 UTC 2011 - fcrozat@suse.com - -- Add logind-warning.patch: fix pam warning (bnc#716384) - -------------------------------------------------------------------- -Fri Sep 30 13:55:31 UTC 2011 - fcrozat@suse.com - -- Update to version 36 : - - many bugfixes - - systemd now requires socket-activated syslog implementations - - After=syslog.target is no longer needed in .service files - - X-Interactive is ignored in LSB headers (was not working) -- Enable back insserv.conf parsing in systemd core and fix added - dependencies (bnc#721428). -- Fix detection of LSB services status when running daemon - (bnc#721426). -- Drop 0001-execute-fix-bus-serialization-for-commands.patch, - fix-reload.patch - -------------------------------------------------------------------- -Thu Sep 29 16:08:33 UTC 2011 - fcrozat@suse.com - -- Add services to stop bootsplash at end of startup and start it at - beginning of shutdown. -- Fix bootsplash call and ensure dependencies are set right. - -------------------------------------------------------------------- -Thu Sep 29 13:43:00 UTC 2011 - fcrozat@suse.com - -- Add detect-non-running.patch: fix assertion when running - systemctl under non systemd system (git). -- Requires presets branding package. -- Improve macros a little bit. - -------------------------------------------------------------------- -Mon Sep 26 14:52:46 UTC 2011 - fcrozat@suse.com - -- Merge migration rpm macros into service_add/service_del macros. -- Use systemd presets in rpm macros -- Add fix-reload.patch: handle daemon-reload and start condition - properly (bnc#719221). - -------------------------------------------------------------------- -Fri Sep 23 15:39:03 UTC 2011 - fcrozat@suse.com - -- Add systemd-splash / bootsplash-startup.service: enable - bootsplash at startup. - -------------------------------------------------------------------- -Fri Sep 16 15:54:54 UTC 2011 - fcrozat@suse.com - -- Create -32bit package (bnc#713319) - -------------------------------------------------------------------- -Mon Sep 12 08:33:04 UTC 2011 - fcrozat@suse.com - -- Do not mask localnet service, it is not yet handled by systemd. - (bnc#716746) - -------------------------------------------------------------------- -Fri Sep 9 09:28:54 UTC 2011 - fcrozat@suse.com - -- Add revert_insserv_conf_parsing.patch and systemd-insserv_conf: - remove insserv.conf parsing from systemd and use generator - instead. -- put back default.target creation at package install and remove - inittab generator, Yast2 is now able to create it. - -------------------------------------------------------------------- -Thu Sep 1 09:25:40 UTC 2011 - fcrozat@novell.com - -- Update to version 34: - * Bugfixes - * optionaly apply cgroup attributes to cgroups systemd creates - * honour sticky bit when trimming cgroup trees - * improve readahead -- Add libacl-devel as BuildRequires (needed for systemd-uaccess) -- Add some %{nil} to systemd.macros to fix some build issues. -- Fix dbus assertion -- move gtk part to its own package, to reduce bootstrapping - (bnc#713981). - -------------------------------------------------------------------- -Fri Aug 26 14:10:30 UTC 2011 - fcrozat@suse.com - -- Update compose_table patch to use two separate loadkeys call, - compose table overflows otherwise (spotted by Werner Fink). - -------------------------------------------------------------------- -Wed Aug 24 13:02:12 UTC 2011 - fcrozat@novell.com - -- Add tty1.patch: ensure passphrase are handled before starting - gettty on tty1. -- Add inittab generator, creating default.target at startup based - on /etc/inittab value. -- No longer try to create /etc/systemd/system/default.target at - initial package install (bnc#707418) -- Fix configuration path used for systemd user manager. -- Ensure pam-config output is no display in install script. -- Remove buildrequires on vala, no longer needed. - -------------------------------------------------------------------- -Fri Aug 19 15:29:49 UTC 2011 - fcrozat@suse.com - -- Handle disable_capslock, compose table and kbd_rate -- Add rpm macros.systemd file. -- Do not disable klogd, it has its own service now. -- Handle kexec correctly (bnc#671673). -- Disable preload services, they are conflicting with systemd. - -------------------------------------------------------------------- -Fri Aug 19 08:15:15 UTC 2011 - fcrozat@suse.com - -- enable pam_systemd module, using pam-config. - -------------------------------------------------------------------- -Thu Aug 18 07:31:12 UTC 2011 - aj@suse.de - -- Fix crash with systemctl enable. - -------------------------------------------------------------------- -Tue Aug 16 17:02:27 UTC 2011 - fcrozat@suse.com - -- Fix localfs.service to no cause cycle and starts it after - local-fs.target. - -------------------------------------------------------------------- -Thu Aug 4 15:59:58 UTC 2011 - fcrozat@suse.com - -- Remove root-fsck.patch, mkinitrd will use the same path as - dracut. -- Add systemd-cryptsetup.patch: don't complain on "none" option in - crypttab. -- Add systemd-cryptsetup-query.patch: block boot until passphrase - is typed. - -------------------------------------------------------------------- -Wed Aug 3 16:03:25 UTC 2011 - fcrozat@suse.com - -- Add root-fsck.patch: do not run fsck on / if it is rw -- Ship a non null localfs.service, fixes static mount points not - being mounted properly. - -------------------------------------------------------------------- -Wed Aug 3 07:11:33 UTC 2011 - aj@suse.de - -- Update to version 33: - * optimizations and bugfixes. - * New PrivateNetwork= service setting which allows you to shut off - networking for a specific service (i.e. all routable network - interfaces will disappear for that service). - * Merged insserv-parsing.patch and bash-completion-restart.patch - patches. - -------------------------------------------------------------------- -Tue Aug 2 08:29:30 UTC 2011 - fcrozat@suse.com - -- Add insserv-parsing.patch: read/parse insserv.conf. -- Add bash-completion-restart.patch: fix restart service list - (bnc#704782). - -------------------------------------------------------------------- -Mon Aug 1 09:04:53 UTC 2011 - aj@suse.de - -- Split up devel package. -- restart logind after upgrade. -- Adjust rpmlintrc for changes. - -------------------------------------------------------------------- -Fri Jul 29 10:48:20 UTC 2011 - aj@suse.de - -- Update to version 32: - * bugfixes - * improve selinux setup - -------------------------------------------------------------------- -Thu Jul 28 07:27:32 UTC 2011 - aj@suse.de - -- Update to version 31: - * rewrite of enable/disable code: New features systemctl --runtime, - systemctl mask, systemctl link and presets. - * sd-daemon is now shared library. - -------------------------------------------------------------------- -Tue Jul 19 11:56:43 UTC 2011 - aj@suse.de - -- Update to version 30: - + Logic from pam_systemd has been moved to new systemd-login. - + VT gettys are autospawn only when needed - + Handle boot.local/halt.local on SUSE distribution - + add support for systemctl --root - -------------------------------------------------------------------- -Wed Jun 29 12:54:24 UTC 2011 - fcrozat@suse.com - -- Make sure to not start kbd initscript, it is handled by systemd - natively. - -------------------------------------------------------------------- -Fri Jun 17 09:34:24 UTC 2011 - fcrozat@novell.com - -- version 29: - + enable chkconfig support in systemctl for openSUSE. - + systemctl: plug a leak upon create_symlink mismatch - + mount /run without MS_NOEXEC - + dbus: fix name of capability property - + systemctl: fix double unref of a dbus message - + cryptsetup-generator: fix /etc/cryptsetup options - + selinux: selinuxfs can be mounted on /sys/fs/selinux - + readahead-common: fix total memory size detection - + systemctl: fix 'is-enabled' for native units under /lib - + systemctl: fix a FILE* leak - + pam-module: add debug= parameter - + remote-fs.target: do not order after network.target -- update tarball url. - -------------------------------------------------------------------- -Wed Jun 15 10:00:29 UTC 2011 - saschpe@suse.de - -- Use RPM macros instead of $RPM_FOO variables -- Don't require %{version}-%{release} of the base package, - %{version} is sufficient - -------------------------------------------------------------------- -Tue Jun 14 15:10:41 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - mount /run without MS_NOEXEC - - readahead-common: fix total memory size detection - - enable chkconfig support in systemctl for openSUSE - - selinux: selinuxfs can be mounted on /sys/fs/selinux - - cryptsetup-generator: fix /etc/cryptsetup options - - systemctl: fix double unref of a dbus message -- drop merged chkconfig patch - -------------------------------------------------------------------- -Tue Jun 14 12:39:25 UTC 2011 - fcrozat@novell.com - -- Add sysv chkconfig patch to be able to enable / disable sysv - initscripts with systemctl. -- Ensure plymouth support is buildable conditionnally. - -------------------------------------------------------------------- -Thu May 26 21:16:06 CEST 2011 - kay.sievers@novell.com - -- version 28 - - drop hwclock-save.service - - fix segfault when a DBus message has no interface - - man: update the list of unit search locations - - readahead-collect: ignore EACCES for fanotify - - rtc in localtime: use settimeofday(NULL, tz) - instead of hwclock(8) - -------------------------------------------------------------------- -Sat May 21 23:57:30 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - fix crash in D-Bus code - -------------------------------------------------------------------- -Sat May 21 18:17:59 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - socket: always use SO_{RCV,SND}BUFFORCE to allow larger values - - util: use new VT ESC sequence to clear scrollback buffer - - sd-daemon: move _sd_hidden_ from .h to .c file - - missing: add IP_TRANSPARENT - -------------------------------------------------------------------- -Sat May 21 16:17:38 CEST 2011 - kay.sievers@novell.com - -- version 27 - - util: use open_terminal() in chvt() too - - socket: expose SO_BROADCAST - - git: add .mailmap - - exec: expose tty reset options in dbus introspection data - - socket: expose IP_TRANSPARENT - - exec: hangup/reset/deallocate VTs in gettys - - socket: use 666 socket mode by default since neither fifos, - nor sockets, nor mqueues need to be executable - - socket: add POSIX mqueue support - - README: document relation to nss-myhostname - - hostnamed: check that nss-myhostname is installed - -------------------------------------------------------------------- -Tue May 17 19:15:17 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - sysctl: apply /etc/sysctl.conf last - - systemd-analyze: print hostname, kernelversion and arch at - the top of the plot - - pam: downgrade a few log msgs - - hostnamed: SetPrettyHostname() should check PK action - org.freedesktop.hostname1.set-static-hostname - - user-sessions: ignore EROFS when unlinking /etc/nologin if - the file doesn't exist anyway - - unit: make ignoring in snapshots a per unit property, - instead of a per unit type property - - vconsole: use open_terminal() instead of open() - - units: enable automount units only if the kernel supports them - -------------------------------------------------------------------- -Thu May 5 07:45:46 UTC 2011 - coolo@opensuse.org - -- remove policy filter - -------------------------------------------------------------------- -Thu May 5 08:59:46 CEST 2011 - meissner@suse.de - -- add missing buildrequires dbus-1-devel, vala, libxslt-devel -- touch vala files for rebuilding to unbreak Factory - -------------------------------------------------------------------- -Mon May 2 23:05:35 CEST 2011 - kay.sievers@novell.com - -- also delete plymouth files - -------------------------------------------------------------------- -Mon May 2 19:00:41 CEST 2011 - kay.sievers@novell.com - -- disable plymouth sub-package until plymouth gets into Factory - -------------------------------------------------------------------- -Sun May 1 22:51:28 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - binfmt, modules-load, sysctl, tmpfiles: add missing - ConditionDirectoryNotEmpty= - - binfmt, modules-load, sysctl, tmpfiles: read /usr/local/lib - and where appropriate /lib directories - -------------------------------------------------------------------- -Sat Apr 30 04:56:55 CEST 2011 - kay.sievers@novell.com - -- version 26 - - plymouth: introduce plymouth.enable=0 kernel command line - - util: don't AND cx with cx - - man: typo in sd_daemon reference - - util: conf_files_list() return list as parameter - - dbus: make daemon reexecution synchronous - -------------------------------------------------------------------- -Thu Apr 28 14:07:12 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - service: properly notice when services with a main process - that isn't a child of init die - - unit: fix assert when trying to load unit instances for - uninstanciable types - - def: lower default timeout to 90s - - manager: fix serialization counter - -------------------------------------------------------------------- -Wed Apr 27 04:19:05 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - dbus: don't hit assert when dumping properties - - cryptsetup: fix keyfile size option processing - - socket: improve warning message when we get POLLHUP - - mount: failure to mount cgroup hierarchies should not be fatal - - configure: add AC_SYS_LARGEFILE - -------------------------------------------------------------------- -Mon Apr 25 21:45:02 CEST 2011 - kay.sievers@novell.com - -- new snapshot - - tmpfiles.d: switch to stacked config dirs in /lib, /etc, /run - - sysctl.d, binfmt.d, modules-load.d: switch to stacked config - dirs in /lib, /etc, /run - - manager: mkdir /run/systemd/system when starting up - - man: Spelling fixes - -------------------------------------------------------------------- -Thu Apr 21 04:39:57 CEST 2011 - kay.sievers@novell.com - -- version 25 - - mount: Allow creating mount units for /var/lib/nfs/rpc_pipefs - and /proc/fs/nfsd. - - socket: support ListeSpecial= sockets - - vconsole: don't set console font/keymap if settings are empty - - nspawn: don't fail when we receive SIGCHLD - - cgroup: don't accidentaly trim on reload - - units: set capability bounding set for syslog services - - socket: log more information about invalid poll events - - man: fix specification of default timeouts - - mount,crypto: rework meaning of noauto/nofail - - fsck: don't fsck against basic.target in order to properly - allow automount /home - - manager: when running in test mode, do not write generated - unit files to /run/systemd/generator - - mount: properly parse timeouts options in the middle of - the string - - hostnamed: drop all caps but CAP_SYS_ADMIN - - execute: when we run as PID 1 the kernel doesn't give us - CAP_SETPCAP by default. Get that temporarily when dropping - capabilities for good - - mount: make device timeout configurable - - cryptsetup: do not order crypto DM devices against the - cryptsetup service - - socket: reuse existing FIFOs - - socket: guarantee order in which sockets are passed to be - the one of the configuration file - - systemctl: always consider unit files with no - [Install] section but stored in /lib enabled - - job: also print status messages when we successfully started - a unit - - hostnamed: add reference to SMBIOS specs - - man: runlevel 5 is usually more comprehensive, so use it - instead of 3 to detect whether a sysv service is enabled - - polkit: follow the usual syntax for polkit actions - - hostnamed: introduce systemd-hostnamed - - units: order quotacheck after remount-rootfs - - hostname: split out hostname validation into util.c - - dbus: split out object management code into dbus-common, - and simplify it - - strv: properly override settings in env_append() - - strv: detect non-assignments in env blocks properly in - env_append() - - strv: handle empty lists in strv_copy() properly - - util: truncate newline inside of read_one_line_file() - - util: modernize get_parent_of_pid() a bit - - crypto: let the cryptsetup binary handles its own - configurable timeouts - - logger,initctl: use global exit timeout - - ask-password: use default timeout - - manager: drop all pending jobs when isolating - - manager: introduce IgnoreOnIsolate flag so that we can keep - systemd-logger around when isolating - - units: never pull in sysinit from utmp, so that we can - shutdown from emergency mode without pulling in sysinit - - manager: downgrade a few log messages - - units: require syslog.socket from the logger because we - simply fail if we don't have it - - logger: adjust socket description to match service - - units: set stdout of kmsg syslogd to /dev/null - - units: add --no-block when starting normal service after - shell exited - - ask-password: use kill(PID, 0) before querying a password - - ask-password: support passwords without timeouts - - ask-password: always send final NUL char - - ask-password: properly accept empty passwords from agent - - unit: skip default cgroup setup if we have no hierarchy - - units: isolate emergency.target instead of emergency.service - when we fail to mount all file systems - - mount: don't pull in stdio logger for root mount unit - - cgroup: be nice to Ingo Molnar - - pam: use /proc/self/sessionid only with CAP_AUDIT_CONTROL - - pam: use /proc/self/loginuid only with CAP_AUDIT_CONTROL - - socket: try creating a socket under our own identity if we - have no perms to consult the selinux database - - socket: fix check for SEQPACKET - - execute: don't fail if we cannot fix OOM in a container - - unit: fix dump output - - socket: be a bit more verbose when refusing to start a - socket unit - - socket: support netlink sockets - - local-fs: invoke emergency.service mounting at boot fails - - path: optionally, create watched directories in .path units - - tmpfiles: don't warn if two identical lines are configured - - man: add man page for ask-password - - dbus: expose monotonic timestamps on the bus - - manager: no need to use randomized generator dir when running - as system manager - - don't make up buffer sizes, use standard LINE_MAX instead - - unit: disallow configuration of more than one on_failure - dependencies if OnFailureIsolate= is on - - unit: pull in logger unit only when running in system mode - - manager: serialize/deserialize max job id and /usr taint flag - - manager: don't garbage collect jobs when isolating, to change - global state - - unit: introduce OnFailureIsolate= - - mount: relabel both before and after a mount, just in case - - cmdline: we actually want to parse the kernel cmdline in VMs, - just not in containers - - units: rename rtc-set.target to time-sync.target and pull it - in by hwclock-load.service - - job: fix deserialization of jobs: do not ignore ordering - - systemctl: properly parse JobNew signals - - service: fix units with more than one socket - - systemctl: make most operations NOPs in a chroot - - manager: don't show PID for incoming signals if it is 0 - - man: fix description of systemctl reload-or-try-restart - - mount: block creation of mount units for API file systems - - units: call the logger a bridge too - - build-sys: always place user units in /usr/lib/systemd - - pkgconfig: update .pc file accordingly - - lookup: always also look into /usr/lib for units - - exec: support unlimited resources - - selinux: relabel /run the same way as /dev after loading - the policy since they both come pre-filled and unlabelled - - manager: fd must be int, not char - - change remaining /var/run to /run - - units: move user units from /usr/share to /usr/lib since - they might be arch-dependent - - man: document /etc/sysctl.d/ - - binfmt: add binfmt tool to set up binfmt_misc at boot - - tmpfiles: create leading directories for d/D instructions - - condition: add ConditionSecurity - - load-fragment: unify config_parse_condition_{kernel, virt} - - condition: fix dumping of conditions - - initctl: /dev/initctl is a named pipe, not a socket - - kmsg-syslogd: pass facility value into kmsg - - move /var/lock to HAVE_SYSV_COMPAT - - tmpfiles: split off rules for legacy systems into legacy.conf - - general: replace a few uses of /var/run by /run - - tmpfiles: enforce new /var/lock semantics - - man: document ConditionPathIsDirectory= - - mount: also relabel pre-mounted API dirs - - log: don't strip facility when writing to kmsg - - build-sys: create a number of drop-in config dirs - - random: do not print warning if random seed doesn't exist - - plymouth: use PID file to detect whether ply is running - - build-sys: install systemd-analyze by default - - analyze: improve output - - analyze: add plotter - - unit: when deserializing do reconnect to dbus/syslog when - they show up - - analyze: beautify output a bit - - add systemd-analyze tool - - unit: don't override timestamps due to state changes when - deserializing - - plymouth: don't explicitly enable status message when - plymouth is up - - status: show status messages unconditionally if plymouth - is around - - taint: add missing cgroups taint flag - - locale: don't access misinitialized variable - - quota: do not pull in quota tools for mounts that do not - originate in neither /etc/fstab nor fragment files - - manager: fix taint check for /usr - - unit: never apply /etc/rcN.d/ priority to native services - - unit: fix parsing of condition-result - - unit: don't complain about failed units when deserializing - - exec: drop process group kill mode since it has little use - and confuses the user - - cgroup: explain when we cannot initialize the cgroup stuff - - systemctl: don't truncate description when using pager - - ask-password: also accept Backspace as first keypress as - silent mode switch - - unit: when deserializing jobs, don't pull in dependencies - - locale: fix LC_MESSAGES variable name - - plymouth: Remove the calls to plymouth message - - udev: systemd-tag all ttys - - tmpfiles fix /run/lock permissions - - ask-password: use TAB to disable asterisk password echo - - execute: socket isn't abstract anymore - - use /run instead of /dev/.run - - man: explain a couple of default dependencies - - mount: pull in quota services from local mountpoints with - usr/grpquota options - - service: pull in sysv facility targets from the sysv units, - not the other way round - - units: pull in syslog.target from syslog.socket - - units: don't ever pull in SysV targets from other SysV - targets - - units: document that some targets exists only for compat - with SysV - - man: document pidns containers - - units: deemphesize Names= settings, and explain why nobody - whould use them - - units: on mandriva/fedora create single.service alias via - symlink, not Names= - - units: get rid of runlevel Names=, the symlinks in - /lib/systemd/system are much more useful - - rework syslog detection so that we need no compile-time - option what the name of the syslog implementation is - - man: document .requires/ directories - - special: get rid of dbus.target - - exec: properly apply capability bounding set, add inverted - bounding sets - - dbus: add service D-Bus property "Sockets" - - dbus: consolidate service SysV conditionals - - unit: serialize condition test results - - def: centralize definition of default timeout in one place - - chkconfig: check against runlevel 5 instead of 3, since it is - a superset of the latter - - systemctl: accept condstop as alias for stop - - dbus: allow LoadUnit to unprivileged users - - umount: make sure skip_ro is always correctly initialized -- create /run (link it to /var/run) -- refresh splash password patch -- conflict with old mkinitrd version (we need /run) -- conflict with old udev (we need /run) - -------------------------------------------------------------------- -Wed Mar 16 18:38:04 CET 2011 - kay.sievers@novell.com - -- new snapshot - - man: fix systemctl try-restart description - - Add Frugalware display-manager service - - main: revert recognition of "b" argument - - main: interpret all argv[] arguments unconditionally when - run in a container - - loopback: downgrade an error to warning - - nspawn: bind mount /etc/localtime - - nspawn: make tty code more robust against closed/reopened - /dev/console - - util: make touched files non-writable by default - - nspawn: allocate a new pty instead of passing ours through - to avoid terminal settings chaos - - main: parse the whole arv[] as kernel command line - - main: check if we have a valid PID before getting the name - - ask-password: reset signal mask after we are done - - cgroup: don't recheck all the time whether the systemd - hierarchy is mounted, to make strace outputs nicer and save - a few stat()s - - man: document systemd-nspawn - - cgls: don't strip user processes and kernel threads from - default output - - umount: don't try to remount bind mounts ro during shutdown - - getty: move automatic serial getty logic into generator - - container: skip a few things when we are run in a container - such as accessing /proc/cmdline - - cgls: by default start with group of PID 1 - - pam: determine user cgroup tree from cgroup of PID 1 - - nspawn: move container into its own name=systemd cgroup - - manager: don't show kernel boot-up time for containers - - manager: show who killed us - - units: add console-shell.service which can be used insted of - the gettys to get a shell on /dev/console - -------------------------------------------------------------------- -Mon Mar 14 18:29:23 CET 2011 - kay.sievers@novell.com - -- new snapshot - - build-sys: move remaining tools from sbin/ to bin/ since they - might eventually be useful for user execution - - hostname: don't override the hostname with localhost if it - is already set and /etc/hostname unset - - audit: give up sending auditing messages when it failed due - to EPERM - - nspawn: don't require selinux on if it is compiled in - - main: remove AF_UNIX sockets before binding - - shutdown: print a nice message when terminating a container - - nspawn: mount /selinux if needed - - shutdown: just call exit() if we are in a container - - umount: assume that a non-existing /dev/loop device means it - is already detached - - socket: use 777 as default mode for sockets - - main: log to the console in a container - - main: don't parse /proc/cmdline in containers - - util: add detect_container() - - nspawn: reset environment and load login shell - - core: move abstract namespace sockets to /dev/.run - - nspawn: add simple chroot(1) like tool to execute commands - in a namespace container - - util: return exit status in wait_for_terminate_and_warn() - - util: properly identify pty devices by their major - -------------------------------------------------------------------- -Sat Mar 12 14:26:28 CET 2011 - kay.sievers@novell.com - -- new snapshot - - polkit: autogenerate polkit policy with correct paths - - systemctl: support remote and privileged systemctl access - via SSH and pkexec - - gnome-ask-password-agent: fix path to watch - -------------------------------------------------------------------- -Fri Mar 11 13:59:34 CET 2011 - kay.sievers@novell.com - -- fix broken sysctl.service linking - -------------------------------------------------------------------- -Fri Mar 11 01:39:41 CET 2011 - kay.sievers@novell.com - -- new snapshot - - units: move the last flag files to /dev/.run - - util: close all fds before freezing execution - - dbus: timeout connection setup - - main: properly handle -b boot option - - pam: do not leak file descriptor if flock fails -- disable sysv services natively provided by systemd - -------------------------------------------------------------------- -Thu Mar 10 14:16:50 CET 2011 - kay.sievers@novell.com - -- new snapshot - - main: refuse system to be started in a chroot - - main: don't check if /usr really is a mount point, since it is - fine if it is passed pre-mounted to us from the initrd - - condition: take a timestamp and store last result of conditions - - dev: use /dev/.run/systemd as runtime directory, instead of - /dev/.systemd - - machine-id: move machine-id-setup to /sbin - - pkconfig: export full search path as .pc variable - - selinux: bump up error level when in non-enforcing mode - - dbus: fix dbus assert due to uninitialized error - - dbus: properly generate UnknownInterface, UnknownProperty - and PropertyReadOnly errors - - mount: use /dev/.run as an early boot alias for /var/run - -------------------------------------------------------------------- -Tue Mar 8 19:06:45 UTC 2011 - kay.sievers@novell.com - -- version 20 - - service: prefix description with LSB only if script has LSB header, - use 'SysV:' otherwise - - unit: don't accidently create ordering links to targets when - default deps are off for either target and unit - - mount: support less cumbersome x-systemd-xxx mount options - - unit: distuingish mandatory from triggering conditions - - dbus: return DBUS_ERROR_UNKNOWN_OBJECT when an object - is unknown - - systemctl: when forwarding is-enabled to chkconfig - hardcode runlevel 3 - - job: introduce new job result code 'skipped' to use when pre - conditions of job did not apply - - job: convert job type as early as we can, to simplify things - - Keep emacs configuration in one configuration file. - - syslog: make sure the kmsg bridge is always pulled in and - never terminated automatically - - mount: make /media a tmpfs - -------------------------------------------------------------------- -Mon Mar 7 17:24:46 CET 2011 - kay.sievers@novell.com - -- new snapshot - - add org.freedesktop.DBus.Properies.Set method - - main: introduce /etc/machine-id - - systemctl: fix exit code when directing is-enabled - to chkconfig - - dbus: add 'Tainted' property to Manager object - - dbus: expose distribution name and features on manager - object as properties - - man: document changed EnvironmentFile= behaviour - - main: add link to wiki page with longer explanation of the - /usr madness - - execute: load environment files at time of execution, not - when we load the service configuration - - path: after installing inotify watches, recheck file again - to fix race - - path: don't use IN_ATTRIB on parent dirs when watching a - file, since those cannot be removed without emptying the dir - first anyway and we need IN_ATTRIB only to detect the link - count dropping to 0 - - kill: always send SIGCONT after SIGTERM - - readahead: disable collector automatically on read-only media - - sysctl: use scandir() instead of nftw() to guarantee - systematic ordering - - support DT_UNKNOWN where necessary for compat with reiserfs - - systemctl: always null-terminate the password -- call systemd-machine-id-setup at installation - -------------------------------------------------------------------- -Tue Mar 1 12:28:01 CET 2011 - kay.sievers@novell.com - -- version 19 - - udev: don't ignore non-encrypted block devices with no - superblock - - udev: expose ttyUSB devices too - - udev: mark hvc devices for exposure in systemd - - cryptsetup: add a terse help - - agent: don't print warnings if a password was removed or - timed out - - systemctl: shutdown agent explicitly so that it can reset - the tty properly - - never clean up a service that still has a process in it - - label: udev might be making changes in /dev while we - iterate through it - - systemctl: properly handle job results - - job: also trigger on-failure dependencies when jobs faile - due to dependencies, timeout - - job: when cancelling jobs, make sure to propagate this - properly to depending jobs - - job: start job timeout on enqueuing not when we start to - process a job - - unit: increase default timeout to 3min - - logger: leave the logger longer around and allow it do - handle more connections - - dbus: pass along information why a job failed when it - failed (dbus api change!) - - general: unify error code we generate on timeout - - units: synchronize gettys to plymouth even if plymouth is - killed by gdm - - job: start job timer when we begin running the job, not - already when we add it to the queue of jobs - - cryptsetup: try to show the mount point for a crypto disk - if we can - - rescue: terminate plymouth entirely when going into - rescue mode - - ask-password: fix handling of timeouts when waiting - for password - - ask-password: supported plymouth cached passwords - - main: print warning if /usr is on a seperate partition - - ensure we start not a single getty before plymouth is - gone because we never know which ttys plymouth still controls - - unit: introduce ConditionVirtualization= - -------------------------------------------------------------------- -Mon Feb 21 19:30:30 CET 2011 - kay.sievers@novell.com - -- new snapshot - - dbus: don't rely that timer/path units have an initialized - unit field (bnc#671561) - -------------------------------------------------------------------- -Mon Feb 21 13:58:51 CET 2011 - kay.sievers@novell.com - -- new snapshot - - order network mounts after network.target (bnc#672855) - -------------------------------------------------------------------- -Mon Feb 21 04:19:15 CET 2011 - kay.sievers@novell.com - -- new snapshot - - kmsg-syslogd: increase terminate timeout to 5min to generte - less debug spew - - shutdown(8) - call kexec if kexec kernel is loaded (bnc#671673) - - unit: don't timeout fsck - - man: fixed typo in SyslogIdentifier= - - tmpfiles: never clean up block devices - - main: refuse --test as root - -------------------------------------------------------------------- -Fri Feb 18 13:52:22 CET 2011 - kay.sievers@novell.com - -- new snapshot - - units: order fsck@.service before basic.target - instead of local-fs.target to relax things a little - - readahead: remove misleading error messages - - man: don't do more reloads than necessary in spec files - - util: retry opening a TTY on EIO - - util: beef up logic to find ctty name - - tmpfiles: kill double slashes in unix socket names -- drop vhangup patch, it is fixed in login(3) by forwarding the - SIGHUP to the child process - -------------------------------------------------------------------- -Fri Feb 18 09:33:55 UTC 2011 - coolo@novell.com - -- revert back to conflicts: sysvinit - -------------------------------------------------------------------- -Thu Feb 17 15:04:44 CET 2011 - werner@suse.de - -- Add temporary workaround for bnc#652633, that is do a vhangup - to all processes on a tty line used for a getty - -------------------------------------------------------------------- -Wed Feb 16 21:39:20 CET 2011 - kay.sievers@novell.com - -- version 18 - - systemctl: introduce --ignore-dependencies - - systemctl: introduce --failed to show only failed services - - systemctl: introduce --failed to show only failed services - - rescue: make 'systemctl default' fail if there is already - something running when the shell exited - - util: seperate welcome line from other output by empty lines - - manager: don't consider transaction jobs conflicting with - queued jobs redundant - - udev: ignore block devices which no known contents, to avoid - trying of mounts/swapons when devices aren't set up full yet - - swap: handle "nofail" from fstab - - mount,swap: properly add dependencies to logger if needed - - service: change default std output to inherit - - exec: introduce global defaults for the standard output - of services - - udev: use SYSTEMD_READY to mask uninitialized DM devices - - fsck: output to /dev/console by default in addition to syslog - - execute: optionally forward program output to /dev/console in - addition to syslog/kmsg - - socket: refuse socket activation for SysV services - - fsck: do not fail boot if fsck returns with an error code that - hasn't 2 or 6 set - - shutdown: execute all binaries in /lib/systemd/system-shutdown - as last step before invoking reboot() - - job: make status message printing more verbose - - cryptsetup: fix unit file description - - tmpfiles: never delete AF_UNIX sockets that are alive - - getty: don't parse console= anymore, use - /sys/class/tty/console/active instead - - properly resolve /dev/console if more than once console= - argument was passed on the kernel command line - - getty: do not auto-spawn getty's on VC ttys if console=ttyN - - fsck: skip root fsck if dracut already did it - - util: when determining the right TERM for /dev/console - consult /sys/class/tty/console/active - - pam: introduce whitelist and blacklist user list feature - - systemctl: minor optimizations - - systemctl: don't unnecessarily close stdin/stdout/stderr for - tty agent so that locking by tty works - - readahead: disable readahead in virtual machines - - tmpfiles: move binary to /bin to make it publicly available - - tmpfiles: take names of tmpfiles configuration files on the - command line - - tmpfiles: log to stderr if possible - - tmpfiles: support globs - - units: introduce and hook up sound.target - - dbus: allow all clients access to org.freedesktop.DBus.Peer - - consider udev devices with SYSTEMD_READY=0 as unplugged - - systemctl: don't start agent for --user - - systemctl: make sure the tty agent does not retain a copy - of stdio - -------------------------------------------------------------------- -Tue Feb 8 19:10:06 CET 2011 - kay.sievers@novell.com - -- new snapshot - - plymouth: move plymouth out of TARGET_FEDORA - - build-sys: fix AC_COMPILE_IFELSE tests - - build-sys: ensure selinux configure check follows logic of - other optional features - - build-sys: autodetect and use pkg-config for libselinux - - dbus: use ControlGroup as property name to match config option - - pam: optionally reset cgroup memberships for login sessions - - load-fragment: properly parse Nice= value - - automount: use unit_pending_inactive() where appropriate - -------------------------------------------------------------------- -Tue Feb 8 17:40:29 CET 2011 - jeffm@suse.de - -- Removed unecessary workaround for plymouth startup. - -------------------------------------------------------------------- -Fri Feb 4 21:24:11 CET 2011 - jeffm@suse.de - -- Split plymouth support into systemd-plymouth package. - -------------------------------------------------------------------- -Sat Jan 22 14:42:34 CET 2011 - kay.sievers@novell.com - -- new snapshot - - clang: fix some issues found with clang-analyzer - - gcc: make gcc shut up - -------------------------------------------------------------------- -Sat Jan 22 14:40:24 CET 2011 - kay.sievers@novell.com - -- version 17 - - vala 0.10 seem to work fine - - cryptsetup: fix ordering loop when dealing with encrypted - swap devices - - main: don't warn if /etc/mtab is a symlink to /proc/mounts - - socket: don't crash if the .service unit for a .socket unit - is not found - - mount: ignore if an fsck is requested for a bind mount, - so that we don't wait for the bind 'device' to show up - - automount: fix segfault when shutting down - - man: give an example for vconsole.conf - - dbus: don't try to connect to the system bus before it is - actually up - - service: make chain of main commands and control commands - independent of each other, so that both can be executed - simultaneously and independently - - service: don't allow reload operations for oneshot services - - vala: convert from dbus-glib to gdbus - - systemctl: highlight failed processes in systemctl status - - systemctl: show process type along process exit codes - - service: when reloading a service fails don't fail the entire - service but just the reload job - -------------------------------------------------------------------- -Wed Jan 19 12:55:40 CET 2011 - kay.sievers@novell.com - -- new snapshot - - shutdown: use correct kexec options - - serial-getty: do not invoke /sbin/securetty; recent - pam_securetty looks for console= in /proc/cmdline - - systemctl: before spawning pager cache number of columns - - pam: optionally keep processes of root user around - - service: if a reload operation fails, don't shut down - the service - - execute: make sending of SIGKILL on shutdown optional - - mount: do not translate uuids to lowercase - - man: document missing KillSignal= and swap options -- require recent util-linux -- drop mtab symlink creation which is done in util-linux - -------------------------------------------------------------------- -Sat Jan 8 19:25:40 CET 2011 - kay.sievers@novell.com - -- version 16 - - device: don't warn if we cannot bump the udev socket buffer - - logger: when passing on PID info, fall back to our own if - originating process is already gone - - service: don't hit an assert if information in LSB headers is - incorrectly formatted - - execute,util: fix two small memory leaks - - getty: unset locale before execution - - execute: drop empty assignments from env blocks on execution - but keep them around otherwise to make them visible - - umount: don't try to detach the dm device the root dir is on, - to minimize warning messages - - locale: fix variable names - - fragment: allow prefixing of the EnvironmentFile= - path with - to ignore errors - - util: don't pass invalid fd to fdopendir() on error to avoid - corruption of errno - - tmpfiles: nicer message when two or more conflicting lines - are configured for the same file - - fragment: properly handle quotes in assignments in - EnvironmentFile= files - - sysctl: don't warn if sysctls are gone - - readahead: ignore if files are removed during collection or - before replay - - serial: use TERM=vt100 instead of TERM=vt100-nav - - cryptsetup: call mkswap on dm device, not on source device - - mount-setup: mount /dev/pts with mode=620,gid=5 by default - and make GID overridable via configure switch - - systemctl: implement auto-pager a la git - - shutdown: drop redundant sync() invocation - - util: invoke sync() implicitly on freeze() - - tmpfiles: do no follow symlinks when cleaning up dirs - -------------------------------------------------------------------- -Tue Dec 28 22:08:28 CET 2010 - jeffm@suse.de - -- Add support for building plymouth support with openSUSE - -------------------------------------------------------------------- -Mon Dec 27 22:15:41 CET 2010 - kay.sievers@novell.com - -- new snapshot - - pam: do not sort user sessions into their own cgroups in - the 'cpu' hierarchy - - mount-setup: drop noexec flag from default mount options - for /dev/shm - - systemd.pc: change 'session' to 'user' - -------------------------------------------------------------------- -Thu Dec 16 16:52:04 CET 2010 - kay.sievers@novell.com - -- new snapshot - - ifdef suse-only sysv script lookup code - -------------------------------------------------------------------- -Thu Dec 16 12:49:00 UTC 2010 - seife@opensuse.org - -- add bootsplash handling patch to be able to enter e.g. - crypto passphrases (bnc#659885) - -------------------------------------------------------------------- -Thu Dec 9 18:54:15 CET 2010 - kay.sievers@novell.com - -- new snapshot - - add LSB 'smtp' alias for mail-transport-agent.target - -------------------------------------------------------------------- -Wed Dec 8 12:43:53 CET 2010 - kay.sievers@novell.com - -- new snapshot - - path: fix watching the root directory - - update README - -------------------------------------------------------------------- -Fri Nov 26 19:17:46 CET 2010 - kay.sievers@novell.com - -- new snapshot - - gnome-ask-password-agent: also support libnotify < 0.7 for now - - udev: increase event buffer size -- require fsck -l - -------------------------------------------------------------------- -Thu Nov 25 06:45:41 CET 2010 - kay.sievers@novell.com - -- version 15 - - dbus: use the right data slot allocator - - manager: bump up max number of units to 128K - - build-sys: allow cross-compilation -- revert too new libnotify code/requirement -- revert fsck -l option requirement - -------------------------------------------------------------------- -Tue Nov 23 11:49:43 CET 2010 - kay.sievers@novell.com - -- new snapshot - - units: simplify shutdown scripts - - logger: fix error handling - - swap: order file-based swap devices after remount-rootfs -- revert too new libnotify code/requirement -- revert fsck -l option requirement - -------------------------------------------------------------------- -Mon Nov 22 10:10:59 CET 2010 - kay.sievers@novell.com - -- new snapshot - - systemctl: don't return LSB status error codes for 'show' - - mount: do not try to mount disabled cgroup controllers - - man: document /etc/modules-load.d/, /etc/os-release, - locale.conf, /etc/vconsole.conf, /etc/hostname - - units: move a couple of units from base.target to - sysinit.target - - man: reorder things to follow the same order everywhere -- revert too new libnotify code/requirement -- revert fsck -l option requirement - -------------------------------------------------------------------- -Sat Nov 20 19:58:14 CET 2010 - kay.sievers@novell.com - -- version 13 - - cryptsetup: actually show disk name - - cryptsetup: show udev device name when asking for password - - sysctl: implement native tool and support /etc/sysctl.d - - units: enable console ask-password agent by default - - introduce /etc/os-release distro description - - job: make sure we don't fail umount.target if a mount unit - failed to stop - - cgroup: after killing cgroup processes, ensure the group is - really dead gone. wait for 3s at max - - cgroup: if we couldn't remove a cgroup after killing - evertyhing in it then it's fine - - cryptsetup: automatically order crypt partitions before - cryptsetup.target - - man: trivial BindTo description fix - - manager: make list of default controllers configurable - - build: expose libcryptsetup dependency in build string - - pam: document controllers= switch - - cgroup: by default, duplicate service cgroup in the cpu hierarchy - - pam: duplicate cgroup tree in the cpu hierarchy by default, - optionally more -- enable native crypto handling instead of boot.crypto -- revert too new libnotify code/requirement -- revert fsck -l option requirement - -------------------------------------------------------------------- -Wed Nov 17 01:32:04 CET 2010 - kay.sievers@novell.com - -- version 12 - - ask-password: add --console mode to ask /dev/console -- revert too new libnotify code/requirement - -------------------------------------------------------------------- -Tue Nov 16 11:47:28 CET 2010 - kay.sievers@novell.com - -- new snapshot - - cryptsetup: reword questions a little - - units: order hwclock after readahead - - path: don't mention too many inotify msgs - - cryptsetup: include device name in password question - - cryptsetup: lock ourselves into memory as long as we deal - with passwords - - plymouth: use updated socket name - - units: set TERM for gettys again, since they acquire a TTY - - units: allow start-up of plymouth ask-password agent very early - - units: enable ask-paswword .path units early enough to be useful - for early mounts - - units: delay getty until logins are allowed - - pam: always rely on loginuid instead of uid to determine cgroup - and XDG_RUNTIME_DIR name - - cgroup: call root cgroup system instead of systemd-1 - - exec: determine right TERM= setting based on tty name - - pam: rename master user cgroup to 'master' - - drop support for MANAGER_SESSION, introduce MANAGER_USER - - units: use ConditionDirectoryNotEmpty= where applicable - - unit: introduce ConditionDirectoryNotEmpty= - - delete tmp.mount which may conflict with an unrelated fstab - entry -- revert too new libnotify code/requirement -- disable native crypto handling - -------------------------------------------------------------------- -Mon Nov 15 18:45:31 CET 2010 - kay.sievers@novell.com - -- new snapshot - - load-dropin: add support for .requires directories - - manager: consider jobs already installed as redundant when - reducing new transactions - - manager: always pull 'following' units into transaction - - util: always highlight distro name - - units: make use of agetty mandatory - - manager: don't fail transaction if adding CONFLICTED_BY job fails - - job: make it possible to wait for devices to be unplugged - - tmpfiles: ignore files marked with the sticky bit - - cryptsetup: handle password=none properly - - cryptsetup: properly parse cipher= switch - - cryptsetup: support non-LUKS crypto partitions - - ask-password: enable password agent - - automatically start cryptsetup when looking for mount source - - log: add automatic log target - - cryptsetup: hook up tool with ask-password - - manager: hookup generators - - split mount_point_is_api() and mount_point_ignore() -- replace boot.crypto job with systemd native crypto handling -- enable readahead (requires 2.6.37+ kernel's fanotify to work) - -------------------------------------------------------------------- -Thu Nov 11 07:44:02 CET 2010 - kay.sievers@novell.com - -- new snapshot - - tmpfiles: include reference to man page in tmpfiles files - - vconsole: support additional keymap for toggling layouts - - main: warn if /etc/mtab is not a symlink - - add bash completion for systemctl --system - - man: minor tmpfiles(5) updates and reindenting - - main: rename process on startup to 'systemd' to avoid confusion - - unit: add ConditionNull= condition - - ac-power: make ac-power a proper binary that scripts can call - - manager: parse RD_TIMESTAMP passed from initrd - - modules-load: fix minor race - - label: use internal utility functions wher epossible - - cryptsetup: minimal cryptsetup unit generator - - selinux: relabel /dev after loading policy - - log: downgrade syslog connection failure message - - service: delay automatic restart if job is pending - - manager: when isolating undo all pending jobs, too - - manager: only minimize impact if we are in fail mode -- replace /etc/mtab with link to /proc/self/mounts - -------------------------------------------------------------------- -Fri Nov 5 00:28:10 CET 2010 - kay.sievers@novell.com - -- new snapshot - - man/tmpfiles.d.xml: add a manpage for tmpfiles - - do not overwrite other udev tags - - readahead: shortcut replay if /.readahead doesn't exist - -------------------------------------------------------------------- -Fri Oct 29 21:20:57 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - fsck: return SUCCESS when we skip the check - - fsck: skip checking / if it is writable - - units: fix variable expansion - - mount: don't pull in nofail mounts by default, but use them - if they are around - - job: recursively fail BoundBy dependencies - - fsck: fix target name to check for - - units: rename fedora/single.service to rescue.service - - units: introduce plymouth-start and plymouth-kexec - - unit: get rid of IgnoreDependencyFailure= - - use util-linux:agetty instead of mingetty - - unit: replace StopRetroactively= by BindTo= dependencies - - automount: show who's triggering an automount - - units: run sysctl only if /etc/sysctl.conf exists - - systemctl: always show what and where for mount units - - shutdown: reword a few messages a little - - manager: show which jobs are actually installed after a transaction - - timer: when deserializing timer state stay elapsed - - device: set recursive_stop=true by default - - unit: suppress incorrect deserialization errors - - swap: there's no reason not order swap after sysinit - - socket: fix IPv6 availability detection - -------------------------------------------------------------------- -Wed Oct 27 12:00:26 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - create /dev/stderr and friends early on boot - - run sysv related scripts with TERM=linux - - add only swaps listed in /etc/fstab automatically to swap.target - - errors: refer to systemctl status when useful - - swap: add default cgroup to swap exec env - - readahead: bump a device's request_nr when enabling readahead - - shutdown: properly handle sigtimedwait() timing out - - main: fix typo in kernel cmdline parameters help - - ord-tty: properly handle SIGINT/SIGTERM - - systemctl: automatically spawn temporary password agent - - ask-password: properly handle multiple pending passwords - - ask-password: enable plymouth agent by default - - ask-password: add minimal plymouth password agent - -------------------------------------------------------------------- -Tue Oct 26 13:10:01 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - make sure to pass TERM=linux to all sysv scripts - - don't unset HOME/TERM when run in session mode - - mount: add nosuid,nodev,noexec switches to /var/lock and /var/run - - tmpfiles: Don't clean /var/lock/subsys - - tmpfiles: Make wtmp match utmp perms, and add btmp - - umount: Make sure / is remounted ro on shutdown - - unset HOME and TERM set from the kernel - - activate wall agent automatically - - ask-password: add basic tty agent - -------------------------------------------------------------------- -Sat Oct 23 18:09:23 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - rename ask-password-agent to gnome-ask-password-agent - - fsck: suppress error message if we cannot change into single - user mode since - - dbus: epose FsckPassNo property for service objects - - man: document systemctl --force - - introduce 'systemctl kill' - -------------------------------------------------------------------- -Sat Oct 23 14:57:57 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - syslog: enable kmsg bridge by default - - fsck: add initial version of fsck and quotacheck wrappers - - tmpfiles: remove forcefsck/fastboot flag files after boot - - swap: listen for POLLPRI events on /proc/swaps if availabled - - tmpfiles: integrate native tmpwatch - - shutdown: loop only as long as we manage to unmount/detach devices - - umount: disable dm devices by devnode, not by path name - - introduce final.target - - replace distro-specific shutdown scripts with native services - - try to get rid of DM devices - - log to console by default - - introduce kexec.service, kexec.target and exit.target - - hook in fsck@.service instance for all mount points with passno > 0 - - systemctl: warn if user enables unit with no installation instructions - - dbus: add introspection to midlevel paths - - look for dynamic throw-away units in /dev/.systemd/system - - major rework, use /sbin/swapon for setting up swaps - - introduce Restart=on-failure and Restart=on-abort - - units: enable utmp for serial gettys too - - rename 'banned' load state to 'masked' - - optionally, create INIT_PROCESS/DEAD_PROCESS entries for a service -- use systemd-native fsck/mount -- use systemd-native tmpfiles.d/ instead of tmpwatch - -------------------------------------------------------------------- -Fri Oct 8 14:49:04 CEST 2010 - kay.sievers@novell.com - -new snapshot - - fix 'systemctl enable getty@.service' - - properly support 'banning' of services - - handle nologin - - add native reboot/shutdown implementation - -------------------------------------------------------------------- -Thu Oct 7 15:58:10 CEST 2010 - kay.sievers@novell.com - -- version 11 - -------------------------------------------------------------------- -Wed Oct 6 09:27:13 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - readahead fixes - -------------------------------------------------------------------- -Sun Oct 3 08:08:13 UTC 2010 - aj@suse.de - -- /etc/modules.d was renamed to modules-load.d -- only include tmpfiles.d/*conf files - -------------------------------------------------------------------- -Wed Sep 29 11:55:11 CEST 2010 - kay.sievers@novell.com - -- don't create sysv order deps on merged units -- fix Provides: handling in LSB headers (network.target) -- native (optional) readahead - -------------------------------------------------------------------- -Sun Sep 26 20:39:53 UTC 2010 - aj@suse.de - -- Do not package man pages twice. - -------------------------------------------------------------------- -Wed Sep 22 11:40:02 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - basic services are enabled by default now - -------------------------------------------------------------------- -Tue Sep 21 14:39:02 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - vconsole and locale setup - - hook up tmpwatch - -------------------------------------------------------------------- -Fri Sep 17 10:58:24 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - add new utility to initialize the virtual console - - initialize locale from /etc/locale by default - - ask-password: allow services query SSL/harddisk passphrases - -------------------------------------------------------------------- -Fri Sep 17 10:54:24 CEST 2010 - kay.sievers@novell.com - -- version 10 - - logger: support SOCK_STREAM /dev/log sockets - - make sure the file system is writable before we write utmp data - - systemctl: use isolate when called as telinit for a runlevel - - initctl: properly use isolate when activating runlevels - - set HOME=/root when running shells - - make sure we don't crash if there's an automount unit without - mount unit - - start logger only after syslog is up - -------------------------------------------------------------------- -Fri Sep 3 11:52:42 CEST 2010 - kay.sievers@novell.com - -- version 9 - - units: don't add shutdown conflicts dep to umount.target - - dbus: don't send cgroup agent messages directly to system bus - - dbus: don't accept activation requests anymore if we are going - down anyway - - systemctl: fix return value of systemctl start and friends - - service: wait for process exit only if we actually killed - somebody - -------------------------------------------------------------------- -Thu Aug 26 22:14:04 CEST 2010 - kay.sievers@novell.com - -- version 8 - - KERNEL 2.6.36+ REQUIRED! - - mount cgroup file systems to /sys/fs/cgroup instead of /cgroup - - invoke sulogin instead of /bin/sh - - systemctl: show timestamps for state changes - - add global configuration options for handling of auto mounts - -------------------------------------------------------------------- -Fri Aug 20 06:51:26 CEST 2010 - kay.sievers@novell.com - -- apply /etc/fstab mount options to all api mounts -- properly handle LABEL="" in fstab -- do not consider LSB exit codes 5 and 6 as failure - -------------------------------------------------------------------- -Tue Aug 17 22:54:41 CEST 2010 - kay.sievers@novell.com - -- prefix sysv job descriptions with LSB: -- add native sysctl + hwclock + random seed service files -- properly fallback to rescue.target if default.target is hosed -- rename ValidNoProcess= to RemainAfterExit= -- add systemd-modules-load tool to handle /etc/modules.d/ - -------------------------------------------------------------------- -Tue Aug 17 09:01:04 CEST 2010 - kay.sievers@novell.com - -- add support for delayed shutdown, similar to sysv in style -- rename Type=finish to Type=oneshot and allow multiple ExecStart= -- don't show ENOENT for non exitent configuration files -- log build time features on startup -- rearrange structs to make them smaller -- move runlevel[2-5] links to /lib -- create default.target link to /lib not /etc -- handle random-seed -- write utmp record before we kill all processes -- create /var/lock/subsys, /var/run/utmp - -------------------------------------------------------------------- -Wed Aug 11 11:29:17 CEST 2010 - kay.sievers@novell.com - -- add audit messages for service changes -- update utmp with external program -- all to refuse manual service starting/stopping - -------------------------------------------------------------------- -Tue Aug 10 06:54:23 CEST 2010 - kay.sievers@novell.com - -- version 7 - - hide output if quiet is passed on the kernel cmdline - - fix auto restarting of units after a configuration reload - - don't call bus_path_escape() with NULL unit name - -------------------------------------------------------------------- -Fri Aug 6 13:07:35 CEST 2010 - kay.sievers@novell.com - -- version 6 - - man page update - -------------------------------------------------------------------- -Fri Aug 6 09:48:34 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - downgrade a few log messages - - properly handle devices which are referenced before they exist - -------------------------------------------------------------------- -Fri Aug 6 01:59:50 CEST 2010 - kay.sievers@novell.com - -- new snapshot - - fix dependency cycle of boot.* by splitting fsck.target - - sort boot.* before other sysv services - from sysinint.target - - start getty for serial console - -------------------------------------------------------------------- -Thu Aug 5 23:12:32 CEST 2010 - kay.sievers@novell.com - -- add licence to subpackages - -------------------------------------------------------------------- -Wed Aug 4 12:42:23 CEST 2010 - kay.sievers@novell.com - -- version 5 - - selinux fixes -- fix hanging 'reboot' started from vc - -------------------------------------------------------------------- -Mon Aug 2 16:33:20 CEST 2010 - kay.sievers@novell.com - -- enable getty.target by default - -------------------------------------------------------------------- -Sat Jul 24 11:16:52 CEST 2010 - kay.sievers@novell.com - -- at install, read old inittab for the defaul target/runlevel -- disable services on package uninstall - -------------------------------------------------------------------- -Sat Jul 24 09:50:05 CEST 2010 - kay.sievers@novell.com - -- version 4 - - merge systemd-install into systemctl - -------------------------------------------------------------------- -Fri Jul 23 10:39:19 CEST 2010 - kay.sievers@novell.com - -- create config files in /etc in %post -- mark files in /etc as config -- remove nodev from /dev/pts -- add selinux support - -------------------------------------------------------------------- -Thu Jul 22 10:51:16 CEST 2010 - kay.sievers@novell.com - -- version 4 (pre) - - require newer vala - - add [Install] section to getty.target and remote-fs.target -- re-enable post-build check - -------------------------------------------------------------------- -Wed Jul 21 08:51:22 CEST 2010 - kay.sievers@novell.com - -- do not add sysv services that are not enabled in /etc/rcN.d/ -- allow symlinking unit files to /dev/null -- remove only pam sessions we ourselves created -- unit files in /etc/ always take precedence, even over link targets - -------------------------------------------------------------------- -Tue Jul 20 21:20:43 CEST 2010 - kay.sievers@novell.com - -- fix access mode verification of FIFOs - -------------------------------------------------------------------- -Sun Jul 18 11:31:06 CEST 2010 - kay.sievers@novell.com - -- fix default mode of /var/run and /var/lock -- force /var/run and /var/lock to be on tmpfs - -------------------------------------------------------------------- -Wed Jul 14 17:49:57 CEST 2010 - kay.sievers@novell.com - -- always enable udev and dbus until we can require systemd from - packages providing systemd service files - -------------------------------------------------------------------- -Wed Jul 14 01:10:27 CEST 2010 - kay.sievers@novell.com - -- drop systemd-units.rpm - -------------------------------------------------------------------- -Wed Jul 14 00:07:24 CEST 2010 - kay.sievers@novell.com - -- version 3 - - treat non-existing cgroups like empty ones, to deal with races - - replace --running-as= by --session and --system - - always allow stopping of units that failed to load - -------------------------------------------------------------------- -Tue Jul 13 06:22:56 CEST 2010 - kay.sievers@novell.com - -- update - -------------------------------------------------------------------- -Mon Jul 12 18:23:41 CEST 2010 - kay.sievers@novell.com - -- drop libcgroup - -------------------------------------------------------------------- -Mon Jul 12 10:04:26 CEST 2010 - kay.sievers@novell.com - -- trim cgroups for services that are "active" but "exited" -- drop /bin/init hack and require now fixed mkinitrd - -------------------------------------------------------------------- -Sun Jul 11 23:38:45 CEST 2010 - kay.sievers@novell.com - -- fix reboot issue -- fix abstract namespace name handling (needs udev update) -- prefer private D-Bus socket wherever possible - -------------------------------------------------------------------- -Sun Jul 11 00:50:14 CEST 2010 - kay.sievers@novell.com - -- D-Bus 1.3.2 support -- use COLD_BOOT=1 on reboot to skip sysv boot.d/ handling - -------------------------------------------------------------------- -Fri Jul 9 10:05:00 CEST 2010 - kay.sievers@novell.com - -- fix typo in spec file - -------------------------------------------------------------------- -Fri Jul 9 09:09:33 CEST 2010 - kay.sievers@novell.com - -- provide /bin/init to be found by 'too simple' mkinitrd, and work - around mindless relinking of relative links in the buildsystem -- add rpmlintrc to silent warnings about intentional behavior - -------------------------------------------------------------------- -Fri Jul 9 06:18:52 CEST 2010 - kay.sievers@novell.com - -- version 2 - -------------------------------------------------------------------- -Thu Jul 8 23:48:09 CEST 2010 - kay.sievers@novell.com - -- fix 'reboot -w' to skip the actual reboot -- fix segfault in D-Bus code -- use unique instead of multiple keys in config file -- support continuation lines in config files -- support multiple commands in a single key in config files -- adapt log level of some messages - -------------------------------------------------------------------- -Wed Jul 7 06:20:00 CEST 2010 - kay.sievers@novell.com - -- version 1 - - default log level to INFO - - show welcome message - -------------------------------------------------------------------- -Tue Jul 6 08:55:03 CEST 2010 - kay.sievers@novell.com - -- add systemd-install --start option -- add more documentation - -------------------------------------------------------------------- -Mon Jul 5 16:23:28 CEST 2010 - kay.sievers@novell.com - -- new snapshot with extended D-Bus support - -------------------------------------------------------------------- -Sun Jul 4 21:31:49 CEST 2010 - kay.sievers@novell.com - -- new snapshot with default unit dependency handling - -------------------------------------------------------------------- -Sat Jul 3 16:54:19 CEST 2010 - kay.sievers@novell.com - -- new snapshot - -------------------------------------------------------------------- -Fri Jul 2 10:04:26 CEST 2010 - kay.sievers@novell.com - -- add more documentation - -------------------------------------------------------------------- -Thu Jul 1 17:40:28 CEST 2010 - kay.sievers@novell.com - -- new snapshot - -------------------------------------------------------------------- -Fri Jun 25 00:34:03 CEST 2010 - kay.sievers@novell.com - -- split off systemd-units.rpm which can be pulled-in by other - packages without further dependencies - -------------------------------------------------------------------- -Thu Jun 24 09:40:06 CEST 2010 - kay.sievers@novell.com - -- add more documentation - -------------------------------------------------------------------- -Tue Jun 22 22:13:02 CEST 2010 - kay.sievers@novell.com - -- more man pages and documentation - -------------------------------------------------------------------- -Tue Jun 22 18:14:05 CEST 2010 - kay.sievers@novell.com - -- conflict with upstart -- include all installed doc files - -------------------------------------------------------------------- -Tue Jun 22 09:33:44 CEST 2010 - kay.sievers@novell.com - -- provide pam module - -------------------------------------------------------------------- -Mon Jun 21 10:21:20 CEST 2010 - kay.sievers@novell.com - -- use private D-Bus connection -- properly handle replacing a running upstart - -------------------------------------------------------------------- -Fri Jun 18 09:37:46 CEST 2010 - kay.sievers@novell.com - -- implement wall message in halt/reboot/... -- speak /dev/initctl to old /sbin/init after installing - -------------------------------------------------------------------- -Thu Jun 17 23:54:59 CEST 2010 - kay.sievers@novell.com - -- drop no longer needed -fno-strict-aliasing -- add README and examples - -------------------------------------------------------------------- -Thu Jun 17 23:23:42 CEST 2010 - kay.sievers@novell.com - -- enable pam and libwrap - -------------------------------------------------------------------- -Thu Jun 17 23:10:57 CEST 2010 - kay.sievers@novell.com - -- provide systemd-sysvinit.rpm with /sbin/init and friends - -------------------------------------------------------------------- -Thu Jun 17 11:06:14 CEST 2010 - kay.sievers@novell.com - -- libwrap / pam support - -------------------------------------------------------------------- -Wed Jun 16 09:46:15 CEST 2010 - kay.sievers@novell.com - -- initial packaging of experimental version 0 - diff --git a/systemd.spec b/systemd.spec deleted file mode 100644 index 4dfc122..0000000 --- a/systemd.spec +++ /dev/null @@ -1,1319 +0,0 @@ -# -# spec file for package systemd -# -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -%define bootstrap 0 -%define real systemd -%define udevpkgname udev -%define udev_major 1 - -%if 0%{?sles_version} == 0 -%global with_bash_completion 1 -%endif -%bcond_with bash_completion - -Name: systemd -Url: http://www.freedesktop.org/wiki/Software/systemd -Version: 208 -Release: 0 -Summary: A System and Session Manager -License: LGPL-2.1+ -Group: System/Base -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: audit-devel -%if ! 0%{?bootstrap} -BuildRequires: dbus-1 -BuildRequires: docbook-xsl-stylesheets -%endif -BuildRequires: fdupes -%if ! 0%{?bootstrap} -BuildRequires: gobject-introspection-devel -%endif -BuildRequires: gperf -%if ! 0%{?bootstrap} -BuildRequires: gtk-doc -%endif -BuildRequires: intltool -BuildRequires: libacl-devel -BuildRequires: libattr-devel -BuildRequires: libcap-devel -BuildRequires: libsepol-devel -BuildRequires: libtool -BuildRequires: libusb-devel -%if ! 0%{?bootstrap} -BuildRequires: libxslt-tools -%endif -BuildRequires: pam-devel -BuildRequires: tcpd-devel -BuildRequires: xz -BuildRequires: pkgconfig(blkid) >= 2.20 -BuildRequires: pkgconfig(dbus-1) >= 1.3.2 -%if ! 0%{?bootstrap} -BuildRequires: libgcrypt-devel -BuildRequires: pkgconfig(glib-2.0) >= 2.22.0 -BuildRequires: pkgconfig(libcryptsetup) >= 1.6.0 -%endif -BuildRequires: pkgconfig(libkmod) >= 14 -BuildRequires: pkgconfig(liblzma) -%if ! 0%{?bootstrap} -BuildRequires: pkgconfig(libmicrohttpd) -%endif -BuildRequires: pkgconfig(libpci) >= 3 -BuildRequires: pkgconfig(libpcre) -%if ! 0%{?bootstrap} -BuildRequires: pkgconfig(libqrencode) -%endif -BuildRequires: pkgconfig(libselinux) >= 2.1.9 -BuildRequires: pkgconfig(libsepol) -BuildRequires: pkgconfig(usbutils) >= 0.82 -%if 0%{?bootstrap} -#!BuildIgnore: dbus-1 -Requires: this-is-only-for-build-envs -Conflicts: systemd -Conflicts: kiwi -%else -# the buildignore is important for bootstrapping -#!BuildIgnore: udev -Requires: %{udevpkgname} >= 172 -%if %{with bash_completion} -Recommends: bash-completion -%endif -Requires: dbus-1 >= 1.4.0 -Requires: kbd -Requires: kmod >= 14 -Requires: pam-config >= 0.79-5 -Requires: pwdutils -Requires: systemd-presets-branding -Requires: util-linux >= 2.21 -Requires(post): coreutils -Requires(post): findutils -%endif -%if ! 0%{?bootstrap} -Requires(post): pam-config -%endif -Conflicts: filesystem < 11.5 -Conflicts: mkinitrd < 2.7.0 -Obsoletes: systemd-analyze < 201 -Provides: systemd-analyze = %{version} -Source0: http://www.freedesktop.org/software/systemd/systemd-%{version}.tar.xz -Source1: systemd-rpmlintrc -Source2: localfs.service -Source3: systemd-sysv-convert -Source4: macros.systemd -Source6: baselibs.conf -Source7: libgcrypt.m4 -Source8: systemd-journald.init -Source9: nss-myhostname-config -Source10: macros.systemd.upstream -Source11: after-local.service -Source12: systemd-powerfail - -Source1060: boot.udev -Source1061: write_dev_root_rule -Source1062: systemd-udev-root-symlink - -# PATCH-FIX-UPSTREAM avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch lnussel@suse.com bnc#791101 -- avoid assertion if invalid address familily is passed to gethostbyaddr_r -Patch0: avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch -# PATCH-FIX-UPSTREAM optionally-warn-if-nss-myhostname-is-called.patch lnussel@suse.com -- optionally warn if nss-myhostname is called -Patch1: optionally-warn-if-nss-myhostname-is-called.patch -# handle SUSE specific kbd settings -Patch3: handle-disable_caplock-and-compose_table-and-kbd_rate.patch -Patch4: handle-numlock-value-in-etc-sysconfig-keyboard.patch -Patch6: insserv-generator.patch -Patch7: service-flags-sysv-service-with-detected-pid-as-RemainAfte.patch -Patch8: module-load-handle-SUSE-etc-sysconfig-kernel-module-list.patch -Patch9: remain_after_exit-initscript-heuristic-and-add-new-LSB-hea.patch -Patch11: delay-fsck-cryptsetup-after-md-dmraid-lvm-are-started.patch -Patch12: Fix-run-lock-directories-permissions-to-follow-openSUSE-po.patch -Patch13: ensure-sysctl-are-applied-after-modules-are-loaded.patch -Patch14: ensure-DM-and-LVM-are-started-before-local-fs-pre-target.patch -Patch15: timedate-add-support-for-openSUSE-version-of-etc-sysconfig.patch -Patch16: fix-support-for-boot-prefixed-initscript-bnc-746506.patch -Patch17: restore-var-run-and-var-lock-bind-mount-if-they-aren-t-sym.patch -Patch18: fix-owner-of-var-log-btmp.patch - -# PATCH-FIX-OPENSUSE ensure-ask-password-wall-starts-after-getty-tty1.patch -- don't start getty on tty1 until all password request are done -Patch5: ensure-ask-password-wall-starts-after-getty-tty1.patch -# PATCH-FIX-OPENSUSE handle-root_uses_lang-value-in-etc-sysconfig-language.patch bnc#792182 fcrozat@suse.com -- handle ROOT_USES_LANG=ctype -Patch20: handle-root_uses_lang-value-in-etc-sysconfig-language.patch -# PATCH-FIX-OPENSUSE allow-multiple-sulogin-to-be-started.patch bnc#793182 fcrozat@suse.com -- handle multiple sulogin -Patch21: allow-multiple-sulogin-to-be-started.patch -# PATCH-FIX-OPENSUSE handle-SYSTEMCTL_OPTIONS-environment-variable.patch bnc#798620 fcrozat@suse.com -- handle SYSTEMCTL_OPTIONS environment variable -Patch22: handle-SYSTEMCTL_OPTIONS-environment-variable.patch -# PATCH-FIX-OPENSUSE apply-ACL-for-nvidia-device-nodes.patch bnc#808319 -- set ACL on nvidia devices -Patch27: apply-ACL-for-nvidia-device-nodes.patch -# PATCH-FIX-OPENSUSE Revert-service-drop-support-for-SysV-scripts-for-the-early.patch fcrozat@suse.com -- handle boot.* initscripts -Patch37: Revert-service-drop-support-for-SysV-scripts-for-the-early.patch -# PATCH-FIX-OPENSUSE systemd-tmp-safe-defaults.patch FATE#314974 max@suse.de -- Return to SUSE's "safe defaults" policy on deleting files from tmp direcorie. -Patch39: systemd-tmp-safe-defaults.patch -# PATCH-FIX-OPENSUSE sysctl-handle-boot-sysctl.conf-kernel_release.patch bnc#809420 fcrozat@suse.com -- handle /boot/sysctl.conf- file -Patch40: sysctl-handle-boot-sysctl.conf-kernel_release.patch -# PATCH-FIX-OPENSUSE ensure-shortname-is-set-as-hostname-bnc-820213.patch bnc#820213 fcrozat@suse.com -- Do not set anything beyond first dot as hostname -Patch41: ensure-shortname-is-set-as-hostname-bnc-820213.patch -Patch42: systemd-pam_config.patch - -# Upstream First - Policy: -# Never add any patches to this package without the upstream commit id -# in the patch. Any patches added here without a very good reason to make -# an exception will be silently removed with the next version update. -# PATCH-FIX-OPENSUSE disable-nss-myhostname-warning-bnc-783841.diff lnussel@suse.de -- disable nss-myhostname warning (bnc#783841) -Patch23: disable-nss-myhostname-warning-bnc-783841.patch -# PATCH-FIX-OPENSUSE handle-HOSTNAME.patch fcrozat@suse.com -- handle /etc/HOSTNAME (bnc#803653) -Patch24: handle-etc-HOSTNAME.patch -# PATCH-FIX-OPENSUSE Forward-suspend-hibernate-calls-to-pm-utils.patch fcrozat@suse.com bnc#790157 -- forward to pm-utils -Patch25: Forward-suspend-hibernate-calls-to-pm-utils.patch -# PATCH-FIX-UPSTREAM rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch rjschwei@suse.com -- add lid switch of ARM based Chromebook as a power switch to logind -Patch38: rules-add-lid-switch-of-ARM-based-Chromebook-as-a-power-sw.patch -# PATCH-FIX-OPENSUSE use-usr-sbin-sulogin-for-emergency-service.patch arvidjaar@gmail.com -- fix path to sulogin -Patch46: use-usr-sbin-sulogin-for-emergency-service.patch -# PATCH-FIX-OPENSUSE systemd-dbus-system-bus-address.patch always use /run/dbus not /var/run -Patch47: systemd-dbus-system-bus-address.patch -# PATCH-FIX-UPSTREAM 0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch fcrozat@suse.com -- fix acpi memleak -Patch48: 0001-acpi-fptd-fix-memory-leak-in-acpi_get_boot_usec.patch -# PATCH-FIX-UPSTREAM 0002-fix-lingering-references-to-var-lib-backlight-random.patch fcrozat@suse.com -- fix invalid path in documentation -Patch49: 0002-fix-lingering-references-to-var-lib-backlight-random.patch -# PATCH-FIX-UPSTREAM 0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch fcrozat@suse.com -- fix invalid memory free -Patch50: 0003-acpi-make-sure-we-never-free-an-uninitialized-pointe.patch -# PATCH-FIX-UPSTREAM 0004-systemctl-fix-name-mangling-for-sysv-units.patch fcrozat@suse.com -- fix name mangling for sysv units -Patch51: 0004-systemctl-fix-name-mangling-for-sysv-units.patch -# PATCH-FIX-UPSTREAM 0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch fcrozat@suse.com -- fix OOM handling -Patch52: 0005-cryptsetup-fix-OOM-handling-when-parsing-mount-optio.patch -# PATCH-FIX-UPSTREAM 0006-journald-add-missing-error-check.patch fcrozat@suse.com -- add missing error check -Patch53: 0006-journald-add-missing-error-check.patch -# PATCH-FIX-UPSTREAM 0007-bus-fix-potentially-uninitialized-memory-access.patch fcrozat@suse.com -- fix uninitialized memory access -Patch54: 0007-bus-fix-potentially-uninitialized-memory-access.patch -# PATCH-FIX-UPSTREAM 0008-dbus-fix-return-value-of-dispatch_rqueue.patch fcrozat@suse.com -- fix return value -Patch55: 0008-dbus-fix-return-value-of-dispatch_rqueue.patch -# PATCH-FIX-UPSTREAM 0009-modules-load-fix-error-handling.patch fcrozat@suse.com -- fix error handling -Patch56: 0009-modules-load-fix-error-handling.patch -# PATCH-FIX-UPSTREAM 0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch fcrozat@suse.com -- fix incorrect memory access -Patch57: 0010-efi-never-call-qsort-on-potentially-NULL-arrays.patch -# PATCH-FIX-UPSTREAM 0011-strv-don-t-access-potentially-NULL-string-arrays.patch fcrozat@suse.com -- fix incorrect memory access -Patch58: 0011-strv-don-t-access-potentially-NULL-string-arrays.patch -# PATCH-FIX-UPSTREAM 0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch fcrozat@suse.com -- fix invalid pointer -Patch59: 0012-mkdir-pass-a-proper-function-pointer-to-mkdir_safe_i.patch -# PATCH-FIX-UPSTREAM 0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch fcrozat@suse.com -- fix permission on /run/log/journal -Patch60: 0014-tmpfiles.d-include-setgid-perms-for-run-log-journal.patch -# PATCH-FIX-UPSTREAM 0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch fcrozat@suse.com -- order remote mount points properly before remote-fs.target -Patch61: 0001-systemd-order-remote-mounts-from-mountinfo-before-re.patch -# PATCH-FIX-UPSTREAM 0001-gpt-auto-generator-exit-immediately-if-in-container.patch fcrozat@suse.com -- don't start gpt auto-generator in container -Patch62: 0001-gpt-auto-generator-exit-immediately-if-in-container.patch -# PATCH-FIX-UPSTREAM 0001-manager-when-verifying-whether-clients-may-change-en.patch fcrozat@suse.com -- fix reload check in selinux case -Patch63: 0001-manager-when-verifying-whether-clients-may-change-en.patch -# PATCH-FIX-UPSTREAM 0001-logind-fix-bus-introspection-data-for-TakeControl.patch fcrozat@suse.com -- fix introspection for TakeControl -Patch64: 0001-logind-fix-bus-introspection-data-for-TakeControl.patch -# PATCH-FIX-UPSTREAM 0001-mount-check-for-NULL-before-reading-pm-what.patch fcrozat@suse.com -- fix crash when parsing some incorrect unit -Patch65: 0001-mount-check-for-NULL-before-reading-pm-what.patch -# PATCH-FIX-UPSTREAM 0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch fcrozat@suse.com -- Fix udev rules parsing -Patch66: 0001-shared-util-fix-off-by-one-error-in-tag_to_udev_node.patch -# PATCH-FIX-UPSTREAM 0001-systemd-serialize-deserialize-forbid_restart-value.patch fcrozat@suse.com -- Fix incorrect deserialization for forbid_restart -Patch67: 0001-systemd-serialize-deserialize-forbid_restart-value.patch -# PATCH-FIX-UPSTREAM 0001-core-unify-the-way-we-denote-serialization-attribute.patch fcrozat@suse.com -- Ensure forbid_restart is named like other attributes -Patch68: 0001-core-unify-the-way-we-denote-serialization-attribute.patch -# PATCH-FIX-UPSTREAM 0001-journald-fix-minor-memory-leak.patch fcrozat@suse.com -- fix memleak in journald -Patch69: 0001-journald-fix-minor-memory-leak.patch -# PATCH-FIX-UPSTREAM 0001-do-not-accept-garbage-from-acpi-firmware-performance.patch fcrozat@suse.com -- Improve ACPI firmware performance parsing -Patch70: 0001-do-not-accept-garbage-from-acpi-firmware-performance.patch -# PATCH-FIX-UPSTREAM 0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch fcrozat@suse.com -- Fix journal rotation -Patch71: 0001-journald-remove-rotated-file-from-hashmap-when-rotat.patch -# PATCH-FIX-UPSTREAM 0001-login-fix-invalid-free-in-sd_session_get_vt.patchfcrozat@suse.com -- Fix memory corruption in sd_session_get_vt -Patch72: 0001-login-fix-invalid-free-in-sd_session_get_vt.patch -# PATCH-FIX-UPSTREAM 0001-login-make-sd_session_get_vt-actually-work.patch fcrozat@suse.com -- Ensure sd_session_get_vt returns correct value -Patch73: 0001-login-make-sd_session_get_vt-actually-work.patch -# PATCH-FIX-UPSTREAM 0001-Never-call-qsort-on-potentially-NULL-arrays.patch fcrozat@suse.com -- Don't call qsort on NULL arrays -Patch74: 0001-Never-call-qsort-on-potentially-NULL-arrays.patch -# PATCH-FIX-UPSTREAM 0001-dbus-common-avoid-leak-in-error-path.patch fcrozat@suse.com -- Fix memleak in dbus-common code -Patch75: 0001-dbus-common-avoid-leak-in-error-path.patch -# PATCH-FIX-UPSTREAM 0001-drop-ins-check-return-value.patch fcrozat@suse.com -- Fix return value for drop-ins checks -Patch76: 0001-drop-ins-check-return-value.patch -# PATCH-FIX-UPSTREAM 0001-shared-util-Fix-glob_extend-argument.patch fcrozat@suse.com -- Fix glob_extend argument -Patch77: 0001-shared-util-Fix-glob_extend-argument.patch -# PATCH-FIX-UPSTREAM 0001-Fix-bad-assert-in-show_pid_array.patch fcrozat@suse.com -- Fix bad assert in show_pid_array -Patch78: 0001-Fix-bad-assert-in-show_pid_array.patch -# PATCH-FIX-UPSTREAM 0001-analyze-set-white-background.patch werner@suse.com -- Make background of systemd-analyze SVG white -Patch79: 0001-analyze-set-white-background.patch -# PATCH-FIX-UPSTREAM 0001-analyze-set-text-on-side-with-most-space.patch werner@suse.com -- Place the text on the side with most space -Patch80: 0001-analyze-set-text-on-side-with-most-space.patch -# PATCH-FIX-UPSTREAM 0001-logind-garbage-collect-stale-users.patch -- Don't stop a running user manager from garbage-collecting the user. -Patch81: 0001-logind-garbage-collect-stale-users.patch -# PATCH-FIX-UPSTREAM analyze-fix-crash-in-command-line-parsing.patch fcrozat@suse.com bnc#859365 -- Fix crash in systemd-analyze -Patch82: analyze-fix-crash-in-command-line-parsing.patch -# PATCH-FIX-UPSTREAM 0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch -- Prevent accidental kill of emergency shell (bnc#852021) -Patch83: 0001-core-replace-OnFailureIsolate-setting-by-a-more-gene.patch -# PATCH-FIX-OPENSUSE make-emergency.service-conflict-with-syslog.socket.patch (bnc#852232) -Patch84: make-emergency.service-conflict-with-syslog.socket.patch -# PATCH-FIX-UPSTREAM 0001-upstream-systemctl-halt-reboot-error-handling.patch -Patch85: 0001-upstream-systemctl-halt-reboot-error-handling.patch -# PATCH-FIX-SUSE 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch -Patch86: 0001-add-hdflush-for-reboot-or-hddown-for-poweroff.patch -# PATCH-FIX-UPSTREAM 0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch -- Allow sending SIGTERM to main PID only (bnc#841544) -Patch87: 0001-core-introduce-new-KillMode-mixed-which-sends-SIGTER.patch -# PATCH-FIX-UPSTREAM 0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch -- Allow using it with PAM enabled services (bnc#841544) -Patch88: 0002-service-allow-KillMode-mixed-in-conjunction-with-PAM.patch -# PATCH-FIX-UPSTREAM 0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch -- Make sure final SIGKILL actually kills everything (bnc#841544) -Patch89: 0003-core-make-sure-to-always-go-through-both-SIGTERM-and.patch -# PATCH-FIX-SUSE 0001-On_s390_con3270_disable_ANSI_colour_esc.patch -Patch90: 0001-On_s390_con3270_disable_ANSI_colour_esc.patch -# PATCH-FIX-SUSE plymouth-quit-and-wait-for-emergency-service.patch -- Make sure that no plymouthd is locking the tty -Patch91: plymouth-quit-and-wait-for-emergency-service.patch - -# udev patches -# PATCH-FIX-OPENSUSE 1001-re-enable-by_path-links-for-ata-devices.patch -Patch1001: 1001-re-enable-by_path-links-for-ata-devices.patch -# PATCH-FIX-OPENSUSE 1002-rules-create-by-id-scsi-links-for-ATA-devices.patch -Patch1002: 1002-rules-create-by-id-scsi-links-for-ATA-devices.patch -# PATCH-FIX-OPENSUSE 1003-udev-netlink-null-rules.patch -Patch1003: 1003-udev-netlink-null-rules.patch -# PATCH-FIX-OPENSUSE 1005-create-default-links-for-primary-cd_dvd-drive.patch -Patch1005: 1005-create-default-links-for-primary-cd_dvd-drive.patch -# PATCH-FIX-OPENSUSE 1006-udev-always-rename-network.patch -Patch1006: 1006-udev-always-rename-network.patch -# PATCH-FIX-OPENSUSE 1007-physical-hotplug-cpu-and-memory.patch -Patch1007: 1007-physical-hotplug-cpu-and-memory.patch -# PATCH-FIX-OPENSUSE 1008-add-msft-compability-rules.patch -Patch1008: 1008-add-msft-compability-rules.patch -# PATCH-FIX-OPENSUSE 1009-make-xsltproc-use-correct-ROFF-links.patch -- Make ROFF links working again in manual pages (bnc#842844) -Patch1009: 1009-make-xsltproc-use-correct-ROFF-links.patch -# PATCH-FIX-OPENSUSE 1010-do-not-install-sulogin-unit-with-poweroff.patch -- Avoid installing console-shell.service (bnc#849071) -Patch1010: 1010-do-not-install-sulogin-unit-with-poweroff.patch -# PATCH-FIX-OPENSUSE 1011-check-4-valid-kmsg-device.patch -- Avoid busy systemd-journald (bnc#851393) -Patch1011: 1011-check-4-valid-kmsg-device.patch -# PATCH-FIX-UPSTREAM 1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch -Patch1012: 1012-pam_systemd_do_override_XDG_RUNTIME_DIR_of_the_original_user.patch -# PATCH-FIX-UPSTREAM U_logind_revert_lazy_session_activation_on_non_vt_seats.patch -Patch1013: U_logind_revert_lazy_session_activation_on_non_vt_seats.patch -# PATCH-FIX-OPENSUSE 1014-journald-with-journaling-FS.patch -Patch1014: 1014-journald-with-journaling-FS.patch -# PATCH-FIX-UPSTREAM build-sys-make-multi-seat-x-optional.patch -Patch1015: build-sys-make-multi-seat-x-optional.patch -# PATCH-FIX-SUSE 1016-support-powerfail-with-powerstatus.patch -Patch1016: 1016-support-powerfail-with-powerstatus.patch -# PATCH-FIX-UPSTREAM 1017-skip-native-unit-handling-if-sysv-already-handled.patch -Patch1017: 1017-skip-native-unit-handling-if-sysv-already-handled.patch -# PATCH-FIX-SUSE 1018-Make-LSB-Skripts-know-about-Required-and-Should.patch -Patch1018: 1018-Make-LSB-Skripts-know-about-Required-and-Should.patch -# PATCH-FIX-SUSE 1019-make-completion-smart-to-be-able-to-redirect.patch -Patch1019: 1019-make-completion-smart-to-be-able-to-redirect.patch - -%description -Systemd is a system and service manager, compatible with SysV and LSB -init scripts for Linux. systemd provides aggressive parallelization -capabilities, uses socket and D-Bus activation for starting services, -offers on-demand starting of daemons, keeps track of processes using -Linux cgroups, supports snapshotting and restoring of the system state, -maintains mount and automount points and implements an elaborate -transactional dependency-based service control logic. It can work as a -drop-in replacement for sysvinit. - - - -%package devel -Summary: Development headers for systemd -License: LGPL-2.1+ -Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} -Requires: systemd-rpm-macros -%if 0%{?bootstrap} -Conflicts: systemd-devel -%endif - -%description devel -Development headers and auxiliary files for developing applications for systemd. - -%package sysvinit -Summary: System V init tools -License: LGPL-2.1+ -Group: System/Base -Requires: %{name} = %{version} -Provides: sbin_init -Conflicts: otherproviders(sbin_init) -Provides: sysvinit:/sbin/init - -%description sysvinit -Drop-in replacement of System V init tools. - -%package -n %{udevpkgname} -Summary: A rule-based device node and kernel event manager -License: GPL-2.0 -Group: System/Kernel -Url: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html -PreReq: /bin/rm /usr/bin/stat %insserv_prereq %fillup_prereq /usr/sbin/groupadd /usr/bin/getent /sbin/mkinitrd /usr/bin/sg_inq -Requires(post): lib%{udevpkgname}%{udev_major} -Conflicts: systemd < 39 -Conflicts: aaa_base < 11.5 -Conflicts: filesystem < 11.5 -Conflicts: mkinitrd < 2.7.0 -Conflicts: util-linux < 2.16 -Conflicts: ConsoleKit < 0.4.1 -Requires: filesystem -%if 0%{?bootstrap} -Provides: udev = %{version} -Conflicts: libudev%{udev_major} -Conflicts: udev -%endif - -%description -n %{udevpkgname} -Udev creates and removes device nodes in /dev for devices discovered or -removed from the system. It receives events via kernel netlink messages -and dispatches them according to rules in /lib/udev/rules.d/. Matching -rules may name a device node, create additional symlinks to the node, -call tools to initialize a device, or load needed kernel modules. - - - -%package -n lib%{udevpkgname}%{udev_major} -Summary: Dynamic library to access udev device information -License: LGPL-2.1+ -Group: System/Libraries -Requires: %{udevpkgname} >= %{version}-%{release} -%if 0%{?bootstrap} -Conflicts: libudev%{udev_major} -Conflicts: kiwi -%endif - -%description -n lib%{udevpkgname}%{udev_major} -This package contains the dynamic library libudev, which provides -access to udev device information - -%package -n lib%{udevpkgname}-devel -Summary: Development files for libudev -License: LGPL-2.1+ -Group: Development/Libraries/Other -Requires: lib%{udevpkgname}%{udev_major} = %{version}-%{release} -%if 0%{?bootstrap} -Provides: libudev-devel = %{version} -Conflicts: libudev%{udev_major} = %{version} -Conflicts: libudev-devel -%endif - -%description -n lib%{udevpkgname}-devel -This package contains the development files for the library libudev, a -dynamic library, which provides access to udev device information. - -%if ! 0%{?bootstrap} -%package -n libgudev-1_0-0 -Summary: GObject library, to access udev device information -License: LGPL-2.1+ -Group: System/Libraries -Requires: lib%{udevpkgname}%{udev_major} = %{version}-%{release} - -%description -n libgudev-1_0-0 -This package contains the GObject library libgudev, which provides -access to udev device information. - -%package -n typelib-1_0-GUdev-1_0 -Summary: GObject library, to access udev device information -- Introspection bindings -License: LGPL-2.1+ -Group: System/Libraries - -%description -n typelib-1_0-GUdev-1_0 -This package provides the GObject Introspection bindings for libgudev, which -provides access to udev device information. - -%package -n libgudev-1_0-devel -Summary: Devel package for libgudev -License: LGPL-2.1+ -Group: Development/Libraries/Other -Requires: glib2-devel -Requires: libgudev-1_0-0 = %{version}-%{release} -Requires: libudev-devel = %{version}-%{release} -Requires: typelib-1_0-GUdev-1_0 = %{version}-%{release} - -%description -n libgudev-1_0-devel -This is the devel package for the GObject library libgudev, which -provides GObject access to udev device information. - -%package logger -Summary: Journal only logging -License: LGPL-2.1+ -Group: System/Base -Provides: syslog -Provides: sysvinit(syslog) -Conflicts: otherproviders(syslog) - -%description logger -This package marks the installation to not use syslog but only the journal. - -%package -n nss-myhostname -Summary: Plugin for local system host name resolution -License: LGPL-2.1+ -Group: System/Libraries - -%description -n nss-myhostname -nss-myhostname is a plugin for the GNU Name Service Switch (NSS) -functionality of the GNU C Library (glibc) providing host name -resolution for the locally configured system hostname as returned by -gethostname(2). Various software relies on an always resolvable local -host name. When using dynamic hostnames this is usually achieved by -patching /etc/hosts at the same time as changing the host name. This -however is not ideal since it requires a writable /etc file system and -is fragile because the file might be edited by the administrator at -the same time. nss-myhostname simply returns all locally -configured public IP addresses, or -- if none are configured -- -the IPv4 address 127.0.0.2 (wich is on the local loopback) and the -IPv6 address ::1 (which is the local host) for whatever system -hostname is configured locally. Patching /etc/hosts is thus no -longer necessary. - -Note that nss-myhostname only provides a workaround for broken -software. If nss-myhostname is trigged by an application a message -is logged to /var/log/messages. Please check whether that's worth -a bug report then. -This package marks the installation to not use syslog but only the journal. - -%package journal-gateway -Summary: Gateway for serving journal events over the network using HTTP -License: LGPL-2.1+ -Group: System/Base -Requires: %{name} = %{version}-%{release} -Requires(post): systemd -Requires(preun): systemd -Requires(postun): systemd - -%description journal-gateway -systemd-journal-gatewayd serves journal events over the network using HTTP. - -%endif - -%prep -%setup -q -n systemd-%{version} -echo "Checking whether upstream rpm macros changed..." -[ -z "`diff -Naru "%{S:10}" src/core/macros.systemd.in`" ] || exit 1 - -# only needed for bootstrap -%if 0%{?bootstrap} -cp %{SOURCE7} m4/ -%endif - -# systemd patches -%patch0 -p1 -%patch1 -p1 -%patch3 -p1 -# don't apply when bootstrapping to not modify configure.in -%if ! 0%{?bootstrap} -%patch4 -p1 -%endif -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch11 -p1 -%patch12 -p1 -%patch13 -p1 -%patch14 -p1 -%patch15 -p1 -%patch16 -p1 -%patch17 -p1 -%patch18 -p1 -%patch20 -p1 -%patch21 -p1 -%patch22 -p1 -%patch23 -p1 -%patch24 -p1 -%patch25 -p1 -%patch27 -p1 -%patch37 -p1 -%ifarch %arm -%patch38 -p1 -%endif -%patch39 -p1 -%patch40 -p1 -%patch41 -p1 -%patch42 -p1 -%patch46 -p1 -%patch47 -p1 -%patch48 -p1 -%patch49 -p1 -%patch50 -p1 -%patch51 -p1 -%patch52 -p1 -%patch53 -p1 -%patch54 -p1 -%patch55 -p1 -%patch56 -p1 -%patch57 -p1 -%patch58 -p1 -%patch59 -p1 -%patch60 -p1 -%patch61 -p1 -%patch62 -p1 -%patch63 -p1 -%patch64 -p1 -%patch65 -p1 -%patch66 -p1 -%patch67 -p1 -%patch68 -p1 -%patch69 -p1 -%patch70 -p1 -%patch71 -p1 -%patch72 -p1 -%patch73 -p1 -%patch74 -p1 -%patch75 -p1 -%patch76 -p1 -%patch77 -p1 -%patch78 -p1 -%patch79 -p1 -%patch80 -p1 -%patch81 -p1 -%patch82 -p1 -%patch83 -p1 -%patch84 -p1 -%patch85 -p1 -%patch86 -p1 -%patch87 -p1 -%patch88 -p1 -%patch89 -p1 -%patch90 -p1 -%patch91 -p1 - -# udev patches -%patch1001 -p1 -%patch1002 -p1 -%patch1003 -p1 -%patch1005 -p1 -%patch1006 -p1 -# don't apply when bootstrapping to not modify Makefile.am -%if ! 0%{?bootstrap} -%patch1007 -p1 -%patch1008 -p1 -%endif -%patch1009 -p1 -%patch1010 -p1 -%patch1011 -p1 -%patch1012 -p1 -%patch1013 -p1 -%patch1014 -p1 -%patch1015 -p1 -%patch1016 -p1 -%patch1017 -p1 -%patch1018 -p1 -%patch1019 -p1 - -# ensure generate files are removed -rm -f units/emergency.service - -%build -autoreconf -fiv -# prevent pre-generated and distributed files from re-building -find . -name "*.[1-8]" -exec touch '{}' '+'; -export V=1 -# keep split-usr until all packages have moved their systemd rules to /usr -%configure \ - --docdir=%{_docdir}/systemd \ - --with-pamlibdir=/%{_lib}/security \ -%if 0%{?bootstrap} - --disable-gudev \ - --disable-myhostname \ -%else - --enable-manpages \ - --enable-gtk-doc \ - --with-nss-my-hostname-warning \ -%endif - --enable-selinux \ - --enable-split-usr \ - --disable-static \ - --with-firmware-path="%{_prefix}/lib/firmware:/lib/firmware" \ - --with-rc-local-script-path-start=/etc/init.d/boot.local \ - --with-rc-local-script-path-stop=/etc/init.d/halt.local \ - --with-debug-shell=/bin/bash \ - --disable-smack \ - --disable-ima \ -%if 0%{?suse_version} > 1310 - --disable-multi-seat-x \ -%endif - CFLAGS="%{optflags}" -make %{?_smp_mflags} - -%install -make install DESTDIR="%buildroot" - -# move to %{_lib} -%if ! 0%{?bootstrap} -mv $RPM_BUILD_ROOT%{_libdir}/libnss_myhostname.so.2 $RPM_BUILD_ROOT/%{_lib} -%endif - -mkdir -p $RPM_BUILD_ROOT/{sbin,lib,bin} -ln -sf %{_bindir}/udevadm $RPM_BUILD_ROOT/sbin/udevadm -ln -sf %{_bindir}/systemd-ask-password $RPM_BUILD_ROOT/bin/systemd-ask-password -ln -sf %{_bindir}/systemctl $RPM_BUILD_ROOT/bin/systemctl -ln -sf %{_prefix}/lib/systemd/systemd-udevd $RPM_BUILD_ROOT/sbin/udevd -%if ! 0%{?bootstrap} -ln -sf systemd-udevd.8 $RPM_BUILD_ROOT/%{_mandir}/man8/udevd.8 -%endif -ln -sf /lib/firmware $RPM_BUILD_ROOT/usr/lib/firmware -%if ! 0%{?bootstrap} -install -m755 -D %{S:8} $RPM_BUILD_ROOT/etc/init.d/systemd-journald -install -D -m 755 %{S:9} %{buildroot}%{_sbindir}/nss-myhostname-config -%endif - -sed -ie "s|@@PREFIX@@|%{_prefix}/lib/udev|g" %{S:1060} -sed -ie "s|@@SYSTEMD@@|%{_prefix}/lib/systemd|g" %{S:1060} -sed -ie "s|@@BINDIR@@|%{_bindir}|g" %{S:1060} -install -m755 -D %{S:1060} $RPM_BUILD_ROOT/etc/init.d/boot.udev -ln -s systemd-udevd.service $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/udev.service -sed -ie "s|@@PREFIX@@|%{_bindir}|g" %{S:1061} -install -m755 -D %{S:1061} $RPM_BUILD_ROOT/%{_prefix}/lib/udev/write_dev_root_rule -sed -ie "s|@@PREFIX@@|%{_prefix}/lib/udev|g" %{S:1062} -install -m644 -D %{S:1062} $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/systemd-udev-root-symlink.service -mkdir -p $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/basic.target.wants -ln -sf ../systemd-udev-root-symlink.service $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/basic.target.wants -rm -rf %{buildroot}%{_sysconfdir}/rpm -find %{buildroot} -type f -name '*.la' -delete -mkdir -p %{buildroot}/{sbin,var/lib/systemd/sysv-convert,var/lib/systemd/migrated} %{buildroot}/usr/lib/systemd/{system-generators,user-generators,system-preset,user-preset,system/halt.target.wants,system/kexec.target.wants,system/poweroff.target.wants,system/reboot.target.wants,system/shutdown.target.wants} - -install -m755 %{S:3} -D %{buildroot}%{_sbindir}/systemd-sysv-convert -ln -s ../usr/lib/systemd/systemd %{buildroot}/bin/systemd -ln -s ../usr/lib/systemd/systemd %{buildroot}/sbin/init -ln -s ../usr/bin/systemctl %{buildroot}/sbin/reboot -ln -s ../usr/bin/systemctl %{buildroot}/sbin/halt -ln -s ../usr/bin/systemctl %{buildroot}/sbin/shutdown -ln -s ../usr/bin/systemctl %{buildroot}/sbin/poweroff -ln -s ../usr/bin/systemctl %{buildroot}/sbin/telinit -ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel -rm -rf %{buildroot}/etc/systemd/system/*.target.wants -rm -f %{buildroot}/etc/systemd/system/default.target -# aliases for /etc/init.d/* -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/cgroup.service -ln -s systemd-tmpfiles-setup.service %{buildroot}/%{_prefix}/lib/systemd/system/cleanup.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/clock.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/crypto.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/crypto-early.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/device-mapper.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/earlysyslog.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/kbd.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/ldconfig.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/loadmodules.service -install -m644 %{S:2} %{buildroot}/%{_prefix}/lib/systemd/system/localfs.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/localnet.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/proc.service -ln -s systemd-fsck-root.service %{buildroot}/%{_prefix}/lib/systemd/system/rootfsck.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/single.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/swap.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/startpreload.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/stoppreload.service -ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/earlyxdm.service -ln -s systemd-sysctl.service %{buildroot}/%{_prefix}/lib/systemd/system/sysctl.service -ln -s systemd-random-seed.service %{buildroot}/%{_prefix}/lib/systemd/system/random.service -# don't mount /tmp as tmpfs for now -rm %{buildroot}/%{_prefix}/lib/systemd/system/local-fs.target.wants/tmp.mount - -# don't enable wall ask password service, it spams every console (bnc#747783) -rm %{buildroot}%{_prefix}/lib/systemd/system/multi-user.target.wants/systemd-ask-password-wall.path - -# create %{_libexecdir}/modules-load.d -mkdir -p %{buildroot}%{_libexecdir}/modules-load.d -cat << EOF > %{buildroot}%{_libexecdir}/modules-load.d/sg.conf -# load sg module at boot time -sg -EOF - -# To avoid making life hard for Factory developers, don't package the -# kernel.core_pattern setting until systemd-coredump is a part of an actual -# systemd release and it's made clear how to get the core dumps out of the -# journal. -rm -f %{buildroot}%{_prefix}/lib/sysctl.d/50-coredump.conf - -# do not ship sysctl defaults in systemd package, will be part of -# aaa_base (in procps for now) -rm -f %{buildroot}%{_prefix}/lib/sysctl.d/50-default.conf - -# remove README file for now -rm -f %{buildroot}/etc/init.d/README -%if 0%{?bootstrap} -rm -f %{buildroot}/var/log/README -%endif - -# legacy links -for f in loginctl journalctl ; do - ln -s $f %{buildroot}%{_bindir}/systemd-$f -%if ! 0%{?bootstrap} - ln -s $f.1 %{buildroot}%{_mandir}/man1/systemd-$f.1 -%endif -done -ln -s /usr/lib/udev %{buildroot}/lib/udev - -# Create the /var/log/journal directory to change the volatile journal to a persistent one -mkdir -p %{buildroot}/var/log/journal - -# Make sure directories in /var exist -mkdir -p %{buildroot}/var/lib/systemd/coredump -mkdir -p %{buildroot}/var/lib/systemd/catalog -#create ghost databases -touch %{buildroot}/var/lib/systemd/catalog/database -touch %{buildroot}%{_sysconfdir}/udev/hwdb.bin - -# Make sure the NTP units dir exists -mkdir -p %{buildroot}%{_prefix}/lib/systemd/ntp-units.d/ - -# Make sure the shutdown/sleep drop-in dirs exist -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-shutdown/ -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system-sleep/ - -# Make sure these directories are properly owned -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/default.target.wants -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/dbus.target.wants - -# create drop-in to prevent tty1 to be cleared (bnc#804158) -mkdir -p %{buildroot}%{_prefix}/lib/systemd/system/getty@tty1.service.d/ -cat << EOF > %{buildroot}%{_prefix}/lib/systemd/system/getty@tty1.service.d/noclear.conf -[Service] -# ensure tty1 isn't cleared (bnc#804158) -TTYVTDisallocate=no -EOF - -# ensure after.local wrapper is called -install -m 644 %{S:11} %{buildroot}/%{_prefix}/lib/systemd/system/ -ln -s ../after-local.service %{buildroot}/%{_prefix}/lib/systemd/system/multi-user.target.wants/ - -# support for SIGPWR handling with /var/run/powerstatus of e.g. powerd -install -m 755 %{S:12} %{buildroot}/%{_prefix}/lib/systemd/ -install -m 644 units/powerfail.service %{buildroot}/%{_prefix}/lib/systemd/system/ -%if ! 0%{?bootstrap} -install -m 644 man/systemd-powerfail.service.8 %{buildroot}/%{_mandir}/man8/ -%endif - -# clean out some completions which requires bash-completion package -%if %{without bash_completion} -for c in %{buildroot}/%{_datadir}/bash-completion/completions/* -do - test -e "$c" || continue - grep -q _init_completion "$c" || continue - rm -vf "$c" -done -%endif - -%fdupes -s %{buildroot}%{_mandir} - -# packaged in systemd-rpm-macros -rm -f %{buildroot}/%{_prefix}/lib/rpm/macros.d/macros.systemd - -%pre -getent group systemd-journal >/dev/null || groupadd -r systemd-journal || : -exit 0 - -%post -%if ! 0%{?bootstrap} -/usr/sbin/pam-config -a --systemd || : -%endif -/sbin/ldconfig -[ -e /var/lib/random-seed ] && mv /var/lib/random-seed /var/lib/systemd/ > /dev/null || : -/usr/bin/systemd-machine-id-setup >/dev/null 2>&1 || : -/usr/lib/systemd/systemd-random-seed save >/dev/null 2>&1 || : -/usr/bin/systemctl daemon-reexec >/dev/null 2>&1 || : -/usr/bin/journalctl --update-catalog >/dev/null 2>&1 || : -# Make sure new journal files -chgrp systemd-journal /var/log/journal/ /var/log/journal/`cat /etc/machine-id 2> /dev/null` >/dev/null 2>&1 || : -chmod g+s /var/log/journal/ /var/log/journal/`cat /etc/machine-id 2> /dev/null` >/dev/null 2>&1 || : - -# Try to read default runlevel from the old inittab if it exists -if [ ! -e /etc/systemd/system/default.target -a -e /etc/inittab ]; then - runlevel=$(awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null) - if [ -n "$runlevel" ] ; then - /bin/ln -sf /usr/lib/systemd/system/runlevel$runlevel.target /etc/systemd/system/default.target 2>&1 || : - fi -fi -# Create default config in /etc at first install. -# Later package updates should not overwrite these settings. -if [ "$1" -eq 1 ]; then - # Enable these services by default. - /usr/bin/systemctl enable \ - getty@tty1.service \ - systemd-readahead-collect.service \ - systemd-readahead-replay.service \ - remote-fs.target >/dev/null 2>&1 || : -fi - -# since v207 /etc/sysctl.conf is no longer parsed, however -# backward compatibility is provided by /etc/sysctl.d/99-sysctl.conf -if [ ! -L /etc/sysctl.d/99-sysctl.conf -a -e /etc/sysctl.conf ]; then - /bin/ln -sf /etc/sysctl.conf /etc/sysctl.d/99-sysctl.conf || : -fi - -# migrate any symlink which may refer to the old path -for f in $(find /etc/systemd/system -type l -xtype l); do - new_target="/usr$(readlink $f)" - [ -f "$new_target" ] && ln -s -f $new_target $f || : -done - -%postun -/sbin/ldconfig -if [ $1 -ge 1 ]; then - /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : - /usr/bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : -fi -%if ! 0%{?bootstrap} -if [ $1 -eq 0 ]; then - /usr/sbin/pam-config -d --systemd || : -fi -%endif - -%preun -if [ $1 -eq 0 ]; then - /usr/bin/systemctl disable \ - getty@.service \ - systemd-readahead-collect.service \ - systemd-readahead-replay.service \ - remote-fs.target >/dev/null 2>&1 || : - rm -f /etc/systemd/system/default.target 2>&1 || : -fi - -%pretrans -n %{udevpkgname} -p -if posix.stat("/lib/udev") and not posix.stat("/usr/lib/udev") then - posix.symlink("/lib/udev", "/usr/lib/udev") -end - -%pre -n %{udevpkgname} -if test -L /usr/lib/udev -a /lib/udev -ef /usr/lib/udev ; then - rm /usr/lib/udev - mv /lib/udev /usr/lib - ln -s /usr/lib/udev /lib/udev -elif [ ! -e /lib/udev ]; then - ln -s /usr/lib/udev /lib/udev -fi -# Create "tape" group which is referenced by 50-udev-default.rules and 60-persistent-storage-tape.rules -/usr/sbin/groupadd -r tape 2> /dev/null || : -# kill daemon if we are not in a chroot -if test -f /proc/1/exe -a -d /proc/1/root ; then - if test "$(stat -Lc '%%D-%%i' /)" = "$(stat -Lc '%%D-%%i' /proc/1/root)"; then - systemctl stop systemd-udevd-control.socket systemd-udevd-kernel.socket systemd-udevd.service udev.service udev-control.socket udev-kernel.socket >/dev/null 2>&1 || : - udevadm control --exit 2>&1 || : - fi -fi - -%post -n %{udevpkgname} -/usr/bin/udevadm hwdb --update >/dev/null 2>&1 || : -%{fillup_and_insserv -Y boot.udev} -# add KERNEL name match to existing persistent net rules -sed -ri '/KERNEL/ ! { s/NAME="(eth|wlan|ath)([0-9]+)"/KERNEL=="\1*", NAME="\1\2"/}' \ - /etc/udev/rules.d/70-persistent-net.rules >/dev/null 2>&1 || : -# cleanup old stuff -rm -f /etc/sysconfig/udev -rm -f /etc/udev/rules.d/20-cdrom.rules -rm -f /etc/udev/rules.d/55-cdrom.rules -rm -f /etc/udev/rules.d/65-cdrom.rules -systemctl daemon-reload >/dev/null 2>&1 || : -# start daemon if we are not in a chroot -if test -f /proc/1/exe -a -d /proc/1/root; then - if test "$(stat -Lc '%%D-%%i' /)" = "$(stat -Lc '%%D-%%i' /proc/1/root)"; then - if ! systemctl start systemd-udevd.service >/dev/null 2>&1; then - /usr/lib/systemd/systemd-udevd --daemon >/dev/null 2>&1 || : - fi - fi -fi - -if [ "${YAST_IS_RUNNING}" != "instsys" ]; then - if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then - echo "Skipping recreation of existing initial ramdisks, due" - echo "to presence of /var/lib/no_initrd_recreation_by_suspend" - elif [ -x /sbin/mkinitrd ]; then - [ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup - /sbin/mkinitrd || : - fi -fi - -%postun -n %{udevpkgname} -%insserv_cleanup -systemctl daemon-reload >/dev/null 2>&1 || : - -if [ "${YAST_IS_RUNNING}" != "instsys" ]; then - if [ -e /var/lib/no_initrd_recreation_by_suspend ]; then - echo "Skipping recreation of existing initial ramdisks, due" - echo "to presence of /var/lib/no_initrd_recreation_by_suspend" - elif [ -x /sbin/mkinitrd ]; then - [ -x /sbin/mkinitrd_setup ] && /sbin/mkinitrd_setup - /sbin/mkinitrd || : - fi -fi - -%post -n lib%{udevpkgname}%{udev_major} -p /sbin/ldconfig - -%postun -n lib%{udevpkgname}%{udev_major} -p /sbin/ldconfig - -%if ! 0%{?bootstrap} - -%post -n libgudev-1_0-0 -p /sbin/ldconfig - -%postun -n libgudev-1_0-0 -p /sbin/ldconfig - -%post logger -if [ "$1" -eq 1 ]; then -# tell journal to start logging on disk if directory didn't exist before - systemctl --no-block restart systemd-journal-flush.service >/dev/null 2>&1 || : -fi - -%preun -n nss-myhostname -if [ "$1" -eq 0 -a -f /etc/nsswitch.conf ] ; then - %{_sbindir}/nss-myhostname-config --disable -fi - -%post -n nss-myhostname -p /sbin/ldconfig - -%postun -n nss-myhostname -p /sbin/ldconfig - -%pre journal-gateway -getent passwd systemd-journal-gateway >/dev/null || useradd -r -l -g systemd-journal-gateway -d /var/log/journal -s /usr/sbin/nologin -c "Journal Gateway" systemd-journal-gateway >/dev/null 2>&1 || : -getent group systemd-journal-gateway >/dev/null || groupadd -r systemd-journal-gateway || : -%service_add_pre systemd-journal-gatewayd.socket systemd-journal-gatewayd.service -exit 0 - -%post journal-gateway -%service_add_post systemd-journal-gatewayd.socket systemd-journal-gatewayd.service - -%preun journal-gateway -%service_del_preun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service - -%postun journal-gateway -%service_del_postun systemd-journal-gatewayd.socket systemd-journal-gatewayd.service - -%endif - -%files -%defattr(-,root,root) -/bin/systemd -/bin/systemd-ask-password -/bin/systemctl -%{_bindir}/bootctl -%{_bindir}/kernel-install -%{_bindir}/hostnamectl -%{_bindir}/localectl -%{_bindir}/machinectl -%{_bindir}/systemctl -%{_bindir}/systemd-analyze -%{_bindir}/systemd-coredumpctl -%{_bindir}/systemd-delta -%{_bindir}/systemd-notify -%{_bindir}/systemd-run -%{_bindir}/systemd-journalctl -%{_bindir}/journalctl -%{_bindir}/systemd-ask-password -%{_bindir}/loginctl -%{_bindir}/systemd-loginctl -%{_bindir}/systemd-inhibit -%{_bindir}/systemd-tty-ask-password-agent -%{_bindir}/systemd-tmpfiles -%{_bindir}/systemd-machine-id-setup -%{_bindir}/systemd-nspawn -%{_bindir}/systemd-stdio-bridge -%{_bindir}/systemd-detect-virt -%{_bindir}/timedatectl -%{_sbindir}/systemd-sysv-convert -%{_libdir}/libsystemd-daemon.so.* -%{_libdir}/libsystemd-login.so.* -%{_libdir}/libsystemd-id128.so.* -%{_libdir}/libsystemd-journal.so.* -%{_bindir}/systemd-cgls -%{_bindir}/systemd-cgtop -%{_bindir}/systemd-cat -%dir %{_prefix}/lib/kernel -%dir %{_prefix}/lib/kernel/install.d -%{_prefix}/lib/kernel/install.d/50-depmod.install -%{_prefix}/lib/kernel/install.d/90-loaderentry.install -%dir %{_prefix}/lib/systemd -%dir %{_prefix}/lib/systemd/user -%dir %{_prefix}/lib/systemd/system -%exclude %{_prefix}/lib/systemd/system/systemd-udev*.* -%exclude %{_prefix}/lib/systemd/system/udev.service -%exclude %{_prefix}/lib/systemd/system/systemd-udev-root-symlink.service -%exclude %{_prefix}/lib/systemd/system/*.target.wants/systemd-udev*.* -%exclude %{_prefix}/lib/systemd/system/basic.target.wants/systemd-udev-root-symlink.service -%exclude %{_prefix}/lib/systemd/system/systemd-journal-gatewayd.* -%{_prefix}/lib/systemd/system/*.automount -%{_prefix}/lib/systemd/system/*.service -%{_prefix}/lib/systemd/system/*.slice -%{_prefix}/lib/systemd/system/*.target -%{_prefix}/lib/systemd/system/*.mount -%{_prefix}/lib/systemd/system/*.timer -%{_prefix}/lib/systemd/system/*.socket -%{_prefix}/lib/systemd/system/*.wants -%{_prefix}/lib/systemd/system/*.path -%{_prefix}/lib/systemd/user/*.target -%{_prefix}/lib/systemd/user/*.service -%exclude %{_prefix}/lib/systemd/systemd-udevd -%exclude %{_prefix}/lib/systemd/systemd-journal-gatewayd -%{_prefix}/lib/systemd/systemd-* -%{_prefix}/lib/systemd/systemd -%dir %{_prefix}/lib/systemd/catalog -%{_prefix}/lib/systemd/catalog/systemd.catalog -%dir %{_prefix}/lib/systemd/system-shutdown -%dir %{_prefix}/lib/systemd/system-shutdown -%dir %{_prefix}/lib/systemd/system-preset -%dir %{_prefix}/lib/systemd/user-preset -%dir %{_prefix}/lib/systemd/system-generators -%dir %{_prefix}/lib/systemd/user-generators -%dir %{_prefix}/lib/systemd/ntp-units.d/ -%dir %{_prefix}/lib/systemd/system-shutdown/ -%dir %{_prefix}/lib/systemd/system-sleep/ -%dir %{_prefix}/lib/systemd/system/default.target.wants -%dir %{_prefix}/lib/systemd/system/dbus.target.wants -%dir %{_prefix}/lib/systemd/system/getty@tty1.service.d -%{_prefix}/lib/systemd/system/getty@tty1.service.d/noclear.conf -%if ! 0%{?bootstrap} -%{_prefix}/lib/systemd/system-generators/systemd-cryptsetup-generator -%endif -%{_prefix}/lib/systemd/system-generators/systemd-efi-boot-generator -%{_prefix}/lib/systemd/system-generators/systemd-getty-generator -%{_prefix}/lib/systemd/system-generators/systemd-rc-local-generator -%{_prefix}/lib/systemd/system-generators/systemd-fstab-generator -%{_prefix}/lib/systemd/system-generators/systemd-system-update-generator -%{_prefix}/lib/systemd/system-generators/systemd-insserv-generator -%{_prefix}/lib/systemd/system-generators/systemd-gpt-auto-generator -/%{_lib}/security/pam_systemd.so -/etc/pam.d/systemd-user - -%dir %{_libexecdir}/modules-load.d -%dir %{_sysconfdir}/modules-load.d -%{_libexecdir}/modules-load.d/sg.conf - -%dir %{_libexecdir}/tmpfiles.d -%dir %{_sysconfdir}/tmpfiles.d -%{_libexecdir}/tmpfiles.d/*.conf - -%dir %{_libexecdir}/binfmt.d -%dir %{_sysconfdir}/binfmt.d - -%dir %{_libexecdir}/sysctl.d -%dir %{_sysconfdir}/sysctl.d - -%dir %{_sysconfdir}/systemd -%dir %{_sysconfdir}/systemd/system -%dir %{_sysconfdir}/systemd/user -%dir %{_sysconfdir}/xdg/systemd -%{_sysconfdir}/xdg/systemd/user -%config(noreplace) %{_sysconfdir}/systemd/bootchart.conf -%config(noreplace) %{_sysconfdir}/systemd/system.conf -%config(noreplace) %{_sysconfdir}/systemd/logind.conf -%config(noreplace) %{_sysconfdir}/systemd/journald.conf -%config(noreplace) %{_sysconfdir}/systemd/user.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.locale1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.login1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.machine1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.systemd1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.hostname1.conf -%config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freedesktop.timedate1.conf - -%{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml -%{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml -%{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml -%{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml -%{_datadir}/dbus-1/services/org.freedesktop.systemd1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.login1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.machine1.service -%{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service -%dir %{_datadir}/polkit-1 -%dir %{_datadir}/polkit-1/actions -%{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy -%{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy -%{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy -%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy -%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy -%exclude %{_datadir}/systemd/gatewayd -%{_datadir}/systemd - -%if ! 0%{?bootstrap} -# Packaged in sysvinit subpackage -%exclude %{_mandir}/man1/init.1* -%exclude %{_mandir}/man8/halt.8* -%exclude %{_mandir}/man8/reboot.8* -%exclude %{_mandir}/man8/shutdown.8* -%exclude %{_mandir}/man8/poweroff.8* -%exclude %{_mandir}/man8/telinit.8* -%exclude %{_mandir}/man8/runlevel.8* -%exclude %{_mandir}/man*/*udev*.[0-9]* -%exclude %{_mandir}/man8/systemd-journal-gatewayd.* -%{_mandir}/man1/*.1* -%{_mandir}/man3/*.3* -%{_mandir}/man5/*.5* -%{_mandir}/man7/*.7* -%{_mandir}/man8/*.8* -%endif -%{_docdir}/systemd -%{_prefix}/lib/udev/rules.d/70-uaccess.rules -%{_prefix}/lib/udev/rules.d/71-seat.rules -%{_prefix}/lib/udev/rules.d/73-seat-late.rules -%if ! 0%{?bootstrap} -%{_prefix}/lib/udev/rules.d/73-seat-numlock.rules -%endif -%{_prefix}/lib/udev/rules.d/99-systemd.rules -%if ! 0%{?bootstrap} -%{_prefix}/lib/udev/numlock-on -%endif -%dir %{_datadir}/bash-completion -%dir %{_datadir}/bash-completion/completions -%ghost /var/lib/systemd/catalog/database -%{_datadir}/bash-completion/completions/* -%if 0%{suse_version} < 1310 -%{_sysconfdir}/rpm/macros.systemd -%endif -%dir /var/lib/systemd -%dir /var/lib/systemd/sysv-convert -%dir /var/lib/systemd/migrated -%dir /var/lib/systemd/catalog -%ghost /var/lib/systemd/catalog/database -%dir /var/lib/systemd/coredump -%dir /usr/share/zsh -%dir /usr/share/zsh/site-functions -/usr/share/zsh/site-functions/* -%ghost /var/lib/systemd/backlight -%ghost /var/lib/systemd/random-seed - -%files devel -%defattr(-,root,root,-) -%{_libdir}/libsystemd-daemon.so -%{_libdir}/libsystemd-login.so -%{_libdir}/libsystemd-id128.so -%{_libdir}/libsystemd-journal.so -%dir %{_includedir}/systemd -%{_includedir}/systemd/sd-login.h -%{_includedir}/systemd/sd-daemon.h -%{_includedir}/systemd/sd-id128.h -%{_includedir}/systemd/sd-journal.h -%{_includedir}/systemd/sd-messages.h -%{_includedir}/systemd/sd-shutdown.h -%{_datadir}/pkgconfig/systemd.pc -%{_libdir}/pkgconfig/libsystemd-daemon.pc -%{_libdir}/pkgconfig/libsystemd-login.pc -%{_libdir}/pkgconfig/libsystemd-id128.pc -%{_libdir}/pkgconfig/libsystemd-journal.pc - -%files sysvinit -%defattr(-,root,root,-) -/sbin/init -/sbin/reboot -/sbin/halt -/sbin/shutdown -/sbin/poweroff -/sbin/telinit -/sbin/runlevel -%if ! 0%{?bootstrap} -%{_mandir}/man1/init.1* -%{_mandir}/man8/halt.8* -%{_mandir}/man8/reboot.8* -%{_mandir}/man8/shutdown.8* -%{_mandir}/man8/poweroff.8* -%{_mandir}/man8/telinit.8* -%{_mandir}/man8/runlevel.8* -%endif - -%files -n %{udevpkgname} -%defattr(-,root,root) -/sbin/udevd -/sbin/udevadm -# keep for compatibility -%ghost /lib/udev -%{_bindir}/udevadm -%{_prefix}/lib/firmware -%dir %{_prefix}/lib/udev/ -%{_prefix}/lib/udev/accelerometer -%{_prefix}/lib/udev/ata_id -%{_prefix}/lib/udev/cdrom_id -%{_prefix}/lib/udev/collect -%{_prefix}/lib/udev/mtd_probe -%{_prefix}/lib/udev/scsi_id -%{_prefix}/lib/udev/v4l_id -%{_prefix}/lib/udev/write_dev_root_rule -%dir %{_prefix}/lib/udev/rules.d/ -%exclude %{_prefix}/lib/udev/rules.d/70-uaccess.rules -%exclude %{_prefix}/lib/udev/rules.d/71-seat.rules -%exclude %{_prefix}/lib/udev/rules.d/73-seat-late.rules -%exclude %{_prefix}/lib/udev/rules.d/73-seat-numlock.rules -%exclude %{_prefix}/lib/udev/rules.d/99-systemd.rules -%{_prefix}/lib/udev/rules.d/*.rules -%dir %{_prefix}/lib/udev/hwdb.d -%{_prefix}/lib/udev/hwdb.d/* -%{_sysconfdir}/init.d/boot.udev -%dir %{_sysconfdir}/udev/ -%dir %{_sysconfdir}/udev/rules.d/ -%ghost %{_sysconfdir}/udev/hwdb.bin -%config(noreplace) %{_sysconfdir}/udev/udev.conf -%if ! 0%{?bootstrap} -%{_mandir}/man?/*udev*.[0-9]* -%endif -%dir %{_prefix}/lib/systemd/system -%{_prefix}/lib/systemd/systemd-udevd -%{_prefix}/lib/systemd/system/systemd-udev-root-symlink.service -%{_prefix}/lib/systemd/system/basic.target.wants/systemd-udev-root-symlink.service -%{_prefix}/lib/systemd/system/*udev*.service -%{_prefix}/lib/systemd/system/systemd-udevd*.socket -%dir %{_prefix}/lib/systemd/system/sysinit.target.wants -%{_prefix}/lib/systemd/system/sysinit.target.wants/systemd-udev*.service -%dir %{_prefix}/lib/systemd/system/sockets.target.wants -%{_prefix}/lib/systemd/system/sockets.target.wants/systemd-udev*.socket - -%files -n lib%{udevpkgname}%{udev_major} -%defattr(-,root,root) -%{_libdir}/libudev.so.* - -%files -n lib%{udevpkgname}-devel -%defattr(-,root,root) -%{_includedir}/libudev.h -%{_libdir}/libudev.so -%{_datadir}/pkgconfig/udev.pc -%{_libdir}/pkgconfig/libudev.pc -%if ! 0%{?bootstrap} -%dir %{_datadir}/gtk-doc -%dir %{_datadir}/gtk-doc/html -%dir %{_datadir}/gtk-doc/html/libudev -%{_datadir}/gtk-doc/html/libudev/* -%endif - -%if ! 0%{?bootstrap} -%files -n libgudev-1_0-0 -%defattr(-,root,root) -%{_libdir}/libgudev-1.0.so.* - -%files -n typelib-1_0-GUdev-1_0 -%defattr(-,root,root) -%{_libdir}/girepository-1.0/GUdev-1.0.typelib - -%files -n libgudev-1_0-devel -%defattr(-,root,root) -%dir %{_includedir}/gudev-1.0 -%dir %{_includedir}/gudev-1.0/gudev -%{_includedir}/gudev-1.0/gudev/*.h -%{_libdir}/libgudev-1.0.so -%{_libdir}/pkgconfig/gudev-1.0.pc -%dir %{_datadir}/gtk-doc -%dir %{_datadir}/gtk-doc/html -%dir %{_datadir}/gtk-doc/html/gudev -%{_datadir}/gtk-doc/html/gudev/* -%{_datadir}/gir-1.0/GUdev-1.0.gir - -%files logger -%defattr(-,root,root) -%dir /var/log/journal -/var/log/README -/etc/init.d/systemd-journald - -%files -n nss-myhostname -%defattr(-, root, root) -%{_sbindir}/nss-myhostname-config -/%{_lib}/*nss_myhostname* - -%files journal-gateway -%defattr(-, root, root) -%{_prefix}/lib/systemd/system/systemd-journal-gatewayd.* -%{_prefix}/lib/systemd/systemd-journal-gatewayd -%{_mandir}/man8/systemd-journal-gatewayd.* -%{_datadir}/systemd/gatewayd -%endif - -%changelog diff --git a/timedate-add-support-for-openSUSE-version-of-etc-sysconfig.patch b/timedate-add-support-for-openSUSE-version-of-etc-sysconfig.patch deleted file mode 100644 index f688f40..0000000 --- a/timedate-add-support-for-openSUSE-version-of-etc-sysconfig.patch +++ /dev/null @@ -1,24 +0,0 @@ -From: Frederic Crozat -Date: Tue, 14 Aug 2012 14:26:16 +0200 -Subject: timedate: add support for openSUSE version of /etc/sysconfig/clock - ---- - src/timedate/timedated.c | 7 +++++++ - 1 file changed, 7 insertions(+) - ---- systemd-206_git201308300826.orig/src/timedate/timedated.c -+++ systemd-206_git201308300826/src/timedate/timedated.c -@@ -182,6 +182,13 @@ static int read_data(void) { - goto have_timezone; - } - } -+#ifdef HAVE_SYSV_COMPAT -+ r = parse_env_file("/etc/sysconfig/clock", NEWLINE, -+ "TIMEZONE", &tz.zone, -+ NULL); -+ if (r < 0 && r != -ENOENT) -+ log_warning("Failed to read /etc/sysconfig/clock: %s", strerror(-r)); -+#endif - - have_timezone: - if (isempty(tz.zone)) { diff --git a/use-usr-sbin-sulogin-for-emergency-service.patch b/use-usr-sbin-sulogin-for-emergency-service.patch deleted file mode 100644 index e29f4b2..0000000 --- a/use-usr-sbin-sulogin-for-emergency-service.patch +++ /dev/null @@ -1,44 +0,0 @@ -From: Andrey Borzenkov -Subject: use /usr/sbin/sulogin in emergency service - -In current Factory sulogin is in /usr/sbin which makes it impossible -to enter emergency service. -Index: systemd-207/units/emergency.service.in -=================================================================== ---- systemd-207.orig/units/emergency.service.in -+++ systemd-207/units/emergency.service.in -@@ -17,7 +17,7 @@ Environment=HOME=/root - WorkingDirectory=/root - ExecStartPre=-/bin/plymouth quit - ExecStartPre=-/bin/echo -e 'Welcome to emergency mode! After logging in, type "journalctl -xb" to view\\nsystem logs, "systemctl reboot" to reboot, "systemctl default" to try again\\nto boot into default mode.' --ExecStart=-/sbin/sulogin -+ExecStart=-/usr/sbin/sulogin - ExecStopPost=@SYSTEMCTL@ --fail --no-block default - Type=idle - StandardInput=tty-force -Index: systemd-207/units/console-shell.service.m4.in -=================================================================== ---- systemd-207.orig/units/console-shell.service.m4.in -+++ systemd-207/units/console-shell.service.m4.in -@@ -17,7 +17,7 @@ Before=getty.target - [Service] - Environment=HOME=/root - WorkingDirectory=/root --ExecStart=-/sbin/sulogin -+ExecStart=-/usr/sbin/sulogin - ExecStopPost=-@SYSTEMCTL@ poweroff - Type=idle - StandardInput=tty-force -Index: systemd-207/units/rescue.service.m4.in -=================================================================== ---- systemd-207.orig/units/rescue.service.m4.in -+++ systemd-207/units/rescue.service.m4.in -@@ -18,7 +18,7 @@ Environment=HOME=/root - WorkingDirectory=/root - ExecStartPre=-/bin/plymouth quit - ExecStartPre=-/bin/echo -e 'Welcome to rescue mode! Type "systemctl default" or ^D to enter default mode.\\nType "journalctl -xb" to view system logs. Type "systemctl reboot" to reboot.' --ExecStart=-/sbin/sulogin -+ExecStart=-/usr/sbin/sulogin - ExecStopPost=-@SYSTEMCTL@ --fail --no-block default - Type=idle - StandardInput=tty-force diff --git a/write_dev_root_rule b/write_dev_root_rule deleted file mode 100644 index 5011aa3..0000000 --- a/write_dev_root_rule +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -eval $(@@PREFIX@@/udevadm info --export --export-prefix=ROOT_ --device-id-of-file=/) - -[ "$ROOT_MAJOR" -gt 0 ] || return -mkdir -m 0755 -p /run/udev/rules.d >/dev/null 2>&1 -ln -sf /run/udev /dev/.udev 2>/dev/null || : - -echo "ACTION==\"add|change\", SUBSYSTEM==\"block\", \ -ENV{MAJOR}==\"$ROOT_MAJOR\", ENV{MINOR}==\"$ROOT_MINOR\", \ -SYMLINK+=\"root\"" > /run/udev/rules.d/10-root-symlink.rules - -exit 0