when using the live cd as a frontend the config directory is created with the wrong user

Bug #502438 reported by Bruno Bigras
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mythbuntu
Won't Fix
Undecided
Unassigned
mythbuntu-live-autostart (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

when using the live cd as a frontend, the directory created in 'media' is owner by root so the frontend is not able to write to it.

a 'chmod ubuntu.ubuntu mycfgdir' fixed it

Bruno Bigras (brunoqc)
description: updated
Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 502438] [NEW] when using the live cd as a frontend the config directory is created with the wrong user

Can you please clarify what directory this is? Media what?

On 01/02/2010, Bruno Bigras <email address hidden> wrote:
> Public bug reported:
>
> when using the live cd as a frontend, the directory created in 'media'
> is owner by root so the frontend is not able to write to it.
>
> a 'chmod ubuntu.ubuntu mycfgdir' fixed it
>
> ** Affects: mythbuntu
> Importance: Undecided
> Status: New
>
> ** Description changed:
>
> when using the live cd as a frontend, the directory created in 'media'
> is owner by root so the frontend is not able to write to it.
>
> - a 'chmod ubuntu.ubutnu mycfgdir' fixed it
> + a 'chmod ubuntu.ubuntu mycfgdir' fixed it
>
> --
> when using the live cd as a frontend the config directory is created with
> the wrong user
> https://bugs.launchpad.net/bugs/502438
> You received this bug notification because you are a member of Mythbuntu
> Developers, which is subscribed to Mythbuntu.
>

--
Sent from my mobile device

Mario Limonciello
<email address hidden>

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

Also what version are you testing with?

On 01/02/2010, Bruno Bigras <email address hidden> wrote:
> Public bug reported:
>
> when using the live cd as a frontend, the directory created in 'media'
> is owner by root so the frontend is not able to write to it.
>
> a 'chmod ubuntu.ubuntu mycfgdir' fixed it
>
> ** Affects: mythbuntu
> Importance: Undecided
> Status: New
>
> ** Description changed:
>
> when using the live cd as a frontend, the directory created in 'media'
> is owner by root so the frontend is not able to write to it.
>
> - a 'chmod ubuntu.ubutnu mycfgdir' fixed it
> + a 'chmod ubuntu.ubuntu mycfgdir' fixed it
>
> --
> when using the live cd as a frontend the config directory is created with
> the wrong user
> https://bugs.launchpad.net/bugs/502438
> You received this bug notification because you are a member of Mythbuntu
> Developers, which is subscribed to Mythbuntu.
>

--
Sent from my mobile device

Mario Limonciello
<email address hidden>

Revision history for this message
Bruno Bigras (brunoqc) wrote :

I used the latest iso : mythbuntu-9.10-desktop-i386.iso (32 bit version)

when launching the frontend, a tool asks for the database info and creates a config file, the file dialog points at /media and it seems the config file needs to be in a subdir of /media.

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

Thank you for helping to improve Mythbuntu by opening this ticket. I am marking this ticket as confirmed because it appears to have enough information to help the developers understand the problem. It is possible I am wrong and another more experienced triager or developer may adjust the status of the ticket to "incomplete" and request additional information.

Changed in mythbuntu-live-autostart (Ubuntu):
status: New → Triaged
Changed in mythbuntu:
status: New → Triaged
Revision history for this message
Bruno Bigras (brunoqc) wrote :

I investigated a little bit more the other day and I think that the wrong directory owner may not be the problem I had.

I think I didn't have the right timezone set, and without the right directory owner set, I was able to get a log file.

I worked on a patch to detect and force the right timezone using 'dpkg-reconfigure' but unfortunately, the dpkg database (or file) seems to be locked when using the myth live front end script.

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Mythbuntu-bugs] [Bug 502438] Re: when using the live cd as a frontend the config directory is created with the wrong user

We might have a better way to do this coming up soon that will query the
backend's timezone and launch mythfrontend with TZ= that as an env variable

On Mon, Jan 25, 2010 at 20:47, Bruno Bigras <email address hidden> wrote:

> I investigated a little bit more the other day and I think that the
> wrong directory owner may not be the problem I had.
>
> I think I didn't have the right timezone set, and without the right
> directory owner set, I was able to get a log file.
>
> I worked on a patch to detect and force the right timezone using 'dpkg-
> reconfigure' but unfortunately, the dpkg database (or file) seems to be
> locked when using the myth live front end script.
>
> --
> when using the live cd as a frontend the config directory is created with
> the wrong user
> https://bugs.launchpad.net/bugs/502438
> 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: Triaged
> Status in “mythbuntu-live-autostart” package in Ubuntu: Triaged
>
> Bug description:
> when using the live cd as a frontend, the directory created in 'media' is
> owner by root so the frontend is not able to write to it.
>
> a 'chmod ubuntu.ubuntu mycfgdir' fixed it
>
>
>
>
>
> _______________________________________________
> 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>
Sent from Austin, TX, United States

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

The logic to save settings to a flash drive has been abandoned for 10.04. Now the mythbuntu-live-autostart frontend only prepares connection to the backend.

Changed in mythbuntu:
status: Triaged → Won't Fix
Changed in mythbuntu-live-autostart (Ubuntu):
status: Triaged → 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.