Commit Graph

915 Commits

Author SHA256 Message Date
Franck Bui
33c7b0a44d Accepting request 682492 from home:fbui:branches:Base:System
- Include the SUSE version along with the major version of systemd

OBS-URL: https://build.opensuse.org/request/show/682492
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1055
2019-03-07 15:11:46 +00:00
Franck Bui
11d42612dd Accepting request 682234 from home:fbui:branches:Base:System
- systemd-mini: explicitly disable some of the systemd components

OBS-URL: https://build.opensuse.org/request/show/682234
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1054
2019-03-06 15:22:13 +00:00
Franck Bui
21b2e315aa Accepting request 682169 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v241 (commit 15a1b4d58f1d2bc9c21c7cbab6fe63b58e48bda1)

OBS-URL: https://build.opensuse.org/request/show/682169
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1053
2019-03-06 13:36:20 +00:00
Franck Bui
815caab58e Accepting request 677365 from home:fbui:systemd:openSUSE-Factory
- Import commit a1d86af7ed49dacef671e8ec8dae9472a8fa47f5
  92d860fc12 sysctl: Don't pass null directive argument to '%s' (bsc#1121563)
  1379e30d59 Allocate temporary strings to hold dbus paths on the heap (bsc#1125352 CVE-2019-6454)
  b5569a03ae Refuse dbus message paths longer than BUS_PATH_SIZE_MAX limit. (bsc#1125352 CVE-2019-6454)

OBS-URL: https://build.opensuse.org/request/show/677365
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1052
2019-02-19 14:03:00 +00:00
Franck Bui
51d4ffd0e5 Accepting request 676380 from home:fbui:systemd:openSUSE-Factory
- Import commit 01b4746d3c6f6cbf969fa2176c77ac3f616a7eda
  7af53e005b sd-bus: if we receive an invalid dbus message, ignore and proceeed
  92dcbfdd7f bus: move BUS_DONT_DESTROY calls after asserts
  a83e7b3b43 automount: don't pass non-blocking pipe to kernel.
  726127ea1d units: make sure initrd-cleanup.service terminates before switching to rootfs (bsc#1123333)
  a6347a3cb6 core: Fix use after free case in load_from_path() (bsc#1121563)
  22e2550222 strv: rework FOREACH_STRING() macro (bsc#1121563)
  2ddd38f41a test,systemctl,nspawn: use "const char*" instead of "char*" as iterator for FOREACH_STRING()
  c2c8333e0b strv: add new macro STARTSWITH_SET()
  1db243a601 Update systemd-system.conf.xml (bsc#1122000)

OBS-URL: https://build.opensuse.org/request/show/676380
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1051
2019-02-15 10:51:26 +00:00
Franck Bui
6f50f5837c Accepting request 666162 from home:fbui:systemd:openSUSE-Factory
- Import commit ad34cc45f63720ced69960dc66b47bddb146176d
  Import a bunch of fixes from stable/v239-stable:
  c8293f5af4 Revert "network: set DynamicUser= to systemd-networkd.service"
  7f605592e6 Revert "resolve: enable DynamicUser= for systemd-resolved.service"
  5a48e92e06 test: Fix networkd test for an already running service
  36eae1688b Revert "timesyncd: enable DynamicUser="
  3a11f24cf0 Revert "unit: drop After=systemd-sysusers.service from timesyncd"
  23cfd15ce9 machinectl: fix verbosity of import-raw or friends
  ba037daf29 Make bzip2 an optional dependency for systemd-importd
  fb609d2721 pull: initialize libgcrypt before calling any functions provided by libgcrypt
  c50857bc6b hwdb: remove stray 'i' in hwdb match string for the HP Spectre (#9571)
  9a12fd17f5 man: Mention that paths in unit files must be fully normalized.
  76fc2ab4a6 tree-wide: use  instead of #ifdef for HAVE_*
  fcc699c093 network: update log message
  a4f497b2cd Use #if instead of #ifdef for ENABLE_GSHADOW
  121c662eb8 man: add missing option for system.conf
  564341146e core: add missing option and drop nonexistent option in system.conf
  7082a3599f journal: add missing option in journald.conf
  3c15efa9c1 basic: add missing comma in raw_clone assembly for sparc
  4c210b6dce cryptsetup: Add dependency on loopback setup to generated units
  c777fbbe3e journal-gateway: use localStorage["cursor"] only when it has valid value
  c5b1bef639 journal-gateway: explicitly declare local variables
  2361522ca6 analyze: actually select longest activated-time of services
  3e810d92d9 sd-bus: fix implicit downcast of bitfield reported by LGTM
  aef660a4cf resolvconf: fixes for the compatibility interface
  06b3f54f50 install: fix error handling in is_symlink_with_known_name()
  f70ab9a468 portable: fix error handling
  d2c40d4e80 resolve: fix return value type of dns_answer_has_dname_for_cname()
  6f684e0670 resolve: dns_scope_network_good() does not returns negative errno
  15d83e1138 bus-util: fix error handling

OBS-URL: https://build.opensuse.org/request/show/666162
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1050
2019-01-15 10:11:50 +00:00
Franck Bui
d13708e716 Accepting request 664420 from home:fbui:systemd:openSUSE-Factory
- Import commit 3bece8a25ae11e8ec132cdecc7e72a00ee790994
  89a9721a47 Revert "logind: become the controlling terminal process before restoring VT" (bsc#1120836)
  c3a8dc821b pam_systemd: reword message about not creating a session
  0ba0f5b3ef pam_systemd: suppress LOG_DEBUG log messages if debugging is off

- Import commit a3b059a8c60622e4ec30aabda93c6b41d0953dc4
  9dbe9f12ec journal-remote: set a limit on the number of fields in a message (CVE-2018-16865 bsc#1120323)
  61d569ab1b journal-remote: verify entry length from header
  a08760b26c µhttpd: use a cleanup function to call MHD_destroy_response
  43f46a1a3d journal-gateway: use _cleanup_ attribute to stop microhttpd daemon
  437b0b2d01 journald: lower the maximum entry size limit to ½ for non-sealed fds
  ac9e209710 journald: when processing a native message, bail more quickly on overbig messages
  ce103705b9 journald: set a limit on the number of fields (1k) (CVE-2018-16865 bsc#1120323)
  35538171c2 coredump: fix message when we fail to save a journald coredump
  cfe247b555 basic/process-util: limit command line lengths to _SC_ARG_MAX
  9d59e6f6ee journald: do not store the iovec entry for process commandline on stack (CVE-2018-16864 bsc#1120323)
  8d650a68d4 journald: remove unnecessary {}
  b608f532a4 coredump: remove duplicate MESSAGE= prefix from message
  0dbb2dc066 vconsole-setup: fonts copy will fail if the current terminal is in graphical mode (bsc#1114933)
  e501d65540 Revert "systemctl: when removing enablement or mask symlinks, cover both /run and /etc"
  d3ea69961f fs-util: rename safe_transition() into unsafe_transition()
  338470fdc9 tmpfiles: use CHASE_WARN in addition to CHASE_SAFE
  d9ae1b30da fs-util: make chase_symlink() returns -ENOLINK when unsafe transitions are met
  8b76594d1f fs-util: add new CHASE_WARN flag to chase_symlinks()

OBS-URL: https://build.opensuse.org/request/show/664420
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1049
2019-01-10 16:21:21 +00:00
Franck Bui
e02aab74d6 Accepting request 653864 from home:fbui:systemd:openSUSE-Factory
- Import commit 8ae56af7802ef8f91fac64fa244d62a4468fbbd5
  4474878178 udev-builtin-kmod: adjust logging
  805534aff5 core: use the generic module_load() function
  ac7e902530 shared/module-util: fix preexisting mixup with errno sign
  415aa40793 udev-builtin-kmod: use the generic module_load() function
  8a36b4bac6 Move module-util.h to src/shared/ and load_module() to libshared
  999b910752 core/kmod-setup: restore comments
  1f2b822a21 logind: stop managing VT switches if no sessions are registered on that VT
  5ad8d374c5 terminal-util: introduce vt_release() helper
  145d492490 logind: become the controlling terminal process before restoring VT (bsc#1101591)
  d4b5dbc033 terminal-util: introduce vt_restore() helper
  2e8af185f0 logind: make session_restore_vt() static
  ff3048364f udev: downgrade message when we fail to set inotify watch up (bsc#1005023)

- Fix the test for figuring out if /etc/machine-id is writable in %post (bsc#1117063)
  "test -w" always returns true for root user even if the writable
  mode bits are not set. Fix this by testing the file mode bit value
  instead.

- Move systemd-sysv-convert from /usr/sbin to /usr/lib/systemd
  This tool is not supposed to be run by users.

- Import commit 8ae56af7802ef8f91fac64fa244d62a4468fbbd5
  4474878178 udev-builtin-kmod: adjust logging
  805534aff5 core: use the generic module_load() function
  ac7e902530 shared/module-util: fix preexisting mixup with errno sign
  415aa40793 udev-builtin-kmod: use the generic module_load() function
  8a36b4bac6 Move module-util.h to src/shared/ and load_module() to libshared
  999b910752 core/kmod-setup: restore comments
  1f2b822a21 logind: stop managing VT switches if no sessions are registered on that VT

OBS-URL: https://build.opensuse.org/request/show/653864
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1048
2018-12-04 13:51:59 +00:00
Franck Bui
7e9dc6bb50 Accepting request 649551 from home:fbui:systemd:openSUSE-Factory
- Import commit 69f9f79e1b03e3d23df25b61cbcc9304af3e358f (bsc#1080919 CVE-2018-6954)
  f3615ce49 tmpfiles: don't adjust qgroups on existing subvolumes (bsc#1093753)
  7165e92f4 tmpfiles: use fd_get_path() even less excessively
  c2c531c1d test: make TEST-22 easier to debug, by outputting to /dev/console
  621b78317 test: don't use "nobody:nogroup" for tests
  1f9c7acad tmpfiles: return correct error variable after fd_reopen()
  2236280c1 tmpfiles: reindent one comment less weirdly
  f6bdfb889 tmpfiles: use correct error variable
  bc75127cd tmpfiles: clarify that we ignore file attribute setting errors
  621c8b1fe tmpfiles: add log message where we previously failed silently
  bc9229630 tmpfiles: use fd_get_path() less excessively
  5a1106039 tmpfiles: add more tests
  c974086cc tmpfiles: don't follow unsafe transitions in path_set_*()
  e64a510eb fs-util: add new CHASE_NOFOLLOW flag to chase_symlinks()
  7480154d0 tmpfiles: make create_fifo() safe
  eb890962c fs-util: introduce mkfifoat_atomic() helper
  653bb81af fileio: make tempfn_random_child() accept empty string as path
  2b1e12bfe tmpfiles: introduce create_fifo()
  6dd80f289 tmpfiles: introduce empty_directory()
  f2c137edf tmpfiles: introduce create_directory() and create_subvolume() and make them safe
  6a76f6dfb basic/stat-util: introduce is_dir_fd()
  38a7f2e81 btrfs-util: unfuck tmpfiles' subvol creation
  26e19b6fe btrfs-util: introduce btrfs_subvol_make_fd()
  5fb5bdf5d basic/label: introduce mkdirat_label()/mkdirat_errno_wrapper() helpers
  390b767da selinux: introduce mac_selinux_create_file_prepare_at()
  0f72fadba smack: introduce mac_smack_fix_at()
  f2838154b tmpfiles: introduce create_directory_or_subvolume()
  2de697fb8 tmpfiles: make create_device() safe
  558c5fec7 tmpfiles: introduce create_device()
  dee986b1d tmpfiles: make copy_files() safe

OBS-URL: https://build.opensuse.org/request/show/649551
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1047
2018-11-16 12:20:42 +00:00
Franck Bui
109c6ea954 Accepting request 647602 from home:fbui:systemd:openSUSE-Factory
- Make systemd-mini-sysvinit provides systemd-sysvinit
  Some packages (such as shepherd-bins) want to conflicts with
  systemd-sysvinit: they should also conflict with
  systemd-mini-sysvinit.

OBS-URL: https://build.opensuse.org/request/show/647602
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1046
2018-11-09 14:32:33 +00:00
Franck Bui
c538c4fc88 Accepting request 646968 from home:fbui:systemd:openSUSE-Factory
- Add 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch
  We have to keep support for UserTasksMax= for a while before
  dropping it. This patch is supposed to do that and also to make
  users aware of this change. It also hints how to configure that
  differently.

- Import commit f39674d6d114d999c50672c7bea8cad21e1eaed9
  7d1e04e85 units: use =yes rather than =true everywhere
  185ce0d34 units: assign user-runtime-dir@.service to user-%i.slice
  a051f5e41 units: make sure user-runtime-dir@.service is Type=oneshot
  30c6842c3 units: set StopWhenUnneeded= for the user slice units too
  e74de046e login: fix typo in log message

OBS-URL: https://build.opensuse.org/request/show/646968
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1045
2018-11-07 12:57:03 +00:00
Franck Bui
7fe8f43b74 Accepting request 646424 from home:fbui:systemd:openSUSE-Factory
- Own %{_libexecdir}/modules-load.d (again)
  This was incorrectly dropped during the split of the SUSE specific
  configurations.

- Drop a Conflicts: in systemd-coredump
  It not needed anymore since the mini variant of systemd-coredump is
  not built anymore.

- Import commit b54f5d7a8b41898ce98f43cd1a6cc92c0071806d
  5def29d24 coredump: only install coredump.conf when ENABLED_COREDUMP=true
  9133e2d6e dhcp6: make sure we have enough space for the DHCP6 option header (bsc#1113632 CVE-2018-15688)
  ebc3fa418 dhcp6: split assert_return() to be more debuggable when hit
  51eefb6ac chown-recursive: let's rework the recursive logic to use O_PATH (bsc#1113666 CVE-2018-15687)
  e1e1aa237 core: skip unit deserialization and move to the next one when unit_deserialize() fails
  1c726c87d core: when deserializing state always use read_line(…, LONG_LINE_MAX, …) (bsc#1113665 CVE-2018-15686)
  4cd7d11ac core: don't create Requires for workdir if "missing ok" (bsc#1113083)

- Make systemd-coredump sub-package optional
  and don't build the mini variant.

- Drop duplicated %{?mini} suffix for systemd-{container,coredump} subpackages
  "-mini" is already part of the name of the main package so there's
  no need to append it again for those sub packages. It's only needed
  when the name of a subpackage is completely redefined, IOW when '-n'
  option is used with the %package directive.

- Dont ship /usr/sbin/resolvconf symlink for now
  It conflicts with the bin shipped by openresolv and provides
  limited compat only.

OBS-URL: https://build.opensuse.org/request/show/646424
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1044
2018-11-05 14:11:51 +00:00
Franck Bui
b8bad3faec Accepting request 645542 from home:tsaupe:branches:Base:System
split off SUSE specific configuration from systemd package (fate#325478)

OBS-URL: https://build.opensuse.org/request/show/645542
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1043
2018-10-30 14:45:41 +00:00
Franck Bui
d6d436763f Accepting request 644261 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v239 (commit 6d8584e7e8e5d13d2bab49b9e6f6d2ec39759978)

OBS-URL: https://build.opensuse.org/request/show/644261
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1042
2018-10-24 11:17:43 +00:00
Franck Bui
a6b3c51d6e Accepting request 642103 from home:fbui:systemd:openSUSE-Factory
- Ship systemd-sysv-install helper via the main package
  This script was part of systemd-sysvinit sub-package but it was
  wrong since systemd-sysv-install is a script used to redirect
  enable/disable operations to chkconfig when the unit targets are
  sysv init scripts. Therefore it's never been a SySV init tool.
  While at it, don't ship this script (as well as
  systemd-sysv-convert) when sysvcompat is not defined.

- Import commit 19b3868d32af20f1ecc86fe3c997144ff456fd65
  06c2284d64 core: introduce systemd.early_core_pattern= kernel cmdline option
  479b002083 core: add missing 'continue' statement
  c7fbccc62e journald: don't ship systemd-journald-audit.socket (bsc#1109252)
  f17a6c790c detect-virt: do not try to read all of /proc/cpuinfo (bsc#1109197)
  5a1aa84544 compat-rules: generate more compat by-id symlinks for NVMe devices (bsc#1095096)

OBS-URL: https://build.opensuse.org/request/show/642103
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1041
2018-10-15 18:07:19 +00:00
Franck Bui
bef0d4b863 Accepting request 638970 from home:fbui:systemd:openSUSE-Factory
- Import commit a67b516d49115a5be0f2ac27a2874cee6c59a7ae
  f8457adf9d emergency: make sure console password agents don't interfere with the emergency shell
  b8bbb50634 man: document that 'nofail' also has an effect on ordering
  a5410b2229 journald: take leading spaces into account in syslog_parse_identifier
  b793c312c7 journal: do not remove multiple spaces after identifier in syslog message
  f9595f0481 syslog: fix segfault in syslog_parse_priority()
  d464f06934 journal: fix syslog_parse_identifier()
  e70422883a socket-util: attempt SO_RCVBUFFORCE/SO_SNDBUFFORCE only if SO_RCVBUF/SO_SNDBUF fails (bsc#991901)

OBS-URL: https://build.opensuse.org/request/show/638970
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1040
2018-09-28 08:14:34 +00:00
Franck Bui
3f520c3ffc Accepting request 635764 from home:fbui:systemd:openSUSE-Factory
- Enable or disable machines.target according to the presets (bsc#1107941)

OBS-URL: https://build.opensuse.org/request/show/635764
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1039
2018-09-14 13:06:52 +00:00
Franck Bui
79fab1e927 Accepting request 635662 from home:fbui:systemd:openSUSE-Factory
- Import commit cc55f1ea9e1c1ccab5b9fb97e10e08830d02b282
  962b38aaf user@.service: don't kill user manager at runlevel switch (bsc#1091677)
  3986c4d82 units: make sure user@.service runs with dbus still up
  5e68aa0f2 Revert "udevd: increase maximum number of children" (bsc#1107617)
  099138fd9 fix race between daemon-reload and other commands (v237) (bsc#1105031)

OBS-URL: https://build.opensuse.org/request/show/635662
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1038
2018-09-14 07:33:06 +00:00
Franck Bui
c9f8d2d7d2 Accepting request 634921 from home:fbui:systemd:openSUSE-Factory
- Import commit 6ac2232d88f4b64428511a4692a51bd00d610b32
  6247696db nspawn: always use mode 555 for /sys (bsc#1107640)
  72f558b57 cryptsetup: do not define arg_sector_size if libgcrypt is v1.x (#9990)
  cfcd97cf2 cryptsetup: add support for sector-size= option (#9936) (fate#325634)

OBS-URL: https://build.opensuse.org/request/show/634921
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1037
2018-09-11 09:22:58 +00:00
Franck Bui
df5c6794a4 Accepting request 628331 from home:fbui:systemd:Factory
- Import commit bb5a925bcefd4743873cae3f748ae1a426e92d44
  8983bd246 core: don't include libmount.h in a header file (#8580)
  3e4156a8f tmpfiles: don't adjust qgroups on existing subvolumes
  42edc93ac core/service: rework the hold-off time over message

- Enable regexp matching support
  Currently only used by "journalctl --grep=xxx".

OBS-URL: https://build.opensuse.org/request/show/628331
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1035
2018-08-09 06:47:09 +00:00
Franck Bui
d987164367 Accepting request 625754 from home:fbui:systemd:Factory
- Import commit 0350f62a8cf7f151951b6b78337fe3c198b8bf6a
  fbf43a697 core: don't freeze OnCalendar= timer units when the clock goes back a lot (bsc#1090944)
  4134ba8b6 man: SystemMaxUse= clarification in journald.conf(5) (bnc#1101040)
  78bb2a0c4 socket-util: fix getpeergroups() assert(fd) (#8080) (bsc#1096516)
  1753d0420 systemctl: mask always reports the same unit names when different unknown units are passed (bsc#1095973)
  50ebf79d7 scsi_id: Fixup prefix for pre-SPC inquiry reply (bsc#1039099)
  570f7655b locale-util: on overlayfs FTW_MOUNT causes nftw(3) to not list *any* files

OBS-URL: https://build.opensuse.org/request/show/625754
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1034
2018-07-27 10:52:36 +00:00
Franck Bui
e12b01a79e Accepting request 618913 from home:fbui:systemd:Factory
- Drop runtime dependency on dracut (bsc#1098569)
  Otherwise systemd pulls in tools to generate the initrd even in
  container/chroot installations that don't have a kernel anyways.
  For environments where initrd matters, dracut should be pulled via a
  pattern.
- Drop runtime dependency on dracut (bsc#1098569)
  Otherwise systemd pulls in tools to generate the initrd even in
  container/chroot installations that don't have a kernel anyways.
  For environments where initrd matters, dracut should be pulled via a
  pattern.

OBS-URL: https://build.opensuse.org/request/show/618913
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1033
2018-06-25 09:34:18 +00:00
Franck Bui
832a324107 Accepting request 616860 from home:fbui:systemd:Factory
- Import commit f63623c1fc0eb01b8efc2037d004f42ed8328356
  6a161916f device: make sure to always retroactively start device dependencies (take #2) (bsc#1088052)
  e4402648c Fix pattern to detect distribution
  ad59c7970 install: "user" and "global" scopes are equivalent for user presets (boo#1093851)
  b1876c81a rpm: remove confusing --user before --global
  00ea8a214 man: updated systemd-analyze blame description for service-units with Type=simple (#8834) (bsc#1091265)
  a9b587e2f fileio.c: fix incorrect mtime

- Add 0001-resolved-create-etc-resolv.conf-symlink-at-runtime.patch (boo#1024897)
- Ship systemd-resolved (but disabled by default) (bsc#1018387)

OBS-URL: https://build.opensuse.org/request/show/616860
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1032
2018-06-14 12:46:09 +00:00
Franck Bui
be11eb6535 Accepting request 610240 from home:fbui:systemd:Factory
- Disable user units by default (bsc#1090785)

OBS-URL: https://build.opensuse.org/request/show/610240
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1031
2018-05-18 08:47:33 +00:00
Franck Bui
d4cc2ae643 Accepting request 606967 from home:fbui:systemd:Factory
- Slight rewrite of the previous fix

- Move 80-container-v[ez].network in systemd-container sub-package

OBS-URL: https://build.opensuse.org/request/show/606967
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1030
2018-05-14 09:20:18 +00:00
Thomas Blume
98c46ce08d Accepting request 605344 from home:tsaupe:branches:Base:System
align permissions of /etc/machine-id to upstream code (bsc#1092269)

OBS-URL: https://build.opensuse.org/request/show/605344
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1029
2018-05-08 13:55:23 +00:00
Thomas Blume
0e4cc6d31b Accepting request 605303 from home:tsaupe:branches:Base:System
align permissions of /etc/machine-id to upstream code (bsc#1092269)

OBS-URL: https://build.opensuse.org/request/show/605303
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1028
2018-05-08 11:42:09 +00:00
Franck Bui
b57d88135f Accepting request 599905 from home:fbui:systemd:Factory
- Import commit d8196805089566ecd846b7c627ff2f3c42588c50
  621b247f3 device: skip deserialization of device units when udevd is not running
  a7da5bdbc device: make sure to always retroactively start device dependencies (bsc#1088052)
  303624f6f systemd-udevd: limit children-max by available memory (#8668) (bsc#1086785 bsc#1066422)
  76acf3ae9 tmpfiles: fix directory removal with force symlink (#8619)

- Ship 99-sysctl.conf instead of creating it during package installation/update (bsc#1088769)
  Previously this symlink was created in /etc/sysctl.d during %post
  which made the symlink not owned and more importantly it was created
  only if /etc/sysctl.conf is already installed which is not always
  the case during the installation process it seems.
  So ship the symlink unconditionally and put it in /usr/lib/sysctl.d
  instead since it's a distro default behavior that might be overriden
  by sysadmin later.

- Be consistent in 60-io-scheduler.rules
  And use "?*" when checking for the non empty string (instead of "*?").

OBS-URL: https://build.opensuse.org/request/show/599905
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1027
2018-04-23 08:01:18 +00:00
Franck Bui
fff9c3b6a1 Accepting request 592117 from home:develop7:branches:Base:System
- Enhance IO scheduler tweaking rules to support blk-mq as well
  * Set optimal blk-mq schedulers (bfq and mq-deadline for HDD and 
    SSD respectively)
  * Explicitly set CFQ for rotational disks when no `elevator`
    is specified
  * Verbose comments explaining what is going on
  * Rename the rules file since it is not ssd-only anymore

OBS-URL: https://build.opensuse.org/request/show/592117
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1026
2018-04-09 09:39:49 +00:00
Franck Bui
a95d199871 Accepting request 593528 from home:fbui:systemd:Factory
- /usr/lib/systemd/systemd-coredump was missing from systemd-coredump sub-package (boo#1088057)

OBS-URL: https://build.opensuse.org/request/show/593528
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1025
2018-04-04 11:52:31 +00:00
Franck Bui
b58ab645fc Accepting request 592079 from home:fbui:systemd:Factory
- Drop systemd-bash-completion sub-package
  Now we directly ship the completion scripts from the main package as
  we already do for zsh. I couldn't see any advantages in this split.

- Be more accurate when specifiying the tools version we provide

- Make sure rpm won't expand %autopatch even if it's commented

- stat(1) as well as systemctl are not use in %post section of udev
  So remove stat(1) from the list of dep and move systemctl to the
  requirements of %postun since it's called from there.
- Be more accurate when specifiying the tools version we provide

- Make sure rpm won't expand %autopatch even if it's commented

- stat(1) as well as systemctl are not use in %post section of udev
  So remove stat(1) from the list of dep and move systemctl to the
  requirements of %postun since it's called from there.

OBS-URL: https://build.opensuse.org/request/show/592079
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1024
2018-03-28 15:27:54 +00:00
Franck Bui
b88a203c9a Accepting request 592039 from home:fbui:systemd:Factory
- Import commit 14b3e00c3ccb8c1c82c8a2e99a9534750880a09e
  e0a8285e2 pid1: when creating service directories, don't chown existing files (#8181) (boo#1085971)
  fb25886b1 Fix format-truncation compile failure by typecasting USB IDs (#8250) (bsc#1084638)
  5a6e9c92e sysusers: make sure to reset errno before calling fget*ent()
  c2e1ee488 sysusers: also add support for NIS entries in /etc/shadow
  51cb94fa1 sysusers: do not append entries after the NIS ones (bsc#1085062 bsc#1045092)
  783f3d368 basic/macros: rename noreturn into _noreturn_ (#8456)
- Drop 0001-basic-macros-rename-noreturn-into-_noreturn_.patch
  It's been merged in the git repo.

- Rename the tarball
  So it's clear that it contains some additional patches on top of the
  upstream version. Use the commit hash in the name so the exact
  version can easily be identified.
  Provide _service file which can be used to retrieve the tarball from
  the git repo (with "osc service disabledrun").

- Split systemd-coredump sub-package off (bsc#1083849)

- Don't ship machines.target in systemd-container but in systemd main package
  machines.target is supposed to be a standard target for
  starting/stopping all containers. systemd-nspawn is the main user of
  it but other container managers could also make use of it.

- Build a mini variant of systemd-container
  So we don't have to manually track and remove all files that should
  be shipped by systemd-container in the case of a bootstrap build.

- Run migrate-sysconfig-i18n.sh also during package installation (bsc#1086164)
  This is needed when we upgrade from SLE11.

OBS-URL: https://build.opensuse.org/request/show/592039
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1023
2018-03-28 13:00:43 +00:00
Franck Bui
c3a3edd8e6 Accepting request 587018 from home:fbui:systemd:Factory
- Add 0001-basic-macros-rename-noreturn-into-_noreturn_.patch
  This fix a build error triggered by the introduction of the new
  version of libgpg-error package. Patch submitted to upsream:
  https://github.com/systemd/systemd/pull/8456

- Turn off the IP sandboxing for systemd-logind
  Since v235 logind run inside an IPv4/IPv6 sandbox by default. This
  creates incompatibilites for systems using NIS.

OBS-URL: https://build.opensuse.org/request/show/587018
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1022
2018-03-14 17:27:51 +00:00
Franck Bui
76b814763c Accepting request 586444 from home:fbui:systemd:Factory
- Restore (maybe temporarly) "pam_config --add systemd"
  During its installation pam-config seems to overwrite the defaults
  shipped by "pam" for "some" reasons (see bsc#1084924)
  No idea why but since pam_systemd is not part of the "pam-config"
  defaults, we need to restore pam_systemd in common-session
  manually...

OBS-URL: https://build.opensuse.org/request/show/586444
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1021
2018-03-13 15:13:50 +00:00
Franck Bui
f995725348 Accepting request 584654 from home:fbui:systemd:Factory
- Remove dropin that was used to turn delegation off for user instances
  Upstream now enables "memory" and "pids" controllers only which
  should have a very limited impact on performance compare to the
  "cpu" controller.

- Import commit 46d6bc9c4f1c05f3b4fcfca754cc59963bd86ce3
  2a79f4e78 units: delegate "memory" instead of "cpu" by default for user instances (#8320) (bsc#954765 bnc#953241 fate#320421)
  88174ae85 compat-rules: fix syntax errors spotted by test/rule-syntax-check.py

OBS-URL: https://build.opensuse.org/request/show/584654
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1020
2018-03-09 09:56:29 +00:00
Franck Bui
40f2805040 Accepting request 584640 from home:fbui:systemd:Factory
- Fix hotplug memory in 80-hotplug-cpu-mem.rules
- Make sure /var/lib/machines is created when systemd-container is installed

OBS-URL: https://build.opensuse.org/request/show/584640
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1019
2018-03-09 09:28:21 +00:00
Franck Bui
a4ab995ff0 Accepting request 584202 from home:tsaupe:branches:Base:System:systemd
add basic user space support for suspend to idle (fate#323814)

OBS-URL: https://build.opensuse.org/request/show/584202
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1018
2018-03-08 08:46:25 +00:00
Franck Bui
9dd5a3a825 Accepting request 581724 from home:fbui:systemd:Factory
- BS forces us to own %{_prefix}/lib/modprobe.d
  This seems wrong but that's how the SUSE BS works.

- Upgrade to v237 (commit 78221ca750a9c266f9f8497dda59d7ee44000a6c)
  Udev rules 60-ssd-scheduler.rules and 80-hotplug-cpu-mem.rules have
  been removed from the git repo and are now maintained at the package
  level. Those rules have been rejected by upstream and are defining
  some defaults which should maintain by the kernel folks.

- Don't call "pam-config --systemd"
  pam_systemd.so has been integrated directly in the PAM stack since
  bsc#812462. So there's no need to call pam-config.

OBS-URL: https://build.opensuse.org/request/show/581724
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1017
2018-03-01 14:26:05 +00:00
Franck Bui
19dfb206d5 Accepting request 580181 from home:fbui:systemd:Factory
- Fix build errors due to the split-off of systemd-containe:
  found conflict of systemd-234-33.1.x86_64 with systemd-container-234-33.1.x86_64:
    - /usr/share/man/man5/systemd.nspawn.5.gz
    - /usr/share/man/man1/systemd-nspawn.1.gz
  found conflict of systemd-container-234-33.1.x86_64 with systemd-mini-container-234-33.1.x86_64:
    - /usr/bin/systemd-nspawn
    - /usr/lib/systemd/system/systemd-nspawn@.service
    - /usr/lib/tmpfiles.d/systemd-nspawn.conf

OBS-URL: https://build.opensuse.org/request/show/580181
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1016
2018-02-26 10:53:13 +00:00
Franck Bui
62cb4abe90 Accepting request 580123 from home:favogt:licensetag
Use %license (boo#1082318). Please forward to SLE, if possible

OBS-URL: https://build.opensuse.org/request/show/580123
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1015
2018-02-26 10:09:47 +00:00
Franck Bui
aee6daab3a Accepting request 579036 from home:fbui:systemd:Factory
- Split off systemd-container sub-package off
  Other distros already do it and it seems a good idea to not install
  this stuff on new installations by default. At least
  /var/lib/machines subvol is not created anymore at boot even if it
  wasn't used at all.

OBS-URL: https://build.opensuse.org/request/show/579036
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1014
2018-02-22 15:07:17 +00:00
Franck Bui
926a234c77 Accepting request 578063 from home:fbui:systemd:Factory
- Import commit 295ead0f396beb2b5199abd99a17e274c2581f95
  f4f94ab2e meson: install rules/80-hotplug-cpu-mem.rules
  2901aa9b9 meson: install rules/60-ssd-scheduler.rules
  1293c0056 core: use id unit when retrieving unit file state (#8038) (bsc#1075801)
  596b2b241 Revert "vconsole-setup: add SUSE specific settings for font/keyboard in sysconfig"
  0b595da04 Revert "locale-setup: handle locale at boot time well"

- Re-enable systemd-firstboot
  It's used by the installer and also by JeOS.

OBS-URL: https://build.opensuse.org/request/show/578063
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1013
2018-02-19 14:47:09 +00:00
Franck Bui
63f198d0b6 Accepting request 577997 from home:fbui:systemd:Factory
- Use %systemd_post in %post

- Own /usr/lib/systemd/system-environment-generators directory

- More systemd rpm macro usages

- Disable systemd-firstboot
  I don't think there's any use case for it currently.

- Use systemd rpm macros in paths defined in the specfile

- Stop importing i18n settings from /etc/sysconfig (fate#319454)
  Bits taken from SLE15.

- Make systemd-timesyncd use the openSUSE NTP servers by default
  Previously systemd-timesyncd used the Google Public NTP servers
  time{1..4}.google.com

- Use %systemd_post in %post

- Own /usr/lib/systemd/system-environment-generators directory

- More systemd rpm macro usages

- Disable systemd-firstboot
  I don't think there's any use case for it currently.

- Use systemd rpm macros in paths defined in the specfile

- Stop importing i18n settings from /etc/sysconfig (fate#319454)

OBS-URL: https://build.opensuse.org/request/show/577997
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1012
2018-02-19 12:48:14 +00:00
Franck Bui
c233b7b35d Accepting request 574684 from home:fbui:systemd:Factory
- Import commit 4a6a1e4f0b02e6cedf7eba93b85a6dd968f875c7
  db1d8eacd compat-rules: make path_id_compat build with meson
- Drop 0001-compat-rules-make-path_id_compat-build-with-meson.patch
  which is now part of the git repo (see above).

OBS-URL: https://build.opensuse.org/request/show/574684
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1011
2018-02-09 14:26:29 +00:00
Franck Bui
dc9b88ddb3 Accepting request 574512 from home:fbui:systemd:Factory
- Don't ship /usr/lib/systemd/system/tmp.mnt at all (bsc#1071224)

- Don't build seccomp support in the mini package

OBS-URL: https://build.opensuse.org/request/show/574512
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1010
2018-02-09 09:01:49 +00:00
Franck Bui
3a769c401e Accepting request 573381 from home:fbui:systemd:Factory
- Switch to Meson build system
  Some rearrangement in the file list was also needed. That was
  probably due to the upgrade of rpm.

- Import commit 0a5600eb7f8263c7c79fec0d85cc159d54aba636
  2a181fc6f insserv-generator: make it build with meson
  7b0401da4 build-sys: don't build networkctl if networkd is disabled

- Don't build-require selinux for the mini package

- Drop libgcrypt.m4
  The mini package builds fine without it so it doesn't seem necessary
  anymore.

- Import commit 846d838c37865da60eba48090e570e959291399f
  b1e0a348d fileio: include sys/mman.h
  f1fa784cb meson: update header file to detect memfd_create()
  8838ba7ec meson: define _GNU_SOURCE to detect copy_file_range() (#7734)
  531a00c84 Restore "restore /var/run and /var/lock bind mount if they aren't symlink""
  (the 3 first commits make systemd build against glibc 2.27)

- Import commit 3f421e4fbf6fcb31d74caf729435868ba8824483
  7fb9ea39a Revert "restore /var/run and /var/lock bind mount if they aren't symlink"
  23ce1207a meson.build: make docdir configurable (#8068)
- Import commit 0a5600eb7f8263c7c79fec0d85cc159d54aba636

OBS-URL: https://build.opensuse.org/request/show/573381
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1009
2018-02-06 15:23:04 +00:00
Franck Bui
7b5d71d771 Accepting request 571921 from home:fbui:systemd:Factory
- Import commit 8ec9f58d334c76e736957812d9e57151502a6f63
  07c6ee3eb compat-rules: get rid of scsi_id when generating compat symlinks for NVMe devices (bsc#1051465)
  261a4ef38 compat-rules: generate compat by-id symlinks with 'nvme' prefix missing (bsc#1063249)

- Drop 0001-compat-rules-get-rid-of-scsi_id-when-generating-comp.patch
  It's been imported in branch "compats/udev-compat-symlinks" which
  has been merged in branch "openSUSE-Factory" in its turn.

- Import commit c516268845b0fd0683cef2e491b84077371e8f01
  37da1facb core: disable session keyring per system sevice entirely for now (bnc#1045886)
  8a1ae0449 strv: fix buffer size calculation in strv_join_quoted()

- Drop 0001-core-disable-session-keyring-per-system-sevice-entir.patch
  It's been merged in branch "SUSE/v234".

OBS-URL: https://build.opensuse.org/request/show/571921
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1008
2018-02-02 10:09:06 +00:00
Franck Bui
fcc2b807d7 Accepting request 570496 from home:fbui:systemd:Factory
- Do not optionally remove /usr/lib/systemd/system/tmp.mnt anymore (bsc#1071224)

OBS-URL: https://build.opensuse.org/request/show/570496
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1006
2018-01-29 10:07:56 +00:00
Franck Bui
834026bfeb Accepting request 563316 from home:fbui:systemd:Factory
- Import commit 82dbe8a2ae56649231111eaadd4c302a2d2175ee
  8c7f0c449 service: Don't stop unneeded units needed by restarted service (bsc#1066156)
  869be64ce sysctl: use raw file descriptor in sysctl_write (#7753)
  0c2400810 sysctl: disable buffer while writing to /proc (bsc#1071558)
  9eb1f30b8 Use read_line() and LONG_LINE_MAX to read values configuration files. (bsc#1071558)
  4dbea654f def: add new constant LONG_LINE_MAX
  48f14cd71 fileio: add new helper call read_line() as bounded getline() replacement
  861e1a222 build-sys: udevadm should have LOG_REALM=LOG_REALM_UDEV
  8ed5cf3fb meson: libudev_core and udevadm should have LOG_REALM=LOG_REALM_UDEV (#7666)
  a9f93f1d0 virt: use XENFEAT_dom0 to detect the hardware domain (#6442, #6662) (#7581) (bsc#1048510)
  fe56abdf9 seccomp: arm64/x32 do not have _sysctl
  c9194fe37 seccomp: arm64 does not have mmap2
  31d9b3c32 fs-util: small tweak in chase_symlinks()
  9dd0bc7a3 meson: do not include man/meson.build if xsltproc not found
  7e29e2b07 analyze: replace --no-man with --man=no in the man page (bsc#1068251)

OBS-URL: https://build.opensuse.org/request/show/563316
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1002
2018-01-10 13:38:26 +00:00
Franck Bui
e98159ad9d Accepting request 547887 from home:pavlix:branches:Base:System
Add missing /etc/systemd/network directory

OBS-URL: https://build.opensuse.org/request/show/547887
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1000
2017-12-04 07:40:42 +00:00
Franck Bui
995db5b7d7 Accepting request 546398 from home:fbui:systemd:Factory
- Import commit e30f1b10e276fb18db10ea2463fbd7146ae778f6
  63481b24b firstboot: do not write vconsole.conf when arg_keymap is empty (bsc#1070124)

- Add 0001-compat-rules-get-rid-of-scsi_id-when-generating-comp.patch (bsc#1051465)
  This patch is not yet merged in the 'compats/udev-compat-symlinks'
  branch: we asked to upstream if it would be possible to introduce a
  new specifier that wouldn't strip trailing whitespaces , see
  https://github.com/systemd/systemd/issues/7462
  Also this allows to give the patch more testing before merging it in
  the git repo.

OBS-URL: https://build.opensuse.org/request/show/546398
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=999
2017-11-29 10:41:17 +00:00
Franck Bui
f39e1e344b Accepting request 544940 from home:fbui:systemd:Factory
- Drop a useless rm(1) from the specfile

OBS-URL: https://build.opensuse.org/request/show/544940
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=998
2017-11-23 17:35:17 +00:00
Franck Bui
ecee18fafc Accepting request 544936 from home:fbui:systemd:Factory
- Import commit 4b9afa11f918796184e1264d618b4ff5d18e481b
  22dcb1d04 tmpfiles: when /etc is not fully initialized, some specifiers are expected to be unresolvable (#6860) (bsc#1055664)
  216beb768 tmpfiles: Allow create symlink on directories (#6039)
  baf85eb79 udev: net_setup_link: don't error out when we couldn't apply link config (#7328)
- Remove stderr redirection to /dev/null when calling %tmpfiles_create
  since it's not needed anymore due to commit 22dcb1d04. Indeed the
  messages are no more emitted at LOG_WARN but LOG_NOTICE.

- Import commit b9a41367b6c1164318443491cc3dae0e8208e15c
  86804326f systemd-firstboot: add vconsole keymap support (#7035) (bsc#1046436)
  9b64225e9 resolved: fix loop on packets with pseudo dns types (bsc#1065276 CVE-2017-15908)
- Drop 0001-systemd-firstboot-add-vconsole-keymap-support.patch since
  it's been merged upstream and backported to SUSE/v234 (see above).

OBS-URL: https://build.opensuse.org/request/show/544936
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=997
2017-11-23 17:28:07 +00:00
Franck Bui
a2b9a813b8 Accepting request 544560 from home:kukuk:branches:Base:System
- Remove requires for pwdutils, we don't need the shadow tools
  anymore [bsc#1069150]

- Remove requires for pwdutils, we don't need the shadow tools
  anymore [bsc#1069150]

OBS-URL: https://build.opensuse.org/request/show/544560
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=996
2017-11-23 10:06:19 +00:00
Franck Bui
b74774fb6a Accepting request 535143 from home:fbui:systemd:Factory
- Add 0001-systemd-firstboot-add-vconsole-keymap-support.patch (bsc#1046436)
  Temporary patch until it's been merged by upstream, see
  https://github.com/systemd/systemd/pull/7035

OBS-URL: https://build.opensuse.org/request/show/535143
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=994
2017-10-19 08:04:52 +00:00
Franck Bui
01fba92150 Accepting request 532103 from home:fbui:systemd:Factory
- Damn forgot to drop 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch in
  the spec file

OBS-URL: https://build.opensuse.org/request/show/532103
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=993
2017-10-06 07:48:50 +00:00
Franck Bui
6296dd611f Accepting request 528799 from home:fbui:systemd:Factory
- Import commit 9e0985dc330b1cf04bc44049962343bdf4ba851a
  4fd7cd041 pam_logind: skip leading /dev/ from PAM_TTY field before passing it on
  dd6312828 logind: make sure we don't process the same method call twice (#6583)

- Update scripts-systemd-upgrade-from-pre-210.sh script
  - drop dependency on awk
  - fallback to runlevel #3 if something goes wrong
  Note: I'm not sure how this is supposed to work as /etc/inittab is
  likely to be missing in my understanding. Indeed this file is part
  of the aaa_base package which might be upgraded before systemd is
  installed...

- Drop macros.systemd.upstream as it's not used

OBS-URL: https://build.opensuse.org/request/show/528799
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=989
2017-09-26 12:43:17 +00:00
Franck Bui
08c39d4991 Accepting request 526193 from home:fbui:systemd:Factory
- Import commit 58ea3c819cca1639ef8c922505c573ba5e262b3d
  334945091 shutdown: fix incorrect fscanf() result check (#6806)
  027202892 shutdown: don't remount,ro network filesystems. (#6588) (bsc#1035386)
  bc77b53a5 shutdown: don't be fooled when detaching DM devices with BTRFS (boo#1055641)
  d9d293847 util: make get_block_device() available
  421ce7382 tmpfiles: silently ignore any path that passes through autofs (#6506) (bsc#1045472)
  ca8f90e62 device: make sure to remove all device units sharing the same sysfs path (#6679)

- Make use of "%tmpfiles_create" in %post of the logger subpackage

- Add scripts-udev-convert-lib-udev-path.sh (bsc#1050152)
  This script takes care of converting /lib/udev into a symlink
  pointing to /usr/lib/udev when upgrading a distro using an old
  version of udev.

- Make use of "%make_build" rpm macro

- Renumber scripts to start at index 100

- Introduce scripts-systemd-upgrade-from-pre-210.sh
  It collects all existing hacks done in %post to fix old/deprecated
  settings in systemd older than 210. This includes hacks needed to
  fix system that are migrating from SysV.
  There shouldn't be any functional changes.

- Move scripts for packaging workaround/fixes in /usr/lib/systemd/scripts
  It also renames fix-machines-subvol-for-rollbacks.sh into
  scripts-systemd-fix-machines-btrfs-subvol.sh
  Note that the "scripts-systemd-" prefix is used for those scripts so
  we can gather them. Why not using a directory instead ? because osc

OBS-URL: https://build.opensuse.org/request/show/526193
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=988
2017-09-14 16:48:49 +00:00
Franck Bui
ba246b36a2 Accepting request 519863 from home:fbui:systemd:Factory
- Add 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch (bsc#1048605)
  It's a temporary but urgent fix for a regression discovered in bug
  1048605. The fix is still under discussion with upstream but we need
  to make progress here and limit the number of affected users.
  Consequently this fix reintroduces bsc#1004995 (the bug report has
  been re-opened) but this one is far less critical and a workaround
  was provided.
  The final solution will fix both bugs.

OBS-URL: https://build.opensuse.org/request/show/519863
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=987
2017-08-31 07:20:04 +00:00
Franck Bui
55c7f080ed Accepting request 519303 from home:fbui:systemd:Factory
- Import commit 2bed4bf99cf7f24eafda490f778ed5e109f8d7f1
  7a4935268 compat-rules: drop the boggus 'import everything' rule (bsc#1046268)

- %regenerate_initrd_post is suppsed to be used in %post (not %pre) section

OBS-URL: https://build.opensuse.org/request/show/519303
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=986
2017-08-29 11:50:06 +00:00
Franck Bui
491001c577 Accepting request 512931 from home:fbui:systemd:Factory
- Import commit 6887cc21f23e33ac37801a01d76176e5c16fd8ea
  9dcc6c04e pid1: forward port console specificities handling for s390 arch to v234

- Import commit 986e98fd5a75470ba17e21fea12d7d4e966c1ecc
  4706ebc62 call chase_symlinks without the /sysroot prefix (#6411) (boo#1051172)

- Remove the unneeded hack forcing systemd-crypsetup binary to be linked against the just built libudev

OBS-URL: https://build.opensuse.org/request/show/512931
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=985
2017-07-28 14:31:20 +00:00
Franck Bui
63eb454e7b Accepting request 512646 from home:fbui:systemd:Factory
- Import commit 06bed720274d9436405a7c27c8238d7d1aefca2b
  66fffdf12 build-sys: don't hook var-lib-machined.mount to remote-fs.target when machined is disabled
  96c232066 Revert "core: don't load dropin data multiple times for the same unit (#5139)"

- Drop support for compression from the mini package
  Hence remove the relevant build-requires from the mini package.

- Upgrade to v234 (commit 78af11131da1b2760778206806c0ebe8616a5284)
  - package /etc/systemd/system/dbus-org.freedesktop.network1.service
  - /usr/lib/systemd/resolv.conf is not installed if resolved is disabled

- Make sure dracut (if installed) will embed the new compat rule
- Import commit 06bed720274d9436405a7c27c8238d7d1aefca2b
  66fffdf12 build-sys: don't hook var-lib-machined.mount to remote-fs.target when machined is disabled
  96c232066 Revert "core: don't load dropin data multiple times for the same unit (#5139)"

- Drop support of compression from the mini package
  Hence remove the relevant build-requires from the mini package.

- Upgrade to v234 (commit 78af11131da1b2760778206806c0ebe8616a5284)
  - package /etc/systemd/system/dbus-org.freedesktop.network1.service
  - /usr/lib/systemd/resolv.conf is not installed if resolved is disabled

- Make sure dracut (if installed) will embed the new compat rule

OBS-URL: https://build.opensuse.org/request/show/512646
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=983
2017-07-26 12:26:16 +00:00
Franck Bui
6a096ce315 Accepting request 508707 from home:jengelh:branches:Base:System
- Edit pkgconfig(liblz4) dependency: liblz4 now uses 1.x *again*

OBS-URL: https://build.opensuse.org/request/show/508707
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=982
2017-07-07 09:06:42 +00:00
Franck Bui
19921c07ad Accepting request 508587 from home:fbui:systemd:Factory
- Added 0001-core-disable-session-keyring-per-system-sevice-entir.patch (bnc#1045886)
  Temporary patch to disable the session keyring stuff as it's
  currently broken and may introduce some security holes.

OBS-URL: https://build.opensuse.org/request/show/508587
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=981
2017-07-06 14:18:03 +00:00
Franck Bui
71e59a286b Accepting request 505715 from home:fbui:systemd:Factory
- Don't try to restart networkd/resolved if they're disabled (boo#1045521)

- Stop shipping /usr/lib/sysusers.d/basic.conf (bsc#1006978)

OBS-URL: https://build.opensuse.org/request/show/505715
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=979
2017-06-23 11:30:07 +00:00
Franck Bui
24c299c13d Accepting request 504039 from home:fbui:systemd:Factory
- Make sure "lock" group is created

OBS-URL: https://build.opensuse.org/request/show/504039
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=978
2017-06-16 09:25:15 +00:00
Franck Bui
870853a831 Accepting request 501636 from home:fbui:systemd:Factory
- Make sure dracut (if installed) will embed the new compat rule (bsc#982303)
  The new compat rule must be embedded in the initramfs so make sure
  that the installed dracut supports it.

- Upgrade to v233 (commit 330b55d5e28d17f361062dba66426e46fb7d7857)
  - package new systemd-umount binary
  - package new environment generator stuff
  - drop /dev/root symlink support
  - /etc/pam.d/systemd-user is not patched anymore but we ship a
    dedicated file for SUSE now.
  - manage compat symlink generation in a dedicated branch (bsc#1040153)

- Fix systemd-sysv-convert when a package starts shipping service units (bsc#982303)
  The database might be missing when upgrading a package which was
  shipping no sysv init scripts nor unit files (at the time --save was
  called) but the new version start shipping unit files.

- Fix indentation in systemd-sysv-convert
  While at it, strip trailing whitespaces.
  No functional changes.

- Disable group shadow support (bsc#1029516)
  The new configure option will be imported during the next tarball
  update.

OBS-URL: https://build.opensuse.org/request/show/501636
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=977
2017-06-07 10:48:51 +00:00
Franck Bui
fd153eb47d Accepting request 492806 from home:fbui:systemd:Factory
- Ship /var/log/README
  Unfortunately it's not possible to also ship /etc/init.d/README
  because of rpm "sanity" checks that prevent executable in
  /etc/init.d

- Drop systemd-{journalctl,loginctl} legacy symlinks.

- Drop %preun section
  Currently the only use of this section is to remove the symlinks
  enabling systemd services on package removal. Those symlinks were
  initially installed by the systemd package installation but could
  have been overriden by the sysadmin later. If so the symlinks
  shouldn't be uninstalled.
  Also in a near futur disabling services will install a symlink to
  /dev/null.

- Import commit 9e33c2ae69fbb705e8ad143536e419a231e93020
  04ef0eab8 importd: support SUSE style checksums supplementary (#5800)
  fb601ad9a importd: support SUSE style checksums (#5206) (fate#322054)
  b76b27c76 hwdb: fix warning "atkbd serio0: Unknown key pressed" (#5772) (boo#1010220)
  cb0d991f6 loginctl: fix typo causing ignoring multiple session IDs (#5732)

- Make use of %systemd_postun()

- Restart a couple of systemd services on package update
  Those services (most notably journald) should support restarting
  these days. However logind still doesn't but that should be fixed
  pretty soon, well I hope :)

- Don't buildrequire pam-config, it's not used at this step.

OBS-URL: https://build.opensuse.org/request/show/492806
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=976
2017-05-04 08:15:39 +00:00
Franck Bui
92e9cf3383 Accepting request 479267 from home:fbui:systemd:Factory
- Initialize /etc/machine-id during the first boot (bsc#1024740)
  Previously that was done at package installation but it didn't fit
  well for appliance builds.

OBS-URL: https://build.opensuse.org/request/show/479267
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=974
2017-03-15 07:16:24 +00:00
Franck Bui
31a5909816 Accepting request 459204 from home:fbui:systemd:Factory
- Don't ship systemd-resolved for now (bsc#1024897)
  If resolved is enabled , systemd-tmpfiles creates a wrong symlink in
  /etc/resolv.conf which confuses the network manager actually used.

- More indentation cleanup (no functional changes)

OBS-URL: https://build.opensuse.org/request/show/459204
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=971
2017-02-20 11:40:16 +00:00
Franck Bui
0f140c2631 Accepting request 455432 from home:kukuk:branches:Base:System
- Remove obsolete insserv requirements for udev again [bsc#999841]

- Remove obsolete insserv requirements for udev again [bsc#999841]

OBS-URL: https://build.opensuse.org/request/show/455432
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=970
2017-02-08 08:21:47 +00:00
b1dfa71663 Accepting request 454455 from home:fbui:systemd:Factory
- Move fix for permission set on /var/lib/systemd/linger/* (no functional changes)
  Move that part after the fix on timer timestamp files otherwise the
  comment doesn't make sense.

- Import commit 028fd9b60580976dffb09b3576a2b652ee35137c
  cc2ca55ff build-sys: do not install ctrl-alt-del.target symlink twice
  ececae77a device: Avoid calling unit_free(NULL) in device setup logic (#4748)

- Ship systemd-resolved but it's disabled by default (bsc#1018387)
  The NSS plugin will also be disabled, users need to enable it
  manually.

OBS-URL: https://build.opensuse.org/request/show/454455
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=968
2017-02-06 08:45:05 +00:00
Franck Bui
4994b8e166 Accepting request 452442 from home:fbui:systemd:Factory
- Don't ship ldconfig.service anymore
  This service was introduced to support stateless systems that
  support offline /usr updates properly.
  AFAIK we don't support any such system for now, so disable it. If
  it's wrong it's easy enough to restore it back.
  Related to bsc#1019470.

- Be more consistent with indentation (*no* functional changes)
  Indentation should use 8 spaces now (no tabs).

- Import commit 2559bc0c076b58f0a649056e79ca90fe5f1d556c
  9c4a759ab systemctl: 'show' don't exit with a failure status if the requested property does not exist [SUSE] (bsc#1021062)
  f9194193b systemctl: remove duplicate entries showed by list-dependencies (#5049) (bsc#1012266)
  2a6653335 rule: don't automatically online standby memory on s390x (bsc#997682)

- Fix permission set on /var/lib/systemd/linger/*
  Those files are created by logind which run with umask(0022), so
  they are not world writable and shouldn't be affected by
  bsc#1020601. But it's cleaner to not let files forever with their
  setuid bit set for no good reason.

- Fix permissions set on permanent timer timestamp files (bsc#1020601) (CVE-2016-10156)
  This change makes sure to fix the permissions of the timestamp files
  which could have been created by an affected version of systemd.
  Local unprivileged users could have run arbitrary code as root if
  systemd previously created world writable suid root files such as
  permanent timer stamp files.

OBS-URL: https://build.opensuse.org/request/show/452442
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=967
2017-01-25 16:13:23 +00:00
Franck Bui
fc9cb37b75 Accepting request 449530 from home:fbui:systemd:Factory
- Import commit 3edb876e3b80437a95502aa5d31d454606ea94bd
  27b544224 core: make sure to not call device_is_bound_by_mounts() when dev is null (#5033) (bsc#1018399)

- Use the %{resolved} build conditional for the nss-resolve subpackage

- /usr/bin/systemd-resolve was missing from the filelist

- Silent warnings emitted when udev socket units are restarted during package upgrade (bsc#1018214)

OBS-URL: https://build.opensuse.org/request/show/449530
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=966
2017-01-11 15:31:45 +00:00
Thomas Blume
ce6f33969f Accepting request 445798 from home:fbui:systemd:Factory
- Really include legacy kbd maps in kbd-model-map (bsc#1015515)
  Instead of fix-machines-subvol-for-rollbacks.sh...

- Enable lz4 (which becomes the default)
  It's much faster than xz and thus should be more appropriate to
  compress journals and coredumps.
  The LZ4 logic is now officially supported and no longer considered
  experimental.
  The new frame api was released in v125.

OBS-URL: https://build.opensuse.org/request/show/445798
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=964
2016-12-14 16:08:32 +00:00
Thomas Blume
72ba9b1b88 Accepting request 444813 from home:fbui:systemd:Factory
- Good bye compatlibs support
  There's no longer need for enabling/disabling the support for the
  compatlibs as it's been dropped from the source code.

- Drop /usr/lib/systemd/libsystemd-shared-%{version}.so from the 32bit package
  This shared library is not for public use, and is neither API nor
  ABI stable, but is likely to change with every new released
  update. Only systemd binaries are supposed to link against it.
  This also prevents from the 32bit package to conflit with the 64bit
  one if this lib was installed by both packages.

- Upgrade to v232, commit c5c3445825981e2a5c3ed71214127d5b1b9de802:
    - Dropped backported commits which has been merged
    - Forward-port Suse specific patches
    - Added --disable-lto option to ./configure
    - Added systemd-mount
    - Removed in %file /usr/lib/systemd/user/*.socket: since
      798c486fbcdce3346cd86 units/systemd-bus-proxyd.socket has been
      removed.
    - Removed in %file %{_sysconfdir}/systemd/bootchart.conf
      since commit 232c84b2d22f2d96982b3c bootchart is not part of systemd
      anymore.
    - Backward compat libs have been disabled since it's been dropped from
      the source code.
    - Added /usr/bin/systemd-socket-activate in %file
    - Added --without-kill-user-processes ./configure option
    - Bump libseccomp build require (>= 2.3.1) as described in README
    - Specifiy version of libmount as required in the README

OBS-URL: https://build.opensuse.org/request/show/444813
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=963
2016-12-08 13:23:11 +00:00
Thomas Blume
e834ed8430 Accepting request 440233 from home:fbui:systemd:Factory
- specfile: conflict systemd-bash-completion and systemd-mini-bash-completion
  Otherwise the build system detects that systemd-bash-completion and
  its mini variant are conflicting at files level even though those
  packages can't be installed on the same system.

- specfile: clean up nss-* plugins descriptions and drop
  nss-myhostname-config script for now.
  Currently /etc/nsswitch.conf is supposed to be edited by the
  sysadmin to enable the modules. However for some reasons only
  nss-myhostname is removed from the conf file when the corresponding
  package is uninstalled. This is inconsistent so let's remove it.
  Actually I'm wondering if we shouldn't make those NSS plugins part
  of the main package and get rid of all those sub-packages...

- specfile: remove old comments and unneeded sed command

- specfile: no need to create systemd-update-utmp-runlevel.service symlinks anymore
  The symlinks in /usr/lib/systemd/system/<target>.target.wants/systemd-update-utmp-runlevel.service
  are created in Makefile.am since commit d5d8429a12c4b1.
  'reboot' and 'poweroff' targets initially had the symlinks but
  there's not point since the latter conflicts shutdown.target whereas
  the 2 targets pull it in.
  See: https://github.com/systemd/systemd/pull/4429

- specfile: remove the following warnings:
  [  256s] warning: File listed twice: /usr/lib/systemd/system/dbus.target.wants
  [  256s] warning: File listed twice: /usr/lib/systemd/system/default.target.wants

OBS-URL: https://build.opensuse.org/request/show/440233
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=961
2016-11-14 14:35:07 +00:00
Thomas Blume
12f7177ed6 Accepting request 437403 from home:fbui:systemd:Factory
- Own a couple of directories even if they don't belong to systemd
  otherwise the build system will complain.
  Some directories (owned by others packages) are simply used by
  systemd to ship some scripts or config files to customize others
  *optional* components. Since thos components are not build required
  by systemd those directories are not owned by any packages and the
  BS complains...

- Import commit
  15ea716 journal-remote: change owner of /var/log/journal/remote and create /var/lib/systemd/journal-upload (bsc#1006372)
  

- %sysusers_create and %tmpfiles_create must be called in %post
  Calling %pre is broken since the respective conf files are not yet
  installed.

- %{_libexecdir}/{tmpfiles.d,sysusers.d}/systemd-remote.conf are
   part of systemd-journal-remote package (only).

- systemd-journal-{gatewayd,remote,upload} units are only part of
  "systemd-journal-remote" package.
  So exclude them from the main package.

- Import commit a1c145e6ad6588555dca64402f9103fb1e02b1a0
  7f34037 man: explain that *KeyIgnoreInhibited only apply to a subset of locks
  df5798b Revert "logind: really handle *KeyIgnoreInhibited options in logind.conf" (bsc#1001790 bsc#1005404)
  f79fee7 Revert "kbd-model-map: add more mappings offered by Yast"
  3760c10 manager: tighten incoming notification message checks
  d6efd71 core: only warn on short reads on signal fd
  6eebd91 manager: be stricter with incomining notifications, warn properly about too large ones

OBS-URL: https://build.opensuse.org/request/show/437403
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=959
2016-10-26 14:59:15 +00:00
Franck Bui
c385bc66e2 - Import a better fix from upstream for bsc#1001765
- Added:
    0001-pid1-more-informative-error-message-for-ignored-noti.patch
    0001-pid1-process-zero-length-notification-messages-again.patch
  - Updated (no code changes, only patch metadata)
    0001-If-the-notification-message-length-is-0-ignore-the-m.patch
    0001-pid1-don-t-return-any-error-in-manager_dispatch_noti.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=958
2016-09-30 06:17:15 +00:00
Franck Bui
f782e8dfea - Re add back "udev: don't require nsserv and fillup"
Did this in the wrong project... it was a complicated day today ;)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=957
2016-09-29 13:08:51 +00:00
Franck Bui
04bd746a0e - Added 2 patches to fix bsc#1001765
0001-If-the-notification-message-length-is-0-ignore-the-m.patch
  0001-pid1-don-t-return-any-error-in-manager_dispatch_noti.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=956
2016-09-29 13:04:00 +00:00
Franck Bui
69195f70d5 - Revert "udev: don't require nsserv and fillup"
It's been judged too late for being part of SLE12 final release.
  Nevertheless it's part of Factory and will be reintroduced after the
  final release is out (ie through an update).

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=955
2016-09-29 06:27:17 +00:00
Franck Bui
35fc3cae4d - Added patches to fix journal with FSS protection enabled (bsc#1000435)
0001-journal-fix-HMAC-calculation-when-appending-a-data-o.patch
   0001-journal-set-STATE_ARCHIVED-as-part-of-offlining-2740.patch
   0001-journal-warn-when-we-fail-to-append-a-tag-to-a-journ.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=952
2016-09-26 09:11:19 +00:00
Franck Bui
81b3fbf7c4 - udev: don't require nsserv and fillup (bsc#999841)
udev has no LSB init scripts nor fillup templates anymore.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=951
2016-09-21 11:56:10 +00:00
Franck Bui
cf6bf5c1d7 - Build require python and python-lxml in order to generate
systemd.directives man page (bsc#986952)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=950
2016-09-16 12:39:58 +00:00
Franck Bui
70cdebfce8 - Add rules: block: add support for pmem devices (#3683) (bsc#988119)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=949
2016-09-16 12:27:58 +00:00
190b7ddb3e Accepting request 422120 from home:dimstar:Factory
- Only BuildRequire gnu-efi when building the 'real' systemd
  package.

  rollbacks (bsc#992573)
- Only BuildRequire gnu-efi when building the 'real' systemd
  package.

  rollbacks (bsc#992573)

OBS-URL: https://build.opensuse.org/request/show/422120
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=947
2016-09-01 11:58:03 +00:00
Franck Bui
08d13164a4 Accepting request 421294 from home:fbui:branches:Base:System
- Add a script to fix /var/lib/machines to make it suitable for
  rollbacks (bsc#992573992573)

- Add a script to fix /var/lib/machines to make it suitable for
  rollbacks (bsc#992573992573)

OBS-URL: https://build.opensuse.org/request/show/421294
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=946
2016-08-25 12:43:25 +00:00
5fdb1ba2a5 Accepting request 418290 from home:msmeissn:branches:Base:System
- reverted the systemctl split-off on request of Franck Bui.

- reverted the systemctl split-off on request of Franck Bui.

OBS-URL: https://build.opensuse.org/request/show/418290
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=945
2016-08-10 12:13:59 +00:00
6d1765bf53 Accepting request 415958 from home:jengelh:branches:Base:System
- Add sysusers to the new split "systemctl" subpackage

OBS-URL: https://build.opensuse.org/request/show/415958
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=943
2016-08-04 11:43:47 +00:00
c022a3538a Accepting request 415263 from home:jengelh:branches:Base:System
Split systemctl and tmpfiles into a separate package

The backstory is that %{?systemd_requires} in all kinds of .spec files
pulls in systemd, which is not always desirable. Upstream has come up
with some solution where they make use of a rpm tag (available in
4.10+) that is only about ordering - cf
2424b6bd71
. The commit explicitly states though, that "installing systemd
afterwards [...], does not result in the same outcome."

With this proposed change to our systemd.spec, we could have the cake
and eat it too:

* symlinks in /etc/systemd can be created at install time, permitting
the administrator to install/use systemd as init system in a container
at a later date (enabling "same outcome")

* mandatory tmp directories will be created at install time already,
so the administrator does not have to run `tmpfiles --root=/mycontainer`
before launching the (systemd-less) container.

* the only protruding dependency of systemctl.rpm is libgcrypt20,
i.e. comparatively light.

* the OrderWithRequires feature can be done independently

Sounds like a plan? @mpluskal too #boo980389

OBS-URL: https://build.opensuse.org/request/show/415263
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=942
2016-07-29 11:07:07 +00:00
046a81a8c1 Accepting request 411397 from home:cyphar:branches:Base:System
Backports a patch from v230 to allow for systemd.unified_cgroup_hierarchy to be supported on 4.4 and later kernels. boo#989276

OBS-URL: https://build.opensuse.org/request/show/411397
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=941
2016-07-18 08:24:21 +00:00
41e79518e7 Accepting request 403388 from home:arvidjaar:bnc:984516
- drop 1060-udev-use-device-mapper-target-name-for-btrfs-device-ready.patch
  it breaks btrfs on multiple device-mapper devices (boo#984516). The problem
  it tried to fix is already fixed in rule shipped with btrfsprogs (see
  boo#912170).

OBS-URL: https://build.opensuse.org/request/show/403388
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=940
2016-06-27 14:38:21 +00:00
7c23ba4538 Accepting request 394450 from home:tsaupe:branches:openSUSE:Factory:systemd-boo970293
fix warning about missing install info during preset (boo#970293)

OBS-URL: https://build.opensuse.org/request/show/394450
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=939
2016-05-13 08:10:24 +00:00
a9ecab2629 Accepting request 385773 from home:Andreas_Schwab:Factory
- Avoid bootstrap cycle with sg3_utils

OBS-URL: https://build.opensuse.org/request/show/385773
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=938
2016-04-08 09:28:10 +00:00
527ef37082 Accepting request 380337 from home:jengelh:branches:Base:System
- Add two patches which address logind/networkd disappearing from
  dbus (and busctl) even while the units and processes continue
  running.
  0001-core-fix-bus-name-synchronization-after-daemon-reloa.patch
  0001-core-re-sync-bus-name-list-after-deserializing-durin.patch

OBS-URL: https://build.opensuse.org/request/show/380337
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=934
2016-03-29 15:52:23 +00:00
Franck Bui
023ef9eec7 Accepting request 372966 from home:fbui:branches:Base:System:cleanup-package-deps
OBS-URL: https://build.opensuse.org/request/show/372966
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=933
2016-03-17 08:09:40 +00:00
Franck Bui
923f9ed571 - systemd should require udev with the exact same version
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=932
2016-03-14 16:13:06 +00:00
Dr. Werner Fink
b9f41ee894 Accepting request 365799 from home:lnussel:branches:Base:System
- require curl and bzip2 to build importd
- curl also causes building of journal-upload. That one has rather
  unusal certificate usage, set it's ca root to /etc/pki/systemd
  instead of the built-in default /etc/ssl as journal-remote and
  journal-upload think they kan put stuff in /etc/ssl/certs then but
  that directory is managed by p11-kit and doesn't serve the purpose
  those programs think.
- /var/lib/systemd/random-seed is a file
- own /var/lib/machines

OBS-URL: https://build.opensuse.org/request/show/365799
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=931
2016-03-11 10:46:33 +00:00
Dr. Werner Fink
951acfa4d4 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=929
2016-03-01 09:18:41 +00:00
0326b30aa6 Accepting request 352395 from home:olh:branches:Base:System
- Create groups adm,input,tape in fixed order (boo#944660)

OBS-URL: https://build.opensuse.org/request/show/352395
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=926
2016-01-13 18:14:14 +00:00
fb3e80f93d Accepting request 349071 from home:scarabeus_iv:branches:Base:System
- Add patch to enable working steam controller:
  * 1099-Add-default-rules-for-valve-steam-controller-to-work.patch

OBS-URL: https://build.opensuse.org/request/show/349071
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=925
2016-01-13 18:13:47 +00:00
54515f943c Accepting request 348128 from home:elvigia:branches:Base:System
- spec: update minimum kernel version to 3.11
- Update minimum util-linux version to 2.27.1

- spec: update minimum kernel version to 3.11
- Update minimum util-linux version to 2.27.1

OBS-URL: https://build.opensuse.org/request/show/348128
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=924
2016-01-13 18:13:18 +00:00
Dominique Leuenberger
1c807b5d99 Accepting request 350196 from home:jengelh:d5
- Avoid enabling readahead services; they have been removed.
  [fixes getty-tty1 not appearing in openqa]

- In %install, only process kbd-model-map.xkb-generated if it
  exists. Resolves a build failure in 13.2/42.1.

OBS-URL: https://build.opensuse.org/request/show/350196
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=923
2015-12-22 13:43:00 +00:00
Franck Bui
642fe32ebf Accepting request 350220 from home:fbui:branches:Base:System:disable-tmpfs-on-tmp
OBS-URL: https://build.opensuse.org/request/show/350220
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=922
2015-12-22 10:31:01 +00:00
2e1f7c4ae0 Accepting request 346999 from home:tsaupe:branches:Base:System:bsc956712-systemd
fix CVE-2015-7510: Stack overflow in nss-mymachines (boo#956712)

OBS-URL: https://build.opensuse.org/request/show/346999
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=921
2015-12-02 15:48:26 +00:00
3a9ea8f8a3 Accepting request 345072 from home:jengelh:d5
- Update to new upstream release 227+228
tested boot-on-cryptoroot

OBS-URL: https://build.opensuse.org/request/show/345072
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=920
2015-12-02 15:45:15 +00:00
Dr. Werner Fink
4a2039e87b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=919
2015-11-12 12:24:39 +00:00
7cdca70826 - enable seccomp for aarch64 (fate#318444)
- enable seccomp for aarch64 (fate#318444)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=917
2015-10-21 20:20:28 +00:00
Dr. Werner Fink
1b2a753084 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=916
2015-10-15 19:38:03 +00:00
Dr. Werner Fink
686ce42691 Accepting request 339126 from home:fbui:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/339126
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=915
2015-10-15 19:35:34 +00:00
Dr. Werner Fink
d5d9426dc2 Accepting request 339089 from home:jengelh:d2
- Drop one more undesirable Obsoletes/Provides. This should have
  been a Conflicts. (There was already a Conflicts, and since
  Conflicts go both ways, we won't need a second one.)

OBS-URL: https://build.opensuse.org/request/show/339089
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=914
2015-10-15 19:35:06 +00:00
Dr. Werner Fink
e2f07f28d4 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=913
2015-10-15 12:03:02 +00:00
Dr. Werner Fink
67b8ad05f8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=912
2015-10-15 08:25:11 +00:00
Dr. Werner Fink
8903d1ccb9 Accepting request 338278 from home:fbui:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/338278
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=910
2015-10-13 08:58:23 +00:00
Dr. Werner Fink
ac9e9f3351 Accepting request 337992 from home:fbui:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/337992
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=909
2015-10-12 10:48:46 +00:00
Dr. Werner Fink
f65bc873a7 Accepting request 335642 from home:jengelh:d2
- Undo Obsoletes/Provides (from Aug 11), creates too big a cycle.
- Provide systemd-sysv-install program/link [bnc#948353]

OBS-URL: https://build.opensuse.org/request/show/335642
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=907
2015-10-06 15:11:15 +00:00
Dr. Werner Fink
6bda2878e3 Accepting request 333474 from home:jengelh:d2
- Avoid "file not found /etc/udev/rules.d/70-persistent-net.rules"

OBS-URL: https://build.opensuse.org/request/show/333474
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=904
2015-09-25 14:20:16 +00:00
Dr. Werner Fink
e2327986a6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=903
2015-09-23 12:43:03 +00:00
Dr. Werner Fink
b1459a8045 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=902
2015-09-07 12:21:59 +00:00
Dr. Werner Fink
7985e71412 Accepting request 329506 from home:fbui:branches:Base:System
OBS-URL: https://build.opensuse.org/request/show/329506
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=901
2015-09-07 12:10:53 +00:00
Dr. Werner Fink
cf8f3750f0 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=900
2015-09-07 08:11:12 +00:00
d99b02de97 Accepting request 316860 from home:jengelh:branches:Base:System
- Remove udev-generate-rules.sh, apparently not used by anything in
  the systemd nor udev-persistent-ifnames package.

OBS-URL: https://build.opensuse.org/request/show/316860
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=899
2015-09-04 10:02:52 +00:00
Dr. Werner Fink
3288b873a5 Accepting request 324754 from home:fbui:branches:Base:System:cleanup
Minor cleanups to the specfile

OBS-URL: https://build.opensuse.org/request/show/324754
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=897
2015-09-03 11:16:05 +00:00
Cristian Rodríguez
2b0491c4bf Accepting request 325092 from home:fbui:branches:Base:System
Installed systemd and udev packages should have the same version.

OBS-URL: https://build.opensuse.org/request/show/325092
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=896
2015-08-21 20:35:48 +00:00
Cristian Rodríguez
ffe37c63ab Accepting request 324420 from home:fbui:branches:Base:System:systemd-roff-links-fixed
Drop 0009-make-xsltproc-use-correct-ROFF-links.patch

This patch was initialy added to workaround bsc#842844. But it appears that man(1) was fixed (included since 13.2 at least) to handle manual,  pages that consist only of a .so directive such as '.so <page>'.

OBS-URL: https://build.opensuse.org/request/show/324420
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=894
2015-08-21 00:34:14 +00:00
8b1af3c775 Accepting request 323109 from home:jengelh:d3
- Update to new upstream release 224

OBS-URL: https://build.opensuse.org/request/show/323109
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=892
2015-08-17 20:36:04 +00:00
Dr. Werner Fink
6980a402a4 Accepting request 321834 from home:jengelh:d2
- Use Obsolete/Provides strategy (from mingw, thumbs to fstrba)

DO ADJUST the prjconf of Base:System / openSUSE:Factory
* remove Prefer: and Ignore: lines regarding systemd and udev

OBS-URL: https://build.opensuse.org/request/show/321834
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=890
2015-08-14 11:28:22 +00:00
Dr. Werner Fink
e92e6f27c7 Accepting request 321614 from home:sndirsch:fate318355
- /usr/share/systemd/kbd-model-map: added entries for
  xkeyboard-config converted keymaps; mappings, which already
  exist in original systemd mapping table are being ignored
  though, i.e. not overwritten; needs kbd in buildrequires
  (FATE#318426)

OBS-URL: https://build.opensuse.org/request/show/321614
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=889
2015-08-14 11:27:55 +00:00
bce5c409ba Accepting request 319468 from home:msmeissn:branches:Base:System
- hostname-NULL.patch: Work around a crash on XEN hosts
  in OBS. /etc/hostname is not present and systemd then does
  strchr(hostname,soemthing) with hostname NULL.

- hostname-NULL.patch: Work around a crash on XEN hosts
  in OBS. /etc/hostname is not present and systemd then does
  strchr(hostname,soemthing) with hostname NULL.

OBS-URL: https://build.opensuse.org/request/show/319468
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=888
2015-07-30 06:19:43 +00:00
Dr. Werner Fink
bc57f4a743 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=886
2015-07-29 11:28:10 +00:00
b6de1e81cd Accepting request 315632 from home:elvigia:branches:Base:System
- Systemd v222, bugfix release.
- Drop upstream patches 
0006-pam_systemd-Properly-check-kdbus-availability.patch
0023-core-fix-reversed-dependency-check-in-unit_check_unn.patch
0031-install-fix-bad-memory-access.patch
1032-ata_id-unbotch-format-specifier.patch
- Drop SUSE patch 1013-no-runtime-PM-for-IBM-consoles.patch
  udev does no longer enable USB HID power management at all.
- The udev accelerometer helper was removed, obsoleted by
  iio-sensor-proxy package.
- networkd gained a new configuration option IPv6PrivacyExtensions.
- udev does not longer support the WAIT_FOR_SYSFS= key in udev
  rules. There are no known issues with current sysfs,
  and udev does not need or should be used to work around such bugs.

- Systemd v222, bugfix release.
- Drop upstream patches 
0006-pam_systemd-Properly-check-kdbus-availability.patch
0023-core-fix-reversed-dependency-check-in-unit_check_unn.patch
0031-install-fix-bad-memory-access.patch
1032-ata_id-unbotch-format-specifier.patch
- Drop SUSE patch 1013-no-runtime-PM-for-IBM-consoles.patch
  udev does no longer enable USB HID power management at all.
- The udev accelerometer helper was removed, obsoleted by
  iio-sensor-proxy package.
- networkd gained a new configuration option IPv6PrivacyExtensions.
- udev does not longer support the WAIT_FOR_SYSFS= key in udev
  rules. There are no known issues with current sysfs,
  and udev does not need or should be used to work around such bugs.

OBS-URL: https://build.opensuse.org/request/show/315632
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=885
2015-07-16 10:04:35 +00:00
1a0cc00367 Accepting request 315376 from home:jengelh:branches:Base:System
- Avoid restarting logind [bnc#934901]
- Do not suppress errors in any case, even if they are ignored

OBS-URL: https://build.opensuse.org/request/show/315376
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=884
2015-07-07 15:19:45 +00:00
Dr. Werner Fink
9643f10967 Accepting request 315123 from home:sumski:hazard:to:your:stereo
- Fix devel package requires (both mini and real required real libsystemd0)

- Fix devel package requires (both mini and real required real libsystemd0)

OBS-URL: https://build.opensuse.org/request/show/315123
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=883
2015-07-06 07:44:45 +00:00
Dr. Werner Fink
8f9d71ff2f Accepting request 314756 from home:jengelh:branches:Base:System
- Rework "-mini" package logic to not conflict with itself and
  then add libsystemd0 to mini.

OBS-URL: https://build.opensuse.org/request/show/314756
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=881
2015-07-03 11:16:13 +00:00
Dr. Werner Fink
69b8a40667 Accepting request 314627 from home:elvigia:branches:Base:System
- remove SysVStartPriority= from after-local.service,
  unsupported since v218.
  Note that this option was only parsed and that's it. the logic
  to give "start priority" was never implemented.

- change the default fallback ntp servers to the opensuse 
  pool.ntp.org vendor zone.
- We still need to run systemd-sysctl.service after local-fs.target
 otherwise it works only when /boot is in the root filesystem but
 not when it is a separate partition.

- remove SysVStartPriority= from after-local.service,
  unsupported since v218.
  Note that this option was only parsed and that's it. the logic
  to give "start priority" was never implemented.

- change the default fallback ntp servers to the opensuse 
  pool.ntp.org vendor zone.
- We still need to run systemd-sysctl.service after local-fs.target
 otherwise it works only when /boot is in the root filesystem but
 not when it is a separate partition.

OBS-URL: https://build.opensuse.org/request/show/314627
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=880
2015-07-01 06:34:26 +00:00
Dr. Werner Fink
8af921d808 Accepting request 314429 from home:sbrabec:branches:systemd-drop-pm-utils
- Obsolete pm-utils and suspend (boo#925873).
- Remove pm-utils support
  (remove Forward-suspend-hibernate-calls-to-pm-utils.patch).

OBS-URL: https://build.opensuse.org/request/show/314429
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=879
2015-06-30 07:36:07 +00:00
Dr. Werner Fink
52ccc3aadb Accepting request 313718 from home:elvigia:branches:Base:System
- remove patch sysctl-handle-boot-sysctl.conf-kernel_release.patch 
  from the filelist.

- libpcre, glib2 and libusb are not used by systemd, remove 
  from buildrequires.

- 1032-ata_id-unbotch-format-specifier.patch: fix udev ata_id 
  output.
- 0023-core-fix-reversed-dependency-check-in-unit_check_unn.patch
  fix StopWhenUnneeded=true in combination with a Requisite=
  dependency.
- 0031-install-fix-bad-memory-access.patch: Fix Bad memory access
-  0006-pam_systemd-Properly-check-kdbus-availability.patch: if
   kdbus is enabled (i.e boot with kdbus=1) DBUS_SESSION_BUS_ADDRESS
   must not be exported.
- spec: add a min_kernel_version macro to ensure the package
 conflicts with kernel versions in which systemd cannot run.

- sysctl-handle-boot-sysctl.conf-kernel_release.patch dropped,
  replaced by a tmpfiles.d snippet "current-kernel-sysctl.conf"
  (feature implemented in v220 just for our usecase)

- fix build when resolved is enabled 
- remove fsck -l test in spec file, systemd requires util-linux
  2.26 or later where this feature is already available.

- remove patch sysctl-handle-boot-sysctl.conf-kernel_release.patch 
  from the filelist.

- libpcre, glib2 and libusb are not used by systemd, remove

OBS-URL: https://build.opensuse.org/request/show/313718
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=878
2015-06-26 07:38:45 +00:00
Cristian Rodríguez
c03ad18628 Accepting request 313572 from home:pluskalm:branches:Base:System
- Install 50-coredump.conf as coredumpctl is now installed by 
  default and does not use journal anymore as default storage

- Install 50-coredump.conf as coredumpctl is now installed by 
  default and does not use journal anymore as default storage

OBS-URL: https://build.opensuse.org/request/show/313572
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=877
2015-06-25 04:25:21 +00:00
Cristian Rodríguez
1ba7d6a0b0 Accepting request 313597 from home:sumski:hazard:to:your:stereo
- Fix bootstrap build by guarding filelists (man pages don't get
  built in bootstrap mode)
- Drop commented sections from baselibs.conf, allows format_spec_file
  to have a successful run

- Fix bootstrap build by guarding filelists (man pages don't get
  built in bootstrap mode)
- Drop commented sections from baselibs.conf, allows format_spec_file
  to have a successful run

OBS-URL: https://build.opensuse.org/request/show/313597
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=876
2015-06-24 19:26:35 +00:00
Dr. Werner Fink
fc3ae7490c Accepting request 313261 from home:jengelh:branches:Base:System
- Update to new upstream release 221

OBS-URL: https://build.opensuse.org/request/show/313261
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=875
2015-06-23 12:56:50 +00:00
Dr. Werner Fink
68483c1664 Accepting request 309834 from home:pwieczorkiewicz:branches:Base:System
- Add 1098-systemd-networkd-alias-network-service.patch to alias
  network.service the same way NetworkManager and wicked does.
  This is needed by yast2 and other parts of the system. boo#933092

- Modify patch 1021-udev-re-add-persistent-net-rules.patch to use
  the new return values of proc_cmdline() in enable_name_policy()
  this should fix boo#931165





- Add 1098-systemd-networkd-alias-network-service.patch to alias
  network.service the same way NetworkManager and wicked does.
  This is needed by yast2 and other parts of the system. boo#933092

- Modify patch 1021-udev-re-add-persistent-net-rules.patch to use
  the new return values of proc_cmdline() in enable_name_policy()
  this should fix boo#931165

OBS-URL: https://build.opensuse.org/request/show/309834
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=872
2015-06-11 12:40:35 +00:00
Dr. Werner Fink
793d6677e9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=871
2015-06-11 12:35:52 +00:00
Cristian Rodríguez
4fcc5bbf99 Accepting request 308492 from home:jengelh:branches:Base:System
- Drop 1021-patch, ...
  those parts are moved to a separate package (udev-persistent-ifnames, SR 308347)

OBS-URL: https://build.opensuse.org/request/show/308492
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=870
2015-05-26 01:06:32 +00:00
Dr. Werner Fink
4d4e08c3a1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=866
2015-04-21 09:12:13 +00:00
61b645d871 Accepting request 293841 from home:jengelh:branches:Base:System
- Reenable networkd which was silently disabled on Feb 18

OBS-URL: https://build.opensuse.org/request/show/293841
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=865
2015-04-10 08:04:27 +00:00
a0cd0641b8 Accepting request 288820 from home:dimstar:branches:REQUEST_288728
Same as SR#288728, but without networkd (which still requires security review.. but we need the udev fix much sooner than that)

OBS-URL: https://build.opensuse.org/request/show/288820
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=862
2015-03-04 12:42:58 +00:00
5147f98485 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=860 2015-02-18 13:04:12 +00:00
e12ae75fe3 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=859 2015-02-18 12:39:15 +00:00
c1e255d89e - mark more subpackages as !bootstrap for systemd-mini usage.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=858
2015-02-18 12:25:50 +00:00
2a9a171442 - mark more subpackages as !bootstrap for systemd-mini usage.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=857
2015-02-18 12:14:12 +00:00
f2a4cf0154 Accepting request 286574 from home:elvigia:branches:Base:System
- spec : remove --with-firmware-path, firmware loader was removed in v217
- spec: remove --disable-multi-seat-x, gone.(fixed in xorg)
- spec: Do not enable systemd-readahead-collect.service and
systemd-readahead-replay.service as these do not exist anymore.
- spec: drop timedate-add-support-for-openSUSE-version-of-etc-sysconfig.patch
  Yast was fixed to write all timezone changes exactly how timedated expects
  things to be done.
- spec: remove handle-etc-HOSTNAME.patch, since late 2014 the netcfg
  package handles the migration from /etc/HOSTNAME to /etc/hostname
  and owns both files.
-spec: remove boot.udev and systemd-journald.init as they currently
  serve no purpose.
- suse-sysv-bootd-support.diff: Remove HAVE_SYSVINIT conditions, we
   are in sysvcompat-only codepath, also remove the code targetting other
   distributions, never compiled as the TARGET_$DISTRO macros are never defined.
- systemd-powerd-initctl-support.patch guard with HAVE_SYSV_COMPAT
- set-and-use-default-logconsole.patch: fix HAVE_SYSV_COMPAT guards
- insserv-generator.patch: Only build when sysvcompat is enabled
- vhangup-on-all-consoles.patch add a comment indicating this is a workaround
  for a kernel bug.
- spec: Add option to allow disabling sysvinit compat at build time.
- spec: Add option to enable resolved at build time.
- spec: Remove all %ifs for !factory products, current systemd releases can
  neither be built nor installed in older products without upgrading
  several components of the base system. 
  (removed: 1008-add-msft-compability-rules.patch was only for =< 13.1)
- spec: remove all dummy "aliases" to /etc/init.d, that made sense only when
  those init scripts still existed. (dummy localfs.service source: gone)
- systemd-sleep-grub: moved to the grub2 package where it belongs as a
  suspend/resume hook (SR#286533) (drops prepare-suspend-to-disk.patch)

OBS-URL: https://build.opensuse.org/request/show/286574
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=856
2015-02-18 12:10:33 +00:00
7d659d9502 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=855 2015-02-17 09:49:23 +00:00
8c9f43b11c OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=854 2015-02-17 08:23:12 +00:00
1cc8d648ff OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=853 2015-02-17 08:06:32 +00:00
52e340d2df OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=852 2015-02-17 07:37:09 +00:00
61fe8945af Accepting request 286413 from home:jengelh:systemd
- Update to new upstream release 219
* basically this is just adding the changelog

OBS-URL: https://build.opensuse.org/request/show/286413
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=851
2015-02-17 07:36:45 +00:00
83f16cb69d - disable netword as we use wicked.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=849
2015-02-17 07:36:01 +00:00
87e77e4578 Accepting request 286315 from home:jengelh:systemd
restore lines that were dropped
- Add first try of suse-sysv-bootd-support.diff

OBS-URL: https://build.opensuse.org/request/show/286315
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=848
2015-02-16 13:04:36 +00:00
Dr. Werner Fink
8b6afdd7bf Accepting request 286310 from home:jengelh:systemd
- Reinstate and improve (remove huge indents from)
  tty-ask-password-agent-on-console.patch,
  0014-journald-with-journaling-FS.patch, rootsymlink_generator.

OBS-URL: https://build.opensuse.org/request/show/286310
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=847
2015-02-16 11:36:25 +00:00
2a176fe605 - disable systemd-resolved for now as it interacts not well with
our methods and security has concerns regarding spoofing. bsc#917781

- disable systemd-resolved for now as it interacts not well with
  our methods and security has concerns regarding spoofing. bsc#917781

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=846
2015-02-16 09:43:50 +00:00
e9cf533fb1 G 0002-rfkill-rework-how-we-generate-file-names-from-rfkill.patch
G avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch
  G 0002-rfkill-rework-how-we-generate-file-names-from-rfkill.patch
  G avoid-assertion-if-invalid-address-familily-is-passed-to-g.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=845
2015-02-13 10:05:19 +00:00
f35f0221c2 Accepting request 280821 from home:jengelh:branches:Base:System
- Update to new upstream release 218
I really want networkd with a functioning machinectl --network-veth (broken in 13.2).

OBS-URL: https://build.opensuse.org/request/show/280821
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=844
2015-02-13 09:43:21 +00:00
Dr. Werner Fink
9191e858e0 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=841
2015-01-20 11:37:36 +00:00
Robert Milasan
329d39aad5 Accepting request 280211 from home:arvidjaar:bnc:912030
- update set-and-use-default-logconsole.patch - fix comparison of
  console log facility that caused journald to skip output to console
  (boo#912030)

OBS-URL: https://build.opensuse.org/request/show/280211
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=840
2015-01-12 10:36:22 +00:00
Dr. Werner Fink
8ac58e9557 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=838
2014-12-18 13:53:53 +00:00
Dr. Werner Fink
c3bbe59bf0 Accepting request 265723 from home:tsaupe
update systemd-tmpfiles ignore statements code

OBS-URL: https://build.opensuse.org/request/show/265723
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=837
2014-12-18 11:26:58 +00:00
Dr. Werner Fink
dfc6901177 Accepting request 265388 from home:tsaupe:branches:Base:System
use --boot option in systemd-tmpfiles-setup-dev.service (bnc#908476)

OBS-URL: https://build.opensuse.org/request/show/265388
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=835
2014-12-16 11:30:04 +00:00
Dr. Werner Fink
dcb2a6c851 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=833
2014-12-15 15:05:09 +00:00
Robert Milasan
d59290f8c6 Accepting request 264780 from home:tsaupe:branches:Base:System
fix systemd-nspawn --network-veth support (bnc#906709)

OBS-URL: https://build.opensuse.org/request/show/264780
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=830
2014-12-11 12:44:47 +00:00
Dr. Werner Fink
cc852857fb .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=829
2014-12-05 17:54:19 +00:00
Robert Milasan
b5fed75ed5 Accepting request 263284 from home:rmilasan:branches:Base:System
- Increase number of children/workers to CPU_COUNT * 256 to avoid 
  'maximum number of children reached' (bnc#907393).
  Add 1097-udevd-increase-maximum-number-of-children.patch

- Increase number of children/workers to CPU_COUNT * 256 to avoid 
  'maximum number of children reached' (bnc#907393).
  Add 1097-udevd-increase-maximum-number-of-children.patch

OBS-URL: https://build.opensuse.org/request/show/263284
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=826
2014-11-28 08:06:54 +00:00
Dr. Werner Fink
9a0a8a529e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=823
2014-11-21 13:37:35 +00:00
Dr. Werner Fink
835bab74e7 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=822
2014-11-20 14:00:20 +00:00
Dr. Werner Fink
8aa36d09f7 Accepting request 262325 from home:gberh:branches:Base:System
- remove pm-utils-hooks-compat.sh again, pm-utils built-in hooks
  partially duplicate hooks run by systemd which may potentially
  lead to problems, instead temporarily re-enable
  Forward-suspend-hibernate-calls-to-pm-utils.patch until
  boo#904828 can be addressed properly

- fix bashisms in write_net_rules script
- update patches:
  * 1053-better-checks-in-write_net_rules.patch

- remove pm-utils-hooks-compat.sh again, pm-utils built-in hooks
  partially duplicate hooks run by systemd which may potentially
  lead to problems, instead temporarily re-enable
  Forward-suspend-hibernate-calls-to-pm-utils.patch until
  boo#904828 can be addressed properly

OBS-URL: https://build.opensuse.org/request/show/262325
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=821
2014-11-20 12:21:44 +00:00
Dr. Werner Fink
f286c827e3 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=820
2014-11-20 12:20:19 +00:00
Dr. Werner Fink
33440c6c02 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=818
2014-11-18 12:46:46 +00:00
Dr. Werner Fink
5b2b7202a8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=817
2014-11-18 10:11:22 +00:00
Dr. Werner Fink
7fad0c2a54 Accepting request 261582 from home:rmilasan:branches:Base:System
- New root symlink rule generator
  Add 1096-new-udev-root-symlink-generator.patch
- Remove write_dev_root_rule and systemd-udev-root-symlink	

- New root symlink rule generator
  Add 1096-new-udev-root-symlink-generator.patch
- Remove write_dev_root_rule and systemd-udev-root-symlink

OBS-URL: https://build.opensuse.org/request/show/261582
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=816
2014-11-14 12:19:40 +00:00
Dr. Werner Fink
bed8c6c446 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=815
2014-11-13 13:01:19 +00:00
Dr. Werner Fink
306730c042 Accepting request 261403 from home:gberh:branches:Base:System
- Add pm-utils-hooks-compat.sh in order to run pm-utils sleep hooks
  from systemd (boo#904828)

- Add pm-utils-hooks-compat.sh in order to run pm-utils sleep hooks
  from systemd (boo#904828)

OBS-URL: https://build.opensuse.org/request/show/261403
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=814
2014-11-13 12:48:19 +00:00
Robert Milasan
11fd5d06f5 Accepting request 261364 from home:rmilasan:branches:Base:System
- Create rule to set I/O scheduler to deadline if device attribute 
  'rotational' equals 0, usually SSDs (bnc#904517).
  Add 1095-set-ssd-disk-to-use-deadline-scheduler.patch

- Create rule to set I/O scheduler to deadline if device attribute 
  'rotational' equals 0, usually SSDs (bnc#904517).
  Add 1095-set-ssd-disk-to-use-deadline-scheduler.patch

OBS-URL: https://build.opensuse.org/request/show/261364
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=813
2014-11-13 10:20:35 +00:00
Dr. Werner Fink
f90c0e1841 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=812
2014-11-10 13:24:58 +00:00
Dr. Werner Fink
874b1b67ca .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=811
2014-11-07 12:36:25 +00:00
Dr. Werner Fink
825c6892b1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=810
2014-11-03 15:22:08 +00:00
Dr. Werner Fink
f6374a95cf .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=809
2014-10-30 14:13:42 +00:00
Dr. Werner Fink
bc9e7d10ea .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=808
2014-10-24 13:30:04 +00:00
Dr. Werner Fink
58cd57f0cb .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=807
2014-10-23 14:19:30 +00:00
Dr. Werner Fink
8227fd8ef6 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=806
2014-10-22 14:18:20 +00:00
Dr. Werner Fink
5f0cd90f29 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=802
2014-10-20 14:13:15 +00:00
Dr. Werner Fink
6e35d5d56c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=801
2014-10-15 12:26:07 +00:00
Dr. Werner Fink
366e6d2483 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=799
2014-10-15 08:49:33 +00:00
Dr. Werner Fink
1dae32ec85 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=797
2014-10-14 16:30:43 +00:00
Dr. Werner Fink
0ef55bb4aa .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=795
2014-09-26 16:12:05 +00:00
Robert Milasan
f997dee4e4 Accepting request 252434 from home:rmilasan:branches:Base:System
- Drop renaming virtual interfaces in a guest (bnc#898432).
  Add 1088-drop-renaming-of-virtual-interfaces-in-guest.patch 

- Drop renaming virtual interfaces in a guest (bnc#898432).
  Add 1088-drop-renaming-of-virtual-interfaces-in-guest.patch

OBS-URL: https://build.opensuse.org/request/show/252434
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=794
2014-09-26 09:37:41 +00:00
Dr. Werner Fink
df2c4540b3 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=793
2014-09-25 14:09:53 +00:00
Dr. Werner Fink
8240ccb15e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=792
2014-09-25 14:06:16 +00:00
Dr. Werner Fink
d67efd1346 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=791
2014-09-25 13:53:13 +00:00
Dr. Werner Fink
9d995c6104 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=790
2014-09-25 09:07:12 +00:00
Dr. Werner Fink
714f5b5a68 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=788
2014-09-24 15:07:37 +00:00
Dr. Werner Fink
22bae05ad2 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=784
2014-09-19 13:11:36 +00:00
Dr. Werner Fink
0ce5120c8f .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=783
2014-09-19 13:03:02 +00:00
Dr. Werner Fink
a78378a257 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=781
2014-09-18 13:34:20 +00:00
Dr. Werner Fink
540205d7f0 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=780
2014-09-18 09:20:14 +00:00
Dr. Werner Fink
9bc2d1c20a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=778
2014-09-16 11:23:31 +00:00
Dr. Werner Fink
c1004bb28d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=776
2014-09-16 10:25:16 +00:00
Dr. Werner Fink
5faf407d52 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=775
2014-09-16 09:34:24 +00:00
Dr. Werner Fink
4ac5812595 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=774
2014-09-16 09:14:28 +00:00
Robert Milasan
a589acac2d Accepting request 249101 from home:rmilasan:branches:Base:System
- udev: always resolve correctly database names on 'change' event (bnc#864745).
  Add 1067-udev-always-resolve-correctly-database-names-on-chan.patch 

- udev: always resolve correctly database names on 'change' event (bnc#864745).
  Add 1067-udev-always-resolve-correctly-database-names-on-chan.patch

OBS-URL: https://build.opensuse.org/request/show/249101
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=773
2014-09-13 21:29:17 +00:00
Dr. Werner Fink
a6c98c02f9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=771
2014-09-09 14:36:44 +00:00
Dr. Werner Fink
45ed8b7728 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=770
2014-09-08 14:49:09 +00:00
Dr. Werner Fink
20e3e0caa8 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=768
2014-09-04 13:13:54 +00:00
Robert Milasan
7f72654cea Accepting request 247221 from home:rmilasan:branches:Base:System
- udev: add option to generate old 'buggy' serials (bnc#886852)
  Add 1066-udev-add-compatibility-links-for-truncated-by-id-links.patch 

- udev: add option to generate old 'buggy' serials (bnc#886852)
  Add 1066-udev-add-compatibility-links-for-truncated-by-id-links.patch

OBS-URL: https://build.opensuse.org/request/show/247221
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=766
2014-09-02 12:58:23 +00:00
Dr. Werner Fink
adc10f09a7 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=765
2014-09-02 09:15:57 +00:00
Dr. Werner Fink
feb9fbb61e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=764
2014-09-01 14:28:08 +00:00
Dr. Werner Fink
95457ca9bc .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=762
2014-08-29 14:51:38 +00:00
Dr. Werner Fink
2480ae94c1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=761
2014-08-28 11:31:51 +00:00
Dr. Werner Fink
3203574c4c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=760
2014-08-28 10:09:25 +00:00
Dr. Werner Fink
06461bb1ca .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=759
2014-08-27 16:02:11 +00:00
Dr. Werner Fink
885d4cf1aa .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=757
2014-08-27 12:53:07 +00:00
Dr. Werner Fink
2b30a137bd .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=755
2014-08-26 11:39:55 +00:00
Dr. Werner Fink
a5d56a7fe1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=754
2014-08-25 09:47:11 +00:00
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
f78fd508f9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=740
2014-07-30 12:44:17 +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
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
cbf1bf33e9 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=733
2014-07-25 11:38:38 +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
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
b81ceb3b1a .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=712
2014-07-11 12:49:28 +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
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
554edd8199 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=705
2014-07-07 12:54:09 +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
4f24633fad .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=697
2014-07-01 09:00:10 +00:00
Dr. Werner Fink
f061002b97 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=696
2014-07-01 08:58:04 +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
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
db528b8d26 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=686
2014-06-25 17:12:37 +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
Dr. Werner Fink
b22c9c974e Also support 13.1 for now
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=683
2014-06-24 12:05:21 +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
087d78212d Accepting request 238415 from home:arvidjaar:bnc:883565:Factory
Backport of 0404c609 (bnc#883565)

OBS-URL: https://build.opensuse.org/request/show/238415
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=680
2014-06-24 10:02: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
aa39d53e63 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=669
2014-06-11 14:11:11 +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
cb6391da83 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=665
2014-06-10 16:23:39 +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
dd8c34690c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=661
2014-06-06 12:45:20 +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
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
Dr. Werner Fink
2c74e752b5 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=651
2014-06-03 14:25:18 +00:00