[Bug 236956] Re: sane devices should not be managed by consolekit
https://jff.email/cgit/sane- backends.git/tree/debian/libsane1.README.Debian (under "SETUP") -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/236956 Title: sane devices should not be managed by consolekit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/236956/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
https://jff.email/cgit/sane- backends.git/tree/debian/libsane1.README.Debian (under "SETUP") ** Changed in: sane-backends (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/236956 Title: sane devices should not be managed by consolekit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/236956/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
i have also a problem with scanner after precise pangolin 12.04 i have informed here: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787/comments/10 https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787/comments/11 is it the same problem? is it possible to correct this? thank you very much -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/236956 Title: sane devices should not be managed by consolekit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/236956/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
Brian, are you sure? I've ssh'd into a precise box today and cannot access the attached scanner as an ordinary user. Scanning being broken for so many years and differently in every release is really frustrating! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/236956 Title: sane devices should not be managed by consolekit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/236956/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
Appears to be no longer an issue in ubuntu 12.04 If I ssh to my box and try to access scanner from the shell (e.g. scanimage -L) the device is not accessible; but once I add myself to group 'scanner' and logout and back in again, it works fine. There is clearly the correct ACL here. $ ls -l /dev/bus/usb/001/005 crw-rw-r--+ 1 root root 189, 4 Oct 15 21:23 /dev/bus/usb/001/005 getfacl shows the user who is logged on at the console (which happens to be a different user), *and* group scanner. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/236956 Title: sane devices should not be managed by consolekit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/236956/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
I tried to work-around thusly: sudo polkit-auth --user saned --grant org.freedesktop.hal.device- access.scanner But no joy. The machine is headless and gnomeless, and I'd like to keep it that way. Any ideas? -- sane devices should not be managed by consolekit https://bugs.launchpad.net/bugs/236956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
Could someone please describe and document the command-line version of the explicit grant needed so that 'scanimage|scanadf' works always for that user, even for an ssh into the machine or cron script? Are the Ubuntu 8.04.1 /etc/udev/rules.d/45-libsane.rules a simple file- copy to install under 8.10? If policykit is to be part of Ubuntu, then I presume the commands: polkit-action polkit-auth polkit-config-file-validate polkit-policy-file-validate will be available on the server version as well. Attached is a screenshot of what the users sees for granting on a default Ubuntu 8.04.1 to 8.10 upgraded desktop. It appears that a grant must be made for each user, as groups are not available in the list for granting. Perhaps polkit is an advantageous infrastructure decision, but it is a bit troubling that no documentation about the change in behavior is readily found in Google or Ubuntu Wiki searches. This is something that should be explicitly described to avoid surprising the user. ** Attachment added: Ubuntu Authorizations Scanner saned http://launchpadlibrarian.net/19443465/Ubuntu%20Scanner%20Authorizations.png -- sane devices should not be managed by consolekit https://bugs.launchpad.net/bugs/236956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
Indeed this could be fixed by reintroducing the udev rules, so that the devices are accessible by *either* being on a local console, *or* being in the 'scanner' group (as in gutsy and earlier). ** Changed in: consolekit (Ubuntu) Status: New = Invalid ** Changed in: sane-backends (Ubuntu) Status: New = Confirmed -- sane devices should not be managed by consolekit https://bugs.launchpad.net/bugs/236956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
Hi, To me it seems like this bug would be fixed if the policy for the scanner was changed to allow saned to access it explicitly, so that both console users and the sane service can use the device, is this correct? Thanks, James -- sane devices should not be managed by consolekit https://bugs.launchpad.net/bugs/236956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
Please do not consider this bug to be fixed. It is affecting server edition, and polkit-gnome-authorization is not a convenient configuration option on that platform. -- sane devices should not be managed by consolekit https://bugs.launchpad.net/bugs/236956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
Please consider this bug to be (almost) fixed. Following the instructions that I received on the hal mailing list, I have used polkit-gnome-authorisation to change the system behaviour, so that the ownership of the USB scanners is not anymore given to the current console user, but to user saned So this is not really a bug, since the behaviour can be configured. However, please notice: 1) The default behaviour with regards to scanners is wrong. The default for scanners should be to have as users not just the current console user, but also user saned, so that a scanner server can be set up. 2) Kubuntu should install polkit-gnome-authorisation by default (even better this should be made a desktop-system independent program to be installed by default in any flavour of ubuntu). 3) Policy kit should allow to define group authorisations and not just user authorisations. -- sane devices should not be managed by consolekit https://bugs.launchpad.net/bugs/236956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 236956] Re: sane devices should not be managed by consolekit
BTW, also note that if I have a machine with a scanner attached to it and 10 users that might seat at the console, there is a chance that I do not want to give all 10 the privilege to use the scanner. So, it is just nice to have a scanner group, where I can put the users allowed to use the scanner. -- sane devices should not be managed by consolekit https://bugs.launchpad.net/bugs/236956 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs