Mythmusic installer tries to create /var/lib/mythtv/music

Bug #489841 reported by MarkG
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mythbuntu
Invalid
Undecided
Unassigned

Bug Description

When installing mythmusic on 9.10 (using the latest Mythbuntu release as of today), the installer tries to create /var/lib/mythtv/music. There are two bugs I've found with this, on two different systems:

1. If /var/lib/mythtv/music is a symbolic link, as it is on my backend, the installer replaces the link with an empty directory. It shouldn't be replacing files that already exist.
2. If /var/lib/mythtv is read-only, which it is on my netbook which uses read-only NFS mounts from the backend, then the installer aborts when it can't create the directory. The only way to get the installer to run is to manually create the directory on the NFS server.

Now, I can see that there are good reasons to want that directory to exist, but the installer shouldn't delete existing files or refuse to install if it can't be created.

Revision history for this message
MarkG (movieman523) wrote :

Oh, this is 0.22, I forgot that there is also a 0.23 branch now.

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 489841] Re: Mythmusic installer tries to create /var/lib/mythtv/music

Can you please clarify what you're meaning by installer? Do you mean the
live cd installer, or the postinstall scripts for the mythmusic package?

On Sat, Nov 28, 2009 at 23:47, MarkG <email address hidden> wrote:

> Oh, this is 0.22, I forgot that there is also a 0.23 branch now.
>
> --
> Mythmusic installer tries to create /var/lib/mythtv/music
> https://bugs.launchpad.net/bugs/489841
> You received this bug notification because you are a member of Mythbuntu
> Developers, which is subscribed to Mythbuntu.
>

--
Mario Limonciello
<email address hidden>
Sent from Austin, TX, United States

Revision history for this message
MarkG (movieman523) wrote :

I mean installing the package from synaptic.

Revision history for this message
MarkG (movieman523) wrote :

Looks like the installed version I have here is 0.22.0+fixes22890-0ubuntu0+mythbuntu3, if that helps.

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

I cannot reproduce this on 9.10 using mythmusic 0.22.0+fixes23230 Please let me know if this is still an issue.

Changed in mythbuntu:
status: New → Invalid
Revision history for this message
MarkG (movieman523) wrote :

I'll try uninstalling MythMusic on my netbook and reinstalling it in the next day or two; hopefully that would hit the same code as a clean install.

Revision history for this message
MarkG (movieman523) wrote :

I tried the latest version: fixes23230:

1. Installing with /var/lib/mythtv/music being a symbolic link worked: the link wasn't deleted.
2. Uninstalling deleted the symbolic link at /var/lib/mythtv/music.
3. Mounting /var/lib/mythtv/music as read-only and installing produced 'read-only file system' errors while attempting to chown and chmod the directory, but did install.
4. Uninstalling apparently tried to delete the /var/lib/mythtv/music directory but gave 'device or resource busy' errors.

So it looks like install now works OK but deleting the music directory when uninstalling seems a bit extreme!

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.