Commit Graph

649 Commits

Author SHA256 Message Date
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