← Back to team overview

mythbuntu-bugs team mailing list archive

Re: [Bug 1850746] Re: mythtv-backend-setup fails to add user to group mythtv under XFCE

 

Tickets for this should probably be forwarded upstream, hopefully with a
patch. As it stands now, there aren't much eyes on this package and I don't
have a way to test this anymore as I don't use MythTV nor Ubuntu.

On Thu, Oct 31, 2019 at 4:55 PM Peter D. <1850746@xxxxxxxxxxxxxxxxxx> wrote:

> Sorry if I got a bit excited.
>
> On a fresh install of Xubuntu, Mythtv backend setup does not work.
>
> If it worked, then when it was first run it would add the user to the
> group "mythtv", something that requires root access.  My guess is that
> long ago a pop up box would prompt the user for their password before
> continuing.
>
> The grep above revels multiple places where gksu is expected to exist.
> Because gksu has been removed from the distribution each of these lines
> is a bug that leaves a variable empty.  I don't know what the correct
> fix is.  It seems a bit to demanding to expect the end user edit
> /etc/group in a terminal.
>
> The man page for apt does not mention "source", is that documented
> anywhere?  I got a "permission denied".
>
> kdebase-bin seems to be an alternative to gksu it does not have an
> installation candidate either.
>
> There is a way to do it, gpated has a pop up that prompts for a
> password.
>
> --
> You received this bug notification because you are a member of Mythbuntu
> Bug Team, which is subscribed to mythtv in Ubuntu.
> https://bugs.launchpad.net/bugs/1850746
>
> Title:
>   mythtv-backend-setup fails to add user to group mythtv under XFCE
>
> Status in mythtv package in Ubuntu:
>   New
>
> Bug description:
>   Running Mythtv-backend-setup from the XFCE menu looks like it is
>   adding the user to the group "mythtv", but does not.  The user has to
>   add himself manually, either by editing /etc/groups or with adduser
>   `whoami` mythtv.
>
>   The meta package is mythtv.
>   The package is mythtv-backend.
>   The file is called /usr/bin/mythtv-setup.
>   There is a call to check_groups, which is in
>   /usr/share/mythtv/dialogue_functions.sh
>   It has the line;
>   $SU_TYPE adduser ...
>   Su type seems to be "gksu" for XFCE and Gnome.
>
>   psd@EE:/usr/share/mythtv$ sudo apt-get install gksu
>   Reading package lists... Done
>   Building dependency tree
>   Reading state information... Done
>   Package gksu is not available, but is referred to by another package.
>   This may mean that the package is missing, has been obsoleted, or
>   is only available from another source
>
>   E: Package 'gksu' has no installation candidate
>
>   The bug also exists in older versions of Xubuntu; bionic, disco,
>   probably more.  I am not sure about other desktops.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 19.10
>   Package: mythtv-backend 2:30.0+fixes.20190817.5cde0578d8-0ubuntu1
>   ProcVersionSignature: Ubuntu 5.3.0-19.20-generic 5.3.1
>   Uname: Linux 5.3.0-19-generic x86_64
>   ApportVersion: 2.20.11-0ubuntu8.1
>   Architecture: amd64
>   CurrentDesktop: XFCE
>   Date: Thu Oct 31 15:36:16 2019
>   InstallationDate: Installed on 2019-10-21 (9 days ago)
>   InstallationMedia: Xubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
>   Installed_mythtv_dbg: 2:30.0+fixes.20190817.5cde0578d8-0ubuntu1
>   SourcePackage: mythtv
>   UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/mythtv/+bug/1850746/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~mythbuntu-bugs
> Post to     : mythbuntu-bugs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~mythbuntu-bugs
> More help   : https://help.launchpad.net/ListHelp
>

References