Fletch wrote: > Robin (and anyone else who's interested), here are my latest thoughts on > resolving the open issues regarding FHS:
I think it should all go in /opt. Uh, oh, uh... sorry - flashback! :) Seriously, great work. I have a few comments, but it's good to get it all out in the open like that. > - server and scanner binaries - /usr/bin seems better to me than > /usr/libexec I have misgivings about /usr/bin. What happens if the user runs the squeezecenter binary, or the scanner binary, without any command-line options? Will it work? Will it hose anything? Will it do anything bad? How about adding a "rescan" or "scan" command to the init file so users can do "service squeezecenter rescan" to trigger a rescan? And then keep the binaries out of /usr/bin ? > - cachedir - There are already opml files and the plugin-data.yaml file > in cachedir that are not really cache files. Move the whole thing to > /var/lib/squeezecenter/cache Agreed. > - Slim/ - /usr/lib/perl5/vendor_perl seems correct and solves the issue > with older perl versions Agreed. > - lib/ and CPAN/ - Since these are only for our use, leave them in > /usr/share/squeezecenter rather than some system perl location Not sure about this, but no strong feelings so OK. > - prefs files - these are 90% variable state data and 10% static > configuration. Move them all to /var/lib/squeezecenter/prefs (ie., > start with --prefsdir=/var/lib/squeezecenter/prefs). Since people are > used to it and occasionally need to edit it, provide a symlink from > /etc/squeezecenter/server.prefs Agreed. > - Add a /var/lib/squeezecenter/Plugins/Bin directory so plugins like > alien can install executables without writing to /usr Agreed. This will probably have SELinux implications. I'll give Alien a go and see what happens. > - Continue to build a noarch RPM even though it has some binaries in > it I'd rather we had binary RPMS rather than noarch containing architecture-specific files. It shouldn't be a big deal to build them, it just needs a build host for each architectire, and that's easy to do these days with virtual solutions (xen, VMWare, etc). > - convert.conf and types.conf - not sure. leave them in > /etc/squeezecenter? If the server writes to these, they should go in /var/lib/squeezecenter. /etc should be effectively read-only. By all means add symlinks to /etc/squeezecenter. Good work Fletch. Cheers, R. _______________________________________________ beta mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/beta
