You are not logged in.

#1 2017-05-16 07:38:00

socialloser1
Member
Registered: 2017-04-04
Posts: 32

[solved]prosody not working due to bad permission of installing folder

prosody installation contains a folder '/var/lib/prosody' with permission 750.

the command to add user "prosodyctl adduser" won't work  with this setting, even running this command as root. it seems this command utilize another process to do this, which is not running as root. (just my guess, prosody is written with lua, which I can not read )

my question is , where should I report this , the arch package maintainer or upstream ?

Last edited by socialloser1 (2017-05-17 02:12:22)

Offline

#2 2017-05-16 07:53:51

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [solved]prosody not working due to bad permission of installing folder

Inform the package maintainer (should probably be handled through tmpfiles).

As a temporary workaround, you can manually change the owner/group of the directory to prosody:jabber.


pkgshackscfgblag

Offline

#3 2017-05-16 08:06:25

socialloser1
Member
Registered: 2017-04-04
Posts: 32

Re: [solved]prosody not working due to bad permission of installing folder

ayekat wrote:

Inform the package maintainer (should probably be handled through tmpfiles).

what is the meaning of this ? how to do that ?
on the page https://www.archlinux.org/packages/comm … 4/prosody/  I can only report a bug , there is no contact information of the maintainer.

Offline

#4 2017-05-16 08:21:00

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: [solved]prosody not working due to bad permission of installing folder

Ah, I'm sorry for the bad wording, that should've been two distinct phrases. I meant that the "bug" is probably due to a missing tmpfiles file that would set the right ownership to /var/lib/prosody (the permissions are fine the way they are).

--edit-- I think, though, it could be more simply just installed with the right ownership in the first place.

I see you've already opened a bug report. I think this is fine, too. Otherwise, pacman provides informations about a package (including the maintainer's e-mail address).

Last edited by ayekat (2017-05-16 08:31:44)


pkgshackscfgblag

Offline

#5 2017-05-16 08:22:20

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: [solved]prosody not working due to bad permission of installing folder

A bug report, which you already did, should be enough.

Offline

#6 2017-05-16 08:51:42

socialloser1
Member
Registered: 2017-04-04
Posts: 32

Re: [solved]prosody not working due to bad permission of installing folder

ok, thank you guys.

Offline

Board footer

Powered by FluxBB