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#77127 - [arp-scan] 1.10.0-1 installs mac-vendor.txt in /usr/etc/arp-scan when it should be /etc/arp-scan
Attached to Project:
Community Packages
Opened by Roy Hills (royhills) - Saturday, 14 January 2023, 20:07 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Tuesday, 17 January 2023, 09:41 GMT
Opened by Roy Hills (royhills) - Saturday, 14 January 2023, 20:07 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Tuesday, 17 January 2023, 09:41 GMT
|
DetailsDescription:
arp-scan 1.10.0-1 installs mac-vendor.txt in /usr/etc/arp-scan. I think it should use /etc/arp-scan instead. arp-scan was configured with "./configure --prefix=/usr --mandir=/usr/share/man". I think it should use "./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc". This has only become an issue with version 1.10.0 because the location of the mac-vendor.txt file has changed. In previous versions it was installed in $(pkgdatadir) which expanded to /usr/share/arp-scan when configured with --prefix=/usr. In version 1.10.0 it installs to $(sysconfdir)/$(PACKAGE) which expands to /etc/arp-scan when configured with --sysconfdir=/etc. This change is because some users add their own mappings to mac-vendor.txt, so I think it belongs in $(sysconfdir)/$(PACKAGE). Upstream changes to this file should be rare. From the arp-scan 1.10.0 NEWS.md file: `mac-vendor.txt` is now installed to `$(sysconfdir)/$(PACKAGE)` instead of `$(pkgdatadir)`. E.g. `/usr/local/etc/arp-scan` if ./configured with no directory options, or `/etc/arp-scan` with `--sysconfdir=/etc`. This is to permit local changes to persist across upgrades. Additional info: * package version(s): 1.10.0-1 * config and/or log files etc.: [rsh@arch ~]$ pacman -Ql arp-scan | grep mac-vendor.txt arp-scan /usr/etc/arp-scan/mac-vendor.txt * link to upstream bug report, if any Mentioned in this github ticket: https://github.com/royhills/arp-scan/issues/119 "By the way, most distros add --sysconfdir=/etc to ./configure so mac-vendor.txt goes in /etc/arp-scan rather than /usr/etc/arp-scan, but the arch package doesn't do this. I'm not sure if that's intentional or not - /usr/etc is an unusual directory." Steps to reproduce: $ pacman -Ql arp-scan | grep mac-vendor.txt |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Tuesday, 17 January 2023, 09:41 GMT
Reason for closing: Fixed
Additional comments about closing: arp-scan-1.10.0-2
Tuesday, 17 January 2023, 09:41 GMT
Reason for closing: Fixed
Additional comments about closing: arp-scan-1.10.0-2