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#29128 - [pkgtools] uses /bin/readlink instead of /usr/bin/readlink

Attached to Project: Community Packages
Opened by Yichao Yu (yuyichao) - Tuesday, 27 March 2012, 04:35 GMT
Last edited by Dave Reisner (falconindy) - Friday, 06 April 2012, 20:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
The pkg-file-hook.sh is using `/bin/readlink` which is changed to `/usr/bin/readlink` in the latest coreutils update. Please change it to either `/usr/bin/readlink` or `readlink` to get rid of the error message~


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
enable the command_not_found hook and there will be a error message on a login shell startup with coreutils=8.16-{1,2}
This task depends upon

Closed by  Dave Reisner (falconindy)
Friday, 06 April 2012, 20:34 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 27 March 2012, 06:34 GMT
Confirmed.

grep /bin/readlink /etc/profile.d/pkgfile-hook.sh
case $(/bin/readlink /proc/$$/exe) in
Comment by Yichao Yu (yuyichao) - Tuesday, 27 March 2012, 15:03 GMT
Can anyone just make a fast fix by replacing /bin/readlink with /usr/bin/readlink (in [testing]) if for some (policy) reason you don't like to simply use `readlink`?
Comment by jstjohn (jstjohn) - Tuesday, 03 April 2012, 21:53 GMT
I can also confirm this bug. I first noticed it today, but I'm guessing that the issue was present a few days ago, as I hadn't logged in in a while.

I'm going to manually fix this on my own machine, but it'd be nice for a quick fix "upstream". :)

Loading...