[arch-commits] Commit in filesystem/trunk (PKGBUILD filesystem.install group)
Tom Gundersen
tomegun at archlinux.org
Tue Jun 19 14:17:35 UTC 2012
Date: Tuesday, June 19, 2012 @ 10:17:35
Author: tomegun
Revision: 162078
upgpkg: filesystem 2012.6-3
add lock group
This is needed by some legacy software who wants to use /run/lock/locdev to
lock devices. That dir will be created on boot with the right group ownership.
Before this change software would put these locks in /var/lock, which at the time
had permissions 1777. Turns out that this is not sufficient for all usecases.
Modified:
filesystem/trunk/PKGBUILD
filesystem/trunk/filesystem.install
filesystem/trunk/group
--------------------+
PKGBUILD | 38 +++++++++++++++++++-------------------
filesystem.install | 3 ++-
group | 1 +
3 files changed, 22 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-06-19 14:04:56 UTC (rev 162077)
+++ PKGBUILD 2012-06-19 14:17:35 UTC (rev 162078)
@@ -3,7 +3,7 @@
pkgname=filesystem
pkgver=2012.6
-pkgrel=2
+pkgrel=3
pkgdesc='Base filesystem'
arch=('any')
license=('GPL')
@@ -17,24 +17,6 @@
source=('group' 'issue' 'nsswitch.conf' 'securetty' 'host.conf' 'ld.so.conf'
'passwd' 'shadow' 'fstab' 'crypttab' 'hosts' 'motd' 'os-release' 'resolv.conf'
'shells' 'gshadow' 'profile' 'modprobe.d.usb-load-ehci-first')
-md5sums=('772fe869b921698cc3e6fde73c4ac85a'
- '7813c481156f6b280a3ba91fc6236368'
- '13753e4e0964f3652b0cc60a28528bdf'
- '4c4540eeb748bf1f71d631b8c1dcf0b3'
- 'f28150d4c0b22a017be51b9f7f9977ed'
- '6e488ffecc8ba142c0cf7e2d7aeb832e'
- '8a9042a2cedf6b6b47eb8973f14289cb'
- 'b8355d9d2782f424f4cedcf682651be0'
- 'ca716f853860199c1286e7939b2f2666'
- 'e5d8323a4dbee7a6d0d2a19cbf4b819f'
- '7bc65f234dfb6abf24e7c3b03e86f4ff'
- 'd41d8cd98f00b204e9800998ecf8427e'
- 'c4534d6c59d75be0eb99ddaafcf93198'
- '6f48288b6fcaf0065fcb7b0e525413e0'
- '22518e922891f9359f971f4f5b4e793c'
- 'd2dc4e39dbdea75b107f91789e3274ab'
- 'f3b6ae7db8adffaaa4bffc6099dcbd50'
- 'a8a962370cd0128465d514e6a1f74130')
package() {
cd ${pkgdir}
@@ -94,3 +76,21 @@
done
ln -s ../man usr/local/share/man
}
+md5sums=('45940618da782cc391c59f88ab3333c3'
+ '7813c481156f6b280a3ba91fc6236368'
+ '13753e4e0964f3652b0cc60a28528bdf'
+ '4c4540eeb748bf1f71d631b8c1dcf0b3'
+ 'f28150d4c0b22a017be51b9f7f9977ed'
+ '6e488ffecc8ba142c0cf7e2d7aeb832e'
+ '8a9042a2cedf6b6b47eb8973f14289cb'
+ 'b8355d9d2782f424f4cedcf682651be0'
+ 'ca716f853860199c1286e7939b2f2666'
+ 'e5d8323a4dbee7a6d0d2a19cbf4b819f'
+ '7bc65f234dfb6abf24e7c3b03e86f4ff'
+ 'd41d8cd98f00b204e9800998ecf8427e'
+ 'c4534d6c59d75be0eb99ddaafcf93198'
+ '6f48288b6fcaf0065fcb7b0e525413e0'
+ '22518e922891f9359f971f4f5b4e793c'
+ 'd2dc4e39dbdea75b107f91789e3274ab'
+ 'f3b6ae7db8adffaaa4bffc6099dcbd50'
+ 'a8a962370cd0128465d514e6a1f74130')
Modified: filesystem.install
===================================================================
--- filesystem.install 2012-06-19 14:04:56 UTC (rev 162077)
+++ filesystem.install 2012-06-19 14:17:35 UTC (rev 162078)
@@ -40,9 +40,10 @@
_adduser http -u 33 -d /srv/http -g http -s /bin/false
_addgroup scanner -g 96
_addgroup rfkill -g 24
+ _addgroup lock -g 54
# sync gshadow to group (fixes FS#19869
- if ! grep -q '^rfkill:' etc/gshadow; then
+ if ! grep -q '^lock:' etc/gshadow; then
grpconv >/dev/null
fi
Modified: group
===================================================================
--- group 2012-06-19 14:04:56 UTC (rev 162077)
+++ group 2012-06-19 14:17:35 UTC (rev 162078)
@@ -19,6 +19,7 @@
smmsp:x:25:
http:x:33:
games:x:50:
+lock:x:54:
network:x:90:
video:x:91:
audio:x:92:
More information about the arch-commits
mailing list