SHA256
1
0
forked from pool/systemd

Accepting request 101496 from home:fcrozat:branches:Base:System

- Update to version 39:
  + New systemd-cgtop tool to show control groups by their resource
    usage.
  + Linking against libacl for ACLs is optional again.
  + If a group "adm" exists, journal files are automatically owned
    by them, thus allow members of this group full access to the
    system journal as well as all user journals.
  + The journal now stores the SELinux context of the logging
    client for all entries.
  + Add C++ inclusion guards to all public headers.
  + New output mode "cat" in the journal to print only text
    messages, without any meta data like date or time.
  + Include tiny X server wrapper as a temporary stop-gap to teach
    XOrg udev display enumeration (until XOrg supports udev
    hotplugging for display devices).
  + Add new systemd-cat tool for executing arbitrary programs with
    STDERR/STDOUT connected to the journal. Can also act as BSD
    logger replacement, and does so by default.
  + Optionally store all locally generated coredumps in the journal
    along with meta data.
  + systemd-tmpfiles learnt four new commands: n, L, c, b, for
    writing short strings to files (for usage for /sys), and for
    creating symlinks, character and block device nodes.
  + New unit file option ControlGroupPersistent= to make cgroups
    persistent.
  + Support multiple local RTCs in a sane way.
  + No longer monopolize IO when replaying readahead data on
    rotating disks.
  + Don't show kernel threads in systemd-cgls anymore, unless
    requested with new -k switch.

OBS-URL: https://build.opensuse.org/request/show/101496
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=234
This commit is contained in:
Frederic Crozat 2012-01-25 14:08:16 +00:00 committed by Git OBS Bridge
parent 7df5ae3a2f
commit 261c9f81a4
9 changed files with 103 additions and 43 deletions

View File

@ -7,14 +7,14 @@ Subject: [PATCH] service: Fix dependencies added when parsing insserv.conf
src/service.c | 16 +++++++++-------
1 files changed, 9 insertions(+), 7 deletions(-)
Index: systemd-37/src/service.c
Index: systemd-39/src/service.c
===================================================================
--- systemd-37.orig/src/service.c
+++ systemd-37/src/service.c
@@ -3028,22 +3028,23 @@ static void sysv_facility_in_insserv_con
--- systemd-39.orig/src/service.c
+++ systemd-39/src/service.c
@@ -3111,22 +3111,22 @@ static void sysv_facility_in_insserv_con
if (sysv_translate_facility(parsed[0], NULL, &facility) < 0)
continue;
if ((u = manager_get_unit(mgr, facility)) && (u->meta.type == UNIT_TARGET)) {
if ((u = manager_get_unit(mgr, facility)) && (u->type == UNIT_TARGET)) {
- UnitDependency e;
char *dep = NULL, *name, **j;
@ -32,7 +32,6 @@ Index: systemd-37/src/service.c
+ if (streq(name, "boot.localfs") ||
+ streq(name, "boot.crypto"))
+ continue;
+
if (sysv_translate_facility(name, NULL, &dep) < 0)
continue;

View File

@ -8,18 +8,15 @@ Subject: [PATCH] mount: do not try to fsck tmpfs mountpoint with non-null
src/mount.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/mount.c b/src/mount.c
index ef953f0..5da4047 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -434,6 +434,7 @@ static int mount_add_device_links(Mount *m) {
Index: systemd-39/src/mount.c
===================================================================
--- systemd-39.orig/src/mount.c
+++ systemd-39/src/mount.c
@@ -428,6 +428,7 @@ static int mount_add_device_links(Mount
if (p->passno > 0 &&
!mount_is_bind(p) &&
+ !streq(p->fstype,"tmpfs") &&
UNIT(m)->meta.manager->running_as == MANAGER_SYSTEM &&
UNIT(m)->manager->running_as == MANAGER_SYSTEM &&
!path_equal(m->where, "/")) {
char *name;
--
1.7.7

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd21eddc23457323fcb8775813a985d7bc429a63ea5adc6950a8bbe421e30d13
size 875736

3
systemd-39.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd053f97ab0ed4261ec44f247ec582566319339f523dbe79b79c68cfe5ad677f
size 890892

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Wed Jan 25 10:37:06 UTC 2012 - fcrozat@suse.com
- Update to version 39:
+ New systemd-cgtop tool to show control groups by their resource
usage.
+ Linking against libacl for ACLs is optional again.
+ If a group "adm" exists, journal files are automatically owned
by them, thus allow members of this group full access to the
system journal as well as all user journals.
+ The journal now stores the SELinux context of the logging
client for all entries.
+ Add C++ inclusion guards to all public headers.
+ New output mode "cat" in the journal to print only text
messages, without any meta data like date or time.
+ Include tiny X server wrapper as a temporary stop-gap to teach
XOrg udev display enumeration (until XOrg supports udev
hotplugging for display devices).
+ Add new systemd-cat tool for executing arbitrary programs with
STDERR/STDOUT connected to the journal. Can also act as BSD
logger replacement, and does so by default.
+ Optionally store all locally generated coredumps in the journal
along with meta data.
+ systemd-tmpfiles learnt four new commands: n, L, c, b, for
writing short strings to files (for usage for /sys), and for
creating symlinks, character and block device nodes.
+ New unit file option ControlGroupPersistent= to make cgroups
persistent.
+ Support multiple local RTCs in a sane way.
+ No longer monopolize IO when replaying readahead data on
rotating disks.
+ Don't show kernel threads in systemd-cgls anymore, unless
requested with new -k switch.
- Drop systemd-syslog_away_early_on_shutdown.patch: fixed upstream.
- Add fdupes to BuildRequires and use it at build time.
-------------------------------------------------------------------
Thu Jan 19 13:47:39 UTC 2012 - tittiatcoke@gmail.com
- Make the systemd journal persistent by creating the
/var/log/journal directory
-------------------------------------------------------------------
Wed Jan 18 09:03:51 UTC 2012 - tittiatcoke@gmail.com

View File

@ -15,9 +15,11 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: systemd-gtk
Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 38
Version: 39
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: audit-devel

View File

@ -1,21 +0,0 @@
From ead51eb4ed55981f290e40a871ffbca6480c4cd3 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Thu, 12 Jan 2012 03:34:50 +0000
Subject: units: make sure syslog socket goes away early during shutdown
---
diff --git a/units/syslog.socket b/units/syslog.socket
index 323fa86..657e791 100644
--- a/units/syslog.socket
+++ b/units/syslog.socket
@@ -11,6 +11,8 @@
Description=Syslog Socket
DefaultDependencies=no
Before=sockets.target syslog.target
+Conflicts=shutdown.target
+Before=shutdown.target
# Pull in syslog.target to tell people that /dev/log is now accessible
Wants=syslog.target
--
cgit v0.9.0.2-2-gbebe

View File

@ -1,3 +1,39 @@
-------------------------------------------------------------------
Wed Jan 25 10:37:06 UTC 2012 - fcrozat@suse.com
- Update to version 39:
+ New systemd-cgtop tool to show control groups by their resource
usage.
+ Linking against libacl for ACLs is optional again.
+ If a group "adm" exists, journal files are automatically owned
by them, thus allow members of this group full access to the
system journal as well as all user journals.
+ The journal now stores the SELinux context of the logging
client for all entries.
+ Add C++ inclusion guards to all public headers.
+ New output mode "cat" in the journal to print only text
messages, without any meta data like date or time.
+ Include tiny X server wrapper as a temporary stop-gap to teach
XOrg udev display enumeration (until XOrg supports udev
hotplugging for display devices).
+ Add new systemd-cat tool for executing arbitrary programs with
STDERR/STDOUT connected to the journal. Can also act as BSD
logger replacement, and does so by default.
+ Optionally store all locally generated coredumps in the journal
along with meta data.
+ systemd-tmpfiles learnt four new commands: n, L, c, b, for
writing short strings to files (for usage for /sys), and for
creating symlinks, character and block device nodes.
+ New unit file option ControlGroupPersistent= to make cgroups
persistent.
+ Support multiple local RTCs in a sane way.
+ No longer monopolize IO when replaying readahead data on
rotating disks.
+ Don't show kernel threads in systemd-cgls anymore, unless
requested with new -k switch.
- Drop systemd-syslog_away_early_on_shutdown.patch: fixed upstream.
- Add fdupes to BuildRequires and use it at build time.
-------------------------------------------------------------------
Thu Jan 19 13:47:39 UTC 2012 - tittiatcoke@gmail.com

View File

@ -15,13 +15,14 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define build_plymouth 0
#don't require python, use recommends (bnc#716939)
Name: systemd
Url: http://www.freedesktop.org/wiki/Software/systemd
Version: 38
Version: 39
Release: 0
Summary: A System and Session Manager
License: GPL-2.0+
@ -29,6 +30,7 @@ Group: System/Base
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: audit-devel
BuildRequires: dbus-1-devel
BuildRequires: fdupes
BuildRequires: gperf
BuildRequires: intltool
BuildRequires: libacl-devel
@ -88,7 +90,6 @@ Patch36: sysctl-modules.patch
# in the patch. Any patches added here without a very good reason to make
# an exception will be silently removed with the next version update.
Patch21: no-tmpfs-fsck.patch
Patch37: systemd-syslog_away_early_on_shutdown.patch
%description
Systemd is a system and service manager, compatible with SysV and LSB
@ -149,7 +150,6 @@ Plymouth integration for systemd
%patch31 -p1
%patch33 -p1
%patch36 -p1
%patch37 -p1
%build
autoreconf -fiv
@ -236,6 +236,8 @@ mkdir -p %{buildroot}/var/log/journal
(cd %{buildroot} && find . -name '*plymouth*') > files.plymouth
%endif
%fdupes $RPM_BUILD_ROOT
%post
/usr/sbin/pam-config -a --systemd >/dev/null 2>&1 || :
/sbin/ldconfig
@ -302,6 +304,8 @@ rm -rf %{buildroot}
%{_libdir}/libsystemd-id128.so.*
%{_libdir}/libsystemd-journal.so.*
%{_bindir}/systemd-cgls
%{_bindir}/systemd-cgtop
%{_bindir}/systemd-cat
/lib/systemd/systemd-*
%dir /lib/systemd/system-shutdown
%dir /lib/systemd/system.preset
@ -319,6 +323,7 @@ rm -rf %{buildroot}
%dir /usr/lib/binfmt.d
%dir %{_sysconfdir}/binfmt.d
%dir /usr/lib/sysctl.d
/usr/lib/sysctl.d/coredump.conf
%dir %{_sysconfdir}/sysctl.d
%dir %{_sysconfdir}/rsyslog.d
/usr/lib/tmpfiles.d/*.conf