[Bug 1092715] Re: udevadm trigger --action=change not working since quantal?
Serge Hallyn
1092715 at bugs.launchpad.net
Fri Jan 4 19:43:19 UTC 2013
** No longer affects: udev (Ubuntu)
** Tags added: bot-stop-nagging
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
** Changed in: linux (Ubuntu)
Importance: Undecided => High
** Description changed:
+ ==== Update ====
+ Here is a simple reproducible testcase. This break with both ext4 and xfs,
+ but only on quantal. On raring it works correctly.
+
+ touch xxx
+ setfacl -m user:ubuntu:rw- xxx
+ setfacl -m group::--- xxx
+ getfacl xxx
+ chmod g+rw xxx
+ getfacl xxx
+
+ You'll see:
+ # file: xxx
+ # owner: serge
+ # group: serge
+ user::rw-
+ user:serge:rw-
+ group::---
+ mask::rw-
+ other::r--
+
+ In raring (and precise), the group acl gets update to be rw-.
+ ================
+
For bug 1057024, we have qemu-kvm postinst call udevadm trigger
--action=change. This is to make udev recalculate permissions for
/dev/kvm based on the new /lib/udev/rules.d/40-qemu-kvm.rules file.
In precise, this causes /dev/kvm's acls to be correctly set so that
group has rw permissions.
In quantal, with the exact same rules file, it does not. After a
reboot, permissions are set correctly. But manually running udevadm
trigger --subsystem=misc --action=change (or variations of that) does
not change the group acl. It changes the group ownership, and part of
the acl, but not the group acl.
** Summary changed:
- udevadm trigger --action=change not working since quantal?
+ chown does not update acls if there are >1 user acls (in quantal)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/1092715
Title:
chown does not update acls if there are >1 user acls (in quantal)
Status in “linux” package in Ubuntu:
Confirmed
Bug description:
==== Update ====
Here is a simple reproducible testcase. This break with both ext4 and xfs,
but only on quantal. On raring it works correctly.
touch xxx
setfacl -m user:ubuntu:rw- xxx
setfacl -m group::--- xxx
getfacl xxx
chmod g+rw xxx
getfacl xxx
You'll see:
# file: xxx
# owner: serge
# group: serge
user::rw-
user:serge:rw-
group::---
mask::rw-
other::r--
In raring (and precise), the group acl gets update to be rw-.
================
For bug 1057024, we have qemu-kvm postinst call udevadm trigger
--action=change. This is to make udev recalculate permissions for
/dev/kvm based on the new /lib/udev/rules.d/40-qemu-kvm.rules file.
In precise, this causes /dev/kvm's acls to be correctly set so that
group has rw permissions.
In quantal, with the exact same rules file, it does not. After a
reboot, permissions are set correctly. But manually running udevadm
trigger --subsystem=misc --action=change (or variations of that) does
not change the group acl. It changes the group ownership, and part of
the acl, but not the group acl.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1092715/+subscriptions
More information about the foundations-bugs
mailing list