SHA256
1
0
forked from pool/systemd
systemd/no-tmpfs-fsck.patch
Frederic Crozat 58c3a6baa2 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
2012-01-25 14:08:16 +00:00

23 lines
771 B
Diff

From cca125c2758b48ba8f1afdc4b5751b104f0bd809 Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcrozat@suse.com>
Date: Thu, 27 Oct 2011 15:36:57 +0200
Subject: [PATCH] mount: do not try to fsck tmpfs mountpoint with non-null
passno.
---
src/mount.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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)->manager->running_as == MANAGER_SYSTEM &&
!path_equal(m->where, "/")) {
char *name;