[mythtv-users] /dev/dvb permissions

Eyal Lebedinsky eyal at eyal.emu.id.au
Tue Jun 22 02:02:51 UTC 2021


On 22/06/2021 02.11, Stephen Worthington wrote:
> On Mon, 21 Jun 2021 23:49:20 +1000, you wrote:
> 
>> After a recent update (fedora 34) mythbackend failed to show any card.
>> Short story:
>> 	crw-rw----+ 1 root rtlsdr 212,  3 Jun 20 23:10 /dev/dvb/adapter0/frontend0
>> so user mythtv cannot open it. chmod fixed it, and I added this to my startup scripts.
>>
>> Was this an intended change? This update brought in
>> 	mythtv-backend-31.0-17.147.20210421git05c16580e1.fc34.x86_64
>> and friends as well as
>> 	kernel-5.12.11-300.fc34.x86_64
>> 	rtl-sdr-0.6.0-9.fc34.x86_64
>>
>> The group rtlsdr is new:
>> 	Jun 20 22:43:17 e7 groupadd[1678612]: group added to /etc/group: name=rtlsdr, GID=440
>> 	Jun 20 22:43:17 e7 groupadd[1678612]: group added to /etc/gshadow: name=rtlsdr
>> 	Jun 20 22:43:17 e7 groupadd[1678612]: new group: name=rtlsdr, GID=440
>>
>> Is there a possible conflict?
>> Should user mythtv be added to the new group?
> 
> Have you by any chance installed some SDR (software defined radio)
> packages?  It looks like some SDR software is using the tuner.

The package rtl-sdr was installed just then, as a dependency for rng-tools.
I do not recall installing rng-tools but it was installed years ago. Nothing depends on it.
No related programs are running,

I suspect that some install script was involved during the recent update, probably the newly installed rtl-sdr.

-- 
Eyal Lebedinsky (eyal at eyal.emu.id.au)


More information about the mythtv-users mailing list