bce1e71274
Accepting request 245703 from home:elvigia:branches:Base:System
...
- man pages from section 3 are developer docs, move them to
the -devel package.
- man pages from section 3 are developer docs, move them to
the -devel package.
OBS-URL: https://build.opensuse.org/request/show/245703
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=753
2014-08-22 12:45:12 +00:00
Dr. Werner Fink
d81f8ac2f6
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=752
2014-08-20 15:07:31 +00:00
Dr. Werner Fink
457fa2282a
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=751
2014-08-18 14:41:57 +00:00
Robert Milasan
45c7173131
Accepting request 243962 from home:rmilasan:branches:Base:System
...
- Set default permissions for GenWQE device nodes to 0666 (bnc#890977).
Add 1062-rules-set-default-permissions-for-GenWQE-devices.patch
- Set default permissions for GenWQE device nodes to 0666 (bnc#890977).
Add 1062-rules-set-default-permissions-for-GenWQE-devices.patch
OBS-URL: https://build.opensuse.org/request/show/243962
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=749
2014-08-08 12:55:43 +00:00
Dr. Werner Fink
b549283dbc
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=747
2014-08-01 10:14:21 +00:00
Robert Milasan
3a3b424a5d
Accepting request 243102 from home:rmilasan:branches:Base:System
...
- Rename:
udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
to
1060-udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
- Rename:
udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
to
1060-udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
OBS-URL: https://build.opensuse.org/request/show/243102
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=745
2014-07-31 07:57:12 +00:00
Dr. Werner Fink
8e9b187542
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=744
2014-07-31 07:48:41 +00:00
Dr. Werner Fink
34a6759c99
Accepting request 243083 from home:jeff_mahoney:branches:Base:System
...
- udev: use device mapper target name for btrfs device ready (bnc#888215).
- Add udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
- udev: use device mapper target name for btrfs device ready (bnc#888215).
- Add udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
OBS-URL: https://build.opensuse.org/request/show/243083
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=743
2014-07-31 06:53:04 +00:00
Dr. Werner Fink
86eff7bc2d
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=742
2014-07-30 12:54:29 +00:00
Dr. Werner Fink
735f24ac09
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=739
2014-07-30 12:17:21 +00:00
Dr. Werner Fink
a5d6a2c816
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=737
2014-07-28 10:29:17 +00:00
Dr. Werner Fink
d49e8fadad
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=736
2014-07-28 10:21:09 +00:00
Dr. Werner Fink
e412253e18
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=734
2014-07-25 11:38:51 +00:00
Dr. Werner Fink
f561ea2325
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=732
2014-07-25 11:07:45 +00:00
Dr. Werner Fink
fd58d4a8d3
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=731
2014-07-25 10:06:14 +00:00
Dr. Werner Fink
9ca9cee421
Accepting request 242209 from home:fcrozat:branches:Base:System
...
- Update
handle-disable_caplock-and-compose_table-and-kbd_rate.patch,
handle-numlock-value-in-etc-sysconfig-keyboard.patch: read
/etc/vconsole.conf after /etc/sysconfig/(keyboard,console)
otherwise empty value in /etc/sysconfig/keyboard might override
/etc/vconsole.conf values.
- Update :
0001-journal-compress-return-early-in-uncompress_startswi.patch
0002-util-don-t-consider-tabs-special-in-string_has_cc-an.patch
0002-vconsole-setup-run-setfont-before-loadkeys.patch
0003-core-never-consider-failure-when-reading-drop-ins-fa.patch
0003-fsck-consider-a-fsck-implementation-linked-to-bin-tr.patch
apply-ACL-for-nvidia-device-nodes.patch
keep-crypt-password-prompt.patch
log-target-null-instead-kmsg.patch
parse-crypttab-for-noauto-option.patch
set-and-use-default-logconsole.patch: fix all warnings in code
- Remove 0001-compress-fix-return-value.patch: not relevant to
systemd v210 code.
old: Base:System/systemd
new: home:fcrozat:branches:Base:System/systemd rev None
Index: 0001-core-close-socket-fds-asynchronously.patch
===================================================================
--- 0001-core-close-socket-fds-asynchronously.patch (revision 729)
+++ 0001-core-close-socket-fds-asynchronously.patch (revision 3)
@@ -9,8 +9,10 @@
src/core/service.c | 5 +++--
2 files changed, 27 insertions(+), 2 deletions(-)
---- src/core/service.c
-+++ src/core/service.c 2014-05-16 11:41:50.150735247 +0000
+Index: src/core/service.c
+===================================================================
+--- src/core/service.c.orig
++++ src/core/service.c
@@ -25,6 +25,7 @@
#include <unistd.h>
#include <sys/reboot.h>
@@ -37,8 +39,10 @@
s->socket_fd = fdset_remove(fds, fd);
}
} else if (streq(key, "main-exec-status-pid")) {
---- src/core/async.c
-+++ src/core/async.c 2014-05-07 09:40:35.000000000 +0000
+Index: src/core/async.c
+===================================================================
+--- src/core/async.c.orig
++++ src/core/async.c
@@ -24,6 +24,7 @@
#include "async.h"
@@ -74,3 +78,12 @@
+
+ return -1;
+}
+Index: src/core/async.h
+===================================================================
+--- src/core/async.h.orig
++++ src/core/async.h
+@@ -23,3 +23,4 @@
+
+ int asynchronous_job(void* (*func)(void *p), void *arg);
+ int asynchronous_sync(void);
++int asynchronous_close(int fd);
Index: 0001-journal-compress-return-early-in-uncompress_startswi.patch
===================================================================
--- 0001-journal-compress-return-early-in-uncompress_startswi.patch (revision 729)
+++ 0001-journal-compress-return-early-in-uncompress_startswi.patch (revision 3)
@@ -11,9 +11,19 @@
src/journal/compress.c | 91 ++++++++++++++-----------------------------------
1 file changed, 27 insertions(+), 64 deletions(-)
---- src/journal/compress.c
-+++ src/journal/compress.c 2014-07-09 00:00:00.000000000 +0000
-@@ -69,10 +69,9 @@ fail:
+Index: src/journal/compress.c
+===================================================================
+--- src/journal/compress.c.orig
++++ src/journal/compress.c
+@@ -25,6 +25,7 @@
+ #include <lzma.h>
+
+ #include "macro.h"
++#include "util.h"
+ #include "compress.h"
+
+ bool compress_blob(const void *src, uint64_t src_size, void *dst, uint64_t *dst_size) {
+@@ -69,10 +70,9 @@ fail:
bool uncompress_blob(const void *src, uint64_t src_size,
void **dst, uint64_t *dst_alloc_size, uint64_t* dst_size, uint64_t dst_max) {
@@ -25,7 +35,7 @@
assert(src);
assert(src_size > 0);
-@@ -85,26 +84,18 @@ bool uncompress_blob(const void *src, ui
+@@ -85,26 +85,18 @@ bool uncompress_blob(const void *src, ui
if (ret != LZMA_OK)
return false;
@@ -40,7 +50,7 @@
- *dst_alloc_size = src_size*2;
- }
+ space = MIN(src_size * 2, dst_max ?: (uint64_t) -1);
-+ if (!greedy_realloc(dst, dst_alloc_size, space, 1))
++ if (!greedy_realloc(dst, dst_alloc_size, space))
+ return false;
s.next_in = src;
@@ -56,7 +66,7 @@
ret = lzma_code(&s, LZMA_FINISH);
-@@ -112,31 +103,25 @@ bool uncompress_blob(const void *src, ui
+@@ -112,31 +104,25 @@ bool uncompress_blob(const void *src, ui
break;
if (ret != LZMA_OK)
@@ -78,7 +88,7 @@
- space *= 2;
+ used = space - s.avail_out;
+ space = MIN(2 * space, dst_max ?: (uint64_t) -1);
-+ if (!greedy_realloc(dst, dst_alloc_size, space, 1))
++ if (!greedy_realloc(dst, dst_alloc_size, space))
+ return false;
- *dst = p;
@@ -98,7 +108,7 @@
}
bool uncompress_startswith(const void *src, uint64_t src_size,
-@@ -144,9 +129,8 @@ bool uncompress_startswith(const void *s
+@@ -144,9 +130,8 @@ bool uncompress_startswith(const void *s
const void *prefix, uint64_t prefix_len,
uint8_t extra) {
@@ -109,7 +119,7 @@
/* Checks whether the uncompressed blob starts with the
* mentioned prefix. The byte extra needs to follow the
-@@ -163,16 +147,8 @@ bool uncompress_startswith(const void *s
+@@ -163,16 +148,8 @@ bool uncompress_startswith(const void *s
if (ret != LZMA_OK)
return false;
@@ -123,12 +133,12 @@
- *buffer = p;
- *buffer_size = prefix_len*2;
- }
-+ if (!(greedy_realloc(buffer, buffer_size, prefix_len + 1, 1)))
++ if (!(greedy_realloc(buffer, buffer_size, prefix_len + 1)))
+ return false;
s.next_in = src;
s.avail_in = src_size;
-@@ -181,36 +157,23 @@ bool uncompress_startswith(const void *s
+@@ -181,36 +158,23 @@ bool uncompress_startswith(const void *s
s.avail_out = *buffer_size;
for (;;) {
@@ -167,7 +177,7 @@
-
-fail:
- lzma_end(&s);
-+ if (!(greedy_realloc(buffer, buffer_size, *buffer_size * 2, 1)))
++ if (!(greedy_realloc(buffer, buffer_size, *buffer_size * 2)))
+ return false;
- return b;
Index: 0002-util-don-t-consider-tabs-special-in-string_has_cc-an.patch
===================================================================
--- 0002-util-don-t-consider-tabs-special-in-string_has_cc-an.patch (revision 729)
+++ 0002-util-don-t-consider-tabs-special-in-string_has_cc-an.patch (revision 3)
@@ -12,11 +12,11 @@
src/shared/util.h | 5 +++--
5 files changed, 18 insertions(+), 15 deletions(-)
-diff --git src/hostname/hostnamed.c src/hostname/hostnamed.c
-index 14629dd..514554d 100644
---- src/hostname/hostnamed.c
+Index: src/hostname/hostnamed.c
+===================================================================
+--- src/hostname/hostnamed.c.orig
+++ src/hostname/hostnamed.c
-@@ -550,8 +550,7 @@ static int set_machine_info(Context *c, sd_bus *bus, sd_bus_message *m, int prop
+@@ -507,8 +507,7 @@ static int set_machine_info(Context *c,
if (prop == PROP_ICON_NAME && !filename_is_safe(name))
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid icon name '%s'", name);
@@ -26,9 +26,9 @@
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid pretty host name '%s'", name);
if (prop == PROP_CHASSIS && !valid_chassis(name))
return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid chassis '%s'", name);
-diff --git src/shared/env-util.c src/shared/env-util.c
-index b2e4553..20b208f 100644
---- src/shared/env-util.c
+Index: src/shared/env-util.c
+===================================================================
+--- src/shared/env-util.c.orig
+++ src/shared/env-util.c
@@ -78,7 +78,9 @@ bool env_value_is_valid(const char *e) {
if (!utf8_is_valid(e))
@@ -41,11 +41,11 @@
return false;
/* POSIX says the overall size of the environment block cannot
-diff --git src/shared/fileio.c src/shared/fileio.c
-index fb1c1bc..b1de590 100644
---- src/shared/fileio.c
+Index: src/shared/fileio.c
+===================================================================
+--- src/shared/fileio.c.orig
+++ src/shared/fileio.c
-@@ -738,7 +738,7 @@ static void write_env_var(FILE *f, const char *v) {
+@@ -658,7 +658,7 @@ static void write_env_var(FILE *f, const
p++;
fwrite(v, 1, p-v, f);
@@ -54,11 +54,11 @@
fputc('\"', f);
for (; *p; p++) {
-diff --git src/shared/util.c src/shared/util.c
-index d25ee66..d223ecf 100644
---- src/shared/util.c
+Index: src/shared/util.c
+===================================================================
+--- src/shared/util.c.orig
+++ src/shared/util.c
-@@ -5350,16 +5350,14 @@ bool filename_is_safe(const char *p) {
+@@ -5466,16 +5466,14 @@ bool filename_is_safe(const char *p) {
bool string_is_safe(const char *p) {
const char *t;
@@ -78,7 +78,7 @@
return false;
}
-@@ -5367,16 +5365,19 @@ bool string_is_safe(const char *p) {
+@@ -5483,16 +5481,19 @@ bool string_is_safe(const char *p) {
}
/**
@@ -102,21 +102,11 @@
return true;
if (*t == 127)
-diff --git src/shared/util.h src/shared/util.h
-index e23069c..8544940 100644
---- src/shared/util.h
+Index: src/shared/util.h
+===================================================================
+--- src/shared/util.h.orig
+++ src/shared/util.h
-@@ -382,7 +382,8 @@ bool fstype_is_network(const char *fstype);
- int chvt(int vt);
-
- int read_one_char(FILE *f, char *ret, usec_t timeout, bool *need_nl);
--int ask(char *ret, const char *replies, const char *text, ...) _printf_(3, 4);
-+int ask_char(char *ret, const char *replies, const char *text, ...) _printf_(3, 4);
-+int ask_string(char **ret, const char *text, ...) _printf_(2, 3);
-
- int reset_terminal_fd(int fd, bool switch_to_text);
- int reset_terminal(const char *name);
-@@ -692,7 +693,7 @@ _alloc_(2, 3) static inline void *memdup_multiply(const void *p, size_t a, size_
+@@ -652,7 +652,7 @@ _alloc_(2, 3) static inline void *memdup
bool filename_is_safe(const char *p) _pure_;
bool path_is_safe(const char *p) _pure_;
bool string_is_safe(const char *p) _pure_;
@@ -125,6 +115,3 @@
/**
* Check if a string contains any glob patterns.
---
-1.7.9.2
-
Index: 0002-vconsole-setup-run-setfont-before-loadkeys.patch
===================================================================
--- 0002-vconsole-setup-run-setfont-before-loadkeys.patch (revision 729)
+++ 0002-vconsole-setup-run-setfont-before-loadkeys.patch (revision 3)
@@ -16,8 +16,10 @@
src/vconsole/vconsole-setup.c | 93 +++++++++++++++++++++---------------------
1 file changed, 47 insertions(+), 46 deletions(-)
---- src/vconsole/vconsole-setup.c
-+++ src/vconsole/vconsole-setup.c 2014-07-07 12:30:27.390235226 +0000
+Index: src/vconsole/vconsole-setup.c
+===================================================================
+--- src/vconsole/vconsole-setup.c.orig
++++ src/vconsole/vconsole-setup.c
@@ -340,23 +340,20 @@ static int set_kbd_rate(const char *vc,
int main(int argc, char **argv) {
@@ -66,14 +68,10 @@
}
utf8 = is_locale_utf8();
-@@ -464,61 +461,65 @@ int main(int argc, char **argv) {
- } else
- #endif
- numlock = vc_kbd_numlock && strcaseeq(vc_kbd_numlock, "yes");
--
- #endif
+@@ -464,58 +461,62 @@ int main(int argc, char **argv) {
+ if (r < 0 && r != -ENOENT)
+ log_warning("Failed to read /proc/cmdline: %s", strerror(-r));
}
-
+#ifdef HAVE_SYSV_COMPAT
+finish:
+ r = set_kbd_rate(vc, vc_kbd_rate, vc_kbd_delay, &kbd_rate_pid);
@@ -81,81 +79,84 @@
+ log_error("Failed to start /bin/kbdrate: %s", strerror(-r));
+ return EXIT_FAILURE;
+ }
-+#endif
+
++ if (kbd_rate_pid > 0)
++ wait_for_terminate_and_warn("/bin/kbdrate", kbd_rate_pid);
++#endif
+
if (utf8)
enable_utf8(fd);
else
disable_utf8(fd);
- r = EXIT_FAILURE;
+-
+- 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;
+ r = font_load(vc, vc_font, vc_font_map, vc_font_unimap, &font_pid);
+ if (r < 0) {
+ log_error("Failed to start " KBD_SETFONT ": %s", strerror(-r));
+ return EXIT_FAILURE;
+ }
-+
+
+-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");
+ if (font_pid > 0)
+ wait_for_terminate_and_warn(KBD_SETFONT, font_pid);
-- 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 &&
+ r = load_compose_table(vc, vc_compose_table, &compose_table_pid);
+ if (r < 0) {
-+ log_error("Failed to start " KBD_SETFONT ": %s", strerror(-r));
-+ return EXIT_FAILURE;
-+ }
-+
-+ if (compose_table_pid > 0)
-+ wait_for_terminate_and_warn(KBD_LOADKEYS, compose_table_pid);
- #endif
-- font_load(vc, vc_font, vc_font_map, vc_font_unimap, &font_pid) >= 0)
-- r = EXIT_SUCCESS;
-
--finish:
-+ r = keymap_load(vc, vc_keymap, vc_keymap_toggle, utf8, disable_capslock, &keymap_pid);
-+ if (r < 0) {
+ log_error("Failed to start " KBD_LOADKEYS ": %s", strerror(-r));
+ return EXIT_FAILURE;
+ }
+
- if (keymap_pid > 0)
- wait_for_terminate_and_warn(KBD_LOADKEYS, keymap_pid);
-+
-+#ifdef HAVE_SYSV_COMPAT
- if (numlock)
- touch("/run/numlock-on");
- else
- unlink("/run/numlock-on");
-
--#ifdef HAVE_SYSV_COMPAT
-- if (compose_table_pid > 0)
-- wait_for_terminate_and_warn(KBD_LOADKEYS, compose_table_pid);
+ 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);
+- 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)
- font_copy_to_all_vcs(fd);
-- }
--
++ r = keymap_load(vc, vc_keymap, vc_keymap_toggle, utf8, disable_capslock, &keymap_pid);
++ if (r < 0) {
++ log_error("Failed to start " KBD_LOADKEYS ": %s", strerror(-r));
++ return EXIT_FAILURE;
+ }
+
- free(vc_keymap);
- free(vc_font);
- free(vc_font_map);
- free(vc_font_unimap);
- free(vc_kbd_numlock);
--#ifdef HAVE_SYSV_COMPAT
++ if (keymap_pid > 0)
++ wait_for_terminate_and_warn(KBD_LOADKEYS, keymap_pid);
++
+ #ifdef HAVE_SYSV_COMPAT
- free(vc_kbd_delay);
- free(vc_kbd_rate);
- free(vc_kbd_disable_caps_lock);
- free(vc_compose_table);
--#endif
--
++ if (numlock)
++ touch("/run/numlock-on");
++ else
++ unlink("/run/numlock-on");
+ #endif
+
- if (fd >= 0)
- close_nointr_nofail(fd);
+ /* Only copy the font when we started setfont successfully */
Index: 0003-core-never-consider-failure-when-reading-drop-ins-fa.patch
===================================================================
--- 0003-core-never-consider-failure-when-reading-drop-ins-fa.patch (revision 729)
+++ 0003-core-never-consider-failure-when-reading-drop-ins-fa.patch (revision 3)
@@ -9,9 +9,9 @@
src/core/load-dropin.c | 42 +++++++++++++-----------------------------
1 file changed, 13 insertions(+), 29 deletions(-)
-diff --git src/core/load-dropin.c src/core/load-dropin.c
-index 546e560..f2ffc97 100644
---- src/core/load-dropin.c
+Index: src/core/load-dropin.c
+===================================================================
+--- src/core/load-dropin.c.orig
+++ src/core/load-dropin.c
@@ -58,6 +58,7 @@ static int iterate_dir(
if (errno == ENOENT)
@@ -21,16 +21,15 @@
return -errno;
}
-@@ -101,7 +102,7 @@ static int process_dir(
+@@ -101,7 +102,6 @@ static int process_dir(
char ***strv) {
_cleanup_free_ char *path = NULL;
- int r;
-+ int r, q;
assert(u);
assert(unit_path);
-@@ -112,11 +113,8 @@ static int process_dir(
+@@ -112,11 +112,8 @@ static int process_dir(
if (!path)
return log_oom();
@@ -44,7 +43,7 @@
if (u->instance) {
_cleanup_free_ char *template = NULL, *p = NULL;
-@@ -130,11 +128,8 @@ static int process_dir(
+@@ -130,11 +127,8 @@ static int process_dir(
if (!p)
return log_oom();
@@ -58,7 +57,7 @@
}
return 0;
-@@ -152,12 +147,8 @@ char **unit_find_dropin_paths(Unit *u) {
+@@ -152,12 +146,8 @@ char **unit_find_dropin_paths(Unit *u) {
SET_FOREACH(t, u->names, i) {
char **p;
@@ -73,7 +72,15 @@
}
if (strv_isempty(strv))
-@@ -186,13 +177,8 @@ int unit_load_dropin(Unit *u) {
+@@ -176,7 +166,6 @@ char **unit_find_dropin_paths(Unit *u) {
+ int unit_load_dropin(Unit *u) {
+ Iterator i;
+ char *t, **f;
+- int r;
+
+ assert(u);
+
+@@ -186,13 +175,8 @@ int unit_load_dropin(Unit *u) {
char **p;
STRV_FOREACH(p, u->manager->lookup_paths.unit_path) {
@@ -89,7 +96,7 @@
}
}
-@@ -201,11 +187,9 @@ int unit_load_dropin(Unit *u) {
+@@ -201,11 +185,9 @@ int unit_load_dropin(Unit *u) {
return 0;
STRV_FOREACH(f, u->dropin_paths) {
@@ -104,6 +111,3 @@
}
u->dropin_mtime = now(CLOCK_REALTIME);
---
-1.7.9.2
-
Index: 0003-fsck-consider-a-fsck-implementation-linked-to-bin-tr.patch
===================================================================
--- 0003-fsck-consider-a-fsck-implementation-linked-to-bin-tr.patch (revision 729)
+++ 0003-fsck-consider-a-fsck-implementation-linked-to-bin-tr.patch (revision 3)
@@ -9,9 +9,19 @@
src/shared/path-util.c | 26 +++++++++++++++-----------
2 files changed, 37 insertions(+), 21 deletions(-)
---- src/fsck/fsck.c
-+++ src/fsck/fsck.c 2014-06-26 09:19:58.591864710 +0000
-@@ -280,16 +280,28 @@ int main(int argc, char *argv[]) {
+Index: src/fsck/fsck.c
+===================================================================
+--- src/fsck/fsck.c.orig
++++ src/fsck/fsck.c
+@@ -37,6 +37,7 @@
+ #include "bus-errors.h"
+ #include "fileio.h"
+ #include "udev-util.h"
++#include "path-util.h"
+
+ static bool arg_skip = false;
+ static bool arg_force = false;
+@@ -280,16 +281,28 @@ int main(int argc, char *argv[]) {
type = udev_device_get_property_value(udev_device, "ID_FS_TYPE");
if (type) {
@@ -50,8 +60,10 @@
}
}
---- src/shared/path-util.c
-+++ src/shared/path-util.c 2014-06-26 09:14:15.651559638 +0000
+Index: src/shared/path-util.c
+===================================================================
+--- src/shared/path-util.c.orig
++++ src/shared/path-util.c
@@ -425,19 +425,21 @@ int path_is_os_tree(const char *path) {
int find_binary(const char *name, char **filename) {
Index: apply-ACL-for-nvidia-device-nodes.patch
===================================================================
--- apply-ACL-for-nvidia-device-nodes.patch (revision 729)
+++ apply-ACL-for-nvidia-device-nodes.patch (revision 3)
@@ -7,18 +7,20 @@
logind-acl.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
---- systemd-209/src/login/logind-acl.c
-+++ systemd-209/src/login/logind-acl.c 2014-02-28 17:27:51.806239118 +0000
+Index: systemd-210/src/login/logind-acl.c
+===================================================================
+--- systemd-210.orig/src/login/logind-acl.c
++++ systemd-210/src/login/logind-acl.c
@@ -283,5 +283,17 @@ int devnode_acl_all(struct udev *udev,
r = k;
}
+ /* only apply ACL on nvidia* if /dev/nvidiactl exists */
+ if (devnode_acl("/dev/nvidiactl", flush, del, old_uid, add, new_uid) >= 0) {
-+ int i;
-+ for (i = 0; i <= 256 ; i++) {
++ int j;
++ for (j = 0; j <= 256 ; j++) {
+ _cleanup_free_ char *devname = NULL;
-+ if (asprintf(&devname, "/dev/nvidia%d", i) < 0)
++ if (asprintf(&devname, "/dev/nvidia%d", j) < 0)
+ break;
+ if (devnode_acl(devname, flush, del, old_uid, add, new_uid) < 0)
+ break;
Index: handle-disable_caplock-and-compose_table-and-kbd_rate.patch
===================================================================
--- handle-disable_caplock-and-compose_table-and-kbd_rate.patch (revision 729)
+++ handle-disable_caplock-and-compose_table-and-kbd_rate.patch (revision 3)
@@ -7,8 +7,10 @@
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
+Index: systemd-210/src/vconsole/vconsole-setup.c
+===================================================================
+--- systemd-210.orig/src/vconsole/vconsole-setup.c
++++ systemd-210/src/vconsole/vconsole-setup.c
@@ -40,6 +40,7 @@
#include "macro.h"
#include "virt.h"
@@ -156,38 +158,36 @@
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));
- }
+@@ -251,6 +357,28 @@ int main(int argc, char **argv) {
+
+ utf8 = is_locale_utf8();
-+ 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;
++ 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
+ r = parse_env_file("/etc/vconsole.conf", NEWLINE,
+ "KEYMAP", &vc_keymap,
+ "KEYMAP_TOGGLE", &vc_keymap_toggle,
+@@ -282,7 +410,12 @@ int main(int argc, char **argv) {
disable_utf8(fd);
r = EXIT_FAILURE;
@@ -201,7 +201,7 @@
font_load(vc, vc_font, vc_font_map, vc_font_unimap, &font_pid) >= 0)
r = EXIT_SUCCESS;
-@@ -290,6 +426,14 @@ finish:
+@@ -290,6 +423,14 @@ finish:
if (keymap_pid > 0)
wait_for_terminate_and_warn(KBD_LOADKEYS, keymap_pid);
@@ -216,7 +216,7 @@
if (font_pid > 0) {
wait_for_terminate_and_warn(KBD_SETFONT, font_pid);
if (font_copy)
-@@ -300,6 +444,12 @@ finish:
+@@ -300,6 +441,12 @@ finish:
free(vc_font);
free(vc_font_map);
free(vc_font_unimap);
Index: handle-numlock-value-in-etc-sysconfig-keyboard.patch
===================================================================
--- handle-numlock-value-in-etc-sysconfig-keyboard.patch (revision 729)
+++ handle-numlock-value-in-etc-sysconfig-keyboard.patch (revision 3)
@@ -6,8 +6,10 @@
Stanislav Brabec <sbrabec@suse.cz>
Cristian Rodríguez <crrodriguez@opensuse.org>
---- systemd-206_git201308300826.orig/src/vconsole/vconsole-setup.c
-+++ systemd-206_git201308300826/src/vconsole/vconsole-setup.c
+Index: systemd-210/src/vconsole/vconsole-setup.c
+===================================================================
+--- systemd-210.orig/src/vconsole/vconsole-setup.c
++++ systemd-210/src/vconsole/vconsole-setup.c
@@ -42,6 +42,10 @@
#include "fileio.h"
#include "strv.h"
@@ -34,18 +36,18 @@
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));
+@@ -363,6 +369,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)
+@@ -377,6 +384,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;
+ 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;
@@ -76,10 +78,10 @@
+ } else
+#endif
+ numlock = vc_kbd_numlock && strcaseeq(vc_kbd_numlock, "yes");
-
#endif
- }
-@@ -425,6 +462,10 @@ int main(int argc, char **argv) {
+
+ r = parse_env_file("/etc/vconsole.conf", NEWLINE,
+@@ -422,6 +459,10 @@ int main(int argc, char **argv) {
finish:
if (keymap_pid > 0)
wait_for_terminate_and_warn(KBD_LOADKEYS, keymap_pid);
@@ -90,7 +92,7 @@
#ifdef HAVE_SYSV_COMPAT
if (compose_table_pid > 0)
-@@ -444,6 +485,7 @@ finish:
+@@ -441,6 +482,7 @@ finish:
free(vc_font);
free(vc_font_map);
free(vc_font_unimap);
@@ -98,9 +100,11 @@
#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 += \
+Index: systemd-210/Makefile.am
+===================================================================
+--- systemd-210.orig/Makefile.am
++++ systemd-210/Makefile.am
+@@ -2847,6 +2847,19 @@ dist_udevrules_DATA += \
rules/61-accelerometer.rules
# ------------------------------------------------------------------------------
@@ -120,8 +124,10 @@
if ENABLE_GUDEV
if ENABLE_GTK_DOC
SUBDIRS += \
+Index: systemd-210/rules/73-seat-numlock.rules
+===================================================================
--- /dev/null
-+++ systemd-206_git201308300826/rules/73-seat-numlock.rules
++++ systemd-210/rules/73-seat-numlock.rules
@@ -0,0 +1,8 @@
+# This file is part of SUSE customization of systemd.
+#
@@ -131,8 +137,10 @@
+# (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}"
+Index: systemd-210/src/login/numlock-on.c
+===================================================================
--- /dev/null
-+++ systemd-206_git201308300826/src/login/numlock-on.c
++++ systemd-210/src/login/numlock-on.c
@@ -0,0 +1,34 @@
+/*
+ * numlock-on.c: Turn numlock-on
@@ -168,8 +176,10 @@
+
+ exit(0);
+}
---- systemd-206_git201308300826.orig/units/systemd-vconsole-setup.service.in
-+++ systemd-206_git201308300826/units/systemd-vconsole-setup.service.in
+Index: systemd-210/units/systemd-vconsole-setup.service.in
+===================================================================
+--- systemd-210.orig/units/systemd-vconsole-setup.service.in
++++ systemd-210/units/systemd-vconsole-setup.service.in
@@ -11,7 +11,7 @@ Documentation=man:systemd-vconsole-setup
DefaultDependencies=no
Conflicts=shutdown.target
Index: keep-crypt-password-prompt.patch
===================================================================
--- keep-crypt-password-prompt.patch (revision 729)
+++ keep-crypt-password-prompt.patch (revision 3)
@@ -1,6 +1,8 @@
---- systemd-210/src/core/manager.c 2014-05-05 11:46:17.700483956 +0200
-+++ systemd-210/src/core/manager.c 2014-05-05 13:29:13.296503646 +0200
-@@ -152,6 +152,29 @@
+Index: systemd-210/src/core/manager.c
+===================================================================
+--- systemd-210.orig/src/core/manager.c
++++ systemd-210/src/core/manager.c
+@@ -152,6 +152,29 @@ void manager_flip_auto_status(Manager *m
}
}
@@ -30,13 +32,13 @@
static void manager_print_jobs_in_progress(Manager *m) {
static int is_ansi_console = -1;
_cleanup_free_ char *job_of_n = NULL;
-@@ -195,6 +217,10 @@
+@@ -195,6 +218,10 @@ static void manager_print_jobs_in_progre
m->jobs_in_progress_iteration++;
+ //don't overwrite the crypt password prompt with job status messages
-+ if (check_for_password_prompt() == 0);
-+ return 0;
++ if (check_for_password_prompt() == 0)
++ return;
+
if (m->n_running_jobs > 1)
if (asprintf(&job_of_n, "(%u of %u) ", counter, m->n_running_jobs) < 0)
Index: log-target-null-instead-kmsg.patch
===================================================================
--- log-target-null-instead-kmsg.patch (revision 729)
+++ log-target-null-instead-kmsg.patch (revision 3)
@@ -5,15 +5,15 @@
src/shared/util.c | 6 +++++-
4 files changed, 50 insertions(+), 4 deletions(-)
---- systemd-210/src/journal/journald-kmsg.c
-+++ systemd-210/src/journal/journald-kmsg.c 2014-05-09 07:35:02.880122386 +0000
-@@ -391,12 +391,26 @@
+Index: systemd-210/src/journal/journald-kmsg.c
+===================================================================
+--- systemd-210.orig/src/journal/journald-kmsg.c
++++ systemd-210/src/journal/journald-kmsg.c
+@@ -391,12 +391,24 @@ static int dispatch_dev_kmsg(sd_event_so
return server_read_dev_kmsg(s);
}
+static int parse_proc_cmdline_word(const char *word) {
-+ int r;
-+
+ if (streq(word, "systemd.log_target=null"))
+ return -115;
+
@@ -35,15 +35,15 @@
if (s->dev_kmsg_fd < 0) {
log_full(errno == ENOENT ? LOG_DEBUG : LOG_WARNING,
"Failed to open /dev/kmsg, ignoring: %m");
---- systemd-210/src/libudev/libudev-util.c
-+++ systemd-210/src/libudev/libudev-util.c 2014-05-09 07:35:28.304122530 +0000
-@@ -416,6 +416,15 @@
+Index: systemd-210/src/libudev/libudev-util.c
+===================================================================
+--- systemd-210.orig/src/libudev/libudev-util.c
++++ systemd-210/src/libudev/libudev-util.c
+@@ -416,6 +416,13 @@ uint64_t util_string_bloom64(const char
return bits;
}
+static int parse_proc_cmdline_word(const char *word) {
-+ int r;
-+
+ if (streq(word, "systemd.log_target=null"))
+ return -115;
+
@@ -53,7 +53,7 @@
ssize_t print_kmsg(const char *fmt, ...)
{
_cleanup_close_ int fd = -1;
-@@ -424,7 +433,12 @@
+@@ -424,7 +431,12 @@ ssize_t print_kmsg(const char *fmt, ...)
ssize_t len;
ssize_t ret;
@@ -67,15 +67,15 @@
if (fd < 0)
return -errno;
---- systemd-210/src/shared/log.c
-+++ systemd-210/src/shared/log.c 2014-05-09 07:35:52.900122669 +0000
-@@ -92,12 +92,26 @@
+Index: systemd-210/src/shared/log.c
+===================================================================
+--- systemd-210.orig/src/shared/log.c
++++ systemd-210/src/shared/log.c
+@@ -92,12 +92,24 @@ void log_close_kmsg(void) {
kmsg_fd = -1;
}
+static int parse_proc_cmdline_word(const char *word) {
-+ int r;
-+
+ if (streq(word, "systemd.log_target=null"))
+ return -115;
+
@@ -97,9 +97,11 @@
if (kmsg_fd < 0)
return -errno;
---- systemd-210/src/shared/util.c
-+++ systemd-210/src/shared/util.c 2014-05-09 08:51:55.436148462 +0000
-@@ -5975,7 +5975,11 @@
+Index: systemd-210/src/shared/util.c
+===================================================================
+--- systemd-210.orig/src/shared/util.c
++++ systemd-210/src/shared/util.c
+@@ -6069,7 +6069,11 @@ int parse_proc_cmdline(int (*parse_word)
r = parse_word(word);
if (r < 0) {
Index: parse-crypttab-for-noauto-option.patch
===================================================================
--- parse-crypttab-for-noauto-option.patch (revision 729)
+++ parse-crypttab-for-noauto-option.patch (revision 3)
@@ -2,23 +2,22 @@
src/fstab-generator/fstab-generator.c | 52 ++++++++++++++++++++++++++++++++--
1 file changed, 50 insertions(+), 2 deletions(-)
---- systemd-210/src/fstab-generator/fstab-generator.c
-+++ systemd-210/src/fstab-generator/fstab-generator.c 2014-05-07 09:15:01.003911151 +0000
-@@ -37,6 +37,53 @@
+Index: systemd-210/src/fstab-generator/fstab-generator.c
+===================================================================
+--- systemd-210.orig/src/fstab-generator/fstab-generator.c
++++ systemd-210/src/fstab-generator/fstab-generator.c
+@@ -37,6 +37,50 @@
static const char *arg_dest = "/tmp";
static bool arg_enabled = true;
+static int check_crypttab(const char *what) {
+ _cleanup_fclose_ FILE *f = NULL;
+ unsigned n = 0;
-+ int r;
+
+ f = fopen("/etc/crypttab", "re");
+ if (!f) {
-+ if (errno == ENOENT)
-+ r = EXIT_SUCCESS;
-+ else
-+ log_error("Failed to open /etc/crypttab: %m");
++ if (errno != ENOENT)
++ log_error("Failed to open /etc/crypttab: %m");
+
+ return 1;
+ }
@@ -58,7 +57,7 @@
static int mount_find_pri(struct mntent *me, int *ret) {
char *end, *pri;
unsigned long r;
-@@ -212,7 +259,7 @@
+@@ -212,7 +256,7 @@ static int add_mount(
*name = NULL, *unit = NULL, *lnk = NULL,
*automount_name = NULL, *automount_unit = NULL;
_cleanup_fclose_ FILE *f = NULL;
@@ -67,7 +66,7 @@
assert(what);
assert(where);
-@@ -286,7 +333,8 @@
+@@ -288,7 +332,8 @@ static int add_mount(
return -errno;
}
Index: set-and-use-default-logconsole.patch
===================================================================
--- set-and-use-default-logconsole.patch (revision 729)
+++ set-and-use-default-logconsole.patch (revision 3)
@@ -6,8 +6,10 @@
src/journal/journald-server.c | 5 ++
3 files changed, 105 insertions(+)
---- src/journal/journald-console.c
-+++ src/journal/journald-console.c 2014-07-23 09:08:29.522235688 +0000
+Index: src/journal/journald-console.c
+===================================================================
+--- src/journal/journald-console.c.orig
++++ src/journal/journald-console.c
@@ -23,6 +23,14 @@
#include <fcntl.h>
#include <unistd.h>
@@ -68,7 +70,7 @@
+ return;
+
+ if (access(vc, F_OK) < 0)
-+ return false;
++ return;
+
+ fd = open_terminal(vc, O_RDWR|O_NOCTTY|O_CLOEXEC);
+ if (fd < 0)
@@ -98,17 +100,17 @@
void server_forward_console(
Server *s,
int priority,
-@@ -63,6 +139,10 @@ void server_forward_console(
-
+@@ -64,6 +140,10 @@ void server_forward_console(
if (LOG_PRI(priority) > s->max_level_console)
return;
-+
+
+ /* Do not write security/authorization (private) messages to console */
+ if (priority & LOG_AUTHPRIV)
+ return;
-
++
/* First: timestamp */
if (prefix_timestamp()) {
+ assert_se(clock_gettime(CLOCK_MONOTONIC, &ts) == 0);
@@ -101,7 +181,23 @@ void server_forward_console(
fd = open_terminal(tty, O_WRONLY|O_NOCTTY|O_CLOEXEC);
if (fd < 0) {
@@ -133,8 +135,10 @@
}
if (writev(fd, iovec, n) < 0)
---- src/journal/journald-console.h
-+++ src/journal/journald-console.h 2014-07-22 11:20:52.754235644 +0000
+Index: src/journal/journald-console.h
+===================================================================
+--- src/journal/journald-console.h.orig
++++ src/journal/journald-console.h
@@ -24,3 +24,7 @@
#include "journald-server.h"
@@ -143,8 +147,10 @@
+void klogconsole(Server *s);
+void defaul_tty_path(Server *s);
+#endif
---- src/journal/journald-server.c
-+++ src/journal/journald-server.c 2014-07-22 11:16:45.966236859 +0000
+Index: src/journal/journald-server.c
+===================================================================
+--- src/journal/journald-server.c.orig
++++ src/journal/journald-server.c
@@ -1509,6 +1509,11 @@ int server_init(Server *s) {
server_parse_config_file(s);
Index: systemd-mini.changes
===================================================================
--- systemd-mini.changes (revision 729)
+++ systemd-mini.changes (revision 3)
@@ -1,4 +1,27 @@
-------------------------------------------------------------------
+Thu Jul 24 13:05:42 UTC 2014 - fcrozat@suse.com
+
+- Update
+ handle-disable_caplock-and-compose_table-and-kbd_rate.patch,
+ handle-numlock-value-in-etc-sysconfig-keyboard.patch: read
+ /etc/vconsole.conf after /etc/sysconfig/(keyboard,console)
+ otherwise empty value in /etc/sysconfig/keyboard might override
+ /etc/vconsole.conf values.
+- Update :
+ 0001-journal-compress-return-early-in-uncompress_startswi.patch
+ 0002-util-don-t-consider-tabs-special-in-string_has_cc-an.patch
+ 0002-vconsole-setup-run-setfont-before-loadkeys.patch
+ 0003-core-never-consider-failure-when-reading-drop-ins-fa.patch
+ 0003-fsck-consider-a-fsck-implementation-linked-to-bin-tr.patch
+ apply-ACL-for-nvidia-device-nodes.patch
+ keep-crypt-password-prompt.patch
+ log-target-null-instead-kmsg.patch
+ parse-crypttab-for-noauto-option.patch
+ set-and-use-default-logconsole.patch: fix all warnings in code
+- Remove 0001-compress-fix-return-value.patch: not relevant to
+ systemd v210 code.
+
+-------------------------------------------------------------------
Thu Jul 24 10:07:08 UTC 2014 - werner@suse.de
- Also change udev-generate-peristent-rule to udev-generate-persistent-rule
Index: systemd-mini.spec
===================================================================
--- systemd-mini.spec (revision 729)
+++ systemd-mini.spec (revision 3)
@@ -709,8 +709,6 @@
# PATCH-FIX-UPSTREAM Fix patch 0004-systemd-detect-virt-only-discover-Xen-domU.patch
Patch344: 0001-detect-virt-Fix-Xen-domU-discovery.patch
# PATCH-FIX-UPSTREAM added at 2014/07/21
-Patch345: 0001-compress-fix-return-value.patch
-# PATCH-FIX-UPSTREAM added at 2014/07/21
Patch346: 0002-Be-more-verbose-when-bind-or-listen-fails.patch
# PATCH-FIX-UPSTREAM added at 2014/07/21
Patch347: 0003-Add-quotes-to-warning-message.patch
@@ -1340,7 +1338,6 @@
%patch342 -p0
%patch343 -p0
%patch344 -p0
-%patch345 -p0
%patch346 -p0
%patch347 -p0
%patch348 -p0
Index: systemd.changes
===================================================================
--- systemd.changes (revision 729)
+++ systemd.changes (revision 3)
@@ -1,4 +1,27 @@
-------------------------------------------------------------------
+Thu Jul 24 13:05:42 UTC 2014 - fcrozat@suse.com
+
+- Update
+ handle-disable_caplock-and-compose_table-and-kbd_rate.patch,
+ handle-numlock-value-in-etc-sysconfig-keyboard.patch: read
+ /etc/vconsole.conf after /etc/sysconfig/(keyboard,console)
+ otherwise empty value in /etc/sysconfig/keyboard might override
+ /etc/vconsole.conf values.
+- Update :
+ 0001-journal-compress-return-early-in-uncompress_startswi.patch
+ 0002-util-don-t-consider-tabs-special-in-string_has_cc-an.patch
+ 0002-vconsole-setup-run-setfont-before-loadkeys.patch
+ 0003-core-never-consider-failure-when-reading-drop-ins-fa.patch
+ 0003-fsck-consider-a-fsck-implementation-linked-to-bin-tr.patch
+ apply-ACL-for-nvidia-device-nodes.patch
+ keep-crypt-password-prompt.patch
+ log-target-null-instead-kmsg.patch
+ parse-crypttab-for-noauto-option.patch
+ set-and-use-default-logconsole.patch: fix all warnings in code
+- Remove 0001-compress-fix-return-value.patch: not relevant to
+ systemd v210 code.
+
+-------------------------------------------------------------------
Thu Jul 24 10:07:08 UTC 2014 - werner@suse.de
- Also change udev-generate-peristent-rule to udev-generate-persistent-rule
Index: systemd.spec
===================================================================
--- systemd.spec (revision 729)
+++ systemd.spec (revision 3)
@@ -704,8 +704,6 @@
# PATCH-FIX-UPSTREAM Fix patch 0004-systemd-detect-virt-only-discover-Xen-domU.patch
Patch344: 0001-detect-virt-Fix-Xen-domU-discovery.patch
# PATCH-FIX-UPSTREAM added at 2014/07/21
-Patch345: 0001-compress-fix-return-value.patch
-# PATCH-FIX-UPSTREAM added at 2014/07/21
Patch346: 0002-Be-more-verbose-when-bind-or-listen-fails.patch
# PATCH-FIX-UPSTREAM added at 2014/07/21
Patch347: 0003-Add-quotes-to-warning-message.patch
@@ -1335,7 +1333,6 @@
%patch342 -p0
%patch343 -p0
%patch344 -p0
-%patch345 -p0
%patch346 -p0
%patch347 -p0
%patch348 -p0
Index: 0001-compress-fix-return-value.patch
===================================================================
--- 0001-compress-fix-return-value.patch (revision 729)
+++ 0001-compress-fix-return-value.patch (deleted)
@@ -1,34 +0,0 @@
-From 01c3322e017989d25f7b4b51268245d5315ae678 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
-Date: Fri, 18 Jul 2014 21:44:36 -0400
-Subject: [PATCH] compress: fix return value
-
----
- src/journal/compress.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git src/journal/compress.c src/journal/compress.c
-index 316c1a6..ee18bc8 100644
---- src/journal/compress.c
-+++ src/journal/compress.c
-@@ -132,7 +132,7 @@ int decompress_blob_xz(const void *src, uint64_t src_size,
-
- space = MIN(src_size * 2, dst_max ?: (uint64_t) -1);
- if (!greedy_realloc(dst, dst_alloc_size, space, 1))
-- return false;
-+ return -ENOMEM;
-
- s.next_in = src;
- s.avail_in = src_size;
-@@ -158,7 +158,7 @@ int decompress_blob_xz(const void *src, uint64_t src_size,
- used = space - s.avail_out;
- space = MIN(2 * space, dst_max ?: (uint64_t) -1);
- if (!greedy_realloc(dst, dst_alloc_size, space, 1))
-- return false;
-+ return -ENOMEM;
-
- s.avail_out = space - used;
- s.next_out = *dst + used;
---
-1.7.9.2
-
OBS-URL: https://build.opensuse.org/request/show/242209
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=730
2014-07-24 13:49:37 +00:00
Dr. Werner Fink
0ccaae5464
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=729
2014-07-24 10:08:27 +00:00
Robert Milasan
f7e16ac4a9
Accepting request 242175 from home:rmilasan:branches:Base:System
...
- Rename (fix typo in script name):
udev-generate-peristent-rule.sh to udev-generate-persistent-rule.sh
- Rename (fix typo in script name):
udev-generate-peristent-rule.sh to udev-generate-persistent-rule.sh
OBS-URL: https://build.opensuse.org/request/show/242175
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=728
2014-07-24 09:03:14 +00:00
Robert Milasan
eeefc3c924
Accepting request 241979 from home:rmilasan:branches:Base:System
...
- Enable better checks in write_net_rules to skip adding duplicated
entries in the generate rules (bnc#888178).
Add 1053-better-checks-in-write_net_rules.patch
- Enable better checks in write_net_rules to skip adding duplicated
entries in the generate rules (bnc#888178).
Add 1053-better-checks-in-write_net_rules.patch
OBS-URL: https://build.opensuse.org/request/show/241979
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=726
2014-07-23 09:23:13 +00:00
Dr. Werner Fink
eb2bb6198b
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=725
2014-07-23 09:14:26 +00:00
Dr. Werner Fink
cac73ff3da
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=724
2014-07-22 12:08:18 +00:00
Dr. Werner Fink
d319cc9c90
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=723
2014-07-21 13:37:02 +00:00
Dr. Werner Fink
ac7e245f9b
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=721
2014-07-17 09:52:31 +00:00
Robert Milasan
66d4f0d69b
Accepting request 241288 from home:rmilasan:branches:Base:System
...
- Check if NAME key has a value before going thru the rule (bnc#885232).
Add 1051-check-if-NAME-has-a-value.patch
- Check if NAME key has a value before going thru the rule (bnc#885232).
Add 1051-check-if-NAME-has-a-value.patch
OBS-URL: https://build.opensuse.org/request/show/241288
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=720
2014-07-17 06:35:02 +00:00
Robert Milasan
49fa4f55de
Accepting request 241066 from home:rmilasan:branches:Base:System
...
- Only rename SRIOV-VF devices if device name start with eth (bnc#885232).
Add 1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch
- Only rename SRIOV-VF devices if device name start with eth (bnc#885232).
Add 1050-only-rename-SRIOV-VF-devices-when-name-starts-with-eth.patch
OBS-URL: https://build.opensuse.org/request/show/241066
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=718
2014-07-15 12:33:30 +00:00
Dr. Werner Fink
9e69a1f9d3
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=717
2014-07-15 07:40:33 +00:00
Dr. Werner Fink
be3dc0d277
Accepting request 241015 from home:joeyli:branches:Base:System
...
Removed efivars.conf because the kernel patch of autoload efivars driver accepted by linux-efi upstream (bnc#881559)
OBS-URL: https://build.opensuse.org/request/show/241015
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=716
2014-07-15 07:27:01 +00:00
Dr. Werner Fink
e8b16370e5
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=715
2014-07-14 15:05:04 +00:00
Dr. Werner Fink
dcb30b57d1
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=714
2014-07-14 14:10:23 +00:00
Dr. Werner Fink
bb35e2fc19
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=711
2014-07-11 12:26:50 +00:00
Dr. Werner Fink
b635978dbc
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=710
2014-07-10 13:37:08 +00:00
Dr. Werner Fink
b1aa3ea339
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=709
2014-07-09 13:25:39 +00:00
Dr. Werner Fink
3f7ac6f17c
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=708
2014-07-08 11:22:39 +00:00
Dr. Werner Fink
6930be2245
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=707
2014-07-07 13:07:47 +00:00
Robert Milasan
2f80b3823b
Accepting request 239778 from home:rmilasan:branches:Base:System
...
- Rename
0001-udev-net_setup_link-add-a-bit-more-logging.patch
to
1048-udev-net_setup_link-add-a-bit-more-logging.patch
- Rename
0001-udev-net_setup_link-add-a-bit-more-logging.patch
to
1048-udev-net_setup_link-add-a-bit-more-logging.patch
OBS-URL: https://build.opensuse.org/request/show/239778
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=706
2014-07-07 13:05:01 +00:00
Dr. Werner Fink
153bd884cf
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=704
2014-07-04 10:28:58 +00:00
Dr. Werner Fink
a69e460480
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=703
2014-07-03 13:01:21 +00:00
Dr. Werner Fink
5559c7a832
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=702
2014-07-03 07:03:56 +00:00
Robert Milasan
eac2d4db72
Accepting request 239381 from home:rmilasan:branches:Base:System
...
- Fix duplicated rules when having layer3 interfaces (bnc#882714).
Add 1046-fix-duplicated-rules-with-layer3-interfaces.patch
- Fix duplicated rules when having layer3 interfaces (bnc#882714).
Add 1046-fix-duplicated-rules-with-layer3-interfaces.patch
OBS-URL: https://build.opensuse.org/request/show/239381
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=701
2014-07-02 18:09:12 +00:00
Dr. Werner Fink
9bfb58b4da
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=700
2014-07-01 12:43:04 +00:00
Dr. Werner Fink
1f78014dae
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=699
2014-07-01 10:11:44 +00:00
Dr. Werner Fink
aa5a6f5531
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=695
2014-07-01 08:57:46 +00:00
Dr. Werner Fink
71e400fe67
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=693
2014-06-27 12:59:41 +00:00
Dr. Werner Fink
70041adb98
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=692
2014-06-27 08:18:35 +00:00
Dr. Werner Fink
c805279f14
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=691
2014-06-26 10:03:25 +00:00
Dr. Werner Fink
84a063d7db
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=690
2014-06-26 09:31:57 +00:00
Dr. Werner Fink
1cb6cef6fb
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=689
2014-06-26 06:46:39 +00:00
Robert Milasan
91a7764429
Accepting request 238695 from home:rmilasan:branches:Base:System
...
- rules: re-enable dev_id conditionally in persistent rules
(bnc#884403 and bnc#882714).
Add 1040-re-enable-dev_id-conditionally-in-persistent-rules.patch
- Temporary disable patch 1022 (bnc#884271 and bnc#882714).
- rules: re-enable dev_id conditionally in persistent rules
(bnc#884403 and bnc#882714).
Add 1040-re-enable-dev_id-conditionally-in-persistent-rules.patch
- Temporary disable patch 1022 (bnc#884271 and bnc#882714).
OBS-URL: https://build.opensuse.org/request/show/238695
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=688
2014-06-25 18:17:16 +00:00
Dr. Werner Fink
9a3b778504
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=687
2014-06-25 17:30:32 +00:00
Dr. Werner Fink
975d6edbb5
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=685
2014-06-25 17:08:46 +00:00
Dr. Werner Fink
1d4069aad5
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=684
2014-06-25 14:14:00 +00:00
Robert Milasan
685e6f5790
Accepting request 238484 from home:rmilasan:branches:Base:System
...
- Rename 0002-udev-fix-invalid-free-in-enable_name_policy.patch
to 1038-udev-fix-invalid-free-in-enable_name_policy.patch
- Rename 0002-udev-fix-invalid-free-in-enable_name_policy.patch
to 1038-udev-fix-invalid-free-in-enable_name_policy.patch
OBS-URL: https://build.opensuse.org/request/show/238484
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=682
2014-06-24 11:57:06 +00:00
Dr. Werner Fink
935ea4d229
More work e.g. for bnc #881125
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=681
2014-06-24 11:34:12 +00:00
Dr. Werner Fink
09aaae7186
Add 0001-detect-s390-virt.patch
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=679
2014-06-18 13:37:26 +00:00
Dr. Werner Fink
bd651eeb8d
Readd patch 1022 and add 1037-udev-exclude-cd-dvd-from-block-device.patch
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=678
2014-06-18 13:10:45 +00:00
Dr. Werner Fink
76216677f8
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=677
2014-06-17 15:09:13 +00:00
Dr. Werner Fink
132beef50c
Accepting request 237758 from home:rmilasan:branches:Base:System
...
- rules: disable usage of dev_id in persistent rules (bnc#882714).
add: 1036-rules-disable-usage-of-dev_id-in-persistent-rules.patch
- Disable patch (bnc#882714).
1022-udev-remove-seqnum-API-and-all-assumptions-about-seq.patch
- rules: disable usage of dev_id in persistent rules (bnc#882714).
add: 1036-rules-disable-usage-of-dev_id-in-persistent-rules.patch
- Disable patch (bnc#882714).
1022-udev-remove-seqnum-API-and-all-assumptions-about-seq.patch
OBS-URL: https://build.opensuse.org/request/show/237758
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=674
2014-06-17 12:09:34 +00:00
Dr. Werner Fink
5c7a4bd51b
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=673
2014-06-12 12:30:27 +00:00
Dr. Werner Fink
241c864105
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=672
2014-06-12 10:21:33 +00:00
Dr. Werner Fink
ba88f714dd
Accepting request 236925 from home:elvigia:branches:Base:System
...
- Do not build EFI support code in architectures on which
the kernel does not support CONFIG_EFI, it won't work.
(ia64 also supports it, but that's dead so is not included)
- Do not build EFI support code in architectures on which
the kernel does not support CONFIG_EFI, it won't work.
(ia64 also supports it, but that's dead so is not included)
OBS-URL: https://build.opensuse.org/request/show/236925
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=671
2014-06-12 09:30:28 +00:00
Dr. Werner Fink
e01ca7cf15
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=668
2014-06-11 14:10:42 +00:00
Dr. Werner Fink
175e4a4fba
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=667
2014-06-11 13:37:55 +00:00
Robert Milasan
7d2f8965e5
Accepting request 236796 from home:rmilasan:branches:Base:System
...
- Add upstream patches
1033-udev-really-exclude-device-mapper-from-block-device.patch
1034-udev-check-the-return-value-from-udev_enumerate_scan.patch
- Add upstream patches
1033-udev-really-exclude-device-mapper-from-block-device.patch
1034-udev-check-the-return-value-from-udev_enumerate_scan.patch
OBS-URL: https://build.opensuse.org/request/show/236796
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=666
2014-06-10 20:00:15 +00:00
Dr. Werner Fink
f6821b9301
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=664
2014-06-10 15:30:38 +00:00
Dr. Werner Fink
d46737b201
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=663
2014-06-10 11:19:53 +00:00
Robert Milasan
3595bbe8f8
Accepting request 236618 from home:rmilasan:branches:Base:System
...
- Add upstream patches
1025-udev-exclude-device-mapper-from-block-device-ownersh.patch
1026-udevd-inotify-modernizations.patch
1027-udev-synthesize-change-events-for-partitions-when-to.patch
1028-udev-link-config-fix-mem-leak.patch
1029-udev-try-first-re-reading-the-partition-table.patch
1030-udev-guard-REREADP-logic-with-open-O_ECXL.patch
1031-udev-make-sure-we-always-get-change-for-the-disk.patch
1032-udev-guard-REREADPT-by-exclusive-lock-instead-of-O_E.patch
- Add upstream patches
1025-udev-exclude-device-mapper-from-block-device-ownersh.patch
1026-udevd-inotify-modernizations.patch
1027-udev-synthesize-change-events-for-partitions-when-to.patch
1028-udev-link-config-fix-mem-leak.patch
1029-udev-try-first-re-reading-the-partition-table.patch
1030-udev-guard-REREADP-logic-with-open-O_ECXL.patch
1031-udev-make-sure-we-always-get-change-for-the-disk.patch
1032-udev-guard-REREADPT-by-exclusive-lock-instead-of-O_E.patch
OBS-URL: https://build.opensuse.org/request/show/236618
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=662
2014-06-09 08:41:53 +00:00
Dr. Werner Fink
b76bf34f26
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=660
2014-06-06 11:40:36 +00:00
Dr. Werner Fink
9e47c9039e
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=659
2014-06-05 13:40:35 +00:00
Dr. Werner Fink
cfa3656e68
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=658
2014-06-05 08:47:12 +00:00
Dr. Werner Fink
c0dc4c2f34
Accepting request 236331 from home:elvigia:branches:Base:System
...
- Correct the libseccomp distribution version test must be >= 13.1
- In order to use unit directive AppArmorProfile= libapparmor-devel
must be present in buildRequires.
- Correct the libseccomp distribution version test must be >= 13.1
- In order to use unit directive AppArmorProfile= libapparmor-devel
must be present in buildRequires.
OBS-URL: https://build.opensuse.org/request/show/236331
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=657
2014-06-05 06:57:37 +00:00
Dr. Werner Fink
6ee449814f
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=656
2014-06-03 16:28:48 +00:00
Dr. Werner Fink
4dd0a4a7fa
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=653
2014-06-03 14:53:17 +00:00
Dr. Werner Fink
219b5d9da9
Accepting request 236155 from home:sndirsch:branches:Base:System
...
- apply-ACL-for-nvidia-uvm-device-node.patch: set ACL on nvidia-uvm
device (bnc#879767).
OBS-URL: https://build.opensuse.org/request/show/236155
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=652
2014-06-03 14:52:37 +00:00
Robert Milasan
6005e19735
Accepting request 235824 from home:rmilasan:branches:Base:System
...
rules are disabled at boot time with 'net.ifnames=0' option (bnc#880732).
rules are disabled at boot time with 'net.ifnames=0' option (bnc#880732).
OBS-URL: https://build.opensuse.org/request/show/235824
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=650
2014-05-30 12:08:42 +00:00
Robert Milasan
3da8cf6436
Accepting request 235811 from home:rmilasan:branches:Base:System
...
- Re-add persistent rules to have a backup option if predictable
rules are disabled at boot time with 'net.ifnames=0' option.
add: 1021-udev-re-add-persistent-net-rules.patch
- udev: remove seqnum API and all assumptions about seqnums
add: 1022-udev-remove-seqnum-API-and-all-assumptions-about-seq.patch
- Re-add persistent rules to have a backup option if predictable
rules are disabled at boot time with 'net.ifnames=0' option.
add: 1021-udev-re-add-persistent-net-rules.patch
- udev: remove seqnum API and all assumptions about seqnums
add: 1022-udev-remove-seqnum-API-and-all-assumptions-about-seq.patch
OBS-URL: https://build.opensuse.org/request/show/235811
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=649
2014-05-30 11:13:04 +00:00
Dr. Werner Fink
486945edbf
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=647
2014-05-27 09:46:25 +00:00
Dr. Werner Fink
0eecee5bcd
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=645
2014-05-27 07:24:26 +00:00
Dr. Werner Fink
04897fb0c6
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=643
2014-05-26 16:34:59 +00:00
Dr. Werner Fink
9c847d2b45
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=642
2014-05-26 15:47:36 +00:00
Stephan Kulow
b68f40be40
- fix file list of systemd.pc
...
- fix file list of systemd.pc
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=641
2014-05-21 19:24:38 +00:00
Dr. Werner Fink
c2a5e8b418
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=640
2014-05-21 14:13:32 +00:00
Dr. Werner Fink
bc75b9d246
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=639
2014-05-21 10:27:31 +00:00
Dr. Werner Fink
41d5ba7e50
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=638
2014-05-21 08:58:28 +00:00
Dr. Werner Fink
d425691cfb
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=637
2014-05-20 14:12:28 +00:00
Dr. Werner Fink
f1d191040a
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=636
2014-05-20 12:13:39 +00:00
Dr. Werner Fink
4270b9249c
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=635
2014-05-20 11:32:38 +00:00
Dr. Werner Fink
51ace7e55e
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=634
2014-05-20 11:17:58 +00:00
Dr. Werner Fink
f1963177e5
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=633
2014-05-19 13:33:36 +00:00
Dr. Werner Fink
0d6c9effe5
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=628
2014-05-16 12:01:21 +00:00
Dr. Werner Fink
9cbd040327
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=627
2014-05-16 11:48:04 +00:00
Dr. Werner Fink
494283f42f
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=626
2014-05-14 07:40:46 +00:00
Dr. Werner Fink
001a4720dd
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=624
2014-05-13 08:48:13 +00:00
Dr. Werner Fink
075f4affa3
Accepting request 233572 from home:rmilasan:branches:Base:System
...
- Drop upstream-net_id-changes.patch and replace them with the correct
patches from upstream and their commits:
add: 1014-udev-update-net_id-comments.patch
add: 1015-udev-persistent-naming-we-cannot-use-virtio-numbers-.patch
- Drop upstream-net_id-changes.patch and replace them with the correct
patches from upstream and their commits:
add: 1014-udev-update-net_id-comments.patch
add: 1015-udev-persistent-naming-we-cannot-use-virtio-numbers-.patch
OBS-URL: https://build.opensuse.org/request/show/233572
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=623
2014-05-12 12:30:16 +00:00
Dr. Werner Fink
30a790e9da
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=621
2014-05-07 10:43:30 +00:00
Dr. Werner Fink
f6ce1d62d4
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=620
2014-05-07 09:35:31 +00:00
Dr. Werner Fink
8d31dcf8f8
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=618
2014-05-07 09:24:23 +00:00
Dr. Werner Fink
b6b49bde7c
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=616
2014-05-05 14:06:21 +00:00
Dr. Werner Fink
2ac9932c31
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=614
2014-05-02 10:15:38 +00:00
Dr. Werner Fink
e40cfb30ad
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=612
2014-04-30 13:17:33 +00:00
Dr. Werner Fink
b2594a462d
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=611
2014-04-30 10:57:26 +00:00
Dr. Werner Fink
e1828fd312
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=610
2014-04-28 09:54:18 +00:00
Dr. Werner Fink
5516721fd4
Accepting request 231429 from home:oertel:branches:Base:System
...
- Do not use runtime PM for some IBM consoles (bnc#868931)
1013-no-runtime-PM-for-IBM-consoles.patch
- Do not use runtime PM for some IBM consoles (bnc#868931)
1013-no-runtime-PM-for-IBM-consoles.patch
OBS-URL: https://build.opensuse.org/request/show/231429
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=609
2014-04-28 09:21:34 +00:00
Dr. Werner Fink
8de7dbd558
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=607
2014-04-17 13:57:09 +00:00
Dr. Werner Fink
5aabfbea31
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=605
2014-04-17 13:38:31 +00:00
Dr. Werner Fink
f0bcf33be9
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=604
2014-04-17 13:36:39 +00:00
Dr. Werner Fink
f954f0a510
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=598
2014-04-16 10:17:55 +00:00
Dr. Werner Fink
6ba3a2126f
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=596
2014-04-15 12:20:48 +00:00
Dr. Werner Fink
48d7354cd2
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=594
2014-04-14 15:09:11 +00:00
Dr. Werner Fink
a8fe5627f8
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=592
2014-04-10 10:19:46 +00:00
Dr. Werner Fink
461fd68469
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=590
2014-04-10 09:14:13 +00:00
Dr. Werner Fink
a95f0e8886
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=588
2014-04-10 09:06:04 +00:00
Dr. Werner Fink
98266f1c39
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=587
2014-04-10 09:02:21 +00:00
Dr. Werner Fink
8f4bd857d2
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=583
2014-04-08 08:17:15 +00:00
Dr. Werner Fink
c48f3b3292
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=580
2014-03-28 12:59:18 +00:00
Dr. Werner Fink
f18e3e5777
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=579
2014-03-28 09:05:36 +00:00
Dr. Werner Fink
3556bf6f5f
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=574
2014-03-25 17:29:50 +00:00
Dr. Werner Fink
da5ebdb2e3
Accepting request 227295 from openSUSE:Factory:Staging:Gcc49
...
- also autoreconf in systemd-mini to simplify spec file logic
and fix build in staging:gcc49
(obsoleting 0002-make-209-working-on-older-dist.patch)
OBS-URL: https://build.opensuse.org/request/show/227295
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=572
2014-03-24 11:36:29 +00:00
Dr. Werner Fink
d58892e030
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=571
2014-03-20 12:11:21 +00:00
Dr. Werner Fink
dfcca8375e
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=567
2014-03-19 13:37:37 +00:00
Dr. Werner Fink
29c1e49ffc
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=565
2014-03-19 12:11:12 +00:00
Dr. Werner Fink
6839d68d3b
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=563
2014-03-14 14:27:16 +00:00
Dr. Werner Fink
5ce15b1c02
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=560
2014-03-14 11:10:20 +00:00
Dr. Werner Fink
b0c28df014
Accepting request 225860 from home:AndreasSchwab:f
...
- Don't require non-existing binutils-gold
OBS-URL: https://build.opensuse.org/request/show/225860
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=559
2014-03-14 11:02:35 +00:00
Dr. Werner Fink
46dab78993
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=557
2014-03-13 16:12:50 +00:00
Dr. Werner Fink
e7d12985f1
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=556
2014-03-13 15:00:06 +00:00
Dr. Werner Fink
50a379324e
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=553
2014-03-13 14:14:59 +00:00
Dr. Werner Fink
31bf56cc82
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=552
2014-03-13 13:49:36 +00:00
Dr. Werner Fink
414aa0e44e
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=551
2014-03-13 13:46:47 +00:00
Dr. Werner Fink
ad482c55a5
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=548
2014-03-12 14:36:19 +00:00
Dr. Werner Fink
dc67b0680f
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=547
2014-03-12 14:31:57 +00:00
Dr. Werner Fink
d94ad9a4a0
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=543
2014-03-11 11:03:08 +00:00
Dr. Werner Fink
bbe748fcac
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=541
2014-03-11 07:49:28 +00:00
Dr. Werner Fink
ba8933f04c
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=537
2014-03-07 09:33:04 +00:00
Dr. Werner Fink
e474ef38d9
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=535
2014-03-04 10:55:59 +00:00
Dr. Werner Fink
a94653b97a
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=533
2014-03-04 10:39:13 +00:00
Dr. Werner Fink
66ee01ae10
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=531
2014-03-03 14:58:29 +00:00
Dr. Werner Fink
3fb99bb7e1
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=529
2014-03-03 14:25:26 +00:00
Dr. Werner Fink
b310745ef0
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=528
2014-02-28 17:55:27 +00:00
Dr. Werner Fink
bd5c75ca7d
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=527
2014-02-28 17:31:17 +00:00
Dr. Werner Fink
812af7c9b1
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=524
2014-02-28 17:10:52 +00:00
Dr. Werner Fink
8e129fe3f6
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=521
2014-02-26 12:52:11 +00:00
Dr. Werner Fink
c1db96379d
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=517
2014-02-14 16:08:20 +00:00
Stephan Kulow
cff8537f54
- don't build bash-completions for bootstrap package
...
- don't build bash-completions for bootstrap package
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=515
2014-02-11 10:54:05 +00:00
Stephan Kulow
d7441c1962
- add more requires to this-is-only-for-build-envs to avoid
...
problems in kiwi configs
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=514
2014-02-11 10:26:19 +00:00
Dr. Werner Fink
21eb780b02
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=513
2014-02-10 15:24:59 +00:00
Dr. Werner Fink
19426b88e9
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=511
2014-02-09 18:45:14 +00:00
2de988407c
Accepting request 221379 from home:coolo:branches:openSUSE:Factory
...
- split bash-completion support into its own package,
no need for sles_version
OBS-URL: https://build.opensuse.org/request/show/221379
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=509
2014-02-08 10:46:51 +00:00
Dr. Werner Fink
bcc20b8ac2
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=508
2014-02-07 13:20:42 +00:00
Dr. Werner Fink
9eaa9a670c
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=506
2014-02-05 14:40:22 +00:00
Dr. Werner Fink
9d496fdd5b
Accepting request 220593 from home:olh:branches:Base:System
...
- Remove PreReq pidof from udev, nothing in this pkg uses it
OBS-URL: https://build.opensuse.org/request/show/220593
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=504
2014-02-03 10:02:31 +00:00
Dr. Werner Fink
6c6183db6f
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=501
2014-01-30 12:35:04 +00:00
Dr. Werner Fink
b6a8c3c72a
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=500
2014-01-30 08:59:45 +00:00
Dr. Werner Fink
fb858fdc90
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=499
2014-01-30 08:30:23 +00:00
Dr. Werner Fink
e2b9a86f31
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=497
2014-01-28 12:57:54 +00:00
Dr. Werner Fink
6d6585e239
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=496
2014-01-23 13:37:13 +00:00
Dr. Werner Fink
4f574e1e4c
.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=490
2014-01-21 12:55:52 +00:00
Robert Milasan
1b6c230940
Accepting request 214486 from home:fcrozat:branches:Base:System
...
- Add analyze-fix-crash-in-command-line-parsing.patch: fix crash in
systemd-analyze (bnc#859365)
OBS-URL: https://build.opensuse.org/request/show/214486
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=489
2014-01-20 12:22:10 +00:00
2dd2c64767
Accepting request 211000 from home:fcrozat:branches:Base:System
...
- 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).
OBS-URL: https://build.opensuse.org/request/show/211000
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=474
2013-12-16 16:54:19 +00:00
Robert Milasan
d76216e1f9
Accepting request 203387 from home:fcrozat:branches:Base:System
...
(please also push to 13.1, I want the same version as F20)
- 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).
OBS-URL: https://build.opensuse.org/request/show/203387
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=454
2013-10-15 14:15:10 +00:00
5aeb3c6333
Accepting request 202117 from home:fcrozat:branches:Base:System
...
- 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:
OBS-URL: https://build.opensuse.org/request/show/202117
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=452
2013-10-04 12:28:12 +00:00
be645c07e8
- Add after-local.service to run after.local late during the boot
...
process (bnc#778715).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=450
2013-10-02 14:48:48 +00:00
3cb30e5b65
Accepting request 201904 from home:sumski:hazard:to:your:stereo
...
Explicitly require pam-config for %post of the main package, fixes build
Also cleaned up whitespaces in spec and changelog
OBS-URL: https://build.opensuse.org/request/show/201904
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=449
2013-10-02 14:37:41 +00:00
Robert Milasan
6c8c5c286e
Accepting request 201848 from home:fcrozat:branches:Base:System
...
(please fwd to 13.1 too)
- 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,
OBS-URL: https://build.opensuse.org/request/show/201848
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=448
2013-10-02 11:01:24 +00:00
41c2068c21
Accepting request 201510 from home:fcrozat:branches:Base:System
...
- 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-<uname -r> presence.
- Add service wrapper for after.local (bnc#778715).
OBS-URL: https://build.opensuse.org/request/show/201510
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=447
2013-10-01 07:23:27 +00:00
Robert Milasan
51b7daad78
Accepting request 201156 from home:fcrozat:branches:Base:System
...
- 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).
OBS-URL: https://build.opensuse.org/request/show/201156
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=445
2013-09-27 20:05:07 +00:00
cb091da83f
- Remove output and error redirection to /dev/null in install
...
script, it might help tracing pam related issue (bnc#841573).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=442
2013-09-23 11:12:09 +00:00
Cristian Rodríguez
d515402e92
Accepting request 199741 from home:fcrozat:branches:Base:System
...
- Move symlink migration trigger to post (bnc#821800).
-add CVE-2013-4288 to changes
OBS-URL: https://build.opensuse.org/request/show/199741
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=440
2013-09-19 18:32:09 +00:00
506924ede0
Accepting request 199672 from home:elvigia:branches:Base:System
...
- 0009-polkit-Avoid-race-condition-in-scraping-proc.patch
VUL-0: polkit: process subject race condition [bnc#835827]
- Build with --disable-ima as the openSUSE kernel
does not support IMA (CONFIG_IMA is not set)
- Build with --disable-smack as the openSUSE kernel
does not support smack (CONFIG_SECURITY_SMACK is not set)
- 0009-polkit-Avoid-race-condition-in-scraping-proc.patch
VUL-0: polkit: process subject race condition [bnc#835827]
- Build with --disable-ima as the openSUSE kernel
does not support IMA (CONFIG_IMA is not set)
- Build with --disable-smack as the openSUSE kernel
does not support smack (CONFIG_SECURITY_SMACK is not set)
OBS-URL: https://build.opensuse.org/request/show/199672
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=439
2013-09-19 07:46:03 +00:00
Cristian Rodríguez
5146e9a590
Accepting request 199623 from home:fcrozat:branches:Base:System
...
- 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).
OBS-URL: https://build.opensuse.org/request/show/199623
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=438
2013-09-18 23:39:18 +00:00
Stefan Seyfried
784668e115
Accepting request 199286 from home:elvigia:branches:Base:System
...
- 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.
- 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.
OBS-URL: https://build.opensuse.org/request/show/199286
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=436
2013-09-16 18:44:03 +00:00
85c9187bf1
Accepting request 199084 from home:elvigia:branches:Base:System
...
- 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".
- 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)
- 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
OBS-URL: https://build.opensuse.org/request/show/199084
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=434
2013-09-16 09:46:56 +00:00
5194f8ce14
changelog cleanup
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=432
2013-09-13 08:42:46 +00:00
cd3a785598
improve .change files
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=431
2013-09-13 08:19:08 +00:00
Robert Milasan
495fa3ae23
Accepting request 198826 from home:fcrozat:branches:Base:System
...
- Enable Predictable Network interface names (bnc#829526).
OBS-URL: https://build.opensuse.org/request/show/198826
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=430
2013-09-13 08:05:43 +00:00
2e48bf7a12
Accepting request 198799 from home:elvigia:branches:Base:System
...
- 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.
- 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.
OBS-URL: https://build.opensuse.org/request/show/198799
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=429
2013-09-13 07:25:15 +00:00
Dr. Werner Fink
660eee63c7
Accepting request 198171 from home:fcrozat:branches:Base:System
...
- Add exclude-dev-from-tmpfiles.patch: allow to exclude /dev from
tmpfiles (bnc#835813).
OBS-URL: https://build.opensuse.org/request/show/198171
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=428
2013-09-12 15:29:02 +00:00
Dr. Werner Fink
72c0c7777a
Accepting request 197612 from home:fcrozat:branches:Base:System
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/197612
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=426
2013-09-08 09:05:47 +00:00
Tomáš Chvátal
6f44dd5eb8
Accepting request 195808 from home:namtrac:bugfix
...
This SR fixes screen locking problems in Gnome and also automatic login.
- 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
OBS-URL: https://build.opensuse.org/request/show/195808
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=424
2013-08-22 10:52:35 +00:00
Stephan Kulow
797d2b5e28
Accepting request 185494 from home:fcrozat:branches:Base:System
...
- Ensure /usr/lib/systemd/system/shutdown.target.wants is created
and owned by systemd package.
OBS-URL: https://build.opensuse.org/request/show/185494
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=419
2013-08-01 16:06:31 +00:00
Dr. Werner Fink
d4f7aa97e3
Accepting request 184855 from home:fcrozat:branches:Base:System
...
- Fix drop-in for getty@tty1.service
please forward to factory only once sr184712 has been accepted
OBS-URL: https://build.opensuse.org/request/show/184855
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=418
2013-07-29 16:25:21 +00:00
4060366bbd
Accepting request 184325 from home:fcrozat:branches:Base:System
...
- Move systemd-journal-gateway to subpackage to lower dependencies
in default install.
OBS-URL: https://build.opensuse.org/request/show/184325
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=417
2013-07-25 15:40:51 +00:00
37527bb454
Accepting request 184036 from home:elvigia:branches:Base:System
...
- 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.
- 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. (forwarded request 184035 from elvigia)
OBS-URL: https://build.opensuse.org/request/show/184036
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=416
2013-07-23 09:21:21 +00:00
Dr. Werner Fink
2c9ad1c6b2
Accepting request 183009 from home:arvidjaar:branches:Base:System
...
emergency.service failed to start because sulogin is in /usr/sbin now.
Add use-usr-sbin-sulogin-for-emergency-service.patch to fix the path in unit file.
OBS-URL: https://build.opensuse.org/request/show/183009
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=415
2013-07-14 13:56:23 +00:00
b6d161fd43
- fix build with rpm-4.11.1
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=414
2013-07-12 15:10:22 +00:00
cd1464522d
Accepting request 182265 from home:elvigia:branches:Base:System
...
build fails due to rpmlint bug, nothing to do with this change at all
OBS-URL: https://build.opensuse.org/request/show/182265
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=413
2013-07-05 07:29:00 +00:00
Dr. Werner Fink
6e615f2c31
Accepting request 182204 from home:fcrozat:branches:Base:System
...
- 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
OBS-URL: https://build.opensuse.org/request/show/182204
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=412
2013-07-04 15:28:49 +00:00
Dr. Werner Fink
b4d92d5e75
Accepting request 181647 from home:fcrozat:branches:Base:System
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/181647
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=410
2013-07-02 20:42:56 +00:00
d61605f370
Accepting request 181585 from home:coolo:branches:openSUSE:Factory
...
- systemd-mini doesn't need dbus-1, only dbus-1-devel
OBS-URL: https://build.opensuse.org/request/show/181585
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=408
2013-07-01 12:11:31 +00:00
Robert Milasan
34bcb72b45
Accepting request 180972 from home:rmilasan:branches:Base:System
...
- Re-add fixed udev MSFT compability rules (bnc#805059, bnc#826528).
add: 1008-add-msft-compability-rules.patch
- Re-add fixed udev MSFT compability rules (bnc#805059, bnc#826528).
add: 1008-add-msft-compability-rules.patch
OBS-URL: https://build.opensuse.org/request/show/180972
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=407
2013-06-26 09:33:43 +00:00
Robert Milasan
9843603afb
Accepting request 180965 from home:rmilasan:branches:Base:System
...
- Drop 1007-add-msft-compability-rules.patch, breaks boot and links
in /dev/disk/by-id, will need proper rework (bnc#826528).
- 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
- Drop 1007-add-msft-compability-rules.patch, breaks boot and links
in /dev/disk/by-id, will need proper rework (bnc#826528).
- 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
OBS-URL: https://build.opensuse.org/request/show/180965
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=405
2013-06-26 08:55:18 +00:00
Dr. Werner Fink
727ca90293
Accepting request 180699 from home:elvigia:branches:Base:System
...
OBS-URL: https://build.opensuse.org/request/show/180699
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=403
2013-06-25 11:14:48 +00:00
Robert Milasan
ed3a81fc51
Accepting request 180433 from home:rmilasan:branches:Base:System
...
- Automatically online CPUs/Memory on CPU/Memory hotplug add events
(bnc#703100, fate#311831).
add: 1008-physical-hotplug-cpu-and-memory.patch
0002-journal-remember-last-direction-of-search-and-keep-o.patch
fix possible infinite loops in the journal code, related to
bnc #817778
- Automatically online CPUs/Memory on CPU/Memory hotplug add events
(bnc#703100, fate#311831).
add: 1008-physical-hotplug-cpu-and-memory.patch
0002-journal-remember-last-direction-of-search-and-keep-o.patch
fix possible infinite loops in the journal code, related to
bnc #817778
OBS-URL: https://build.opensuse.org/request/show/180433
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=401
2013-06-21 13:20:36 +00:00
e9cf4e1888
Accepting request 179649 from home:-miska-:branches:Base:System
...
We talked about using %patch, but in that case I would need a tarball of systemd in rpm-macros package which depends on xz which is part of many circles.
OBS-URL: https://build.opensuse.org/request/show/179649
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=399
2013-06-19 11:05:44 +00:00
Dr. Werner Fink
0597613eb9
Accepting request 179571 from home:-miska-:branches:Base:System
...
Reduce build time dependencies
OBS-URL: https://build.opensuse.org/request/show/179571
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=398
2013-06-19 07:04:23 +00:00
4574d97ac0
Accepting request 179368 from home:elvigia:branches:Base:System
...
- 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
- 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 (forwarded request 179367 from elvigia)
OBS-URL: https://build.opensuse.org/request/show/179368
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=396
2013-06-18 07:18:53 +00:00
Dr. Werner Fink
8da2ae06e2
Accepting request 179231 from home:jengelh:attr
...
- Explicitly list libattr-devel as BuildRequires
OBS-URL: https://build.opensuse.org/request/show/179231
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=395
2013-06-17 12:29:15 +00:00
6926882e37
Accepting request 178889 from home:sbrabec:branches:Base:System
...
- Cleanup NumLock setting code
(handle-numlock-value-in-etc-sysconfig-keyboard.patch).
OBS-URL: https://build.opensuse.org/request/show/178889
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=393
2013-06-13 15:43:52 +00:00
Robert Milasan
d3cbd4a150
Accepting request 178623 from home:fcrozat:branches:Base:System
...
- Only apply 1007-add-msft-compability-rules.patch when not
building systemd-mini.
OBS-URL: https://build.opensuse.org/request/show/178623
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=392
2013-06-12 10:03:45 +00:00
Robert Milasan
0201053d5c
Accepting request 178519 from home:rmilasan:branches:Base:System
...
- 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.
- 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.
OBS-URL: https://build.opensuse.org/request/show/178519
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=391
2013-06-11 11:22:32 +00:00
Robert Milasan
ef894ec214
Accepting request 178446 from home:elvigia:branches:Base:System
...
- 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.
- 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.
OBS-URL: https://build.opensuse.org/request/show/178446
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=390
2013-06-11 09:22:26 +00:00
28dd57258d
Accepting request 176957 from home:fcrozat:branches:Base:System
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/176957
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=388
2013-05-29 15:26:40 +00:00
30ec703469
Accepting request 176799 from home:elvigia:branches:Base:System
...
- 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.
- 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.
OBS-URL: https://build.opensuse.org/request/show/176799
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=387
2013-05-28 08:51:44 +00:00
10c7016cb7
Accepting request 176648 from home:fcrozat:branches:Base:System
...
- 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).
OBS-URL: https://build.opensuse.org/request/show/176648
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=385
2013-05-27 09:58:29 +00:00
290905bac8
Accepting request 176236 from home:fcrozat:branches:Base:System
...
- Rebase
parse-etc-insserv.conf-and-adds-dependencies-accordingly.patch to
fix memory corruption (thanks to Michal Vyskocil) (bnc#820454).
OBS-URL: https://build.opensuse.org/request/show/176236
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=383
2013-05-21 09:16:19 +00:00
Dr. Werner Fink
aa2e4c5316
Accepting request 175971 from home:fcrozat:branches:Base:System
...
- Add sysctl-handle-boot-sysctl.conf-kernel_release.patch: ensure
/boot/sysctl.conf-<kernel_release> is handled (bnc#809420).
OBS-URL: https://build.opensuse.org/request/show/175971
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=382
2013-05-17 15:16:28 +00:00
Stephan Kulow
5404212e9d
Accepting request 175744 from home:fcrozat:branches:Base:System
...
- Update handle-SYSTEMCTL_OPTIONS-environment-variable.patch: don't
free variable whose content is still be used (bnc#819970).
OBS-URL: https://build.opensuse.org/request/show/175744
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=380
2013-05-15 14:09:16 +00:00
Dr. Werner Fink
9d31ef0b1a
Accepting request 175577 from home:fcrozat:branches:Base:System
...
- Add configure flags to ensure boot.local/halt.local are run on
startup/shutdown.
OBS-URL: https://build.opensuse.org/request/show/175577
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=379
2013-05-15 06:50:16 +00:00
Robert Milasan
fc77a05c71
Accepting request 175311 from home:rmilasan:branches:Base:System
...
- Fix firmware loading by enabling --with-firmware-path (bnc#817551).
- Fix firmware loading by enabling --with-firmware-path (bnc#817551).
OBS-URL: https://build.opensuse.org/request/show/175311
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=376
2013-05-13 18:23:10 +00:00
0ee91fe7f6
Accepting request 174108 from home:chkpnt:branches:Base:System
...
Otherwise, an empty folder will produce an error:
> for l in /etc/rc.d/rc4.d/*; do echo $l; done
/etc/rc.d/rc4.d/*
> systemd-sysv-convert --save iscsid
/usr/sbin/systemd-sysv-convert: line 44: [: too many arguments
/usr/sbin/systemd-sysv-convert: line 47: [: too many arguments
(resubmit of request 173801)
OBS-URL: https://build.opensuse.org/request/show/174108
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=374
2013-05-03 08:53:01 +00:00
Dr. Werner Fink
8e233bafe7
Accepting request 173532 from home:fcrozat:branches:Base:System
...
- Fix handle-etc-HOSTNAME.patch to properly set hostname at startup
when using /etc/HOSTNAME.
OBS-URL: https://build.opensuse.org/request/show/173532
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=372
2013-04-26 16:25:08 +00:00
Robert Milasan
0ce42fd6b6
Accepting request 173325 from home:rmilasan:branches:Base:System
...
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/173325
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=371
2013-04-25 08:33:19 +00:00
Dr. Werner Fink
f4535f0410
Accepting request 173023 from home:fcrozat:branches:Base:System
...
- Use drop-in file to fix bnc#804158.
OBS-URL: https://build.opensuse.org/request/show/173023
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=370
2013-04-25 07:23:12 +00:00
1d570af07b
Accepting request 173021 from home:coolo:branches:openSUSE:Factory
...
- add some more conflicts to make bootstrap work
OBS-URL: https://build.opensuse.org/request/show/173021
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=369
2013-04-23 12:55:16 +00:00
4a46ed333b
Accepting request 172848 from home:fcrozat:branches:Base:System
...
- 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)
OBS-URL: https://build.opensuse.org/request/show/172848
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=367
2013-04-22 14:35:32 +00:00
7834b1c691
Accepting request 172719 from home:elvigia:branches:Base:System
...
- Fix packaging error, there is no syslog.target anymore
do not pretend there is one.
- Fix packaging error, there is no syslog.target anymore
do not pretend there is one.
OBS-URL: https://build.opensuse.org/request/show/172719
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=366
2013-04-22 09:09:27 +00:00
Dr. Werner Fink
a6c42807cc
Accepting request 172582 from home:fcrozat:branches:Base:System
...
- 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
- Fix regression in the default for tmp auto-deletion
(systemd-tmp-safe-defaults.patch, FATE#314974).
- Add chromebook lid switch as a power switch to logind rule to
enable suspend on lid close
- 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'
OBS-URL: https://build.opensuse.org/request/show/172582
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=365
2013-04-19 20:31:17 +00:00
Dr. Werner Fink
4d2be9c235
Accepting request 163799 from home:fcrozat:branches:Base:System
...
update to v201
OBS-URL: https://build.opensuse.org/request/show/163799
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=363
2013-04-13 11:09:53 +00:00
e46422362e
Accepting request 163593 from home:fcrozat:branches:Base:System
...
- 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).
OBS-URL: https://build.opensuse.org/request/show/163593
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=361
2013-04-11 10:11:09 +00:00
Robert Milasan
8c41c28b11
Accepting request 162277 from home:sbrabec:branches:Base:System
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/162277
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=360
2013-04-03 07:18:50 +00:00
Robert Milasan
3135dd09a9
Accepting request 162067 from home:rmilasan:branches:Base:System
...
- udev: ensure that the network interfaces are renamed even if they
exist (bnc#809843).
add: 1027-udev-always-rename-network.patch
- udev: re-add persistent network rules (bnc#809843).
add: 1026-re-add-persistent-net.patch
- rebase all patches, ensure that they apply properly.
- udev: ensure that the network interfaces are renamed even if they
exist (bnc#809843).
add: 1027-udev-always-rename-network.patch
OBS-URL: https://build.opensuse.org/request/show/162067
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=359
2013-04-02 08:35:42 +00:00
Robert Milasan
23360acbc1
Accepting request 156080 from home:fcrozat:branches:Base:System
...
- Add rbind-mount.patch: handle rbind mount points correctly
(bnc#804575).
OBS-URL: https://build.opensuse.org/request/show/156080
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=355
2013-02-22 12:17:51 +00:00
Robert Milasan
5969b7160d
Accepting request 155834 from home:fcrozat:branches:Base:System
...
- 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).
OBS-URL: https://build.opensuse.org/request/show/155834
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=353
2013-02-20 08:34:16 +00:00
Robert Milasan
5f3dd06cd1
Accepting request 155790 from home:rmilasan:branches:Base:System
...
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/155790
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=351
2013-02-19 10:05:35 +00:00
76ed52e16b
Accepting request 155742 from home:jengelh:branches:Base:System
...
- Create getty@tty1.service to restore traditional SUSE behavior
of not clearing tty1. (bnc#804158)
OBS-URL: https://build.opensuse.org/request/show/155742
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=350
2013-02-18 16:15:49 +00:00
Robert Milasan
96bd006b89
Accepting request 155556 from home:fcrozat:branches:Base:System
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/155556
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=348
2013-02-16 09:43:26 +00:00
409881632d
Accepting request 155543 from home:lnussel:branches:Base:System
...
- disable nss-myhostname warning (bnc#783841)
=> disable-nss-myhostname-warning-bnc-783841.diff
- disable nss-myhostname warning (bnc#783841)
=> disable-nss-myhostname-warning-bnc-783841.diff
OBS-URL: https://build.opensuse.org/request/show/155543
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=346
2013-02-15 14:53:23 +00:00
Robert Milasan
2f2eb23bbf
Accepting request 155319 from home:rmilasan:branches:Base:System
...
- 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
- 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
OBS-URL: https://build.opensuse.org/request/show/155319
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=344
2013-02-13 12:01:15 +00:00
Robert Milasan
bd48810a23
Accepting request 155189 from home:rmilasan:branches:Base:System
...
- 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
- 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)
- 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
OBS-URL: https://build.opensuse.org/request/show/155189
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=342
2013-02-12 09:21:01 +00:00
Robert Milasan
11eac452f3
- fix in udev package missing link in basic.target.wants for
...
systemd-udev-root-symlink.service
- fix in udev package missing link in basic.target.wants for
systemd-udev-root-symlink.service
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=338
2013-01-29 14:18:53 +00:00
Robert Milasan
659e3a2370
forgot pre_checkin.sh
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=337
2013-01-29 13:48:02 +00:00
Robert Milasan
3e9d23e8c8
- 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
- rename udev-root-symlink.service to systemd-udev-root-symlink.service.
- 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
- rename udev-root-symlink.service to systemd-udev-root-symlink.service.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=335
2013-01-29 13:40:40 +00:00
Robert Milasan
f07c101695
Accepting request 150151 from home:fcrozat:branches:Base:System
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/150151
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=333
2013-01-28 13:36:03 +00:00
Robert Milasan
b8b836245b
Accepting request 149703 from home:fcrozat:branches:Base:System
...
- 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
OBS-URL: https://build.opensuse.org/request/show/149703
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=331
2013-01-23 13:44:07 +00:00
Andreas Jaeger
6c729cff07
Accepting request 147937 from home:fcrozat:branches:Base:System
...
- Add multiple-sulogin.patch: allows multiple sulogin instance
(bnc#793182).
(please forward to Factory)
OBS-URL: https://build.opensuse.org/request/show/147937
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=329
2013-01-10 19:35:11 +00:00
Robert Milasan
039f4cc39b
- 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
closing an non-existent dbus connection and getting assertion
failures.
- 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
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=327
2013-01-09 09:46:41 +00:00
Robert Milasan
0227bf9cb1
- make 'reload' and 'force-reload' LSB compliant (bnc#793936).
...
- make 'reload' and 'force-reload' LSB compliant (bnc#793936).
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=325
2013-01-08 13:29:03 +00:00
Robert Milasan
01ebcbf43e
- 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.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=324
2013-01-08 12:54:22 +00:00
Robert Milasan
8117846f4e
Accepting request 145035 from home:elvigia:branches:Base:System
...
OBS-URL: https://build.opensuse.org/request/show/145035
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=322
2012-12-13 09:24:00 +00:00
Stephan Kulow
95d906a9cf
- add conflicts between udev-mini and udev-mini-devel to libudev1
...
- add conflicts between udev-mini and udev-mini-devel to libudev1
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=320
2012-12-10 14:22:55 +00:00
8507bb811d
Accepting request 144458 from home:elvigia:branches:Base:System
...
OBS-URL: https://build.opensuse.org/request/show/144458
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=318
2012-12-07 08:12:17 +00:00
Robert Milasan
37d7d3c919
Accepting request 144331 from home:fcrozat:branches:Base:System
...
- 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.
- 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.
OBS-URL: https://build.opensuse.org/request/show/144331
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=317
2012-12-05 18:07:07 +00:00
7d739f0d70
- Fix creation of /dev/root link.
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=315
2012-11-23 11:06:55 +00:00
Cristian Rodríguez
fa79d4401d
Accepting request 142164 from home:fcrozat:branches:Base:System
...
- 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 /
OBS-URL: https://build.opensuse.org/request/show/142164
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=313
2012-11-20 17:57:51 +00:00
62fc9acca7
Accepting request 142041 from home:fcrozat:branches:Base:System
...
- 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.
- 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.
old: Base:System/systemd
new: home:fcrozat:branches:Base:System/systemd rev NoneIndex: 0001-service-Fix-dependencies-added-when-parsing-insserv..patch
===================================================================
--- 0001-service-Fix-dependencies-added-when-parsing-insserv..patch (revision 311)
+++ 0001-service-Fix-dependencies-added-when-parsing-insserv..patch (revision 5)
@@ -1,17 +1,35 @@
-From 6620bceb7233a830be3635a4f7a7dc75c13a9c8e Mon Sep 17 00:00:00 2001
-From: Frederic Crozat <fcrozat@suse.com>
-Date: Fri, 30 Sep 2011 14:12:45 +0200
-Subject: [PATCH] service: Fix dependencies added when parsing insserv.conf
-
----
- src/service.c | 16 +++++++++-------
- 1 files changed, 9 insertions(+), 7 deletions(-)
-
-Index: systemd-41/src/service.c
+Index: systemd-195/src/core/service.c
===================================================================
---- systemd-41.orig/src/core/service.c
-+++ systemd-41/src/core/service.c
-@@ -3210,23 +3210,30 @@ static void sysv_facility_in_insserv_con
+--- systemd-195.orig/src/core/service.c
++++ systemd-195/src/core/service.c
+@@ -3391,12 +3391,13 @@ static void service_notify_message(Unit
+
+ #ifdef HAVE_SYSV_COMPAT
+
+-#ifdef TARGET_SUSE
+-static void sysv_facility_in_insserv_conf(Manager *mgr) {
+- FILE *f=NULL;
++#if defined(TARGET_SUSE) || defined(TARGET_DEBIAN)
++static void sysv_parse_insserv_conf(Manager *mgr, const char* filename) {
++ FILE *f = NULL;
+ int r;
+
+- if (!(f = fopen("/etc/insserv.conf", "re"))) {
++ if (!(f = fopen(filename, "re"))) {
++ log_error("Failed to open file %s", filename);
+ r = errno == ENOENT ? 0 : -errno;
+ goto finish;
+ }
+@@ -3410,7 +3411,7 @@ static void sysv_facility_in_insserv_con
+ break;
+
+ r = -errno;
+- log_error("Failed to read configuration file '/etc/insserv.conf': %s", strerror(-r));
++ log_error("Failed to read configuration file '%s': %s", filename, strerror(-r));
+ goto finish;
+ }
+
+@@ -3425,23 +3426,30 @@ static void sysv_facility_in_insserv_con
Unit *u;
if (sysv_translate_facility(parsed[0], NULL, &facility) < 0)
continue;
@@ -29,12 +47,12 @@
STRV_FOREACH (j, parsed+1) {
- if (*j[0]=='+') {
- e = UNIT_WANTS;
-+ if (*j[0]=='+')
++ if (*j[0] == '+')
name = *j+1;
- }
- else {
- e = UNIT_REQUIRES;
-+ else
++ else
name = *j;
- }
+ if (streq(name, "boot.localfs") ||
@@ -44,9 +62,54 @@
continue;
- r = unit_add_two_dependencies_by_name(u, UNIT_BEFORE, e, dep, NULL, true);
-+ r = unit_add_dependency_by_name_inverse(u, UNIT_BEFORE, dep, NULL, true);
-+ if (*j[0]!='+')
++ r = unit_add_two_dependencies_by_name_inverse(u, UNIT_WANTS, UNIT_BEFORE, dep, NULL, true);
++ if (*j[0] != '+')
+ r = unit_add_dependency_by_name(u, UNIT_REQUIRES, dep, NULL, true);
free(dep);
}
}
+@@ -3454,6 +3462,35 @@ finish:
+ fclose(f);
+
+ }
++
++static void sysv_facility_in_insserv_conf(Manager *mgr) {
++ DIR *d =NULL;
++ struct dirent *de;
++
++#ifdef TARGET_DEBIAN
++ if (!(d = opendir("/etc/insserv.conf.d/")))
++ if (errno != ENOENT) {
++ log_warning("opendir() failed on /etc/insserv.conf.d/ %s", strerror(errno));
++ goto finish;
++ }
++
++ while ((de = readdir(d))) {
++ char *path = NULL;
++ if (ignore_file(de->d_name))
++ continue;
++
++ path = join("/etc/insserv.conf.d/", de->d_name, NULL);
++ sysv_parse_insserv_conf(mgr, path);
++ free(path);
++ }
++finish:
++ if (d)
++ closedir(d);
++#endif
++
++ sysv_parse_insserv_conf(mgr, "/etc/insserv.conf");
++}
++
+ #endif
+
+ static int service_enumerate(Manager *m) {
+@@ -3604,7 +3641,7 @@ static int service_enumerate(Manager *m)
+
+ r = 0;
+
+-#ifdef TARGET_SUSE
++#if defined(TARGET_SUSE) || defined(TARGET_DEBIAN)
+ sysv_facility_in_insserv_conf (m);
+ #endif
+
Index: systemd-mini.changes
===================================================================
--- systemd-mini.changes (revision 311)
+++ systemd-mini.changes (revision 5)
@@ -1,4 +1,35 @@
-------------------------------------------------------------------
+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
Index: systemd-mini.spec
===================================================================
--- systemd-mini.spec (revision 311)
+++ systemd-mini.spec (revision 5)
@@ -102,6 +102,7 @@
Source5: systemd-insserv_conf
Source6: baselibs.conf
Source7: libgcrypt.m4
+Source8: systemd-journald.init
Source1060: boot.udev
Source1061: write_dev_root_rule
@@ -128,6 +129,8 @@
Patch56: support-suse-clock-sysconfig.patch
Patch59: fix-enable-disable-boot-initscript.patch
Patch60: var-run-lock.patch
+Patch63: xdm-display-manager.patch
+Patch64: fix-permissions-btmp.patch
# Upstream First - Policy:
# Never add any patches to this package without the upstream commit id
@@ -137,6 +140,14 @@
Patch61: fix-logind-pty-seat.patch
# PATCH-FIX-UPSTREAM fix-build-glibc217.patch fcrozat@suse.com -- fix build with latest glibc
Patch62: fix-build-glibc217.patch
+# PATCH-FIX-UPSTREAM fix-bad-memory-access.patch fcrozat@suse.com -- fix bad memory access
+Patch65: fix-bad-memory-access.patch
+# PATCH-FIX-UPSTREAM fix-dbus-crash.patch fcrozat@suse.com -- fix D-Bus caused crash
+Patch66: fix-dbus-crash.patch
+# PATCH-FIX-UPSTREAM sync-on-shutdown.patch fcrozat@suse.com -- Sync on shutdown
+Patch67: sync-on-shutdown.patch
+# PATCH-FIX-UPSTREAM mount-efivars.patch fcrozat@suse.com -- mount efivars if booting under UEFI
+Patch68: mount-efivars.patch
# udev patches
# PATCH-FIX-OPENSUSE 0001-Reinstate-TIMEOUT-handling.patch
@@ -151,8 +162,6 @@
# PATCH-FIX-OPENSUSE 0027-udev-fix-sg-autoload-regression.patch
Patch1027: 0027-udev-fix-sg-autoload-regression.patch
-# systemd patches
-
%description
Systemd is a system and service manager, compatible with SysV and LSB
init scripts for Linux. systemd provides aggressive parallelization
@@ -313,6 +322,7 @@
%patch1026 -p1
%patch1027 -p1
+#systemd
%patch1 -p1
%patch6 -p1
# don't apply when bootstrapping to not modify configure.in
@@ -337,6 +347,12 @@
%patch60 -p1
%patch61 -p1
%patch62 -p1
+%patch63 -p1
+%patch64 -p1
+%patch65 -p1
+%patch66 -p1
+%patch67 -p1
+%patch68 -p1
%build
autoreconf -fiv
@@ -368,8 +384,14 @@
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
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/usr/lib/firmware/updates
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
+%endif
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
@@ -378,11 +400,6 @@
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants
ln -sf ../udev-root-symlink.service $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/basic.target.wants
-#fix manpages
-%if ! 0%{?bootstrap}
-sed -i -e 's,^\(\.so \)\(.*\.\)\([0-9]\),\1man\3/\2\3,g' %{buildroot}/%{_mandir}/*/*
-%endif
-
#workaround for 716939
chmod 644 %{buildroot}%{_bindir}/systemd-analyze
mkdir -p %{buildroot}%{_sysconfdir}/rpm
@@ -392,7 +409,7 @@
install -m755 %{S:3} -D %{buildroot}%{_sbindir}/systemd-sysv-convert
# do not install, code has been fixed, might be useful in the future
-#install -m755 %{S:5} %{buildroot}/lib/systemd/system-generators
+#install -m755 %{S:5} %{buildroot}/usr/lib/systemd/system-generators
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
@@ -415,8 +432,7 @@
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
-# need to be implemented in systemd directly
-#ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/localnet.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
@@ -442,8 +458,12 @@
%endif
# legacy links
-ln -s loginctl %{buildroot}%{_bindir}/systemd-loginctl
-ln -s journalctl %{buildroot}%{_bindir}/systemd-journalctl
+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
@@ -532,6 +552,8 @@
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
@@ -724,6 +746,10 @@
%exclude %{_mandir}/man8/telinit.8*
%exclude %{_mandir}/man8/runlevel.8*
%exclude %{_mandir}/man*/*udev*.[0-9]*
+
+# Packaged in analyze subpackage
+%exclude %{_mandir}/man1/systemd-analyze.1*
+
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%{_mandir}/man5/*.5*
@@ -787,7 +813,11 @@
%endif
%files analyze
+%defattr(-,root,root)
%attr(0755,root,root) /usr/bin/systemd-analyze
+%if ! 0%{?bootstrap}
+%{_mandir}/man1/systemd-analyze.1*
+%endif
%files -n %{udevpkgname}
%defattr(-,root,root)
@@ -878,6 +908,7 @@
%defattr(-,root,root)
%dir /var/log/journal
/var/log/README
+/etc/init.d/systemd-journald
%endif
Index: systemd.changes
===================================================================
--- systemd.changes (revision 311)
+++ systemd.changes (revision 5)
@@ -1,4 +1,35 @@
-------------------------------------------------------------------
+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
Index: systemd.spec
===================================================================
--- systemd.spec (revision 311)
+++ systemd.spec (revision 5)
@@ -97,6 +97,7 @@
Source5: systemd-insserv_conf
Source6: baselibs.conf
Source7: libgcrypt.m4
+Source8: systemd-journald.init
Source1060: boot.udev
Source1061: write_dev_root_rule
@@ -123,6 +124,8 @@
Patch56: support-suse-clock-sysconfig.patch
Patch59: fix-enable-disable-boot-initscript.patch
Patch60: var-run-lock.patch
+Patch63: xdm-display-manager.patch
+Patch64: fix-permissions-btmp.patch
# Upstream First - Policy:
# Never add any patches to this package without the upstream commit id
@@ -132,6 +135,14 @@
Patch61: fix-logind-pty-seat.patch
# PATCH-FIX-UPSTREAM fix-build-glibc217.patch fcrozat@suse.com -- fix build with latest glibc
Patch62: fix-build-glibc217.patch
+# PATCH-FIX-UPSTREAM fix-bad-memory-access.patch fcrozat@suse.com -- fix bad memory access
+Patch65: fix-bad-memory-access.patch
+# PATCH-FIX-UPSTREAM fix-dbus-crash.patch fcrozat@suse.com -- fix D-Bus caused crash
+Patch66: fix-dbus-crash.patch
+# PATCH-FIX-UPSTREAM sync-on-shutdown.patch fcrozat@suse.com -- Sync on shutdown
+Patch67: sync-on-shutdown.patch
+# PATCH-FIX-UPSTREAM mount-efivars.patch fcrozat@suse.com -- mount efivars if booting under UEFI
+Patch68: mount-efivars.patch
# udev patches
# PATCH-FIX-OPENSUSE 0001-Reinstate-TIMEOUT-handling.patch
@@ -146,8 +157,6 @@
# PATCH-FIX-OPENSUSE 0027-udev-fix-sg-autoload-regression.patch
Patch1027: 0027-udev-fix-sg-autoload-regression.patch
-# systemd patches
-
%description
Systemd is a system and service manager, compatible with SysV and LSB
init scripts for Linux. systemd provides aggressive parallelization
@@ -308,6 +317,7 @@
%patch1026 -p1
%patch1027 -p1
+#systemd
%patch1 -p1
%patch6 -p1
# don't apply when bootstrapping to not modify configure.in
@@ -332,6 +342,12 @@
%patch60 -p1
%patch61 -p1
%patch62 -p1
+%patch63 -p1
+%patch64 -p1
+%patch65 -p1
+%patch66 -p1
+%patch67 -p1
+%patch68 -p1
%build
autoreconf -fiv
@@ -363,8 +379,14 @@
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
mkdir -p $RPM_BUILD_ROOT/%{_prefix}/usr/lib/firmware/updates
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
+%endif
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
@@ -373,11 +395,6 @@
mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/basic.target.wants
ln -sf ../udev-root-symlink.service $RPM_BUILD_ROOT/%{_prefix}/lib/systemd/system/basic.target.wants
-#fix manpages
-%if ! 0%{?bootstrap}
-sed -i -e 's,^\(\.so \)\(.*\.\)\([0-9]\),\1man\3/\2\3,g' %{buildroot}/%{_mandir}/*/*
-%endif
-
#workaround for 716939
chmod 644 %{buildroot}%{_bindir}/systemd-analyze
mkdir -p %{buildroot}%{_sysconfdir}/rpm
@@ -387,7 +404,7 @@
install -m755 %{S:3} -D %{buildroot}%{_sbindir}/systemd-sysv-convert
# do not install, code has been fixed, might be useful in the future
-#install -m755 %{S:5} %{buildroot}/lib/systemd/system-generators
+#install -m755 %{S:5} %{buildroot}/usr/lib/systemd/system-generators
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
@@ -410,8 +427,7 @@
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
-# need to be implemented in systemd directly
-#ln -s /dev/null %{buildroot}/%{_prefix}/lib/systemd/system/localnet.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
@@ -437,8 +453,12 @@
%endif
# legacy links
-ln -s loginctl %{buildroot}%{_bindir}/systemd-loginctl
-ln -s journalctl %{buildroot}%{_bindir}/systemd-journalctl
+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
@@ -527,6 +547,8 @@
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
@@ -719,6 +741,10 @@
%exclude %{_mandir}/man8/telinit.8*
%exclude %{_mandir}/man8/runlevel.8*
%exclude %{_mandir}/man*/*udev*.[0-9]*
+
+# Packaged in analyze subpackage
+%exclude %{_mandir}/man1/systemd-analyze.1*
+
%{_mandir}/man1/*.1*
%{_mandir}/man3/*.3*
%{_mandir}/man5/*.5*
@@ -782,7 +808,11 @@
%endif
%files analyze
+%defattr(-,root,root)
%attr(0755,root,root) /usr/bin/systemd-analyze
+%if ! 0%{?bootstrap}
+%{_mandir}/man1/systemd-analyze.1*
+%endif
%files -n %{udevpkgname}
%defattr(-,root,root)
@@ -873,6 +903,7 @@
%defattr(-,root,root)
%dir /var/log/journal
/var/log/README
+/etc/init.d/systemd-journald
%endif
Index: fix-bad-memory-access.patch
===================================================================
--- fix-bad-memory-access.patch (added)
+++ fix-bad-memory-access.patch (revision 5)
@@ -0,0 +1,23 @@
+From 7d73c1343be02a59b17de0cd34375deeb815d89c Mon Sep 17 00:00:00 2001
+From: Lennart Poettering <lennart@poettering.net>
+Date: Tue, 20 Nov 2012 00:19:27 +0100
+Subject: [PATCH] journald: fix bad memory access
+
+https://bugzilla.redhat.com/show_bug.cgi?id=875653
+---
+ src/journal/journald-server.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: systemd-195/src/journal/journald.c
+===================================================================
+--- systemd-195.orig/src/journal/journald.c
++++ systemd-195/src/journal/journald.c
+@@ -342,7 +342,7 @@ static void server_rotate(Server *s) {
+ HASHMAP_FOREACH_KEY(f, k, s->user_journals, i) {
+ r = journal_file_rotate(&f, s->compress, s->seal);
+ if (r < 0)
+- if (f->path)
++ if (f)
+ log_error("Failed to rotate %s: %s", f->path, strerror(-r));
+ else
+ log_error("Failed to create user journal: %s", strerror(-r));
Index: fix-dbus-crash.patch
===================================================================
--- fix-dbus-crash.patch (added)
+++ fix-dbus-crash.patch (revision 5)
@@ -0,0 +1,32 @@
+From 645a9e5a2bbb06464a3fba1a3501e9d79e5bbad8 Mon Sep 17 00:00:00 2001
+From: Eelco Dolstra <eelco.dolstra@logicblox.com>
+Date: Wed, 31 Oct 2012 11:53:56 +0100
+Subject: [PATCH] dbus-manager: fix a fatal dbus abort in
+ bus_manager_message_handler()
+
+If ListUnitFiles fails, or an OOM occurs, then dbus_message_unref()
+will be called twice on "reply", causing systemd to crash. So remove
+the call to dbus_message_unref(); it is unnecessary because of
+the cleanup attribute on "reply".
+
+[zj: modified to leave one dbus_message_unref() alone, per Colin
+Walters' comment.]
+---
+ src/core/dbus-manager.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
+index 2010241..3cf3e90 100644
+--- a/src/core/dbus-manager.c
++++ b/src/core/dbus-manager.c
+@@ -1436,7 +1436,6 @@ static DBusHandlerResult bus_manager_message_handler(DBusConnection *connection,
+ r = unit_file_get_list(m->running_as == SYSTEMD_SYSTEM ? UNIT_FILE_SYSTEM : UNIT_FILE_USER, NULL, h);
+ if (r < 0) {
+ unit_file_list_free(h);
+- dbus_message_unref(reply);
+ return bus_send_error_reply(connection, message, NULL, r);
+ }
+
+--
+1.7.10.4
+
Index: fix-permissions-btmp.patch
===================================================================
--- fix-permissions-btmp.patch (added)
+++ fix-permissions-btmp.patch (revision 5)
@@ -0,0 +1,13 @@
+Index: systemd-44/tmpfiles.d/systemd.conf
+===================================================================
+--- systemd-44.orig/tmpfiles.d/systemd.conf
++++ systemd-44/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
+
Index: mount-efivars.patch
===================================================================
--- mount-efivars.patch (added)
+++ mount-efivars.patch (revision 5)
@@ -0,0 +1,336 @@
+From f271dd97622b656c1c013d181ea615c671cc2438 Mon Sep 17 00:00:00 2001
+From: "Lee, Chun-Yi" <joeyli.kernel@gmail.com>
+Date: Sat, 27 Oct 2012 11:23:22 +0800
+Subject: [PATCH] systemd: mount the EFI variable filesystem
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add efivarfs to the mount_table in mount-setup.c, so the EFI variable
+filesystem will be mounted when systemd executed.
+
+The EFI variable filesystem will merge in v3.7 or v3.8 linux kernel.
+
+Cc: Kay Sievers <kay@vrfy.org>
+Cc: Lennart Poettering <lennart@poettering.net>
+Cc: Mantas Mikulėnas <grawity@gmail.com>
+Cc: Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
+Cc: Matt Fleming <matt.fleming@intel.com>
+Cc: Jeremy Kerr <jeremy.kerr@canonical.com>
+Cc: Matthew Garrett <mjg@redhat.com>
+Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
+---
+ src/core/kmod-setup.c | 7 ++++---
+ src/core/mount-setup.c | 1 +
+ 2 files changed, 5 insertions(+), 3 deletions(-)
+
+diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
+index cc2a2d9..ce8a8e7 100644
+--- a/src/core/kmod-setup.c
++++ b/src/core/kmod-setup.c
+@@ -31,9 +31,10 @@
+ #include "kmod-setup.h"
+
+ static const char * const kmod_table[] = {
+- "autofs4", "/sys/class/misc/autofs",
+- "ipv6", "/sys/module/ipv6",
+- "unix", "/proc/net/unix"
++ "autofs4", "/sys/class/misc/autofs",
++ "ipv6", "/sys/module/ipv6",
++ "efivarfs", "/sys/firmware/efi/efivars",
++ "unix", "/proc/net/unix"
+ };
+
+ #pragma GCC diagnostic push
+diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
+index 0fd112f..9894c7f 100644
+--- a/src/core/mount-setup.c
++++ b/src/core/mount-setup.c
+@@ -66,6 +66,7 @@ static const MountPoint mount_table[] = {
+ { "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, true, true },
+ { "devtmpfs", "/dev", "devtmpfs", "mode=755", MS_NOSUID|MS_STRICTATIME, true, true },
+ { "securityfs", "/sys/kernel/security", "securityfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false, false },
++ { "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false, false },
+ { "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, true, true },
+ { "devpts", "/dev/pts", "devpts", "mode=620,gid=" STRINGIFY(TTY_GID), MS_NOSUID|MS_NOEXEC, false, true },
+ { "tmpfs", "/run", "tmpfs", "mode=755", MS_NOSUID|MS_NODEV|MS_STRICTATIME, true, true },
+--
+1.7.10.4
+
+From c1e5704657315b436c0409e8172c1fcb76adccad Mon Sep 17 00:00:00 2001
+From: Kay Sievers <kay@vrfy.org>
+Date: Sun, 4 Nov 2012 16:06:27 +0100
+Subject: [PATCH] shared: add is_efiboot()
+
+---
+ src/shared/util.c | 4 ++++
+ src/shared/util.h | 2 ++
+ 2 files changed, 6 insertions(+)
+
+diff --git a/src/shared/util.c b/src/shared/util.c
+index 2a8afae..9983695 100644
+--- a/src/shared/util.c
++++ b/src/shared/util.c
+@@ -77,6 +77,10 @@ char **saved_argv = NULL;
+ static volatile unsigned cached_columns = 0;
+ static volatile unsigned cached_lines = 0;
+
++bool is_efiboot(void) {
++ return access("/sys/firmware/efi", F_OK) >= 0;
++}
++
+ size_t page_size(void) {
+ static __thread size_t pgsz = 0;
+ long r;
+diff --git a/src/shared/util.h b/src/shared/util.h
+index e387b12..99972cc 100644
+--- a/src/shared/util.h
++++ b/src/shared/util.h
+@@ -90,6 +90,8 @@ union dirent_storage {
+ #define ANSI_HIGHLIGHT_YELLOW_ON "\x1B[1;33m"
+ #define ANSI_HIGHLIGHT_OFF "\x1B[0m"
+
++bool is_efiboot(void);
++
+ usec_t now(clockid_t clock);
+
+ dual_timestamp* dual_timestamp_get(dual_timestamp *ts);
+--
+1.7.10.4
+
+From 1022373284b7562431fb0a6dba45db8af089a0e3 Mon Sep 17 00:00:00 2001
+From: Kay Sievers <kay@vrfy.org>
+Date: Sun, 4 Nov 2012 16:54:19 +0100
+Subject: [PATCH] kmod-setup: add conditional module loading callback
+
+---
+ src/core/kmod-setup.c | 32 ++++++++++++++++++++------------
+ 1 file changed, 20 insertions(+), 12 deletions(-)
+
+diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
+index ce8a8e7..383a6b2 100644
+--- a/src/core/kmod-setup.c
++++ b/src/core/kmod-setup.c
+@@ -30,11 +30,17 @@
+
+ #include "kmod-setup.h"
+
+-static const char * const kmod_table[] = {
+- "autofs4", "/sys/class/misc/autofs",
+- "ipv6", "/sys/module/ipv6",
+- "efivarfs", "/sys/firmware/efi/efivars",
+- "unix", "/proc/net/unix"
++typedef struct Kmodule {
++ const char *name;
++ const char *directory;
++ bool (*condition_fn)(void);
++} KModule;
++
++static const KModule kmod_table[] = {
++ { "autofs4", "/sys/class/misc/autofs", NULL } ,
++ { "ipv6", "/sys/module/ipv6", NULL },
++ { "efivarfs", "/sys/firmware/efi/efivars", NULL },
++ { "unix", "/proc/net/unix", NULL } ,
+ };
+
+ #pragma GCC diagnostic push
+@@ -42,7 +48,8 @@ static const char * const kmod_table[] = {
+ static void systemd_kmod_log(void *data, int priority, const char *file, int line,
+ const char *fn, const char *format, va_list args)
+ {
+- log_metav(priority, file, line, fn, format, args);
++ /* library logging is enabled at debug only */
++ log_metav(LOG_DEBUG, file, line, fn, format, args);
+ }
+ #pragma GCC diagnostic pop
+
+@@ -53,13 +60,15 @@ int kmod_setup(void) {
+ int err;
+
+ for (i = 0; i < ELEMENTSOF(kmod_table); i += 2) {
++ if (kmod_table[i].condition_fn && !kmod_table[i].condition_fn())
++ continue;
+
+- if (access(kmod_table[i+1], F_OK) >= 0)
++ if (access(kmod_table[i].directory, F_OK) >= 0)
+ continue;
+
+ log_debug("Your kernel apparently lacks built-in %s support. Might be a good idea to compile it in. "
+ "We'll now try to work around this by loading the module...",
+- kmod_table[i]);
++ kmod_table[i].name);
+
+ if (!ctx) {
+ ctx = kmod_new(NULL, NULL);
+@@ -69,13 +78,12 @@ int kmod_setup(void) {
+ }
+
+ kmod_set_log_fn(ctx, systemd_kmod_log, NULL);
+-
+ kmod_load_resources(ctx);
+ }
+
+- err = kmod_module_new_from_name(ctx, kmod_table[i], &mod);
++ err = kmod_module_new_from_name(ctx, kmod_table[i].name, &mod);
+ if (err < 0) {
+- log_error("Failed to load module '%s'", kmod_table[i]);
++ log_error("Failed to lookup module '%s'", kmod_table[i].name);
+ continue;
+ }
+
+@@ -85,7 +93,7 @@ int kmod_setup(void) {
+ else if (err == KMOD_PROBE_APPLY_BLACKLIST)
+ log_info("Module '%s' is blacklisted", kmod_module_get_name(mod));
+ else
+- log_error("Failed to insert '%s'", kmod_module_get_name(mod));
++ log_error("Failed to insert module '%s'", kmod_module_get_name(mod));
+
+ kmod_module_unref(mod);
+ }
+--
+1.7.10.4
+
+From 3dfb265083347cb5700dc38f7cc0f479f378e6e9 Mon Sep 17 00:00:00 2001
+From: Kay Sievers <kay@vrfy.org>
+Date: Sun, 4 Nov 2012 16:55:23 +0100
+Subject: [PATCH] kmod-setup: mounting efivarfs, *after* we tried to mount it,
+ is pointless
+
+The mount() system call, which we issue before loading modules, will trigger
+a modprobe by the kernel and block until it returns. Trying to load it again
+later, will have exactly the same result as the first time.
+---
+ src/core/kmod-setup.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/src/core/kmod-setup.c b/src/core/kmod-setup.c
+index 383a6b2..20ab232 100644
+--- a/src/core/kmod-setup.c
++++ b/src/core/kmod-setup.c
+@@ -39,7 +39,6 @@ typedef struct Kmodule {
+ static const KModule kmod_table[] = {
+ { "autofs4", "/sys/class/misc/autofs", NULL } ,
+ { "ipv6", "/sys/module/ipv6", NULL },
+- { "efivarfs", "/sys/firmware/efi/efivars", NULL },
+ { "unix", "/proc/net/unix", NULL } ,
+ };
+
+--
+1.7.10.4
+
+From 6aa220e019f9dffd96590b06b68f937985204109 Mon Sep 17 00:00:00 2001
+From: Kay Sievers <kay@vrfy.org>
+Date: Sun, 4 Nov 2012 17:03:48 +0100
+Subject: [PATCH] mount-setup: try mounting 'efivarfs' only if the system
+ bootet with EFI
+
+---
+ TODO | 3 ---
+ src/core/mount-setup.c | 50 ++++++++++++++++++++++++++++++++----------------
+ 2 files changed, 34 insertions(+), 19 deletions(-)
+
+diff --git a/src/core/mount-setup.c b/src/core/mount-setup.c
+index 9894c7f..98614d0 100644
+--- a/src/core/mount-setup.c
++++ b/src/core/mount-setup.c
+@@ -46,14 +46,20 @@
+ #define TTY_GID 5
+ #endif
+
++typedef enum MountMode {
++ MNT_NONE = 0,
++ MNT_FATAL = 1 << 0,
++ MNT_IN_CONTAINER = 1 << 1,
++} MountMode;
++
+ typedef struct MountPoint {
+ const char *what;
+ const char *where;
+ const char *type;
+ const char *options;
+ unsigned long flags;
+- bool fatal;
+- bool in_container;
++ bool (*condition_fn)(void);
++ MountMode mode;
+ } MountPoint;
+
+ /* The first three entries we might need before SELinux is up. The
+@@ -62,16 +68,26 @@ typedef struct MountPoint {
+ #define N_EARLY_MOUNT 4
+
+ static const MountPoint mount_table[] = {
+- { "proc", "/proc", "proc", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, true, true },
+- { "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, true, true },
+- { "devtmpfs", "/dev", "devtmpfs", "mode=755", MS_NOSUID|MS_STRICTATIME, true, true },
+- { "securityfs", "/sys/kernel/security", "securityfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false, false },
+- { "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false, false },
+- { "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME, true, true },
+- { "devpts", "/dev/pts", "devpts", "mode=620,gid=" STRINGIFY(TTY_GID), MS_NOSUID|MS_NOEXEC, false, true },
+- { "tmpfs", "/run", "tmpfs", "mode=755", MS_NOSUID|MS_NODEV|MS_STRICTATIME, true, true },
+- { "tmpfs", "/sys/fs/cgroup", "tmpfs", "mode=755", MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_STRICTATIME, false, true },
+- { "cgroup", "/sys/fs/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV, false, true },
++ { "proc", "/proc", "proc", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
++ NULL, MNT_FATAL|MNT_IN_CONTAINER },
++ { "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
++ NULL, MNT_FATAL|MNT_IN_CONTAINER },
++ { "devtmpfs", "/dev", "devtmpfs", "mode=755", MS_NOSUID|MS_STRICTATIME,
++ NULL, MNT_FATAL|MNT_IN_CONTAINER },
++ { "securityfs", "/sys/kernel/security", "securityfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
++ NULL, MNT_NONE },
++ { "efivarfs", "/sys/firmware/efi/efivars", "efivarfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV,
++ is_efiboot, MNT_NONE },
++ { "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NODEV|MS_STRICTATIME,
++ NULL, MNT_FATAL|MNT_IN_CONTAINER },
++ { "devpts", "/dev/pts", "devpts", "mode=620,gid=" STRINGIFY(TTY_GID), MS_NOSUID|MS_NOEXEC,
++ NULL, MNT_IN_CONTAINER },
++ { "tmpfs", "/run", "tmpfs", "mode=755", MS_NOSUID|MS_NODEV|MS_STRICTATIME,
++ NULL, MNT_FATAL|MNT_IN_CONTAINER },
++ { "tmpfs", "/sys/fs/cgroup", "tmpfs", "mode=755", MS_NOSUID|MS_NOEXEC|MS_NODEV|MS_STRICTATIME,
++ NULL, MNT_IN_CONTAINER },
++ { "cgroup", "/sys/fs/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV,
++ NULL, MNT_IN_CONTAINER },
+ };
+
+ /* These are API file systems that might be mounted by other software,
+@@ -119,6 +135,9 @@ static int mount_one(const MountPoint *p, bool relabel) {
+
+ assert(p);
+
++ if (p->condition_fn && !p->condition_fn())
++ return 0;
++
+ /* Relabel first, just in case */
+ if (relabel)
+ label_fix(p->where, true, true);
+@@ -131,7 +150,7 @@ static int mount_one(const MountPoint *p, bool relabel) {
+ return 0;
+
+ /* Skip securityfs in a container */
+- if (!p->in_container && detect_container(NULL) > 0)
++ if (!(p->mode & MNT_IN_CONTAINER) && detect_container(NULL) > 0)
+ return 0;
+
+ /* The access mode here doesn't really matter too much, since
+@@ -149,8 +168,8 @@ static int mount_one(const MountPoint *p, bool relabel) {
+ p->type,
+ p->flags,
+ p->options) < 0) {
+- log_full(p->fatal ? LOG_ERR : LOG_DEBUG, "Failed to mount %s: %s", p->where, strerror(errno));
+- return p->fatal ? -errno : 0;
++ log_full((p->mode & MNT_FATAL) ? LOG_ERR : LOG_DEBUG, "Failed to mount %s: %s", p->where, strerror(errno));
++ return (p->mode & MNT_FATAL) ? -errno : 0;
+ }
+
+ /* Relabel again, since we now mounted something fresh here */
+@@ -289,7 +308,6 @@ int mount_cgroup_controllers(char ***join_controllers) {
+ p.type = "cgroup";
+ p.options = options;
+ p.flags = MS_NOSUID|MS_NOEXEC|MS_NODEV;
+- p.fatal = false;
+
+ r = mount_one(&p, true);
+ free(controller);
+--
+1.7.10.4
+
Index: sync-on-shutdown.patch
===================================================================
--- sync-on-shutdown.patch (added)
+++ sync-on-shutdown.patch (revision 5)
@@ -0,0 +1,49 @@
+From 0049f05a8bb82c3e084bacc5945596761d706c55 Mon Sep 17 00:00:00 2001
+From: Lennart Poettering <lennart@poettering.net>
+Date: Fri, 16 Nov 2012 01:30:29 +0100
+Subject: [PATCH] shutdown: readd explicit sync() when shutting down
+
+As it turns out reboot() doesn't actually imply a file system sync, but
+only a disk sync. Accordingly, readd explicit sync() invocations
+immediately before we invoke reboot().
+
+This is much less dramatic than it might sounds as we umount all
+disks/read-only remount them anyway before going down.
+---
+ src/core/service.c | 1 +
+ src/core/shutdown.c | 7 +++++++
+ 2 files changed, 8 insertions(+)
+
+diff --git a/src/core/service.c b/src/core/service.c
+index cf08485..df72aba 100644
+--- a/src/core/service.c
++++ b/src/core/service.c
+@@ -2485,6 +2485,7 @@ static int service_start_limit_test(Service *s) {
+
+ case SERVICE_START_LIMIT_REBOOT_IMMEDIATE:
+ log_warning("%s start request repeated too quickly, rebooting immediately.", UNIT(s)->id);
++ sync();
+ reboot(RB_AUTOBOOT);
+ break;
+
+diff --git a/src/core/shutdown.c b/src/core/shutdown.c
+index cc8c57b..b59aef1 100644
+--- a/src/core/shutdown.c
++++ b/src/core/shutdown.c
+@@ -273,6 +273,13 @@ int main(int argc, char *argv[]) {
+ }
+ }
+
++ /* The kernel will automaticall flush ATA disks and suchlike
++ * 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)
++ sync();
++
+ if (cmd == LINUX_REBOOT_CMD_KEXEC) {
+
+ if (!in_container) {
+--
+1.7.10.4
+
Index: systemd-journald.init
===================================================================
--- systemd-journald.init (added)
+++ systemd-journald.init (revision 5)
@@ -0,0 +1,33 @@
+#! /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
Index: xdm-display-manager.patch
===================================================================
--- xdm-display-manager.patch (added)
+++ xdm-display-manager.patch (revision 5)
@@ -0,0 +1,13 @@
+Index: systemd-195/units/graphical.target
+===================================================================
+--- systemd-195.orig/units/graphical.target
++++ systemd-195/units/graphical.target
+@@ -11,7 +11,7 @@ Documentation=man:systemd.special(7)
+ Requires=multi-user.target
+ After=multi-user.target
+ Conflicts=rescue.target
+-Wants=display-manager.service
++Wants=xdm.service
+ AllowIsolate=yes
+
+ [Install]
OBS-URL: https://build.opensuse.org/request/show/142041
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=312
2012-11-20 12:10:12 +00:00
Andreas Jaeger
7165608664
Accepting request 141318 from home:fcrozat:branches:Base:System
...
- /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.
OBS-URL: https://build.opensuse.org/request/show/141318
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=311
2012-11-14 20:14:47 +00:00
Stephan Kulow
b4f3b459fc
- adding a package systemd-logger that blocks syslog implementations
...
from installation to make an installation that only uses the journal
- adding a package systemd-logger that blocks syslog implementations
from installation to make an installation that only uses the journal
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=309
2012-11-06 14:52:17 +00:00
Cristian Rodríguez
bf59e0d04a
Accepting request 140247 from home:fcrozat:branches:Base:System
...
- 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.
OBS-URL: https://build.opensuse.org/request/show/140247
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=307
2012-11-05 18:33:03 +00:00
Stephan Kulow
0097e91052
- add libudev1 to baselibs.conf
...
- add libudev1 to baselibs.conf
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=305
2012-11-03 07:22:07 +00:00
Stephan Kulow
19faef5450
- udev is GPL-2.0, the rest remains LGPL-2.1+ (bnc#787824)
...
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=303
2012-11-02 14:16:22 +00:00
Stephan Kulow
823ad04eff
Accepting request 139710 from openSUSE:Factory:Staging:Systemd
...
- 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.
- 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.
- Add var-run-lock.patch: make sure /var/run and /var/lock are
handled as bind mount if they aren't symlinks.
OBS-URL: https://build.opensuse.org/request/show/139710
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=301
2012-10-29 18:55:30 +00:00