← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 489841] Re: Mythmusic installer tries to create /var/lib/mythtv/music

 

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!

-- 
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
Bug Team, which is subscribed to Mythbuntu.

Status in Mythbuntu, Ubuntu derivative focused upon MythTV: Invalid

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.