Christian Drexler wrote:
Gurus,

as a heads up for those who run SRSS on RedHat Advanced Server:

RHAS installs a cron job called tmpwatch that is run daily at 4.20 in
the morning that deletes all files that have not been accessed since 10
days. This destroys the state file in
/tmp/SUNWut/config/displays/<DISPLAY> exactly 10 days after login
because these files are obviously never touched again after the login
(or their atime is not updated).

This leads to log messages like the following:

<quote>
Jun 17 04:02:15 lxray utxconfig: Error: could not open file
'/var/opt/SUNWut/displays/37' for reading.
Jun 17 04:02:16 lxray utauthd: SessionManager0 NOTICE: EMPTY: ACTIVE session
Jun 17 04:02:16 lxray utauthd: Terminator NOTICE: DISCONNECT
IEEE802.0003ba8b92ef, pseudo.0003ba8b92ef session terminated
Jun 17 04:02:16 lxray utauthd: SessionManager0 NOTICE: TERMINATE: ACTIVE
sessionJun 17 04:02:16 lxray utauthd: Terminator NOTICE: DESTROY
pseudo.0003ba8b92ef lifetime=950402814
</quote>

I have disabled the line that starts tmpwatch for /tmp in
/etc/cron.daily and the logouts and the error messages have gone away
but I think it would be better to periodically update the atime of these
 files because cleaning up /tmp is "A Good Thing" (tm). This could be
done with a cron job but I am not sure if utxconfig relies on the time
stamps of these files.

Cheers

~christian


Hi Christian,

I used to run Red Hat and remember those scripts. My suggestion would be to edit the cron script to exclude the folder '/tmp/SUNWut' and all the sub files/folders. I'm pretty sure this can be done. If you post the script cron runs, I may be able to help you with this.

-Luke
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to