Re: Was inn tested for F15

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

 



Bill Davidsen writes:

Tim wrote:
> Bruno Wolff III:
>>> /var/run is now a tmpfs so data there will be lost at each reboot.
>
> Sam Varshavchik:
>> Splendid. Aside from the fact that inn's startup script does not get invoked
>> correctly by initscripts, if you do invoke it correctly you also discover
>> that it expects /var/run/news to be there, otherwise it bombs.
>
> Hmm, is it right or wrong for *anything* to expect the contents
> of /var/run to remain after a reboot?
>
There is a benefit to cleaning out the lock files, but there is a definite
problem to cleaning out everything, since the directory structure is needed to support the lockfiles. Having the program create the structure is possible, but:
- it moves complexity from the install to the program

Only if "program" includes the packaged initscript. If the main app expects to see something persistent in /var/run, but its state does not really persist across reboots and there's not a lot of stuff there, the fix seems to be easily doable in the initscript. In this case, the initscript is fixed fairly easily by mkdiring /var/run/news itself, and setting the right environment variable to keep /etc/rc.d/init.d/function from pulling the rug out from under my feet.

Having the initscript recreate what the app expects in /var/run seems to be the obvious solution that does not require patching upstream source. Although I have sufficient spare cycles now, I anticipate that I won't in the future, and I don't want to take inn myself just to have to abandon it later.

Attachment: pgpaed8wcK0Y1.pgp
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux