Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Corruption of channels.conf



In <200502082306.10202.taferner@kde.org>, Stefan Taferner wrote:

> On Tuesday 08 February 2005 19:01, Tony Houghton wrote:
> > How can I stop vdr from corrupting channels.conf? I'm using 1.3.19 and
> > every time I run it now it alters channels.conf, eg:
> >
> > -BBC ONE:489833:I999B8C34D34M16T2G32Y0:T:27500:600:601,602:0:0:4163:0:0:0
> > +BBC ONE:489833:C34D34M16B8T2G32Y0:T:27500:600:601,602:0:0:4163:0:0:0
> >
> > and next time it starts up it crashes the DVB-T card.
> >
> > I've set EPGScanTimeout and UpdateChannels to 0 and even made
> > /var/lib/vdr/channels.conf read-only and owned by root, but it still
> > changes it. Would a ridiculously high value for EPGScanTimeout help?
> 
> Curing the symptoms only....:
> 
> You could either try and chmod a-w channels.conf

I did, and even made it owned by root, but it still changed it. I think
it can do that because it renames the original file to channels.conf.old
and creates a new one. It stopped doing it after I made it a symlink to
the real channels.conf in /root, but now I've just realised why it was
able to overwrite the old file, I think this new "cure" shouldn't have
worked either.

> Or make a channels.conf.real and cp channels.conf.real
> channels.conf.real upon vdr start (probably in the runvdr script).

That's quite a good idea.

-- 
TH * http://www.realh.co.uk




Home | Main Index | Thread Index