[K12OSN] K12LTSP & Workstation Sound
eharrison at mail.mesd.k12.or.us
Wed Dec 1 17:57:29 UTC 2004
On Wed, 2004-12-01 at 11:39 -0600, Angus Carr wrote:
> Eric Harrison wrote:
> >Thanks for the info Gideon... I'm already working on packaging it ;-)
> >I'm thinking that a cron job that checks for /tmp/.esd/socket and
> >it if it does not exist would be the least hackish approach.
> >I can add a post-install script to the ltsp-sound package that checks
> >the /usr/lib/libesd.so.1 symlink. These two additions should do the
> Instead of a cron job, why not put it into /etc/rc.local or something
> like that. It could run on boot, right after the process that clears
> /tmp. For that matter, it could run as part of the process which clears
> /tmp. I'm sure that's just a shell script anyway.
> Angus Carr.
From rom a packaging perspective, it is bad to add things to /etc/rc.local
(packaging should avoid touching existing files).
tmpwatch runs daily as a cron job, so at the very minimum the check
for /tmp/.esd would have to run once a day. We need to make the
assumption that folks do not boot their servers every day ;-)
Everything in /tmp is temporary, it is not unreasonable for an
admin to just nuke /tmp/. We need to account for this possibility.
So my thinking is that an hourly cron job would be best.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the K12OSN