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#23618 - Upgrading prosody.install emits "chown: cannot access `var/run/prosody': No such file or directory"
Attached to Project:
Community Packages
Opened by Walter Sullivan (wajasu) - Wednesday, 06 April 2011, 20:24 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 06 April 2011, 21:47 GMT
Opened by Walter Sullivan (wajasu) - Wednesday, 06 April 2011, 20:24 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 06 April 2011, 21:47 GMT
|
DetailsDescription:
When I did a pacman -Syu and the package was updating I got this warning: (22/28) upgrading prosody [########################################] 100% chown: cannot access `var/run/prosody': No such file or directory Maybe the lines in prosody.install should use absolute paths, since after the upgrade /var/run/prosody was still root:root. chown prosody:prosody var/lib/prosody chown prosody:prosody var/log/prosody chown prosody:prosody var/run/prosody Change to: chown prosody:prosody /var/lib/prosody chown prosody:prosody /var/log/prosody chown prosody:prosody /var/run/prosody Since /var/run/prosody did not exist I got the error. It might have been because I had prosody disabled in rc.conf (i.e. !prosody) and it had not been started. Some sort of corner case from prior behavior. I am not sure if one can guarantee to have a current working directory in /. You might want to check that the /var/run/prosody exists, and create it if it doesn't. (My workaround was just to manually execute the chmods.) Additional info: * package version(s) prosody 0.7.0-6 * config and/or log files etc. Steps to reproduce: pacman -Syu and having the package prexisting so that its not an intial install. |
This task depends upon