-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with setfacl #558
Comments
We changed this because the eventdaemon was normally not run as the webserver user. I'm currently not sure if 6.0.3 used the webserver user and group for |
Update: seems we set the group to |
This was needed for the eventdaemon to work, but we dont have it anymore. Fixes #558.
@ss1h2a3tw If you want, you can test the I can do this in a few hours after work but given that you have a checkout locally already that might be faster 😄 . |
OK, doing it now. |
With fhl enabled, the |
Which autoload PHP is wrong? Line 18 in e81c2c3
make install-domserver and make install-judgehost ?
|
Ahh.. I said it wrong. The baseDir should not contain the DESTDIR.
|
And here is the running command |
Hmmm I thought the FHS setup would set DESTDIR to be empty. As in we use DESTDIR also to copy in the files, so I don't get why it contains your home dir. Is that because of |
For |
Yeah, I think so. Because when packaging it will often be a package's root directory like Here is some old package script when 5.1.2 for example |
Just to doublecheck: you are trying to build a installable package, right? I think that is something we didn't test yet with the new FHS setup, we only tested running the FHS install directly, which will set DESTDIR to |
This is the output for not enabling FHS
|
Yeah, It is the case. |
Can you show |
Here it is.
|
That looks good 🎉. Let me fix the fhs stuff in a few hours and then I’ll merge |
OK, Thanks! |
I have just tested removing DESTDIR in FHS mode and that seems to go well 😄 . |
This was needed for the eventdaemon to work, but we dont have it anymore. Fixes #558.
Thanks for reporting! It should be fixed now. |
Description of the problem / feature request
In latest version, the install script calls setfacl to set permission. Which is making packaging DOMjudge difficult in Debian/Ubuntu/Arch linux in my knowledge. Because while packaging it will call
fakeroot
to run install commands while pretending as root, butfakeroot
does not supportsetfacl
.The permission in 6.0.3 is set by owners and groups, which seems working great for me. Can we change it back into the old way?
Your environment
commit: e5e8f3c
Distro: Arch linux
Steps to reproduce
./configure --with-webserver-group=http
make install-domserver
while packagingExpected behaviour
No errors.
Actual behaviour
setfacl:/home/username/domjudge/pkg/domjudge-domserver//opt/domjudge/domserver/webapp/var: Operation not supported
The text was updated successfully, but these errors were encountered: