[mythtv-users] To me this is a new introduced bug, or did something change

James Abernathy jfabernathy at gmail.com
Wed Apr 26 11:31:06 UTC 2023


On Tue, Apr 25, 2023 at 1:52 PM James Abernathy <jfabernathy at gmail.com>
wrote:

>
>
> On Tue, Apr 25, 2023, 1:46 PM Mike Perkins <mikep at randomtraveller.org.uk>
> wrote:
>
>> On 25/04/2023 12:24, James Abernathy wrote:
>> > On Mon, Apr 24, 2023 at 7:44 PM James Abernathy <jfabernathy at gmail.com>
>> > wrote:
>> >
>> >>
>> >>
>> >> On Mon, Apr 24, 2023, 7:32 PM Bill Meek <keemllib at gmail.com> wrote:
>> >>
>> >>>
>> >>> On Monday 24 April 2023 04:27:10 PM (-05:00), James Abernathy wrote:
>> >>>
>> >>>   > I tried to install mythtv on a Ubuntu 23.04 RPI4. Everything went
>> as
>> >>>   > expected until I tried to set up XMLTV according to the wiki.
>> Lots of
>> >>>   > problems.
>> >>>   >
>> >>>   > Turns out the new Ubuntu PPA for v33 on Ubuntu for 23.04 install
>> >>> creates
>> >>>   > the user "mythtv" with a home of /nonexistent as the directory.
>> This
>> >>> messes
>> >>>   > everything up. All the current instructions for setting up a
>> backend
>> >>> with
>> >>>   > XMLTV have to be changed or do as I did and fix the user mythtv
>> back to
>> >>>   > /home/mythtv as normal per the documentation.
>> >>>   >
>> >>>   > What am I missing?
>> >>>   >
>> >>>   > Jim A
>> >>>   >
>> >>>
>> >>> Not a change in the v33 PPA. But it is now.
>> >>> In 23.04, the adduser command creates system users with /nonexistant
>> >>> unless
>> >>> the --home <dir>
>> >>> option is specified (and it wasn't in mythtv-common.postinst).
>> >>>
>> >>> Just pushed the fix for v33 and master.
>> >>> --
>> >>> Bill
>> >>>
>> >>
>> >> Thanks. I'll retest tomorrow. I'm trying to update my RPI4 instructions
>> >> for Ubuntu 23.04 and MythTV v33. Should be almost identical to Ubuntu
>> 22.10.
>> >>
>> >> Jim A
>> >>
>> >
>> > Not sure if I waited long enough? but at 7:20AM EDT this morning I tried
>> > again on a fresh install of Ubuntu23.04 on my Raspberry Pi 4 and got the
>> > same /nonexistent/.mythtv directory stuff.  When should I try??
>> >
>> > Jim A
>> >
>> Alternatively you could just create the mythtv user yourself (with
>> sensible arguments) before
>> running that step.
>>
>> --
>>
>> Mike Perkins
>
>
I think it's been long enough that the updates should have made it out of
the system.  I did a fresh VM of Ubuntu 23.04 and then did:

sudo add-apt-repository ppa:mythbuntu/33

apt-cache policy mythtv show:

 Candidate: 2:33.1+fixes.202304240647.c4b7e4c433~ubuntu23.04.1

I then did:

sudo apt install mythtv

The only question during install was "Will other computers run MythTV?" and
I said yes.

I ran mythtv-setup next and it asked about adding user to mythv.

After reboot there was no /home/mythtv only /nonexistent/.mythtv

in /etc/passwd:

mythtv:x:125:131 ::/nonexistent:/bin/sh

Obviously, I could have created the user ahead of time, but that's a new
step to document:

sudo useradd -m -s /bin/bash mythtv

Did this change not really make it out yet??

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230426/d3bd4bb3/attachment.htm>


More information about the mythtv-users mailing list