[packages/systemd] - updated to 208 - changed /var/log/journal dir permissions as suggested in upstream NEWS
baggins
baggins at pld-linux.org
Sun Oct 6 18:26:38 CEST 2013
commit 3d025d253d9397af1c41b38e4b1a5ab5384e1f1f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Oct 6 18:25:44 2013 +0200
- updated to 208
- changed /var/log/journal dir permissions as suggested in upstream NEWS
systemd.spec | 12 ++++++++----
target-pld.patch | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
---
diff --git a/systemd.spec b/systemd.spec
index 9294bb6..658db7a 100644
--- a/systemd.spec
+++ b/systemd.spec
@@ -15,13 +15,13 @@ Summary: A System and Service Manager
Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa
Name: systemd
# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
-Version: 207
-Release: 2
+Version: 208
+Release: 1
Epoch: 1
License: GPL v2+ (udev), LGPL v2.1+ (the rest)
Group: Base
Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz
-# Source0-md5: 7799f3cc9d289b8db1c1fa56ae7ecd88
+# Source0-md5: df64550d92afbffb4f67a434193ee165
Source1: %{name}-sysv-convert
Source2: %{name}_booted.c
Source3: network.service
@@ -793,6 +793,10 @@ if [ "$1" = "0" ]; then
%groupremove systemd-journal
fi
+%triggerpostun -- systemd < 208-1
+chgrp -R systemd-journal /var/log/journal
+chmod g+s /var/log/journal
+
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
@@ -1146,7 +1150,7 @@ fi
%dir /var/lib/%{name}/coredump
%attr(640,root,root) %ghost /var/log/btmp
%attr(664,root,utmp) %ghost /var/log/wtmp
-%dir /var/log/journal
+%attr(2755,root,systemd-journal) %dir /var/log/journal
%if %{with pam}
%attr(755,root,root) /%{_lib}/security/pam_systemd.so
diff --git a/target-pld.patch b/target-pld.patch
index 616d35c..fd7cd44 100644
--- a/target-pld.patch
+++ b/target-pld.patch
@@ -163,9 +163,9 @@ index 7f692e9..0a45854 100644
+ log_warning("Failed to read /etc/sysconfig/i18n: %s", strerror(-r));
+ }
+
+ add = NULL;
for (i = 0; i < _VARIABLE_MAX; i++) {
if (variables[i]) {
- if (setenv(variable_names[i], variables[i], 1) < 0) {
--- systemd-196/src/timedate/timedated.c~ 2012-10-16 23:35:40.589269718 +0200
+++ systemd-196/src/timedate/timedated.c 2012-12-21 11:46:13.545086335 +0100
@@ -175,6 +175,13 @@
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/3d025d253d9397af1c41b38e4b1a5ab5384e1f1f
More information about the pld-cvs-commit
mailing list