Arch Linux

Please read this before reporting a bug:

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#15117 - [icecast] chroot and datarootdir

Attached to Project: Arch Linux
Opened by ux (ubitux) - Monday, 15 June 2009, 19:50 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 12 November 2010, 15:46 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Andrea Scarpino (BaSh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



I'm using icecast, and I was wondering why the icecast data are not in /srv like other services are in /srv/ftp, /srv/http, etc. If we want to do a chroot, we have to do it in /usr/share/icecast/. The problem
is, if we want a log directory, we have to do it in /usr/share/icecast/, but /usr is not a partition that has to be writable. It is read-only for me (I have a compact flash for the system). I think that logs have no place in /usr too...

Can you propose a package with the /usr/share/icecast/{admin,doc,web} directories in /srv/icecast (or similar, like mpd, in /var/lib/icecast) ?

By reading the ./configure script, it's just the --datarootdir option to change (or --datadir, I didn't test it).

This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 12 November 2010, 15:46 GMT
Reason for closing:  Won't implement
Comment by Gavin Bisesi (Daenyth) - Saturday, 30 January 2010, 16:34 GMT
I'll take it in community after the jpng stuff gets moved around. Will try to look into this.
Comment by Gavin Bisesi (Daenyth) - Wednesday, 17 March 2010, 00:23 GMT
I need to figure out how to put the directory structure, but I should be getting to this soon.
Comment by Gavin Bisesi (Daenyth) - Saturday, 20 March 2010, 20:57 GMT
Should I just make it /srv/icecast/{admin,doc,web}?
Comment by ux (ubitux) - Saturday, 20 March 2010, 22:34 GMT
I like the idea of having it in /srv. But I'm not sure about the FHS compliances with it; I like it, but maybe /var is more appropriate. Both solutions are fine with me, so we may wait for more opinions.

Anyway, thanks for having a look on it.
Comment by Gavin Bisesi (Daenyth) - Saturday, 20 March 2010, 22:51 GMT
Well, I agree that we should try to keep it FHS compliant, but I'm honestly not sure how much icecast will allow itself to be split... if it looks in only one root for everything (Not sure), then I'd have to put it all there. I'll try to check upstream when I get a chance
Comment by Thomas Dziedzic (tomd123) - Saturday, 26 June 2010, 05:04 GMT
Comment by Gavin Bisesi (Daenyth) - Saturday, 26 June 2010, 10:23 GMT
Nothing new really.
Comment by Laurent Carlier (lordheavy) - Sunday, 07 November 2010, 22:02 GMT
Just take a look at debian, mandriva, suse and all of them let files in standard dirs, so my guess is to close this as *won't implement*
Comment by Evangelos Foutras (foutrelis) - Tuesday, 09 November 2010, 17:15 GMT
Reassigned to current maintainer and changed project (since the package is in [extra], not in [community]).
Comment by Andrea Scarpino (BaSh) - Friday, 12 November 2010, 12:24 GMT
No one installs icecast in /var: Gentoo, Debian, Fedora they install icecast in /usr as we do. I think that I'll not implement this feature.