Community Packages

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!
Tasklist

FS#76987 - [android-tools] Manual udevadm control --reload-rules required for use after install

Attached to Project: Community Packages
Opened by Oliver Ford (OJFord) - Monday, 02 January 2023, 19:16 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:10 GMT
Task Type General Gripe
Category Packages
Status Closed
Assigned To Anatol Pomozov (anatolik)
Filipe LaĆ­ns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After installing the package, in order to actually use it (resolving the error 'insufficient privileges for device' on any command) it is necessary to `udevadm control --reload-rules`.

I got there via https://android.stackexchange.com/a/208644/63711, which led me to the source (the suggested rules file doesn't exist), and finally android-udev. A rules file is installed - no need for me to copy into /etc - but not reloaded.

Maybe it makes sense for android-udev not to reload it for you, but android-tools is unusable without it.

Additional info:
* package version(s) 33.0.3-3
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
1. `pacman -Sy android-tools`
2. Connect device by usb
3. `adb shell`
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:10 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/android-tools/issues/3
Comment by Toolybird (Toolybird) - Monday, 02 January 2023, 21:36 GMT
This sounds more like a docs issue rather an Arch packaging bug. There is related mention here [1] but I would have thought the reload would happen automatically.

[1] https://wiki.archlinux.org/title/Android_Debug_Bridge#Adding_udev_rules

Loading...