Commit Graph

811 Commits

Author SHA256 Message Date
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
edbc017ac1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=937
2016-04-05 07:20:52 +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
527ef37082 Accepting request 380337 from home:jengelh:branches:Base:System
- Add two patches which address logind/networkd disappearing from
  dbus (and busctl) even while the units and processes continue
  running.
  0001-core-fix-bus-name-synchronization-after-daemon-reloa.patch
  0001-core-re-sync-bus-name-list-after-deserializing-durin.patch

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

OBS-URL: https://build.opensuse.org/request/show/365799
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=931
2016-03-11 10:46:33 +00:00
Dr. Werner Fink
33be5ae29e .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=930
2016-03-10 08:05:23 +00:00
Dr. Werner Fink
951acfa4d4 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=929
2016-03-01 09:18:41 +00:00
Dr. Werner Fink
b287341d08 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=928
2016-03-01 08:07:33 +00:00
0a51e7510c Accepting request 352729 from home:a_faerber:branches:Base:System
- systemd-sysv-install: Fix chkconfig argument for disable op

OBS-URL: https://build.opensuse.org/request/show/352729
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=927
2016-01-13 18:14:36 +00:00
0326b30aa6 Accepting request 352395 from home:olh:branches:Base:System
- Create groups adm,input,tape in fixed order (boo#944660)

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

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

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

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

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

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

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

OBS-URL: https://build.opensuse.org/request/show/345072
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=920
2015-12-02 15:45:15 +00:00
Dr. Werner Fink
4a2039e87b .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=919
2015-11-12 12:24:39 +00:00
Robert Milasan
6f0ba1c2f8 Accepting request 343505 from home:Andreas_Schwab:Factory
- 1096-new-udev-root-symlink-generator.patch: fix substitution in
  ExecStart value

OBS-URL: https://build.opensuse.org/request/show/343505
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=918
2015-11-11 12:53:50 +00:00
7cdca70826 - enable seccomp for aarch64 (fate#318444)
- enable seccomp for aarch64 (fate#318444)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=917
2015-10-21 20:20:28 +00:00