[Pkg-sysvinit-commits] [GIT] sysvinit branch master updated. debian/sysvinit-2.88dsf-18-25-ge7085e5
Roger Leigh
rleigh at alioth.debian.org
Sun Jan 22 17:15:46 UTC 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "sysvinit".
The branch, master has been updated
via e7085e5a1ccf33e096b412ddce77be4cdb65a206 (commit)
via afe9eb278b929ef4b87a8d196fed5b648a7953bd (commit)
via ea08389d0a6fc8e0604cbe6e0a724207e0773b8d (commit)
via 14db7cc5f28dd368c6011ce1f8059deb62811938 (commit)
from 1838523af4a1e1f1c059cdf8e213620bd0f17836 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e7085e5a1ccf33e096b412ddce77be4cdb65a206
Author: Roger Leigh <rleigh at debian.org>
Date: Sun Jan 22 17:08:40 2012 +0000
debian: Close #622785
commit afe9eb278b929ef4b87a8d196fed5b648a7953bd
Author: Innocent De Marchi <tangram.peces at gmail.com>
Date: Sun Jan 22 17:07:34 2012 +0000
debian/po: Add ca translation
commit ea08389d0a6fc8e0604cbe6e0a724207e0773b8d
Author: Roger Leigh <rleigh at debian.org>
Date: Sun Jan 22 17:04:38 2012 +0000
debian: Close #655582
commit 14db7cc5f28dd368c6011ce1f8059deb62811938
Author: Michele Mazzucchi <m.mazzucchi at keencons.com>
Date: Sun Jan 22 16:59:03 2012 +0000
umountfs: Use more sophisticated sed expression for PROTECTED_MOUNTS
This protects all mounts "up to the / ". However, such sed pattern
matches the root filesystem as "is mounted on path <slash> AND the
mount device starts with <slash>". If the root filesystem is mounted
from a node such as "aufs", the root line does not match, and all
mounts end up in PROTECTED_MOUNTS.
I suppose the additional "/" constraint is a hack used to prevent
matching the initial "rootfs /" entry. I would rewrite this as:
PROTECTED_MOUNTS="$(sed -n ':a;/^[^ ]* \//!{H;n;ba};{H;s/.*//;x;s/\n//;p}' /proc/mounts)"
This unmounts all entries down to the "base" root which is not the
kernel standard "rootfs". If / is mounted multiple times, this
unmounts all "stacked" entries as well. In the "aufs" case I described
above, this ensures the additional partitions are cleanly unmounted.
-----------------------------------------------------------------------
Summary of changes:
debian/changelog | 7 +++-
debian/po/ca.po | 62 ++++++++++++++++++++++++++++
debian/src/initscripts/etc/init.d/umountfs | 2 +-
3 files changed, 69 insertions(+), 2 deletions(-)
create mode 100644 debian/po/ca.po
hooks/post-receive
--
sysvinit
More information about the Pkg-sysvinit-commits
mailing list