Commit Graph

930 Commits

Author SHA256 Message Date
Franck Bui
19b66c67b1 - Add 0001-Revert-resolved-gracefully-handle-with-packets-with-.patch
Temporary workaround for bsc#1183745 (upstream issue 18917) until an
  actual fix is found.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1144
2021-03-24 07:19:48 +00:00
Franck Bui
10efece41c Accepting request 880601 from home:Pharaoh_Atem:branches:Base:System
- Default to the "unified" cgroup hierarchy. At this point, most
  users of cgroup (such as docker, libvirt, kubernetes) should be 
  ready for this change. It's still possible to switch back to the
  old "hybrid" hierarchy by passing "systemd.unified_cgroup_hierarchy=0"
  option to the kernel command line.

OBS-URL: https://build.opensuse.org/request/show/880601
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1143
2021-03-23 17:55:26 +00:00
Franck Bui
08496b7dbd Previous tarball was borked :-/
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1142
2021-03-15 20:54:49 +00:00
Franck Bui
5b382ceab3 - Import commit ddbd660935d7cff7e5c846a98b312b50a7af4fe7 (merge of v246.11)
For a complete list of changes, visit:
  134cf1c8bc...ddbd660935
- Rebase 0001-conf-parser-introduce-early-drop-ins.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1141
2021-03-15 20:02:29 +00:00
Franck Bui
2e74d0198b - Import commit 13bc08870147b35f87cefb074aec22e767b7ac04
846d61e0a1 boot: Move console declarations to missing_efi.h
  171a37228b boot: Add startswith() and endswith() functions with no_case variants
  0fad9f309a boot: Drop unnecessary braces
  c38bbb0874 boot: Fix void pointer arithmetic warning
  438210924b boot: Replace raw efivar gets with typed variants
  e46cb3e4a0 boot: Add  efivar_get/set_uint64_le() functions
  e16bee35c8 boot: Rename efivar_get/set_int() to efivar_get/set_uint_string()
  2808d0e9a3 boot: Tighten scope of variables used in loops
  d3f3d57743 boot: Add efivar_get_boolean_u8()
  0551ecce71 boot: Make all efivar util functions take the guid as an argument
  8376ba3b9f boot: Turn all guid constants into C99 compound initializers
  166fc2dad2 boot: Enable C99
  c87d66e261 boot: Move Secure Boot logic to new file
  da7bba9438 udev: fix memleak
  e06139117c nspawn: make rootfs relative to oci bundle path (bsc#1182598)
  8ba587d46c PATCH] Always free deserialized_subscribed on reload (bsc#1180020)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1140
2021-03-15 11:28:03 +00:00
Franck Bui
b7c785ac2b - Make sure the udev socket units are reloaded during udev package updates
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1139
2021-03-11 09:53:07 +00:00
Franck Bui
d86f2d4ef1 - fix-machines-btrfs-subvol.sh is only shipped when machined is built
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1138
2021-03-10 09:10:55 +00:00
Franck Bui
ee09f027c3 - systemd requires aaa_base >= 13.2
This dependency is required because 'systemctl
  {is-enabled,enable,disable} <initscript>" ends up calling
  systemd-sysv-install which in its turn calls "chkconfig
  --no-systemctl".
  aaa_base package has a weird versioning but the '--no-systemctl'
  option has been introduced starting from SLE12-SP2-GA, which shipped
  version "13.2+git20140911.61c1681".
  Spotted in bsc#1180083.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1137
2021-02-22 20:22:02 +00:00
Franck Bui
ce2bc80d45 - Add 0001-conf-parser-introduce-early-drop-ins.patch
Introduce early configuration drop-in file. This type of drop-ins
  are reserved for vendor own purposes only and should never been used
  by users. It might be removed in the future without any notice.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1136
2021-02-19 13:38:02 +00:00
Franck Bui
deedec8c99 - Drop use of %systemd_postun in %postun
This macro is supposed to operate on units but it was used without
  passing any parameters. This call was probably used for issuing a
  daemon-reload but the following calls to
  %systemd_postun_with_restart imply that already. So let's simply
  drop it.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1135
2021-02-17 10:31:26 +00:00
Franck Bui
b5477698ee Accepting request 869761 from home:fbui:systemd:openSUSE-Factory
- systemd-sysv-convert: handle the case when services are migrated
  from SysV scripts to systemd units and are renamed at the same
  time (bsc#1181788)
  The list of such services is hard coded and contains only the
  'ntp->ntpd' translation.

OBS-URL: https://build.opensuse.org/request/show/869761
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1134
2021-02-05 13:05:42 +00:00
Franck Bui
a8954aede8 Accepting request 868903 from home:fbui:systemd:openSUSE-Factory
- Import commit 134cf1c8bc3e361a2641161aa11ac2b5b990480b (merge of v246.10)
  25f220eafb sysusers: flush nscd's caches whenever /etc/{passwd,group} are modified (bsc#1181121)
  4a543f0257 journal: send journald logs to kmsg again
  26df96473f busctl: add a timestamp to the output of the busctl monitor command (bsc#1180225)
  For a complete list of changes, visit:
  520e53b6d8...134cf1c8bc

OBS-URL: https://build.opensuse.org/request/show/868903
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1133
2021-02-03 10:49:28 +00:00
Franck Bui
b18a5e0fdb Accepting request 862853 from home:lnussel:usrmove
- prepare usrmerge (boo#1029961)
  * don't install legacy symlinks to /
  * use %_pamdir to install pam modules
  * leave nss files in /usr/lib*, glibc loads them from there just
    fine independent of usrmerge

OBS-URL: https://build.opensuse.org/request/show/862853
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1132
2021-01-14 15:32:12 +00:00
Franck Bui
90bc59e9b0 Accepting request 856898 from home:fbui:systemd:openSUSE-Factory
- Import commit 520e53b6d85087b05892ee637ae93f1b269e7e52 (merge of v246.9)
  For a complete list of changes, visit:
  2401461e5f...520e53b6d8

- Import commit 2401461e5f0e32922823d954c56106f96344070e
  6131548b0f udev: link_update() should fail if the entry in symlink dir couldn't have been created
  f6cb8c7d79 udev: make algorithm that selects highest priority devlink less susceptible to race conditions (bsc#1084748)
  fc64e47291 basic/stat-util: make mtime check stricter and use entire timestamp
  ae91d45d3d test/sys-script.py: add missing DEVNAME entries to uevents
  09e3473a7a test/udev_test.pl: add "expected good" count
  fc89379b5b test/udev-test.pl: suppress umount error message at startup
  d9e114f10d test/sd-script.py: new helper script for udev testing
  f2672eae66 test/udev-test.pl: generator for large list of block devices
  42b68e43e2 test/udev-test.pl: add repeat count
  eec8ec375a tests/udev-test.pl: add multiple device test
  73b8f3cf93 test/udev-test.pl: count "good" results
  ee04d70bb6 test/udev-test.pl: merge import parent tests into one
  03942c8fbc test/udev-test.pl: merge "space and var with space" tests
  ec95546189 test/udev-test.pl: remove bogus rules from magic subsys test
  f704429217 test/udev-test.pl: Make some tests a little harder
  ce1a877dc0 test/udev-test.pl: last_rule is unsupported
  913c72ff2d test/udev-test.pl: fix wrong test descriptions
  eeb25a1be6 test/udev-test.pl: allow checking multiple symlinks
  00ab4292da test/udev-test.pl: test correctness of symlink targets
  5b71ee2911 test/udev-test.pl: use computed devnode name
  2e04bb9ae8 test/udev-test.pl: allow concurrent additions and removals
  8816dd593c test/udev-test.pl: create rules only once
  214418632d test/udev-test.pl: allow multiple devices per test
  1eb6b23f27 udev-test: do not rely on "mail" group being defined
  4a0a4dcf10 udev: Fix sound.target dependency (bsc#1179363)

OBS-URL: https://build.opensuse.org/request/show/856898
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1131
2020-12-18 15:38:23 +00:00
Franck Bui
22368f92d6 Accepting request 856647 from home:fbui:systemd:openSUSE-Factory
- Enable support for zstd compression
  systemd-journald will now use zstd for compressing large fields in
  journal files. systemd-coredump will also use this algorithm to
  compress coredump files.
  Please note that systemd older than v246 won't be able to read new
  journal files as zstd algorithm is not supported by these versions.
  This incompatible change was actually not the only one introduced by
  v246 since the hash tables in journal files have been hardened
  against hash collisions too in an incompatible way with older
  versions.

OBS-URL: https://build.opensuse.org/request/show/856647
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1130
2020-12-17 10:43:58 +00:00
Franck Bui
f56c851473 Accepting request 855679 from home:dimstar:Factory
- Explicitly require group(kvm) by udev: the group used to be
  created by system-users-hardware, but has been split/moved to
  qemu/kvm, where it is more logical. The file
  /usr/lib/udev/rules.d/50-udev-default.rules references this
  group, thus we should make sure the group exists. Otherwise there
  are errors in the journal in the form of:
  /usr/lib/udev/rules.d/50-udev-default.rules:86 Unknown group 'kvm', ignoring

- Explicitly require group(kvm) by udev: the group used to be
  created by system-users-hardware, but has been split/moved to
  qemu/kvm, where it is more logical. The file
  /usr/lib/udev/rules.d/50-udev-default.rules references this
  group, thus we should make sure the group exists. Otherwise there
  are errors in the journal in the form of:
  /usr/lib/udev/rules.d/50-udev-default.rules:86 Unknown group 'kvm', ignoring

OBS-URL: https://build.opensuse.org/request/show/855679
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1129
2020-12-14 10:17:48 +00:00
Franck Bui
8104c4033b Accepting request 854319 from home:fbui:systemd:openSUSE-Factory
- Import commit d5e7958d35dc7758fe2e87e0a8193b93ce1a1b15 (merge of v246.7)
  450792497e sd-event: fix delays assert brain-o (#17790)
  1040a19d08 udevadm: rename option '--log-priority' into '--log-level'
  a7b41e19bd udev: rename kernel option 'log_priority' into 'log_level'
  For a complete list of changes, visit:
  f6104ea5f5...d5e7958d35

- Import commit d5e7958d35dc7758fe2e87e0a8193b93ce1a1b15 (merge of v246.7)
  450792497e sd-event: fix delays assert brain-o (#17790)
  1040a19d08 udevadm: rename option '--log-priority' into '--log-level'
  a7b41e19bd udev: rename kernel option 'log_priority' into 'log_level'
  For a complete list of changes, visit:
  f6104ea5f5...d5e7958d35

OBS-URL: https://build.opensuse.org/request/show/854319
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1128
2020-12-09 17:11:15 +00:00
Franck Bui
7ca250f61a Accepting request 852343 from home:fbui:systemd:openSUSE-Factory
- Import commit f6104ea5f554233e34b94ffd92da8332c3bd7d8f
  617aed9236 scope: on unified, make sure to unwatch all PIDs once they've been moved to the cgroup scope

OBS-URL: https://build.opensuse.org/request/show/852343
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1127
2020-12-01 13:22:10 +00:00
Franck Bui
da3eeb4bf2 Accepting request 850486 from home:fbui:systemd:openSUSE-Factory
- Don't post-require systemd-default-settings-branding anymore
  This is actually not needed now that the branding package issues a
  PID1 reloading every times it's being updated.

- Import commit 49caf8e37aba04841e5493ccc25e7edab462d95b
  f8f7286527 units: restore sysfs conditions in sys-fs-fuse-connections.mount and sys-kernel-config.mount
  e9c7158dc7 units: wait until some fs modules are entirely loaded before mounting their corresponding filesystem (bsc#1178631)
  ac7ddc4201 Revert "units: skip modprobe@.service if the unit appears to be already loaded"
  17310a1d19 core: serialize u->pids until the processes have been moved to the scope cgroup (bsc#1174436)
  1416965614 meson: add option to skip installing to $sysconfdir
  f71a1ef5d0 systemctl: give a nice hint about org.freedesktop.LogControl1 when applicable
  20a3f9fd95 systemctl: immediately reject invalid log levels
  9f67d2e57b systemctl: merge log_target(), log_level(), service_log_setting()
  ddf7cf4872 systemctl: add service-log-{level,target} verbs
  026d7d156d systemctl: list unit introspection verbs first, modification second

- systemd-default-settings is needed by %post scriptlet

- Revert the change that dropped %{release} from the package version
  constraints used in Requires:
  The release number is actually relevant since it can be increased
  when some patches, which might touch multiple sub-packages of
  systemd, are added/modified.
  However the %{release} is still no more used in conflicts.

- Don't post-require systemd-default-settings-branding anymore
  This is actually not needed now that the branding package issues a
  PID1 reloading every times it's being updated.

- Import commit 49caf8e37aba04841e5493ccc25e7edab462d95b

OBS-URL: https://build.opensuse.org/request/show/850486
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1126
2020-11-24 14:12:21 +00:00
Franck Bui
2d11a6b026 Accepting request 846415 from home:fbui:systemd:openSUSE-Factory
- Import commit fdce77ce2067f9dd90d816bad28b51efed0b6dc1
  05fff5bd02 generator: use kmsg in system-level generators, journal otherwise
  ecc07954de log: normalize log target condition check
  d32ceea42b log: update comment
  2ebad02b60 basic/virt: Detect PowerVM hypervisor (bsc#1176800)

- Simplify systemd-sysv-convert
  - the previous code incorrectly assumed that the sysv init scripts
    were uninstalled before %post get executed. It therefore save the
    enablement state in %pre and restore it in %post. Now all is done
    in %post (making --save option useless) and there's no more need
    to remember the enablement state.
  - "--save" option is a NOP but is still kept for backward
    compatibility.
  - the previous simplifcation made /var/lib/systemd/migrated no more
    used.
  - we do not search for units in /lib/systemd anymore, this shouldn't
    be needed anymore these days especially since this path was only
    used when systemd was introduced in openSUSE and it was never used
    in SLE (checked SLE12-GA).
  - the option --show has been dropped. It's never been used even
    internally.
  - the DB is populated only once even if the script was enabled at
    multiple runlevels. The runlevel info was never used. A dummy
    value is still added to keep the same format just in case.

- No more need to clean the journal-upload stuff with --without=journal_remote
  Since -Dremote build option has been introduced with meson, this
  workaround is no more needed.

OBS-URL: https://build.opensuse.org/request/show/846415
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1124
2020-11-06 09:15:20 +00:00
Franck Bui
bfd5f42ae9 Accepting request 841476 from home:fbui:systemd:openSUSE-Factory
- Do not include %{release} in a few places where we explicitly mention package versions
  It's usually not a good idea especially when used with conflicts.

- Rely on systemd-default-settings for overriding system default settings
  The new branding packages now ships the drop-ins to customize
  systemd either for an openSUSE or a SLE ditro.

OBS-URL: https://build.opensuse.org/request/show/841476
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1123
2020-10-13 09:57:35 +00:00
Franck Bui
97431037f6 Accepting request 840408 from home:fbui:systemd:openSUSE-Factory
Document in the changelog all SUSE bug fixes imported when systemd was upgraded

OBS-URL: https://build.opensuse.org/request/show/840408
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1122
2020-10-09 10:19:03 +00:00
Franck Bui
0aef3358be Accepting request 838925 from home:fbui:systemd:openSUSE-Factory
- Import commit d7b5ac76dc95ddf30e707d26998e36303e9f52a7 (merge of v246.6)
  For a complete list of changes, visit:
  1cab0d4458...d7b5ac76dc

- Ship {/usr/lib,/etc}/systemd/network directories in the main package
  These directories can be used by both udevd and networkd.

OBS-URL: https://build.opensuse.org/request/show/838925
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1121
2020-10-01 07:57:06 +00:00
Franck Bui
17276831ba Accepting request 835240 from home:fbui:systemd:openSUSE-Factory
- Remove dangling symlink
  /usr/lib/systemd/system/sockets.target.wants/systemd-journald-audit.socket
  Otherwise the build system complains.

OBS-URL: https://build.opensuse.org/request/show/835240
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1120
2020-09-17 15:21:53 +00:00
Franck Bui
c45521a8b8 Accepting request 835208 from home:fbui:systemd:openSUSE-Factory
- Import commit 1cab0d44584687ace92d1df30eadf264231e3b65 (include v246.5)
  304ec2c7ab fstab-generator: add 'nofail' when  NFS 'bg' option is used (bsc#1176513)
  6ae277fb37 test: adapt TEST-21-SYSUSERS for SUSE
  acd8bfd2cc test: adapt TEST-13-NSPAWN-SMOKE for SUSE
  [...]
  For a complete list of changes, visit:
  a4e393eecb...1cab0d4458

OBS-URL: https://build.opensuse.org/request/show/835208
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1119
2020-09-17 13:38:44 +00:00
Franck Bui
dbf44fd4bf Accepting request 834931 from home:fbui:systemd:openSUSE-Factory
- Drop 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
  linuxrc has already been fixed.

OBS-URL: https://build.opensuse.org/request/show/834931
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1118
2020-09-16 14:11:19 +00:00
Franck Bui
6bbab723c3 Accepting request 834923 from home:fbui:systemd:openSUSE-Factory
- Add 0001-udev-temporarly-restore-the-creation-a-few-symlinks-.patch
  A temporary patch until the installer environment is updated to
  create some of the symlinks that udevd used to create during its
  startup but now udevd relies on the init system to do so.

OBS-URL: https://build.opensuse.org/request/show/834923
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1117
2020-09-16 13:58:10 +00:00
Franck Bui
9f480b6a46 Accepting request 833500 from home:fbui:systemd:openSUSE-Factory
- Rework how we prevent journald from both enabling auditd and

OBS-URL: https://build.opensuse.org/request/show/833500
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1116
2020-09-10 14:46:13 +00:00
Franck Bui
b7b0ea0222 Accepting request 833414 from home:fbui:systemd:openSUSE-Factory
- Enable audit support (bsc#1175883)

OBS-URL: https://build.opensuse.org/request/show/833414
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1115
2020-09-10 09:24:34 +00:00
Franck Bui
04d4546136 Accepting request 832018 from home:fbui:systemd:openSUSE-Factory
Document patch additions in changelog

OBS-URL: https://build.opensuse.org/request/show/832018
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1114
2020-09-04 07:03:08 +00:00
Franck Bui
d011d97abb Accepting request 832016 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v246.4 (commit f1344d5b7f31e98aedb01e606f41d74d3caaf446)
  See https://github.com/openSUSE/systemd/blob/SUSE/v246/NEWS for
  details. 
  Now that the number of SUSE specific patches has been shrinked and
  is pretty low (12 at the time of this writing), they are no more
  tracked by the git repo and are now handled at the package
  level. Hence It is easier to maintain and identify them. This
  effectively means that SUSE/v246 will contain upstream commits only.

OBS-URL: https://build.opensuse.org/request/show/832016
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1113
2020-09-04 06:47:46 +00:00
Franck Bui
da62121789 Accepting request 830008 from home:favogt:tmpfix
- Adjust %pre and %post for the restoration of upstream tmp.mount (boo#1175779)

- Adjust %pre and %post for the restoration of upstream tmp.mount (boo#1175779)

Now with more whitespace and readlink -f.

OBS-URL: https://build.opensuse.org/request/show/830008
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1110
2020-08-28 10:41:59 +00:00
Franck Bui
3a247bf181 Accepting request 829723 from home:fbui:systemd:openSUSE-Factory
- Import commit a4e393eecb9dbe140a6c7d57419c291d786155cf
  d8e3bd4e22 Revert "core: don't send SIGKILL to user@.service immediatly during shutdown"

- Drop requirement on 'sysvinit-tools'
  It was used to workaround bug #886599 by explicitly calling
  vhangup(8) from getty@.service so when this service was stopped a
  virtually hangup on the specified terminal when were stopped to give
  the shell a few seconds to save its history.
  But this workaround was dropped since it had no effect (SLE12-GM was
  released with it but was still suffering from the bug) and was
  replaced by commit e9db43d5910717a108, which was released from v226
  and backported to SLE12/SLE12-SP1.

OBS-URL: https://build.opensuse.org/request/show/829723
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1109
2020-08-26 10:15:04 +00:00
Franck Bui
4cab10b16c Accepting request 828162 from home:fbui:systemd:openSUSE-Factory
- Import commit 6d6d92930acad63f9b9029c305a672c32c550d2d (include merge of v245.7)
  797ad47d3e vconsole-setup: downgrade log message when setting font fails on dummy console (bsc#1172195 bsc#1173539)
  [...]
  For a complete list of changes, visit:
  b12cd8b89b...6d6d92930a
- Drop 0001-Revert-job-Don-t-mark-as-redundant-if-deps-are-relev.patch
  Upstream finally reverted it and it's part of both v245.7 and master.

OBS-URL: https://build.opensuse.org/request/show/828162
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1108
2020-08-20 12:11:43 +00:00
Thomas Blume
2eb82a0e87 Accepting request 823166 from home:RBrownSUSE:branches:Base:System
Mount /tmp as tmpfs by default - as agreed on opensuse-factory https://lists.opensuse.org/opensuse-factory/2020-07/msg00253.html

OBS-URL: https://build.opensuse.org/request/show/823166
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1107
2020-07-29 16:10:17 +00:00
Franck Bui
006b3d0150 Accepting request 816786 from home:fbui:systemd:openSUSE-Factory
- migrate-sysconfig-i18n.sh: fix marker handling  (bsc#1173229)
  The marker is used to make sure the script is run only once. Instead
  of storing it in /usr, use /var which is more appropriate for such
  file.
  Also make it owned by systemd package.

OBS-URL: https://build.opensuse.org/request/show/816786
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1106
2020-06-24 06:50:07 +00:00
Franck Bui
a0237e6d77 Accepting request 816596 from home:fbui:systemd:openSUSE-Factory
- Fix inconsistent file modes for some ghost files (bsc#1173227)
  Ghost files are assumed by rpm to have mode 000 by default which is
  not consistent with file permissions set at runtime.
  Also /var/lib/systemd/random-seed was tracked wrongly as a
  directory.
  Also don't track (ghost) /etc/systemd/system/runlevel*.target
  aliases since we're not supposed to track units or aliases user
  might define/override.

OBS-URL: https://build.opensuse.org/request/show/816596
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1105
2020-06-23 14:19:06 +00:00
Franck Bui
298b94d60c Accepting request 815928 from home:fbui:systemd:openSUSE-Factory
- Include in the package version the stable minor (if any).
  Also update the version shown by various command such as 'systemctl
  --version' to show the stable number.

OBS-URL: https://build.opensuse.org/request/show/815928
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1104
2020-06-19 11:23:11 +00:00
Franck Bui
bcaf132ae9 Accepting request 815609 from home:fbui:systemd:openSUSE-Factory
- Don't restart udevd sockets during package update
  Otherwise we might miss kernel events as the daemon need to be
  stopped as well.

- Import commit b12cd8b89b4bccfcf972b47153a2b01cd7775932 (include merge of v245.6)
  For a complete list of changes, visit:
  a6d31d1a02...b12cd8b89b

OBS-URL: https://build.opensuse.org/request/show/815609
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1103
2020-06-17 20:38:48 +00:00
Franck Bui
cf0b23a0c2 Accepting request 814110 from home:mgerstner:branches:Base:System
- no longer explicitly package setgid directory /var/log/journal (bsc#1172550).
  The bit will be set during %post by way of the systemd-tmpfiles invocation.
  This avoids a conflict with the permissions package and an rpmlint error
  popping up.

OBS-URL: https://build.opensuse.org/request/show/814110
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1102
2020-06-15 09:45:22 +00:00
Franck Bui
397c17e983 Accepting request 813288 from home:fbui:systemd:openSUSE-Factory
- Fix build when resolved is disabled
  While at it sort the build conditionals.

OBS-URL: https://build.opensuse.org/request/show/813288
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1101
2020-06-11 08:53:53 +00:00
Franck Bui
9b9ab0e37f Accepting request 809896 from home:fbui:systemd:openSUSE-Factory
- Import commit a6d31d1a02c2718a064bbbc40d003668acf72769
  bb6e2f7906 pid1: update manager settings on reload too (bsc#1163109)
  e9e8907b06 watchdog: reduce watchdog pings in timeout interval
  385a8f9846 udev: rename the persistent link for ATA devices (bsc#1164538)
  66018a12ae tmpfiles: remove unnecessary assert (bsc#1171145)

- Disable bump of /proc/sys/fs/nr-open
  Hopefully a _temporary_ workaround until bsc#1165351 is fixed
  otherwise user instances crashes the system is using NIS (and the
  nscd cache is empty).

OBS-URL: https://build.opensuse.org/request/show/809896
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1100
2020-05-28 10:13:14 +00:00
Franck Bui
3ab3f4e826 Accepting request 798571 from home:fbui:systemd:openSUSE-Factory
Mention 2 dropped patches in .changes

OBS-URL: https://build.opensuse.org/request/show/798571
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1098
2020-04-28 08:16:13 +00:00
Franck Bui
96b3e78070 Accepting request 798553 from home:fbui:systemd:openSUSE-Factory
- Drop legacy /sbin/{udevd,udevadm) symlinks hopefully for good
  Since boo#1160890 has been fixed since a couple of months now.

- Drop content of /usr/share/factory/ (bsc#1170146)
  systemd ships several files in /usr/share/factory/etc that are
  copied to /etc in case those files are missing there. Unfortunately
  the content does not match the openSUSE defaults.

- Drop most of the tmpfiles that deal with generic paths (bsc#1078466)
  They are problematic because some of them conflict with SUSE
  defaults. Therefore it seems better to let the revelant packages
  owning these paths to provide their own definitions instead.

OBS-URL: https://build.opensuse.org/request/show/798553
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1097
2020-04-28 07:44:28 +00:00
Franck Bui
d0e92b5fd6 Accepting request 796823 from home:fbui:systemd:openSUSE-Factory
Add a pointer to get the full list of changes in systemd.changes

OBS-URL: https://build.opensuse.org/request/show/796823
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1096
2020-04-27 13:06:10 +00:00
Franck Bui
4e8cc8b3f7 Accepting request 796795 from home:fbui:systemd:openSUSE-Factory
- Drop %tmpfiles_create portables.conf from %post of networkd sub-package
  It was probably mistakenly added because systemd-portable served as
  template for systemd-network.

OBS-URL: https://build.opensuse.org/request/show/796795
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1095
2020-04-24 07:45:46 +00:00
Franck Bui
22a8c30675 Accepting request 796731 from home:fbui:systemd:openSUSE-Factory
- Import commit 08cd65ac385c884ed6e4bd71128a0796f56ecd17 (include merge of v245.5)
  1ceedf8535 meson: fix build of udev 'path_id_compat' builtin with meson 0.54
  e61569d4a9 pid1: by default make user units inherit their umask from the user manager (bsc#1162698)
  64fdacd5f1 user-util: rework how we validate user names (bsc#1170272)
  [...]

- Drop 0001-meson-fix-build-of-udev-path_id_compat-builtin-with-.patch
  It's been merged in 'openSUSE-Factory' branch otherwise this branch
  won't build anymore since meson has been upgraded to version 0.54 in
  Factory.

OBS-URL: https://build.opensuse.org/request/show/796731
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1094
2020-04-24 06:13:25 +00:00
Franck Bui
0c3fbe50ef Accepting request 794368 from home:fbui:systemd:openSUSE-Factory
- Switch back to the hybrid hierarchy
  Unfortunately Kubernetes and runc are not yet ready for
  cgroupsv2. Let's reconsider the unified hierarchy in a couple of
  months.

OBS-URL: https://build.opensuse.org/request/show/794368
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1093
2020-04-15 19:27:08 +00:00
Franck Bui
18bb537f11 Accepting request 791772 from home:fbui:systemd:openSUSE-Factory
- Import commit c5aa158173ced05201182d1cc18632a25cf43b94 (merge v245.4)

- Add 0001-meson-fix-build-of-udev-path_id_compat-builtin-with-.patch

OBS-URL: https://build.opensuse.org/request/show/791772
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1092
2020-04-06 12:58:22 +00:00
Franck Bui
c516593d35 Accepting request 787500 from home:fbui:systemd:openSUSE-Factory
- Import commit 31f82b39c811b4f731c80c2c2e7c56a0ca924a5b (merge v245.2)
  d1d3f2aa15 docs: Add syntax for templated units to systemd.preset man page
  3c69813c69 man: add a tiny bit of markup
  bf595e788c home: fix segfault when parsing arguments in PAM module
  e110f4dacb test: wait a bit after starting the test service
  e8df08cfdb fix journalctl regression (#15099)
  eb3a38cc23 NEWS: add late note about job trimming issue
  405f0fcfdd systemctl: hide the 'glyph' column when --no-legend is requested
  1c7de81f89 format-table: allow hiding a specific column
  b7f2308bda core: transition to FINAL_SIGTERM state after ExecStopPost=
  2867dfbf70 journalctl: show duplicate entries if they are from the same file (#14898)
  [...]

  Added 0001-Revert-job-Don-t-mark-as-redundant-if-deps-are-relev.patch:
  upstream commit 097537f07a2fab3cb73aef7bc59f2a66aa93f533 has been
  reverted for now on as it introduced a behavior change which has
  impacted plymouth at least.

OBS-URL: https://build.opensuse.org/request/show/787500
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1091
2020-03-23 14:12:04 +00:00
Franck Bui
ba135ace4a Accepting request 786228 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v245 (commit 74e2e834b4282c9bbdc12014f6ccf8d86e542b8d)

- add systemd-network-generator.service file together with systemd-network-generator binary

OBS-URL: https://build.opensuse.org/request/show/786228
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1090
2020-03-19 08:40:40 +00:00
Franck Bui
f7851cfc2b Accepting request 784649 from home:eroca:branches:Base:System
- add systemd-network-generator.service file together with systemd-network-generator binary

OBS-URL: https://build.opensuse.org/request/show/784649
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1089
2020-03-13 16:01:49 +00:00
Franck Bui
b398d77dd0 Accepting request 777986 from home:lnussel:branches:Base:System
- move html documentation to sparate package to save space
- move networkd and resolved binaries into correct subpackage

- move html documentation to sparate package to save space
- move networkd and resolved binaries into correct subpackage

OBS-URL: https://build.opensuse.org/request/show/777986
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1087
2020-02-21 17:09:02 +00:00
Franck Bui
6f0dfd501c Accepting request 770659 from home:fbui:systemd:openSUSE-Factory
- Import commit f8adabc2b1f3e3ad150e7a3bfa88341eda5a8a57 (merge v244.2)
  77c04ce5c2 hwdb: update to v245-rc1
  b4eb884824 Fix typo in function name
  e2d4cb9843 polkit: when authorizing via PK let's re-resolve callback/userdata instead of caching it
  83bfc0d8dd sd-bus: introduce API for re-enqueuing incoming messages
  5926f9f172 polkit: use structured initialization
  0697d0d972 polkit: on async pk requests, re-validate action/details
  2589995acd polkit: reuse some common bus message appending code
  5b2442d5c3 bus-polkit: rename return error parameter to ret_error
  0a19ff7004 shared: split out polkit stuff from bus-util.c → bus-polkit.c
  1325dfb577 test: adapt to the new capsh format
  3538fafb47 meson: update efi path detection to gnu-efi-3.0.11
  3034855a5b presets: "disable" all passive targets by default
  c2e3046819 shared/sysctl-util: normalize repeated slashes or dots to a single value
  6f4364046f dhcp6: do not use T1 and T2 longer than one provided by the lease
  0ed6cda28d network: fix implicit type conversion warning by GCC-10
  f6a5c02d26 bootspec: parse random-seed-mode line in loader.conf
  ddc5dca8a7 sd-boot: fix typo
  2bbbe9ae41 test: Synchronize journal before reading from it
  072485d661 sd-bus: fix introspection bug in signal parameter names
  80af3cf5e3 efi: fix build.
  [...]

- Use suse.pool.ntp.org server pool on SLE (jsc#SLE-7683)

- Drop scripts-udev-convert-lib-udev-path.sh
  Nobody should need it these days.

OBS-URL: https://build.opensuse.org/request/show/770659
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1085
2020-02-06 16:58:34 +00:00
Franck Bui
d253e2d814 Accepting request 764320 from home:fbui:systemd:openSUSE-Factory
- Temporarily restore /sbin/{udevd,udevadm) obsolete symlinks
  They're restored until YaST stop using them (see boo#1160890)

- Import commit 8254b8d9646f3e0f5f8057d1ffb5d6c20f079aaa (merge v244.1)
  639dc9f4bf network: set ipv6 mtu after link-up or device mtu change
  cbced49daa man: fix typo in net-naming-scheme man page
  7dd04c99b0 network: tc: drop unused element
  bf4b7d07ba man: fix typos (#14304)
  1ba2e7a730 ipv4ll: do not reset conflict counter on restart
  49806bb310 macro: avoid subtraction overflow in ALIGN_POWER2()
  c4c1600689 test-network: add a test case for SendOption=
  6f15b45949 network: fix segfault in parsing SendOption=
  2e531b830d seccomp: real syscall numbers are >= 0
  f7616ed52b network: fix copy and paste mistake
  e8b53300c4 network: do not drop foreign config if interface is in initialized state
  00f05813bf seccomp: mmap test results depend on kernel/libseccomp/glibc
  4de1909e61 seccomp: use per arch shmat_syscall
  d83010521d seccomp: ensure rules are loaded in seccomp_memory_deny_write_execute
  2c6568221a seccomp: fix multiplexed system calls
  bcf0aa02bf Fix typo (duplicate "or")
  96d7083c54 network: if /sys is rw, then udev should be around
  e874419902 nspawn: do not fail if udev is not running
  29c9144655 Create parent directories when creating systemd-private subdirs
  9cbb8b5254 network: do not return error but return UINT64_MAX if speed meter is disabled
  c08429ae33 core: swap priority can be negative
  f25c0be335 networkctl: fix to show BSSID
  65fd2fce59 systemctl: enhance message about kexec missing kernel
  bdd0af5f81 Fixup typo in NEWS

OBS-URL: https://build.opensuse.org/request/show/764320
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1084
2020-01-14 14:40:36 +00:00
Franck Bui
89502c3e90 Accepting request 756002 from home:fbui:systemd:openSUSE-Factory
- Manually set system-uid-max and system-gid-max to 499
  It used to be detected automatically by meson but it's been broken
  by the migration of login.defs from /etc to /usr/etc.

OBS-URL: https://build.opensuse.org/request/show/756002
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1083
2019-12-12 08:32:39 +00:00
Franck Bui
d74da009d3 Accepting request 755902 from home:fbui:systemd:openSUSE-Factory
- Import commit d8f6a204858bff68b8e0e7be86b418c36087ab2e
  6c5e492a65 cryptsetup: umount encrypted devices before detaching it during shutdown

- Upgrade to v244 (commit 090da85161ceb1ba0b4c208963c7156a8fdf10c6)
  See https://github.com/openSUSE/systemd/blob/SUSE/v243/NEWS for
  details. 
  Legacy and obsolete symlinks have been finally dropped.
  Dropped 0001-logind-keep-backward-compatibility-with-UserTasksMax.patch.
  Users were notified about the deprecation of UserTasksMax option and
  how to move to the new mechanism. The dropin replacement for
  UserTasksMax is therefore no more generated but its use still
  produces a warning.
  Added 0001-SUSE-policy-do-not-clean-tmp-by-default.patch and
  0001-Fix-run-lock-group-to-follow-openSUSE-policy.patch.
  These patches were extracted from the git repo because it's not
  clear where the SUSE tmpfiles specificities should be located.

OBS-URL: https://build.opensuse.org/request/show/755902
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1082
2019-12-11 17:25:24 +00:00
Franck Bui
ce7fc68a4f Accepting request 753452 from home:fbui:systemd:openSUSE-Factory
- Import commit dbb1d4734daffa62e0eddecfa4f784c84a9d8e76
  1439d72a72 udevd: don't use monitor after manager_exit()
  99288dd778 Revert "udevd: fix crash when workers time out after exit is signal caught"
  152577d6d0 udevd: fix crash when workers time out after exit is signal caught
  f854991504 udevd: wait for workers to finish when exiting (bsc#1106383)
  Changes from the v243-stable (84 commits):
  e51d9bf9e5 man: add entry about SpeedMeter=
  aa1fc791c7 udev: silence warning about PROGRAM+= or IMPORT+= rules
  b9a619bb67 udevadm: ignore EROFS and return earlier
  1ec5b9f80c basic: add vmware hypervisor detection from device-tree
  7fa7080248 umount: be happy if /proc/swaps doesn't exist
  [...]
  47d0e23d26 udev: fix memleak caused by wrong cleanup function
  a6fb0542c5 parse_hwdb: fix compatibility with pyparsing 2.4.*
  cb1d892f17 parse_hwdb: process files in order

OBS-URL: https://build.opensuse.org/request/show/753452
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1081
2019-12-04 06:58:59 +00:00
Franck Bui
ef73e361b7 Accepting request 748020 from home:fbui:systemd:openSUSE-Factory
- Import commit 0b715187a87907e18edf98eab9d0a50fced4a424
  9dbdbc2f10 logind: fix (again) the race that might happen when logind restores VT (bsc#1101591 bsc#1140081)
  c848bec110 libblkid: open device in nonblock mode. (bsc#1084671)
  b70ad6c927 resolved: check for IP in certificate when using DoT with GnuTLS (bsc#1155539 CVE-2018-21029)
  bbedf3d557 resolved: require at least version 3.6.0 of GnuTLS for DNS-over-TLS
  eb732c2e29 resolved: fix connection failures with TLS 1.3 and GnuTLS
  4e45084ac5 shared/install: failing with -ELOOP can be due to the use of an alias in install_error()
  2e297f0d87 shared/install: fix error codes returned by install_context_apply()
  dd29d70d32 man: alias names can't be used with enable command

- Allow YaST to select Iranian (Persian, Farsi) keyboard layout
  (bsc#1092920)

OBS-URL: https://build.opensuse.org/request/show/748020
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1080
2019-11-13 07:53:05 +00:00
Franck Bui
1591e422db Accepting request 745733 from home:lnussel:branches:home:mvidner:branches:Base:System
- Allow YaST to select Iranian (Persian, Farsi) keyboard layout
  (bsc#1092920)

OBS-URL: https://build.opensuse.org/request/show/745733
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1079
2019-11-06 09:18:08 +00:00
Franck Bui
021c8ad589 Accepting request 745454 from home:fbui:systemd:openSUSE-Factory
- Fix %{_libexecdir} misuses of /usr/lib

OBS-URL: https://build.opensuse.org/request/show/745454
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1078
2019-11-05 11:23:54 +00:00
Franck Bui
023b1b5d3e Accepting request 744383 from home:fbui:systemd:openSUSE-Factory
- Drop 0001-compat-rules-escape-when-used-for-shell-expansion.patch
  It's part of the previous import.

- Import commit b7467b7b553d6d0d6f92758d966b69f1a88b6b42
  441f44f371 fileio: introduce read_full_virtual_file() for reading virtual files in sysfs, procfs (bsc#1133495)
  8a1bb5c66b swap: do not make swap units wanted by its device unit anymore

- Import commit 5df9000899ef7d45ddbcacd0fdf73afa07a40f6b
  f0ed7237e4 udev/cdrom_id: Do not open CD-rom in exclusive mode. (bsc#1154256)
  b37054aa5a compat-rules: escape '$' when used for shell expansion
  Changes from the v243-stable:
  ef677436aa test: Pass personality test even when i686 userland runs on x86_64 kernel
  3f6398c450 docs: fix inadvertent change in uid range
  25bb377a73 cgroup: fix typo in BPF firewall support warning message
  6d97aca0d5 fix build with compilers with default stack-protector enabled
  fbad077cec nspawn: surrender controlling terminal to PID2 when using the PID1 stub
  0553c3c668 pid1: fix DefaultTasksMax initialization
  f406a691a7 src/core/automount: use DirectoryMode when calling mkdir -p
  20438f96c3 udevadm trigger: do not propagate EACCES and ENODEV
  6480630bc3 hwdb: Correct WWWW Pattern In Documentation Comment
  9d8e889810 nspawn: consistenly fail if parsing the environment fails
  40e169b304 nspawn: default to unified hierarchy if --as-pid2 is used
  b5df1037a0 cgroup: Mark memory protections as explicitly set in transient units
  f14e3e02cc cgroup: Respect DefaultMemoryMin when setting memory.min
  ea248e53bf cgroup: Check ancestor memory min for unified memory config
  de1d25a506 cgroup: docs: memory.high doc fixups
  2ab45f38d8 cgroup: docs: Mention unbounded protection for memory.{low,min}
  19a43dc38a Consider smb3 as remote filesystem
  5c0224c7bf Handle d_type == DT_UNKNOWN correctly
  8282bc61df util-lib: Don't propagate EACCES from find_binary PATH lookup to caller

OBS-URL: https://build.opensuse.org/request/show/744383
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1077
2019-10-31 08:07:45 +00:00
Franck Bui
d9e423e96f Accepting request 741949 from home:StefanBruens:branches:openSUSE:Factory
- Remove intltool BuildRequires, not needed since v237
- Use python3-base BuildRequires instead of full python3

OBS-URL: https://build.opensuse.org/request/show/741949
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1076
2019-10-23 12:35:28 +00:00
Franck Bui
8c26be2519 Accepting request 741485 from home:fbui:systemd:openSUSE-Factory
- Add 0001-compat-rules-escape-when-used-for-shell-expansion.patch (bsc#1153648)
  Added to the quaratine area to avoid uploading a new tar ball just
  for that single change. It will be dropped during the next import.

OBS-URL: https://build.opensuse.org/request/show/741485
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1075
2019-10-21 11:34:05 +00:00
Franck Bui
17ef8bf2c2 Accepting request 741449 from home:lnussel:branches:Base:System
- don't package locales in -mini package

OBS-URL: https://build.opensuse.org/request/show/741449
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1074
2019-10-21 10:20:46 +00:00
Franck Bui
488e9c4e05 Accepting request 731871 from home:lnussel:branches:Base:System
- split off networkd and resolved into separate network subpackage
- use separate lang package for translations

OBS-URL: https://build.opensuse.org/request/show/731871
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1073
2019-10-08 12:40:27 +00:00
Franck Bui
200cbc2098 Accepting request 735599 from home:fbui:systemd:openSUSE-Factory
- Import commit 428b937f917ae177f2315e8469800941885e441a
  0026b58744 pid1: fix DefaultTasksMax initialization

- Import commit ed81f69153488279957268e247a5c81b678da491 (changes from v243-stable)
  fab6f010ac dhcp6: use unaligned_read_be32()
  f2d9af4322 dhcp6: add missing option length check
  ccf797511e ndisc: make first solicit delayed randomly
  f2275b6e12 dhcp6: read OPTION_INFORMATION_REFRESH_TIME option
  6dfbe58ee7 l10n: update Czech Translation
  d4cd0e9d32 sd-radv: if lifetime < SD_RADV_DEFAULT_MAX_TIMEOUT_USEC, adjust timeout (#13491)
  dbefe59259 polkit: fix typo
  a321507476 sd-netlink: fix invalid assertion
  45dca7fe86 network: do not enter failed state if device's sysfs entry does not exist yet
  dd83d58796 network: add missing link->network checks
  b294305888 path: stop watching path specs once we triggered the target unit
  2cd636c437 hwdb: add Medion Akoya E2292 (#13498)
  d133bdd1fa po: update Brazilian Portuguese translation
  530e09b594 po: update Polish translation
  0c5c3e34c1 polkit: change "revert settings" to "reset settings"
  73e0f372d8 man: fix description of ARPIntervalSec= units
  5412cc54a1 hwdb: axis override for Dell 9360 touchpad
  9d4e658529 test: drop the missed || exit 1 expression
  7ed7ea82f6 udevadm: use usec_add()
  477bf86c91 udevadm: missing initialization of descriptor
  19ac31c989 networkd: unbreak routing_policy_rule_compare_func()
  a20a2157a8 core: coldplug possible nop_job
  eb55241742 tty-ask-pwd-agent: fix message forwarded to wall(1)
  1a3c53c06c core: Fix setting StatusUnitFormat from config files
  91db81e4dd network DHCP4: Dont mislead the logs.
  6af590838b Update m4 for selective utmp support.	modified:   tmpfiles.d/systemd.conf.m4

OBS-URL: https://build.opensuse.org/request/show/735599
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1072
2019-10-07 07:26:22 +00:00
Franck Bui
347c3f9892 Accepting request 732677 from home:fbui:systemd:openSUSE-Factory
- Some files related to the portable stuff were missing some %exclude

OBS-URL: https://build.opensuse.org/request/show/732677
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1071
2019-09-23 12:13:38 +00:00
Franck Bui
cdc959e14f Accepting request 731744 from home:fbui:systemd:openSUSE-Factory
- Import commit 9e41d7ec3572d8d5ea1e00f683e9fbf8108e85b4
  fb1b9d54f9 tty-ask-pwd-agent: fix message forwarded to wall(1)
  dd14da3bb6 core: restore initialization of u->source_mtime
  d62f30f647 resolved: create /etc/resolv.conf symlink at runtime

- Slighly rework (mostly reorganization) the portable stuff

OBS-URL: https://build.opensuse.org/request/show/731744
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1070
2019-09-18 13:55:56 +00:00
Franck Bui
3a39ad7e66 Accepting request 731698 from home:lnussel:branches:Base:System
- enable systemd-portabled

OBS-URL: https://build.opensuse.org/request/show/731698
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1069
2019-09-18 11:08:45 +00:00
Franck Bui
769af78b45 Accepting request 728691 from home:fbui:systemd:openSUSE-Factory
- Track 0001-resolved-create-etc-resolv.conf-symlink-at-runtime.patch
  in the git repo
  This patch has been in the quarantine area long enough, so let's
  move it in the git repo.

OBS-URL: https://build.opensuse.org/request/show/728691
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1068
2019-09-06 06:57:45 +00:00
Franck Bui
80c9a42efc Accepting request 728046 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v243 (commit e0b24c4356aa0c1c56ff274ff72228f33482a5be)
  See https://github.com/openSUSE/systemd/blob/SUSE/v243/NEWS for
  details. 
  Drop 0001-Revert-insserv.conf-generator.patch as it's been dropped
  from branch SUSE/v243 while we were rebasing.
  Drop 0001-rc-local-generator-deprecate-halt.local-support.patch as
  this functionality had been deprecated during the previous release
  and now have been dropped by upstream.

- systemd-container creates and owns /etc/systemd/nspawn now

OBS-URL: https://build.opensuse.org/request/show/728046
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1066
2019-09-03 15:38:17 +00:00
Franck Bui
3c0f3d60ca Accepting request 718031 from home:fbui:systemd:openSUSE-Factory
- Import commit 0f9271c1336c5c9055e75389732a44745d796851 (changes from v242-stable)
  07f0549ffe network: do not send ipv6 token to kernel
  9d34e79ae8 systemd-mount: don't check for non-normalized WHAT for network FS
  5af677680c core: set fs.file-max sysctl to LONG_MAX rather than ULONG_MAX (bsc#1142099)
  29dda7597a random-util: eat up bad RDRAND values seen on AMD CPUs
  eb6c17c178 util-lib: fix a typo in rdrand
  829c20dc8e random-util: rename "err" to "success"
  5442366fbf man: rework the description of Aliases and .wants/.requires directories
  ae71c6f634 docs: typo in arg name replace-irreversible -> replace-irreversibly
  09774a5fcb meson: make nologin path build time configurable
  69ffeeb0b1 man: add note about systemctl stop return value
  4cf14b5513 shared/conf-parser: say "key name" not "lvalue", add dot
  4481ca7f86 shared/conf-parser: emit a nicer warning for something like "======"
  46f3db894b shared/conf-parser: be nice and ignore lines without "="
  7d928995f7 nspawn: fix memleak in argument parsing
  7727e6c0ae resolve: fix memleak
  7f32a81976 journal: properly read unaligned le64 integers
  fa419099e5 activate: move array allocation to heap
  815a9fef2a systemctl: print non-elapsing timers as "n/a" not "(null)"
  a4fc3c88f1 factory: include pam_keyinit.so in PAM factory configuration
  a453d63315 factory: add comment to PAM file, explaining that the defaults are not useful
  d9a5a70a59 factory: tighten PAM configuration
  5e2d3bf80b test: make sure colors don't confuse our test
  5fe3be1334 wait-online: change log level
  c49b6959d5 systemctl: emit warning when we get an invalid process entry from pid1 and continue
  3c9f43eb03 systemctl: do not suggest passing --all if the user passed --state=
  5964d1474e man: offline-updates: make dependence on system-update.target explicit
  a04dd26e03 alloc-util: drop _alloc_ decorator from memdup_suffix0()
  7c46a694ca man: add example for setting multiple properties at once
  1d72789271 man: CPUShares= is so 2015

OBS-URL: https://build.opensuse.org/request/show/718031
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1065
2019-07-24 05:01:53 +00:00
Franck Bui
e03fc0c71a Accepting request 705895 from home:fbui:systemd:openSUSE-Factory
- Import commit eaa7b8b148927d471609de75e542dffcc1b36df4
  7e58b89136 udevd: change the default value of udev.children-max (again) (bsc#1107617)

- Add 0001-rc-local-generator-deprecate-halt.local-support.patch
  /etc/init.d/halt.local support will removed from the next systemd
  version (v243) so for now on warn (hopefully the few) users who rely
  on this script so they have a chance to switch to systemd-shutdown
  interface.

OBS-URL: https://build.opensuse.org/request/show/705895
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1064
2019-05-28 12:15:03 +00:00
Franck Bui
2ac7267edc Accepting request 705662 from home:fbui:systemd:openSUSE-Factory
- Add 0001-Revert-insserv.conf-generator.patch (bsc#1052837)
  All remaining packages have been fixed so they don't rely on the
  insser-generator to generate proper deps. So let's drop it as all
  services should carry the proper dependencies itself.

- Drop debug-only-remove-new-policies.patch
  The new DBUS methods have been reviewed by the security team.

OBS-URL: https://build.opensuse.org/request/show/705662
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1063
2019-05-27 12:28:39 +00:00
Franck Bui
0bd47ce3e2 Accepting request 702859 from home:fbui:systemd:openSUSE-Factory
- Import commit 9984a86d0d2259d54c7060f9c09f214202b4efa7
  f2459bf373 random-util: eat up bad RDRAND values seen on AMD CPUs
  c90a2e9793 util-lib: fix a typo in rdrand
  4db1cc9d46 random-util: rename "err" to "success"
  981a62a102 random-util: hash AT_RANDOM getauxval() value before using it
  64a9c3d918 random-util: use gcc's bit_RDRND definition if it exists
  c5d6ecfdca random-util: rename RANDOM_DONT_DRAIN → RANDOM_MAY_FAIL
  298d13df7e network: remove redunant link name in message
  77cbde31f2 hwdb: Align airplane mode toggle key mapping for all Acer series
  460f03794e Revert "hwdb: Apply Acer mappings to all Gateway and Packard Bell models"
  fe9271ad84 test: return a non-zero return code when 'nobody' user doesn't exist
  29d355e755 fstab-generator: Prevent double free of reused FILE*
  f30f1adc11 meson: make source files including nspawn-settings.h depend on libseccomp
  84bab914b8 alloc-util: don't use malloc_usable_size() to determine allocated size
  5240972d8d units: drop reference to sushell man page
  0a26de5e33 codespell: fix spelling errors
  582de105c8 nspawn-expose-ports: fix a typo in error message

OBS-URL: https://build.opensuse.org/request/show/702859
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1062
2019-05-14 15:44:47 +00:00
Franck Bui
518e25ee50 Accepting request 702610 from home:fbui:systemd:openSUSE-Factory
- Buildrequire polkit so /usr/share/polkit-1/rules.d has an owner
  Otherwise the "post build checks" would complain and would force
  systemd to own this directory. The owner should still be "polkit"
  and the perms should be in sync with the perm set by polkit
  itself.

OBS-URL: https://build.opensuse.org/request/show/702610
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1061
2019-05-13 08:55:25 +00:00
Franck Bui
c82f5f292f Accepting request 701727 from home:fbui:systemd:openSUSE-Factory
- Add debug-only-remove-new-policies.patch
  A temporary patch to suppress the new DBUS methods introduced by
  v242 until they are reviewed and whitelisted by the secteam.

- Add a comment explaining why static enablement symlinks in /etc are suppressed
  Also remove any /etc/systemd/system/*.requires/ symlinks for the
  same reason.

- preset remote-cryptsetup.target during package installation
  This target is supposed to be part of the targets that should be
  enabled (or not depending on the presets) at package installation.

OBS-URL: https://build.opensuse.org/request/show/701727
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1060
2019-05-09 07:17:05 +00:00
Franck Bui
957a8497e0 Accepting request 700167 from home:fbui:systemd:openSUSE-Factory
- Upgrade to v242 (commit 071c380dcc434dca2a0c8b6de0519cc9e816c6d6)
  See https://github.com/openSUSE/systemd/blob/SUSE/v242/NEWS for
  details.

- Drop "BuildRequires:  -post-build-checks" from the specfile (bsc#1130230)
  The syntax of this directive is obsolete and should be replaced by
  "#!BuildIgnore: post-build-checks".
  However there's no good reasons to disable these SUSE extra checks,
  so let's re-enable them and fix the few errors it detected.

OBS-URL: https://build.opensuse.org/request/show/700167
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1059
2019-05-02 14:58:57 +00:00
Franck Bui
a47f4d3c79 Accepting request 693791 from home:fbui:systemd:openSUSE-Factory
- Import commit 4e6e66ea94cf5125f9044f0869939a86801ed2d8
  430877e794 pam-systemd: use secure_getenv() rather than getenv() (bsc#1132348 CVE-2019-3842)
  3cff2e6514 man: document that if the main process exits after SIGTERM we go directly to SIGKILL
  26c4f7191c bus: fix memleak on invalid message

- systemd-coredump: generate a stack trace of all core dumps (bsc#1128832)
  This stack trace is logged to the journal.

OBS-URL: https://build.opensuse.org/request/show/693791
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1058
2019-04-12 17:04:46 +00:00
Franck Bui
41cf227d08 Accepting request 683888 from home:fbui:branches:Base:System
- Stop installing macros.systemd
  There're no points in installing this file if we remove it right
  after.

- Make sure systemd-network.rules take precedence over our polkit-default-privs (bsc#1125438)

OBS-URL: https://build.opensuse.org/request/show/683888
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1057
2019-03-11 13:12:09 +00:00
Franck Bui
ccc92d85e7 Accepting request 682511 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/682511
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1056
2019-03-07 15:16:51 +00:00
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
2a583969a5 Accepting request 628334 from home:fbui:systemd:Factory
3e4156a8f tmpfiles: don't adjust qgroups on existing subvolumes (bsc#1093753)

OBS-URL: https://build.opensuse.org/request/show/628334
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1036
2018-08-09 06:51:29 +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
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
86995e430d Accepting request 571464 from home:fbui:systemd:Factory
- Import commit 2087a80d56bb6f8c7fb74a19172259bc9d9af866
  2b8971b8a tmpfiles: refuse to chown()/chmod() files which are hardlinked, unless protected_hardlinks sysctl is on (bsc#1077925 CVE-2017-18078)
  8c2bcac25 tmpfiles: change ownership of symlinks too

OBS-URL: https://build.opensuse.org/request/show/571464
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1007
2018-01-31 15:24:18 +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
ddfb80eac1 Accepting request 569902 from home:fbui:systemd:Factory
- Import commit 83067827cc891ddc90def200fdbe725917ec9fa3
  3d60486f7 core/timer: Prevent timer looping when unit cannot start (bsc#1068588)
  460bd0cd6 Revert "handle SYSTEMCTL_OPTIONS environment variable" (fate#323393)

OBS-URL: https://build.opensuse.org/request/show/569902
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1005
2018-01-26 14:48:35 +00:00
Franck Bui
54a19df975 Accepting request 566368 from home:fbui:systemd:Factory
- Import commit cc94ce8513221061898c83f57862544b16021f0e
  aa3eba828 delta: don't ignore PREFIX when the given argument is PREFIX/SUFFIX
  b1ea0173a delta: extend skip logic to work on full directory paths (prefix+suffix) (bsc#1070428)
  77c5065f9 delta: check if a prefix needs to be skipped only once
  db32866d1 Fix parsing of features in detect_vm_xen_dom0 (#7890) (bsc#1048510)
  11d40461a sd-bus: use -- when passing arguments to ssh (#6706)
  1148d99f6 tmpfiles: consider /etc uninitialized also when /etc/machine-id is present but empty (#7849) (bsc#1075179)
  3a95f69bf tmpfiles: downgrade warning about duplicate line

- Edit scripts-systemd-fix-machines-btrfs-subvol.sh
  We shouldn't be creating a /var/lib/machines subvolume if /var is
  already a seperate partition or subvolume. /var/lib/machines will
  already be excluded from snapper & similar tooling in this case.

OBS-URL: https://build.opensuse.org/request/show/566368
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1004
2018-01-16 11:09:48 +00:00
Franck Bui
5af38b9aa6 Accepting request 563822 from home:RBrownSUSE:branches:Base:System
- Edit scripts-systemd-fix-machines-btrfs-subvol.sh
  We shouldn't be creating a /var/lib/machines subvolume if /var is
  already a seperate partition or subvolume. /var/lib/machines will
  already be excluded from snapper & similar tooling in this case.

OBS-URL: https://build.opensuse.org/request/show/563822
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1003
2018-01-15 10:27:52 +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
9c4c368b59 Accepting request 547927 from home:fbui:systemd:Factory
- Previous change was missing an entry in the changelogs

OBS-URL: https://build.opensuse.org/request/show/547927
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1001
2017-12-04 08:04:31 +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
29beb56655 Accepting request 536871 from home:fbui:systemd:Factory
- Import commit e44237e76f6e133e62ff6c681d3fd06ebf12f66d
  a4e02c099 udev-rules: all values can contain escaped double quotes now (#6890)
  d2b767a76 tmpfiles: remove old ICE and X11 sockets at boot (#6979)

OBS-URL: https://build.opensuse.org/request/show/536871
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=995
2017-10-26 12:48:34 +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
256590c9f4 Accepting request 532097 from home:fbui:systemd:Factory
- Import commit 6dea894131d78b20b9e0482f75afa6ee4dec8627
  1cdd944b0 unit: when JobTimeoutSec= is turned off, implicitly turn off JobRunningTimeoutSec= too (bsc#1004995)
  This make 0001-Revert-core-device-Use-JobRunningTimeoutSec-for-devi.patch
  not needed anymore.

OBS-URL: https://build.opensuse.org/request/show/532097
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=992
2017-10-06 07:39:28 +00:00
Franck Bui
02bb4167c0 Accepting request 531719 from home:fbui:systemd:Factory
- Import commit 93688f8e53b4e482a55a7d4aba2d927ddedebdde
  c53522be3 compat-rules: allow to specify the generation number through the kernel cmdline

OBS-URL: https://build.opensuse.org/request/show/531719
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=991
2017-10-05 12:49:20 +00:00
Franck Bui
f8266aa67d Accepting request 531384 from home:fbui:systemd:Factory
- Import commit c1e8af7d1e8b09c2878a5b17f513bfc41ae46dc6
  982754275 build-sys: make sure 61-persitent-storage-compat.rules is installed with meson
  9ac2e8b9b udev: proc_cmdline_get_key() FTW! (#6925)

OBS-URL: https://build.opensuse.org/request/show/531384
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=990
2017-10-04 16:02:03 +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
637d7f986a Accepting request 512667 from home:fbui:systemd:Factory
- Import commit c5705e01800bdadd6a4fa7dc50d47b13eb697211
  8ea065d44 compat-rules: don't rely on ID_SERIAL when generating 'by-id' symlinks for NVMe devices (bsc#1048679)

OBS-URL: https://build.opensuse.org/request/show/512667
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=984
2017-07-26 14:37:13 +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
8699de76e4 Accepting request 508561 from home:fbui:systemd:Factory
- Import commit 21827ea0875ff197e16e72003b2bfaa1c6e8daad
  1ad06735f core: fail when syntactically invalid values for User=/Group= fields are detected (bsc#1047023)
  d563972e2 timesyncd: don't use compiled-in list if FallbackNTP has been configured explicitly
  f4e0c16f5 gpt-auto-generator: fix the handling of the value returned by fstab_has_fstype() in add_swap() (#6280)
  e1345aac5 fix add_esp() in the gpt-auto-generator.c (#6251)
  c591ece9a automount: don't lstat(2) upon umount request (#6086) (bsc#1040968)
  643ab2eea gpt-auto-generator: disable gpt auto logic for swaps if at least one is defined in fstab
  f07d2022f fstab-util: introduce fstab_has_fstype() helper
  bf735bb35 fstab-util: don't eat up errors in fstab_is_mount_point()
  a4b40fbed resolved: simplify alloc size calculation (bsc#1045290 CVE-2017-9445)
  8b960bec0 only check signature job error if signature job exists (#6118) (boo#1043758)
  1418bfb5b job: Ensure JobRunningTimeoutSec= survives serialization (#6128) (bsc#1004995)
  19b6d5f08 udev: turn off -Wformat-nonliteral for one safe case
  717ace439 udev: net_id add support for platform bus (ACPI, mostly arm64) devices (#5933)
  a3bf2e6b5 core/mount: pass "-c" flag to /bin/umount (#6093)

- Add minimal support for boot.d/* scripts in systemd-sysv-convert (boo#1046750)
  While at it, the handling of the symlink priorities is also removed
  since it doesn't appear to be used at all.

OBS-URL: https://build.opensuse.org/request/show/508561
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=980
2017-07-06 13:07:38 +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
dbd2628292 Accepting request 487022 from home:fbui:systemd:Factory
- Import commit f0325620d23a247682c629d28883a364e4a7a8c4
  327814841 core: when a unit's SourcePath points to API VFS pretend we are never out-of-date (#5487)
  f4b9fb58e units: move Before deps for quota services to remote-fs.target (#5627) (bsc#1028263)
  44b9d27f8 udev: net_id - support predictable ifnames on vio buses (#5675) (bnc#1029183)
  64f4761c9 units: apply plymouth warning fix to in rescue mode as well (#5615)
  77607b887 units: do not throw a warning in emergency mode if plymouth is not installed (#5528) (bsc#1025398)
  336d6016c core: downgrade "Time has been changed" to debug (#4906) (bsc#1028610)

- Consider chroot updates in fix-machines-subvol-for-rollbacks.sh (bsc#1030290)

OBS-URL: https://build.opensuse.org/request/show/487022
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=975
2017-04-10 13:13:20 +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
43394d73d4 Accepting request 477414 from home:fbui:systemd:Factory
- Import commit 68fc0a749a83d16d4cde8471d5030bc6254ffd96
  76d4d05fb udev: fix variable assignment
  473df8cc4 udev-rules: perform whitespace replacement for symlink subst values (bsc#1025886)
  d6c3ff647 udev-event: add replace_whitespace param to udev_event_apply_format
  30ad15f7c libudev-util: change util_replace_whitespace to return number of chars in dest

OBS-URL: https://build.opensuse.org/request/show/477414
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=973
2017-03-09 08:41:34 +00:00
Franck Bui
9ca5e1ecb9 Accepting request 476801 from home:fbui:systemd:Factory
- Import commit 103259b3226251d06f79ca627f7b0ba0bd49f4bc
  0ee7890dd automount: if an automount unit is masked, don't react to activation anymore (#5445)
  99865a181 core: make sure to destroy all name watching bus slots when we are kicked off the bus (#5294) (bsc#1006687)
  f34234c54 build-sys: add check for gperf lookup function signature (#5055)
  44e39538f sd-event: "when exiting no signal event are pending" is a wrong assertion (#5271) (boo#995936 bsc#1022014)
  471b26807 sd-event: when an event source fails, don't assume the type of it is still set

OBS-URL: https://build.opensuse.org/request/show/476801
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=972
2017-03-03 19:39:09 +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
Franck Bui
7fee2db209 Accepting request 455019 from home:fbui:systemd:Factory
- Import commit cd97d5d5fef79ab9d957bf6504d085c0faca6bfc
  e587b6ce0 disable RestrictAddressFamilies on all architectures but x86_64 one (bsc#1023460)
  c8ae05632 journald: don't flush to /var/log/journal before we get asked to (bsc#1004094)
  7261eaf3e sd-event: fix sd_event_source_get_priority() (#4712)

OBS-URL: https://build.opensuse.org/request/show/455019
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=969
2017-02-06 14:59:06 +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
5e5cc2c239 Accepting request 447029 from home:fbui:systemd:Factory
- Upgrade to v232, commit de62e96da6a62ac61a7dea45cc558f5fa4342032
  - a4dff165d nspawn: resolv.conf might not be created initially (#4799)
  - b543fe907 nspawn: fix condition for mounting resolv.conf (#4622)
  - 1aed89e55 core: make mount units from /proc/self/mountinfo possibly bind to a device (#4515) (boo#909418 bsc#912715 bsc#945340)
  - bfb54ecdc coredumpctl: let gdb handle the SIGINT signal (#4901) (bsc#1012591)

OBS-URL: https://build.opensuse.org/request/show/447029
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=965
2016-12-20 08:22:16 +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
Franck Bui
272d95ccf5 Accepting request 440939 from home:msmeissn:branches:Base:System
- libudev-devel 32bit is needed for building 32bit wine now.

- libudev-devel 32bit is needed for building 32bit wine now.

OBS-URL: https://build.opensuse.org/request/show/440939
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=962
2016-11-24 16:38:01 +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
cfd2631280 Accepting request 437525 from home:fbui:systemd:Factory
- Add the list of the patches in the changelog which were dropped when
  we switched to the git repo otherwise the build system complains.

OBS-URL: https://build.opensuse.org/request/show/437525
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=960
2016-10-28 08:14:59 +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
4f8c3e2552 - systemd-sysv-convert: make sure that/var/lib/systemd/sysv-convert/database
is always initialized (bsc#982211)

  If "--save" command was used and the sysv init script wasn't enabled
  at all, the database file wasn't created at all. This makes the
  subsequent call to "--apply" fail even though it's a valid scenario.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=954
2016-09-27 09:44:14 +00:00
Franck Bui
b56d5010a6 Mention 0001-rules-block-add-support-for-pmem-devices-3683.patch
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=953
2016-09-26 09:55:28 +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
Franck Bui
ac42e39cf9 Accepting request 424922 from home:tbechtold:branches:Base:System
- Fix is-enabled check in systemd-sysv-install (bsc#997268)

- Fix is-enabled check in systemd-sysv-install (bsc#997268)

OBS-URL: https://build.opensuse.org/request/show/424922
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=948
2016-09-06 09:01:38 +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
4825441b96 Accepting request 416238 from home:develop7:branches:Base:System
Fix 1099-Add-default-rules-for-valve-steam-controller-to-work.patch to enable missing functionality of Steam Controller

based on http://repo.steampowered.com/steam/pool/steam/s/steam/steam_1.0.0.52.tar.gz/steam/lib/udev/rules.d/99-steam-controller-perms.rules

OBS-URL: https://build.opensuse.org/request/show/416238
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=944
2016-08-04 11:57:25 +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
Dr. Werner Fink
f19082b593 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=936
2016-04-05 07:09:23 +00:00
a5aafb0413 - add systemd-228-nspawn-make-journal-linking-non-fatal-in-try-and-auto.diff
- add systemd-228-nspawn-make-journal-linking-non-fatal-in-try-and-auto.diff

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=935
2016-03-30 09:25:12 +00:00