Default Storage Groups should be in /srv/mythtv instead of /var/lib/mythtv

Bug #992276 reported by Thomas Mashos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mythbuntu
Won't Fix
Undecided
Unassigned
mythtv (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

According to FHS, we should be using /srv for the type of data we are storing rather than /var/lib. /srv is not wiped on live cd upgrade, so it has no relevance to that bug

See:
http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM
http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION

Revision history for this message
Mario Limonciello (superm1) wrote :

I'm in disagreement on this interpretation and given the fact that no other packages (that I can find) pre-install anything into /srv.

I understand it as /srv is a location for site specific data that is intended to be independent of the packaging system.

There is a lintian error specifically for it:

http://lintian.debian.org/tags/dir-or-file-in-srv.html

So if we really do move to /srv we'll need a debconf question for it, create the directories, permissions and such from postinstall if the administrator agrees to it. Also would need to support modifying where the default database stores it.

Revision history for this message
Thomas Mashos (tgm4883) wrote :

Other than the initial directory structure (/srv/mythtv/*) we aren't installing anything into /srv, it's being populated by the MythTV backend.

According to this

https://help.ubuntu.com/12.04/serverguide/ftp-server.html#vsftpd-anonymous-configuration

"During installation a ftp user is created with a home directory of /srv/ftp. This is the default FTP directory."

Revision history for this message
Thomas Mashos (tgm4883) wrote :

Also, I don't like the idea of having a debconf question for this. This is an appliance (so I think less questions, not more), and a question that most if not all users won't care about. The only part that would matter is they would need to know where to mount a secondary drive or partition for storage, so it would need to be done in the installer as well. Further, asking that question negates the point of the move. I only want to move the default storage directory if it's the right thing to do, not because /srv is a cool new directory.

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Mythbuntu-bugs] [Bug 992276] Re: Default Storage Groups should be in /srv/mythtv instead of /var/lib/mythtv

Nope, even that package doesn't include a /srv/ftp in it's directories. It
must be a postinstall job (as I described above)

http://packages.ubuntu.com/precise/i386/vsftpd/filelist

On Tue, May 1, 2012 at 08:02, Thomas Mashos <email address hidden>wrote:

> Other than the initial directory structure (/srv/mythtv/*) we aren't
> installing anything into /srv, it's being populated by the MythTV
> backend.
>
>
> According to this
>
> https://help.ubuntu.com/12.04/serverguide/ftp-server.html#vsftpd-
> anonymous-configuration
>
> "During installation a ftp user is created with a home directory of
> /srv/ftp. This is the default FTP directory."
>
> --
> You received this bug notification because you are a member of Mythbuntu
> Bug Team, which is subscribed to Mythbuntu.
> https://bugs.launchpad.net/bugs/992276
>
> Title:
> Default Storage Groups should be in /srv/mythtv instead of
> /var/lib/mythtv
>
> Status in Mythbuntu, Ubuntu derivative focused upon MythTV:
> New
> Status in “mythtv” package in Ubuntu:
> New
>
> Bug description:
> According to FHS, we should be using /srv for the type of data we are
> storing rather than /var/lib. /srv is not wiped on live cd upgrade, so
> it has no relevance to that bug
>
> See:
>
> http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM
>
> http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLIBVARIABLESTATEINFORMATION
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mythbuntu/+bug/992276/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mythbuntu-bugs
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~mythbuntu-bugs
> More help : https://help.launchpad.net/ListHelp
>

--
Mario Limonciello
<email address hidden>

Revision history for this message
Mario Limonciello (superm1) wrote :

I looked a little bit closer at that package. It has a debconf question and creates it during postinstall. If the package is installing to /srv, the administrator needs the option to opt out (unlike where we currently install).

Revision history for this message
Thomas Mashos (tgm4883) wrote :

We really do appreciate you opening this ticket to help improve Mythbuntu, but it needs to be closed for a number of reasons. The biggest one is that upstream believes this to be fixed in the latest version. Could you please verify if this issue still exists in the latest version?

Please do not let the closing of this ticket dissuade you from opening a new ticket if this (or any other) problem occurs with the newer versions.

Changed in mythbuntu:
status: New → Won't Fix
Thomas Mashos (tgm4883)
Changed in mythtv (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.