Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#34771 - netctl does not allow group-accessible tuntap devices
Attached to Project:
Arch Linux
Opened by A Web (aweb) - Saturday, 13 April 2013, 23:47 GMT
Last edited by Jouke Witteveen (jouke) - Thursday, 18 April 2013, 09:25 GMT
Opened by A Web (aweb) - Saturday, 13 April 2013, 23:47 GMT
Last edited by Jouke Witteveen (jouke) - Thursday, 18 April 2013, 09:25 GMT
|
DetailsDescription:
The tuntap connection type requires both a User and a Group to be defined. However, when configuring a tuntap device in the kernel, the device's uid and gid must both match for someone to be able to use the device. The only way to create a tuntap device accessible to a group of users is therefore to avoid specifying the user argument to "ip tuntap add." This is a feature request to configure the tuntap device appropriately if the User parameter has not been defined, by simply not supplying the user or group argument. A simple patch to the tuntap connection script is attached. Additional info: * package version(s) netctl 0.8-1 * config and/or log files etc. Steps to reproduce: Try finding any combination of configuration arguments that will make netctl create a group-accessible tuntap device. For example, say you want to see this: $ ip tuntap kvm0: tap group 78 You can get tuntap to do something like this: $ ip tuntap kvm0: tap user 0 group 78 but then you have to be root to use the kvm0 device. (Maybe it shouldn't be that way, but it is--try it.) |
This task depends upon
Closed by Jouke Witteveen (jouke)
Thursday, 18 April 2013, 09:25 GMT
Reason for closing: Implemented
Additional comments about closing: 281f4
Thursday, 18 April 2013, 09:25 GMT
Reason for closing: Implemented
Additional comments about closing: 281f4
tuntap.diff