[mythtv-users] strange order of expiry

Brian J. Murrell brian at interlinx.bc.ca
Sun Oct 22 00:41:36 UTC 2017


On Sun, 2017-10-22 at 02:07 +1300, Stephen Worthington wrote:
> 
> I am taking a look at what is going on here.  I have set up my test
> PC
> to use IPv6 addresses for MythTV and mythtv-status runs fine from
> root.  But from my mythfrontend user, I get the error.

There is nothing normally about root that will make any difference in
how names are resolved.

> So could you
> please try running mythtv-status from root and see if it works from
> there.

I'd rather not.  It violates the Principle of least privilege (https://
en.wikipedia.org/wiki/Principle_of_least_privilege) and poses too much
of a danger of inadvertent damage.

> If it does, you should be able to run balance_storage.sh from
> root also - it is designed to work from there just as well as from a
> mythtv group user.

But can do much (much!) more damage if there is a coding error due to
invalid assumption.  I'm not going to expose my system to such
potential catastrophic damage.

The bug where this doesn't work (only as root in your case) just needs
to be fixed.  It sounds like the bug is that libmyth-perl is not aware
of the special need to bracket IPv6 addresses with [].

Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171021/23d746b0/attachment.sig>


More information about the mythtv-users mailing list