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#42337 - [prosody] invalid modules directories permission

Attached to Project: Community Packages
Opened by Sébastien Luttringer (seblu) - Saturday, 11 October 2014, 23:22 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 12 October 2014, 05:59 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

New version of prosody has modules directories unreadable to users. prosody process run as prosody user and cannot access to these modules. As a consequence, prosody service starts but is broken.

Directories are:
$ tar tvf prosody-0.9.5-1-x86_64.pkg.tar.xz|grep drwxr-x---
drwxr-x--- root/root 0 2014-10-09 14:50 usr/lib/prosody/modules/storage/
drwxr-x--- root/root 0 2014-10-09 14:50 usr/lib/prosody/modules/mod_s2s/
drwxr-x--- root/root 0 2014-10-09 14:50 usr/lib/prosody/modules/muc/
drwxr-x--- root/root 0 2014-10-09 14:50 usr/lib/prosody/modules/adhoc/
drwxr-x--- root/root 0 2014-10-09 14:50 var/lib/prosody/

You got this kind of errors as result:
oct. 12 00:25:00 achille.seblu.net prosody[521]: modulemanager: Error initializing module 'uptime' on 'seblu.net': /usr/lib/prosody/core/moduleapi.lua:121: Failed to load plugin library 'adhoc', error: /usr/lib/prosody/modules/adhoc.lib.lu
stack traceback:
/usr/lib/prosody/core/modulemanager.lua:29: in function </usr/lib/prosody/core/modulemanager.lua:29>
[C]: in function 'error'
/usr/lib/prosody/core/moduleapi.lua:121: in function 'require'
/usr/lib/prosody/modules/mod_uptime.lua:26: in main chunk
(tail call): ?
[C]: in function 'xpcall'
/usr/lib/prosody/core/modulemanager.lua:29: in function 'pcall'
/usr/lib/prosody/core/modulemanager.lua:171: in function 'do_load_module'
/usr/lib/prosody/core/modulemanager.lua:249: in function 'load'
/usr/lib/prosody/core/modulemanager.lua:74: in function '?'
/usr/lib/prosody/util/events.lua:67: in function 'fire_event'
/usr/lib/prosody/core/hostmanager.lua:98: in function 'activate'
/usr/lib/prosody/core/hostmanager.lua:44: in function '?'
/usr/lib/prosody/util/events.lua:67: in function 'fire_event'
/usr/lib/prosody/../../bin/prosody:337: in function 'prepare_to_start'
/usr/lib/prosody/../../bin/prosody:403: in main chunk
[C]: ?
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 12 October 2014, 05:59 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#42315 

Loading...