Commit Graph

590 Commits

Author SHA256 Message Date
Thomas Blume
0b5e1e5d61 - 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/package/show/Base:System/systemd?expand=0&rev=963
2016-12-08 13:23:11 +00:00
Thomas Blume
525efbbee3 - 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/package/show/Base:System/systemd?expand=0&rev=961
2016-11-14 14:35:07 +00:00
Thomas Blume
b6bd55e13a - 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/package/show/Base:System/systemd?expand=0&rev=959
2016-10-26 14:59:15 +00:00
Franck Bui
da9ee4a7d9 - 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
49f2618f03 - 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
5eb1201977 - 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
9f965a41b1 - 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
67cc049146 - 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
08b217c7db - 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
ffe12b8cae - 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
939c5997da - 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
f20fc29313 - 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/package/show/Base:System/systemd?expand=0&rev=947
2016-09-01 11:58:03 +00:00
Franck Bui
057cbf67c8 - 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/package/show/Base:System/systemd?expand=0&rev=946
2016-08-25 12:43:25 +00:00
24727685ab - 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/package/show/Base:System/systemd?expand=0&rev=945
2016-08-10 12:13:59 +00:00
16a88020eb - Add sysusers to the new split "systemctl" subpackage
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=943
2016-08-04 11:43:47 +00:00
c150ab9ce8 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/package/show/Base:System/systemd?expand=0&rev=942
2016-07-29 11:07:07 +00:00
0d618d1d1b 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/package/show/Base:System/systemd?expand=0&rev=941
2016-07-18 08:24:21 +00:00
eaaeb9c661 - 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/package/show/Base:System/systemd?expand=0&rev=940
2016-06-27 14:38:21 +00:00
76aee2af96 fix warning about missing install info during preset (boo#970293)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=939
2016-05-13 08:10:24 +00:00
146e0b4e78 - Avoid bootstrap cycle with sg3_utils
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=938
2016-04-08 09:28:10 +00:00
55aeaf2355 - 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/package/show/Base:System/systemd?expand=0&rev=934
2016-03-29 15:52:23 +00:00
Franck Bui
19f5f4f4ad 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
09d6901285 - 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
9a374333da - 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/package/show/Base:System/systemd?expand=0&rev=931
2016-03-11 10:46:33 +00:00
Dr. Werner Fink
01ffd3c8a1 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=929
2016-03-01 09:18:41 +00:00
e2f2525cbe - Create groups adm,input,tape in fixed order (boo#944660)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=926
2016-01-13 18:14:14 +00:00
35bbbc32b1 - Add patch to enable working steam controller:
* 1099-Add-default-rules-for-valve-steam-controller-to-work.patch

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=925
2016-01-13 18:13:47 +00:00
1b1d785d2e - 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/package/show/Base:System/systemd?expand=0&rev=924
2016-01-13 18:13:18 +00:00
Dominique Leuenberger
b52695e0bf - 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/package/show/Base:System/systemd?expand=0&rev=923
2015-12-22 13:43:00 +00:00
Franck Bui
32c90e1ca8 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=922 2015-12-22 10:31:01 +00:00
18d7d242f2 fix CVE-2015-7510: Stack overflow in nss-mymachines (boo#956712)
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=921
2015-12-02 15:48:26 +00:00
ceb24846e7 - Update to new upstream release 227+228
tested boot-on-cryptoroot

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
c013838d77 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=919
2015-11-12 12:24:39 +00:00
ebe01a8796 - enable seccomp for aarch64 (fate#318444)
- enable seccomp for aarch64 (fate#318444)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=917
2015-10-21 20:20:28 +00:00
Dr. Werner Fink
0d7aa206ea .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=916
2015-10-15 19:38:03 +00:00
Dr. Werner Fink
91839764c4 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=915 2015-10-15 19:35:34 +00:00
Dr. Werner Fink
df94f66f6c - Drop one more undesirable Obsoletes/Provides. This should have
been a Conflicts. (There was already a Conflicts, and since
  Conflicts go both ways, we won't need a second one.)

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=914
2015-10-15 19:35:06 +00:00
Dr. Werner Fink
beeb340f1d .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=913
2015-10-15 12:03:02 +00:00
Dr. Werner Fink
288ffb4b2c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=912
2015-10-15 08:25:11 +00:00
Dr. Werner Fink
030dc3daaa OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=910 2015-10-13 08:58:23 +00:00
Dr. Werner Fink
a8226a6b1b OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=909 2015-10-12 10:48:46 +00:00
Dr. Werner Fink
2e0055b023 - Undo Obsoletes/Provides (from Aug 11), creates too big a cycle.
- Provide systemd-sysv-install program/link [bnc#948353]

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=907
2015-10-06 15:11:15 +00:00
Dr. Werner Fink
fd3b9398cf - Avoid "file not found /etc/udev/rules.d/70-persistent-net.rules"
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=904
2015-09-25 14:20:16 +00:00
Dr. Werner Fink
f03f63da95 .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=903
2015-09-23 12:43:03 +00:00
Dr. Werner Fink
dbd64715df .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=902
2015-09-07 12:21:59 +00:00
Dr. Werner Fink
df3edf42d3 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=901 2015-09-07 12:10:53 +00:00
Dr. Werner Fink
388ddfec1c .
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=900
2015-09-07 08:11:12 +00:00
60699b01b9 - Remove udev-generate-rules.sh, apparently not used by anything in
the systemd nor udev-persistent-ifnames package.

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=899
2015-09-04 10:02:52 +00:00
Dr. Werner Fink
84d76a477b Minor cleanups to the specfile
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=897
2015-09-03 11:16:05 +00:00
Cristian Rodríguez
7bfde1ff0f Installed systemd and udev packages should have the same version.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=896
2015-08-21 20:35:48 +00:00