Commit Graph

1739 Commits

Author SHA256 Message Date
Dominique Leuenberger
a6433d2de7 Accepting request 528802 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/528802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=262
2017-09-29 09:49:48 +00:00
Franck Bui
b617b99408 - 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/package/show/Base:System/systemd?expand=0&rev=989
2017-09-26 12:43:17 +00:00
Dominique Leuenberger
70f586277a Accepting request 526196 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/526196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=261
2017-09-17 20:36:37 +00:00
Franck Bui
bf532ba52b - 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/package/show/Base:System/systemd?expand=0&rev=988
2017-09-14 16:48:49 +00:00
Dominique Leuenberger
7c9e71a44d Accepting request 519864 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/519864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=260
2017-09-04 10:20:42 +00:00
Franck Bui
190456163d - 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/package/show/Base:System/systemd?expand=0&rev=987
2017-08-31 07:20:04 +00:00
Franck Bui
bdd16248ca - 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/package/show/Base:System/systemd?expand=0&rev=986
2017-08-29 11:50:06 +00:00
Dominique Leuenberger
8774086d2f Accepting request 512933 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/512933
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=259
2017-07-29 06:54:38 +00:00
Franck Bui
8f09fc4ea5 - 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/package/show/Base:System/systemd?expand=0&rev=985
2017-07-28 14:31:20 +00:00
Dominique Leuenberger
fdb6fbf704 Accepting request 512915 from openSUSE:Factory
Revert to version 233; split /usr failed with 234

OBS-URL: https://build.opensuse.org/request/show/512915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=258
2017-07-28 12:30:53 +00:00
Dominique Leuenberger
354729fcb6 Accepting request 512915 from openSUSE:Factory
Revert to version 233; split /usr failed with 234

OBS-URL: https://build.opensuse.org/request/show/512915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=258
2017-07-28 12:30:53 +00:00
Dominique Leuenberger
07202e611e Accepting request 512668 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/512668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=257
2017-07-27 09:11:15 +00:00
Dominique Leuenberger
b13391d2f4 Accepting request 512668 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/512668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=257
2017-07-27 09:11:15 +00:00
Franck Bui
24c57286eb - 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/package/show/Base:System/systemd?expand=0&rev=984
2017-07-26 14:37:13 +00:00
Franck Bui
ad4687ae9f - 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/package/show/Base:System/systemd?expand=0&rev=983
2017-07-26 12:26:16 +00:00
Dominique Leuenberger
756ba088fb Accepting request 508718 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/508718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=256
2017-07-17 07:07:55 +00:00
Dominique Leuenberger
f2483e0dfa Accepting request 508718 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/508718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=256
2017-07-17 07:07:55 +00:00
Franck Bui
8cf395e90d - Edit pkgconfig(liblz4) dependency: liblz4 now uses 1.x *again*
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
f3ac0df148 - 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/package/show/Base:System/systemd?expand=0&rev=981
2017-07-06 14:18:03 +00:00
Franck Bui
22afb4ce21 - 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/package/show/Base:System/systemd?expand=0&rev=980
2017-07-06 13:07:38 +00:00
Franck Bui
a85f7af41f - 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/package/show/Base:System/systemd?expand=0&rev=979
2017-06-23 11:30:07 +00:00
Dominique Leuenberger
20a41fa639 Accepting request 504040 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/504040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=255
2017-06-20 07:33:30 +00:00
Dominique Leuenberger
832ca98d82 Accepting request 504040 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/504040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=255
2017-06-20 07:33:30 +00:00
Franck Bui
3752516a5c - Make sure "lock" group is created
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
e5b667711e - 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/package/show/Base:System/systemd?expand=0&rev=977
2017-06-07 10:48:51 +00:00
Dominique Leuenberger
3784ab42c8 Accepting request 492807 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/492807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=254
2017-05-17 08:45:36 +00:00
Dominique Leuenberger
754b390ab0 Accepting request 492807 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/492807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=254
2017-05-17 08:45:36 +00:00
Franck Bui
490a31429e - 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/package/show/Base:System/systemd?expand=0&rev=976
2017-05-04 08:15:39 +00:00
Dominique Leuenberger
35ba46c0dc Accepting request 487063 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/487063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=253
2017-04-24 07:47:19 +00:00
Dominique Leuenberger
cb21266e0c Accepting request 487063 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/487063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=253
2017-04-24 07:47:19 +00:00
Franck Bui
f0886b1415 - 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/package/show/Base:System/systemd?expand=0&rev=975
2017-04-10 13:13:20 +00:00
Dominique Leuenberger
63ed0ad0a3 Accepting request 479432 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/479432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=252
2017-03-17 13:59:32 +00:00
Dominique Leuenberger
253a66cbfd Accepting request 479432 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/479432
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=252
2017-03-17 13:59:32 +00:00
Franck Bui
b01837bc50 - 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/package/show/Base:System/systemd?expand=0&rev=974
2017-03-15 07:16:24 +00:00
Dominique Leuenberger
fac1dd2ff6 Accepting request 477902 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/477902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=251
2017-03-15 00:04:11 +00:00
Dominique Leuenberger
339cb8ea50 Accepting request 477902 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/477902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=251
2017-03-15 00:04:11 +00:00
4400af3ac6 - 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/package/show/Base:System/systemd?expand=0&rev=973
2017-03-09 08:41:34 +00:00
Dominique Leuenberger
3f37418c64 Accepting request 476828 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/476828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=250
2017-03-07 23:38:25 +00:00
Dominique Leuenberger
1069279303 Accepting request 476828 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/476828
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=250
2017-03-07 23:38:25 +00:00
Franck Bui
759b6e5444 - 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/package/show/Base:System/systemd?expand=0&rev=972
2017-03-03 19:39:09 +00:00
Dominique Leuenberger
9f7e081902 Accepting request 459215 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/459215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=249
2017-02-21 12:33:13 +00:00
Dominique Leuenberger
330b460169 Accepting request 459215 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/459215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=249
2017-02-21 12:33:13 +00:00
Franck Bui
34b9ae1e78 - 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/package/show/Base:System/systemd?expand=0&rev=971
2017-02-20 11:40:16 +00:00
Dominique Leuenberger
00cbaccef0 Accepting request 456350 from openSUSE:Factory
Revert introduction of systemd-resolv; see boo#1024897

OBS-URL: https://build.opensuse.org/request/show/456350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=248
2017-02-11 00:24:29 +00:00
Dominique Leuenberger
8ab31e990d Accepting request 456350 from openSUSE:Factory
Revert introduction of systemd-resolv; see boo#1024897

OBS-URL: https://build.opensuse.org/request/show/456350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=248
2017-02-11 00:24:29 +00:00
Dominique Leuenberger
2d763312fb Accepting request 455437 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/455437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=247
2017-02-10 08:46:37 +00:00
Dominique Leuenberger
cbc38789fd Accepting request 455437 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/455437
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=247
2017-02-10 08:46:37 +00:00
Franck Bui
8077e4943a - Remove obsolete insserv requirements for udev again [bsc#999841]
- Remove obsolete insserv requirements for udev again [bsc#999841]

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
361c23bfb9 - 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/package/show/Base:System/systemd?expand=0&rev=969
2017-02-06 14:59:06 +00:00
acf7dd70be - 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/package/show/Base:System/systemd?expand=0&rev=968
2017-02-06 08:45:05 +00:00