FS#47818 - [ejabberd] error in ejabberd.install

Attached to Project: Community Packages
Opened by Sardelli Tommaso (cippaciong) - Tuesday, 19 January 2016, 18:23 GMT
Last edited by Sergej Pupykin (sergej) - Saturday, 30 January 2016, 16:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello, the current ejabberd package returns the following error after the installation:
chown: cannot access 'usr/lib/ejabberd/priv/bin/epam': No such file or directory

The problem is that the above path is no longer valid and has been replaced by /usr/lib/ejabberd-$pkgver/
but post_install() and post_upgrade() functions have not been updated to reflect those changes.

Additional info:
* package version: ejabberd 16.01-1
This task depends upon

Closed by  Sergej Pupykin (sergej)
Saturday, 30 January 2016, 16:20 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Tuesday, 19 January 2016, 22:16 GMT
It really shouldn't be chown'ing anything in the install scriptlet anyway. That should all be done in the package function.
Comment by Sergej Pupykin (sergej) - Wednesday, 20 January 2016, 15:05 GMT
I've pushed reworked ejabberd-16.01-2 package. I changed user to jabber, so it may need manual actions.

Loading...