[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#764662: initscripts: bootclean: please except .sujournal



Package: sysvinit
Version: 2.88dsf-53.4
Severity: important
Tags: patch

Hi,

On GNU/kFreeBSD a UFS filesystem may contain a special .sujournal file
(soft-updates journal) with uid=0.  If /tmp is the mountpoint for such
a filesystem, bootclean will try and fail to delete this file on boot.

Please add .sujournal to the EXCEPT list in bootclean.sh to avoid this
error (patch attached).

Thank you.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: kfreebsd-amd64 (x86_64)

Kernel: kFreeBSD 9.0-2-amd64-xenhvm-ipsec
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- debian/src/initscripts/lib/init/bootclean.sh.orig	2014-01-27 21:21:13.000000000 +0000
+++ debian/src/initscripts/lib/init/bootclean.sh	2014-10-10 00:29:00.240698324 +0100
@@ -117,6 +117,7 @@
 		! ( -path ./quota.group -uid 0 )
 		! ( -path ./aquota.group -uid 0 )
 		! ( -path ./.journal -uid 0 )
+		! ( -path ./.sujournal -uid 0 )
 		! ( -path ./.clean -uid 0 )
 		! ( -path './...security*' -uid 0 )'
 

Reply to: