Problems from old config files

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

 



On Fri, 2009-11-13 at 19:24 +0100, Kevin Kofler wrote:
> Patrick O'Callaghan wrote:
> > Maybe it doesn't need to get that complicated. I see this part of the
> > problem as a race condition between the update process and the running
> > component. If the running component wants to write to the config file it
> > should simply notice that it has changed since the component last read
> > it and either abort the write or ask the user what to do (I'd be more in
> > favour of aborting and telling the user why).
> 
> That's no good, applications prompting for config file stuff when the user 
> just wants them to go away (i.e. when they're being closed, which is when 
> the issue usually comes up) is bad, and it also won't work if you're 
> shutting down the entire system.

In that case I'd vote for the lesser of two evils: components shouldn't
overwrite an updated config file.

poc




[Index of Archives]     [KDE Users]     [Fedora General Discussion]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Coolkey]     [Yum Users]     [Yosemite Forum]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux