Yu Watanabe
db8b8fe77c
create render group, remove groups for timesync, journal-gateway and journal-upload
2017-12-12 09:00:38 +01:00
Yu Watanabe
a8ba7b15a2
bump required meson to 0.43
2017-12-12 08:52:11 +01:00
Yu Watanabe
9653e125fd
update split-files.py and list of ghost files
2017-12-12 08:52:06 +01:00
Zbigniew Jędrzejewski-Szmek
17a6f382d1
Update to snapshot, use generated lists of files
...
Previous method was untenable, because rpm doesn't have a concept of
put those files here, and the rest in there. So for every positive
pattern that was added, we had to add an %exclude line somewhere else.
So let's generate the lists using pattern matching. This is a bit messy
too, but should not require updates when files are added or removed.
(Sometimes it'll be necessary to add a new pattern if the new files
should not land in the main binary package.)
There's some intentional changes:
- man pages are more consistently included with the files they describe
- shell completion scripts similarly
- various kernel-install and modules-load related files are moved
to -udev subpackage
2017-12-12 01:04:08 +01:00
Zbigniew Jędrzejewski-Szmek
f00d23638b
Rebuild for cryptsetup-2.0.0-0.2.fc28
2017-11-07 17:07:34 +01:00
Zbigniew Jędrzejewski-Szmek
35bb94669a
Backport a bunch of patches, including LP#172535
2017-10-25 16:25:53 +02:00
Zbigniew Jędrzejewski-Szmek
ca246f98ec
Patches for cryptsetup _netdev
2017-10-18 15:25:44 +02:00
Zbigniew Jędrzejewski-Szmek
a46c781ba7
Skip tests when cg_pid_get_path fails
2017-10-06 17:26:09 +02:00
Zbigniew Jędrzejewski-Szmek
3cb1145229
Update to v235
2017-10-06 16:50:13 +02:00
Nathaniel McCallum
ac49c72d1e
Backport /etc/crypttab _netdev feature from upstream
2017-09-26 10:48:54 -04:00
Michal Sekletar
1d5166b9df
Make sure to remove all device units sharing the same sysfs path
...
Resolves : #1475570
2017-09-21 00:56:48 +02:00
Zbigniew Jędrzejewski-Szmek
8b20c798c7
Bump xslt recursion limit for libxslt-1.30
2017-09-18 17:12:43 +02:00
Zbigniew Jędrzejewski-Szmek
27bd1bd49f
Backport some patches
2017-07-31 15:52:44 -04:00
Fedora Release Engineering
8d4133f998
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-27 19:52:30 +00:00
Zbigniew Jędrzejewski-Szmek
d044ab56d6
Backport some patches
2017-07-17 19:34:13 -04:00
Zbigniew Jędrzejewski-Szmek
f3e3e4d477
Fix typo in dev-kvm-mode option
2017-07-13 11:35:31 -04:00
Zbigniew Jędrzejewski-Szmek
84e7848871
Create kvm group
...
Thanks to Yu Watanabe.
2017-07-13 09:44:43 -04:00
Zbigniew Jędrzejewski-Szmek
22eb6688a2
Spec file cleanups
...
Thanks to Yu Watanabe.
2017-07-13 09:26:43 -04:00
Zbigniew Jędrzejewski-Szmek
5bf44923db
Update to v234
2017-07-12 22:02:53 -04:00
Zbigniew Jędrzejewski-Szmek
c2bfa7b218
Use libidn again for now
2017-07-12 01:58:23 -04:00
Zbigniew Jędrzejewski-Szmek
83f115d68f
Build with meson again
2017-07-11 01:29:55 -04:00
Zbigniew Jędrzejewski-Szmek
4ebba8aac1
Recommend kbd for udev to configure vconsole properly
2017-07-11 01:29:55 -04:00
Zbigniew Jędrzejewski-Szmek
61120120a0
Tweak the patches a bit more
2017-06-27 17:31:48 -04:00
Zbigniew Jędrzejewski-Szmek
acc114f21c
Actually add the patches
2017-06-27 16:30:12 -04:00
Zbigniew Jędrzejewski-Szmek
4bbfd1a314
Fix an out-of-bounds write in systemd-resolved
2017-06-27 13:43:24 -04:00
Zbigniew Jędrzejewski-Szmek
d743bb5bcc
Revert "Build with meson"
...
This reverts commits 3fb4a15096
and 0e8350ca14
.
Either building with meson or other upstream changes was causing
issues with booting, and I didn't have time to debug this properly.
2017-06-27 13:42:28 -04:00
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