Commit Graph

640 Commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek 3fb4a15096 Build with meson 2017-06-16 11:54:00 -04:00
Zbigniew Jędrzejewski-Szmek 1d06cbf3d4 Also update hwdb_parse.py
This is needed because an additional property was added and the
tests fail otherwise. I think adding of the property is OK, it's
fully backwards compatible.

Also use %if 0 syntax to make it easy to copy&paste the commands.
2017-06-15 11:25:17 -04:00
Zbigniew Jędrzejewski-Szmek f4a67616bd Backport a bunch of fixes 2017-06-15 10:26:56 -04:00
Zbigniew Jędrzejewski-Szmek ee53796748 Pull in xzcat and lz4cat, used in test-compress
lz4 and lz4-libs is split in F26+. Not sure about xz, but let's pull
it in for safety.
2017-06-07 13:16:38 -04:00
Pat Riehecky c0f6af7fcc Use ID from /etc/os-release as ntpvendor 2017-04-18 16:43:25 -04:00
Zbigniew Jędrzejewski-Szmek 3e3b80766f Drop soft-static uid for systemd-journal-gateway
It has been removed from the uidgid list in setup, we should assign
a dynamic uid.
2017-03-27 11:03:08 -04:00
Michal Sekletar e47c648430 Add lz4 to build dependencies
This commit fixes build failure due to failed "make check".

Our test-compress uses lz4cat. Binary is included in lz4 package that
used to contain both library and binaries. Since lz4-libs split-off we
need to explicitly pull-in lz4.

See: http://pkgs.fedoraproject.org/cgit/rpms/lz4.git/commit/?id=34760ea9354a972f946af0282e2c145c660a823c
2017-03-16 09:47:07 +01:00
Michal Sekletar f5f0737829 Backport bugfixes from upstream
Most notably this commit fixes #1419501 that caused mock traceback when
running with --new-chroot.

Resolves: #1419501
2017-03-16 09:16:18 +01:00
Zbigniew Jędrzejewski-Szmek 2809df176d Fix installation conflict with polkit
Error: Transaction check error:
  file /usr/share/polkit-1/rules.d from install of systemd-233-1.fc27.x86_64 conflicts with file from package polkit-0.113-7.fc26.x86_64
2017-03-02 13:37:46 -05:00
Zbigniew Jędrzejewski-Szmek bb41272694 Update to v233 2017-03-02 11:30:49 -05:00
Zbigniew Jędrzejewski-Szmek 4877912f6e Add %ghost %dir entries for .wants dirs of our targets
What is included:
- .wants directories
- for our own targets listed in systemd.special(7)

This is not supposed to cover all possible .wants and .requires and .d
dirs for all units, or even targets, or even just our targets, but only
the reasonably common ones that we provide.
2017-02-16 13:38:46 -05:00
Zbigniew Jędrzejewski-Szmek 645d1b9eb7 Update description
At least the part about snapshotting was obsolete. Let's use
the text from https://www.freedesktop.org/wiki/Software/systemd/
with some slight modifications.
2017-02-16 13:10:10 -05:00
Zbigniew Jędrzejewski-Szmek 7d23031443 Remove gnutls.pc workaround 2017-02-15 09:46:38 -05:00
Zbigniew Jędrzejewski-Szmek a88eae1c54 gnu-efi is not available on all arches 2017-02-14 18:59:10 -05:00
Zbigniew Jędrzejewski-Szmek 40fcd871d4 Patch for test-ipcrm
It is part of unsafe-tests. It got enabled and turned out to be failing
in the koji environment.
2017-02-14 18:44:48 -05:00
Zbigniew Jędrzejewski-Szmek 6353553a57 Just nuke the gnutls private deps
It still fails in koji, and I'd have to download each package from
koji by hand to find out what is the issue (or wait until tomorrow for
a compose). Let's just nuke the whole thing, all deps should be installed.
2017-02-14 17:31:23 -05:00
Zbigniew Jędrzejewski-Szmek cfadacd273 Add explicit --enable switches for all optional deps
Also turn on "unsafe" tests.
2017-02-14 17:17:52 -05:00
Zbigniew Jędrzejewski-Szmek d4f0a28c8c Add work-around for misdetection of gnutls and µhttpd 2017-02-14 17:05:48 -05:00
Zbigniew Jędrzejewski-Szmek 0f34996575 Ignore the hwdb parser test
Previous commits backported some newer properties, but hwdb/parse_hwdb.py
was not updated. Just ignore it for now.
2017-02-14 15:40:19 -05:00
Jan Synacek 78d35a9ba2 machinectl fails when virtual machine is running (#1419501)
Resolves: #1419501
2017-02-14 11:59:00 +01:00
Zbigniew Jędrzejewski-Szmek f020f8b986 Overwrite LC_CTYPE
Build failed with the following:

Traceback (most recent call last):
  File "./hwdb/parse_hwdb.py", line 195, in <module>
    groups = parse(fname)
  File "./hwdb/parse_hwdb.py", line 136, in parse
    parsed = grammar.parseFile(fname)
  File "/usr/lib/python3.6/site-packages/pyparsing.py", line 2142, in parseFile
    file_contents = f.read()
  File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 15765: ordinal not in range(128)

In mock, LC_CTYPE is unset, so python3 defaults to ascii, uselessly.

I think "ID_VENDOR_FROM_DATABASE=VENGIT Korlátolt Felelősségű Társaság"
is the issue here.
2017-02-13 13:18:08 -05:00
Fedora Release Engineering 6c1e2a67b2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 14:24:20 +00:00
Zbigniew Jędrzejewski-Szmek 5d6eedd538 Moar patches 2017-01-31 12:11:17 -05:00
Zbigniew Jędrzejewski-Szmek b6b3541a52 Also include gperf compat patch 2017-01-29 18:26:01 -05:00
Zbigniew Jędrzejewski-Szmek 405c2cd182 Update hwdb to current git
The header on the patch is fake. git am does not deal well with just
diff output, mumbling the following:

  Applying: seccomp: rework seccomp code, to improve compat with some archs
  Applying:
  fatal: empty ident name (for <>) not allowed

We should really move away from mucking around with text patches.
2017-01-29 17:42:53 -05:00
Zbigniew Jędrzejewski-Szmek 6396212453 Compile with --enable-tpm 2017-01-29 17:39:09 -05:00
Zbigniew Jędrzejewski-Szmek 03e93e27d9 A number of backported patches, incl. seccomp fix 2017-01-29 17:38:52 -05:00
Adam Williamson 4c60d7b5ae Backport fix for boot failure in initrd-switch-root (#1414904) 2017-01-19 15:37:04 -08:00
Zbigniew Jędrzejewski-Szmek 74dc679828 Add fake dependency on systemd-pam to systemd-devel 2017-01-18 10:11:37 -05:00
Zbigniew Jędrzejewski-Szmek 25bd358ef1 Make sure we have our compressions libs ready
In case some library is not detected properly in the future, fail
the /configure step. We should probably do that for most deps, but
I'm too lazy atm.
2017-01-16 23:15:39 -05:00
Jan Synacek eaf2f302c0 Fix buildsystem to check for lz4 correctly (#1404406) 2017-01-16 23:12:23 -05:00
Zbigniew Jędrzejewski-Szmek ca3c77beb2 Revert b69d36e571
This was already fixed in e134e692b6.
2017-01-11 20:19:41 -05:00
Zbigniew Jędrzejewski-Szmek b810fade77 Use shorter syntax for shell redirections 2017-01-11 17:51:30 -05:00
Zbigniew Jędrzejewski-Szmek e4286e550e Also require sed and grep for libs %post
https://bugzilla.redhat.com/show_bug.cgi?id=1392236#c12
2017-01-11 17:38:12 -05:00
Zbigniew Jędrzejewski-Szmek 9286eca9c8 Remove stderr redirection from preset/disable calls in scriplets
We don't expect those calls to fail (they should work fine both
with systemd running and without). But if they fail, most likely
some unit is missing or misspelt, which we want to catch.
2017-01-11 14:33:24 -05:00
Zbigniew Jędrzejewski-Szmek 734f625c22 Drop console-shell.service from preset invocation
Missing unit would case the whole systemctl preset call to fail,
breaking getty@.service instantiation.

Reported by adamw.
2017-01-11 14:30:44 -05:00
Zbigniew Jędrzejewski-Szmek 324bf560f7 Bump dbus dependency version just in case
https://github.com/systemd/systemd/commit/0298f55bb0.
2017-01-11 13:30:19 -05:00
Zbigniew Jędrzejewski-Szmek b69d36e571 Add patch to restore Fedora-specific systemd-user PAM config 2017-01-11 12:16:22 -05:00
Kevin Fenzi 04206f627a Fix scriptlets to never fail in libs post. 2017-01-07 11:43:47 -07:00
Kevin Fenzi 1eb707d840 Add patch from Michal Schmidt to avoid process substitution. (#1392236) 2017-01-06 10:57:27 -07:00
Zbigniew Jędrzejewski-Szmek 1ec648fc4c Rebuild
Building with 232-2 in the buildroot did not work, because rpm cannot
unpack 232-2 properly. 232-has been untagged, so maybe things will
work now.
2016-11-07 12:30:04 -05:00
Zbigniew Jędrzejewski-Szmek c91b73ea39 Make /etc/dbus-1/system.d directory non-%ghost
koschei builds are failing on systemd.rpm:

DEBUG util.py:421:  error: unpacking of archive failed on file
                 /etc/dbus-1/system.d/org.freedesktop.hostname1.conf;581cb002: cpio: open
DEBUG util.py:421:  error: systemd-232-2.fc26.x86_64: install failed
2016-11-04 13:04:17 -04:00
Zbigniew Jędrzejewski-Szmek 348151a546 Fix ownership of directories we create
Previously unowned:
systemd-229-16.fc24.x86_64
|-- /etc/dbus-1/system.d/org.freedesktop.hostname1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.locale1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.login1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.network1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.resolve1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.systemd1.conf
|-- /etc/dbus-1/system.d/org.freedesktop.timedate1.conf
|-- /usr/share/factory/etc/nsswitch.conf
|-- /usr/share/factory/etc/pam.d/other
'-- /usr/share/factory/etc/pam.d/system-auth
systemd-container-229-16.fc24.x86_64
|-- /etc/dbus-1/system.d/org.freedesktop.import1.conf
'-- /etc/dbus-1/system.d/org.freedesktop.machine1.conf
2016-11-04 09:58:31 -04:00
Zbigniew Jędrzejewski-Szmek e134e692b6 Fix systemd-user PAM config and two packaging issues 2016-11-04 09:46:25 -04:00
Zbigniew Jędrzejewski-Szmek d81bdc27d3 Fix kernel-install 2016-11-04 09:12:11 -04:00
Zbigniew Jędrzejewski-Szmek 523b6ce46a Run testsuite in parallel 2016-11-03 22:11:56 -04:00
Zbigniew Jędrzejewski-Szmek 62b1bf52df Move systemd-nspawn man pages to the right subpackage 2016-11-03 22:11:56 -04:00
Zbigniew Jędrzejewski-Szmek da15385b06 Update sed-foo to enable nss-systemd and add UNAVAIL fallback for resolve
Only fall back to "dns" if nss-resolve is not installed (for the
architecture of the calling program). Once it is, we never want to
fall back to "dns" as that breaks enforcing DNSSEC verification and
also pointlessly retries NXDOMAIN failures.

C.f. https://anonscm.debian.org/cgit/pkg-systemd/systemd.git/commit/?id=5e00954
2016-11-03 22:11:56 -04:00
Zbigniew Jędrzejewski-Szmek 12da227455 Replace grubby patch with a short-circuiting install.d "plugin" 2016-11-03 22:11:56 -04:00
Zbigniew Jędrzejewski-Szmek e42bd854c0 Create systemd-coredump user in %pre 2016-11-03 21:16:45 -04:00
Zbigniew Jędrzejewski-Szmek a6473965d9 Add %{_isa} to Provides on arch-full packages 2016-11-03 21:16:45 -04:00
Zbigniew Jędrzejewski-Szmek 1478fab950 Update to v232 2016-11-03 21:16:45 -04:00
Jan Synacek 14572d7192 SPC - Cannot restart host operating from container (#1384523)
Resolves: #1384523
2016-10-18 14:14:59 +02:00
Zbigniew Jędrzejewski-Szmek 7ae71c8772 Move nss-myhostname provides to systemd-libs
Also drop the removal of nss modules in %postun. If the module cannot be
loaded, it is simply ignored. It seems better to simply leave it there,
then play around with nsswitch.conf, which is always risky.
2016-10-11 13:03:07 -04:00
Zbigniew Jędrzejewski-Szmek 4e1286dd8b Do not recreate /var/log/journal on upgrades 2016-10-09 10:25:34 -04:00
Zbigniew Jędrzejewski-Szmek 65fed72862 Prevent systemd-udev-trigger.service from restarting
systemd-udev package should be updated in lockstep, so we rely on the
daemon-reexec in systemd.rpm's %post to get the drop in loaded.
2016-10-07 07:55:56 -04:00
Zbigniew Jędrzejewski-Szmek 51f362c39a Use install --target-directory 2016-10-07 07:55:33 -04:00
Zbigniew Jędrzejewski-Szmek 64282b85b2 Fix systemctl set-default 2016-10-07 07:55:30 -04:00
Zbigniew Jędrzejewski-Szmek 839ccebd9b Apply fix for systemd-udev upgrade causing Xorg crash 2016-10-04 16:48:13 -04:00
Zbigniew Jędrzejewski-Szmek a2242c1ded Apply patches properly 2016-10-03 12:12:41 -04:00
Zbigniew Jędrzejewski-Szmek 3a5d9b71f4 Better fix for the notify message issue 2016-09-29 17:04:15 -04:00
Zbigniew Jędrzejewski-Szmek 20fa848003 Fix for the empty notify message fuckup 2016-09-29 05:34:51 -04:00
Zbigniew Jędrzejewski-Szmek 8f85f19830 Revert "Add self-obsoletes on versions < 231"
This reverts commit 3250f00573.

This is not needed anymore, since we went the Recommends:systemd-bootchart
route.
2016-09-29 05:18:54 -04:00
Zbigniew Jędrzejewski-Szmek ef73cc0d30 Recommend systemd-bootchart
It was split out, but it's a tiny package so it's easiest to pull it
in on all "standard" installations.
2016-09-26 15:16:25 -04:00
Zbigniew Jędrzejewski-Szmek 3250f00573 Add self-obsoletes on versions < 231
https://bugzilla.redhat.com/show_bug.cgi?id=1377733#c7
2016-09-22 08:11:33 -04:00
Zbigniew Jędrzejewski-Szmek 696e2f22d4 Fixes for preset-all, daemon-reexec, and other bugs 2016-08-25 16:13:45 -04:00
Michal Sekletar 2666b4f578 Use static uid/gid for systemd-{resolve,network}
Clearly we have static uid/gid allocated so let's actually use them.

egrep 'systemd-resolve|network' /usr/share/doc/setup/uidgid
systemd-network 192     192     /               /sbin/nologin   systemd
systemd-resolve 193     193     /               /sbin/nologin   systemd
2016-08-04 15:14:41 +02:00
Michal Sekletar 126aa118e1 Don't create systemd-bus-proxy user and group
We no longer ship bus-proxyd hence user and group are not needed
anymore.
2016-08-04 14:18:42 +02:00
Zbigniew Jędrzejewski-Szmek edb4e05013 Avoid % in comments
https://bugzilla.redhat.com/show_bug.cgi?id=1347865
2016-08-04 01:05:08 -04:00
Adam Williamson c418e76b87 build with preset-all reversion 2016-08-03 11:35:49 -07:00
Adam Williamson 287353c355 Revert "Run preset-all on initial installation"
This reverts commit 46083abe1a.
preset-all really does not work right, disabling all sorts of
stuff it should not disable. This caused RHBZ #1363858 (no tty
on vt1) and probably broke other things too.
2016-08-03 11:32:13 -07:00
Zbigniew Jędrzejewski-Szmek 140d00ebaa Fix botched %_isa dependency 2016-07-26 21:33:39 -04:00
Zbigniew Jędrzejewski-Szmek 46083abe1a Run preset-all on initial installation
https://bugzilla.redhat.com/show_bug.cgi?id=1118740
2016-07-26 20:13:34 -04:00
Zbigniew Jędrzejewski-Szmek 6153dd9122 Version 231 2016-07-26 15:12:35 -04:00
Zbigniew Jędrzejewski-Szmek 1ed18e5e9d Remove a bunch of old cruft 2016-07-26 14:24:30 -04:00
Zbigniew Jędrzejewski-Szmek ee7e6a6d57 Add missing man files to -container
Patch from mihkulemin@gmail.com.
2016-06-30 09:04:42 -04:00
Zbigniew Jędrzejewski-Szmek 49a32c19f1 Disable KillUserProcesses for now
https://fedorahosted.org/fesco/ticket/1580
2016-06-08 01:11:08 -04:00
Zbigniew Jędrzejewski-Szmek abad21f221 Update to git snapshot 2016-06-08 01:10:04 -04:00
Zbigniew Jędrzejewski-Szmek b3d8d37d58 Remove systemd-compat-libs on upgrade 2016-05-21 23:56:03 -04:00
Zbigniew Jędrzejewski-Szmek 8f6ec2ee91 Version 230 2016-05-21 20:15:34 -04:00
Zbigniew Jędrzejewski-Szmek 8efe61bc18 Remove duplicated entries in -container %files 2016-04-26 07:58:16 -04:00
Zbigniew Jędrzejewski-Szmek b7ec953f25 Move udev-related commands to udev's %post
This removed the operation of stopping udevd in %pre, and starting it
in %post. I think this shouldn't be necessary anymore.
2016-04-22 15:52:47 -04:00
Zbigniew Jędrzejewski-Szmek 994aacdaa6 Include license file in systemd-libs
It can be installed without the main package, so it should carry the file
too.
2016-04-18 12:54:30 -04:00
Zbigniew Jędrzejewski-Szmek 28e2d47eef Split out systemd-pam subpackage
This allows minimal installations without systemd but with systemd-libs installed
to drop the dependency on pam.
2016-04-18 11:51:52 -04:00
Zbigniew Jędrzejewski-Szmek 8b4408b5c9 Use %include to include filetrigger script from file
This makes it easier to update them from the upstream version.
2016-04-18 11:51:16 -04:00
Harald Hoyer f7a77f9cb0 move more binaries and services from the main package to subpackages 2016-04-18 17:39:04 +02:00
Harald Hoyer 7f4276c417 move more binaries and services from the main package to subpackages 2016-04-18 16:58:13 +02:00
Harald Hoyer cf1399ec4a move device dependant stuff to the udev sub package 2016-04-18 11:11:24 +02:00
Zbigniew Jędrzejewski-Szmek b54bf1386b Own linger dir 2016-04-10 11:21:43 -04:00
Zbigniew Jędrzejewski-Szmek 37de5dfe28 Add myhostname to /etc/nsswitch.conf 2016-03-22 10:45:58 -04:00
Harald Hoyer afdf3eeb86 systemd-229-8
- fixed kernel-install for copying files for grubby
Resolves: rhbz#1299019
2016-03-21 11:45:52 +01:00
Zbigniew Jędrzejewski-Szmek b9a1e35039 Backport a few more patches 2016-03-17 09:26:12 -04:00
Zbigniew Jędrzejewski-Szmek c7c4361581 Move tmpfiles-setup-dev to systemd-udev subpackage
This removes the dependency on kmod from the main package
(kmod-libs is still required).
2016-03-17 08:52:09 -04:00
Zbigniew Jędrzejewski-Szmek 0a19dfe97e Move vconsole-setup to systemd-udev subpackage 2016-03-15 15:34:17 -04:00
Zbigniew Jędrzejewski-Szmek bed2768dc7 Patch for failing compression test case 2016-03-11 18:24:49 -05:00
Zbigniew Jędrzejewski-Szmek 6428127a18 Add patch for #1313085 2016-03-11 17:49:05 -05:00
Zbigniew Jędrzejewski-Szmek 7aba950aa4 Output test-suite.log on test failures 2016-03-04 13:24:11 -05:00
Zbigniew Jędrzejewski-Szmek 2b682337e7 Backport a bunch of patches 2016-03-04 13:06:46 -05:00
Zbigniew Jędrzejewski-Szmek c16b573717 Split out system-udev subpackage 2016-03-04 13:06:46 -05:00
Zbigniew Jędrzejewski-Szmek 34bfceffe6 Split out systemd-container subpackage 2016-03-04 12:52:57 -05:00