Eric "Shubes" wrote:
aledr wrote:
2006/8/30, Eric Shubes <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:

    aledr wrote:
     > 2006/8/30, Eric Shubes <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
    <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>:
     >
     >     aledr wrote:
     >      > Do you need any other feedback?
     >      >
     >      > Let me ask another question:
     >      > I wasn't able to find tmpwatch for SuSE Linux Enterprise
    10, so, some
> > cronjobs returns errors while trying to execute the comand...
     >     what can I do?

    I think you'll find it here:
http://www.novell.com/products/linuxpackages/server10/i386/apparmor-profiles.html <http://www.novell.com/products/linuxpackages/server10/i386/apparmor-profiles.html>

    (Google is your friend!)


Here is the content of the file:

## START OF FILE ##

# $Id: etc.cron.daily.tmpwatch 12 2006-04-12 21:35:41Z steve-beattie $
# ------------------------------------------------------------------
#
#    Copyright (C) 2002-2005 Novell/SUSE
#
#    This program is free software; you can redistribute it and/or
#    modify it under the terms of version 2 of the GNU General Public
#    License published by the Free Software Foundation.
#
# ------------------------------------------------------------------

#include <tunables/global>

/etc/cron.daily/tmpwatch {
  #include <abstractions/base>
  /etc/cron.daily/tmpwatch  r,
  /tmp                      r,
  /tmp/**                   rwl,
  /usr/sbin/tmpwatch        mixr,
  /var/cache/man*           r,
  /var/cache/man*/**        r,
  /var/tmp                  r,
  /var/tmp/**               rwl,
}

## END OF FILE ##

What do you think?


I dunno. Here's the /etc/cron.daily.tmpwatch from CentOS:

/usr/sbin/tmpwatch -x /tmp/.X11-unix -x /tmp/.XIM-unix -x /tmp/.font-unix -x /tmp/.ICE-unix -x /tmp/.Test-unix 240 /tmp
/usr/sbin/tmpwatch 720 /var/tmp
for d in /var/{cache/man,catman}/{cat?,X11R6/cat?,local/cat?}; do
    if [ -d "$d" ]; then
        /usr/sbin/tmpwatch -f 720 $d
    fi
done

You'll need to find the tmpwatch program either way. You have no /usr/sbin/tmpwatch? It's gotta be in a package somewhere. It's been part of SuSE for ages. It's its own package (tmpwatch-2.9.1-1, or tmpwatch-2.9.1.1.???.rpm). I'm just now burning my first OpenSuSE 10.1, so I'm not much help.

I meant to say it's its own package *on CentOS*. Dunno about Suse.

--
-Eric 'shubes'

---------------------------------------------------------------------
    QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to