The 330.catman script, when run periodically by cron weekly, produces the following output: Reformatting manual pages: find: .: Permission denied /usr/libexec/catman.local: no local-mounted manual directories found: \ /usr/share/man /usr/share/openssl/man /usr/local/man \ /usr/local/lib/perl5/5.6.1/man However, when the same script is run manually by root, no such error is displayed. Fix: Unknown. How-To-Repeat: Configure periodic to run the corresponding weekly duty.
Are you still having this issue? I really didn't manage to reproduce it. Please, let me know. Best Regards -- Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org)
On Thu, 31 Mar 2005, Matteo Riondato wrote: > Are you still having this issue? > I really didn't manage to reproduce it. Yes, the issue persists in 5.3-RELEASE, in the following form (from the weekly periodic log): Reformatting manual pages: find: .: Permission denied /usr/libexec/catman.local: no local-mounted manual directories found: /usr/share/man /usr/share/openssl/man /usr/local/man /usr/X11R6/man /usr/local/lib/perl5/5.8.5/man /usr/local/lib/perl5/5.8.5/perl/man Regards, Marko Kuntic
On Thu, Mar 31, 2005 at 11:37:59PM +0200, Marko Kuntic wrote: > On Thu, 31 Mar 2005, Matteo Riondato wrote: > > >Are you still having this issue? > >I really didn't manage to reproduce it. > > Yes, the issue persists in 5.3-RELEASE, in the following form (from > the weekly periodic log): > > Reformatting manual pages: > find: .: Permission denied > /usr/libexec/catman.local: no local-mounted manual directories found: > /usr/share/man /usr/share/openssl/man /usr/local/man /usr/X11R6/man > /usr/local/lib/perl5/5.8.5/man /usr/local/lib/perl5/5.8.5/perl/man Is your /usr NFS-mounted? Best Regards -- Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org)
On Fri, 1 Apr 2005, Matteo Riondato wrote: >>> Are you still having this issue? >>> I really didn't manage to reproduce it. >> >> Yes, the issue persists in 5.3-RELEASE, in the following form (from >> the weekly periodic log): >> >> Reformatting manual pages: >> find: .: Permission denied >> /usr/libexec/catman.local: no local-mounted manual directories found: >> /usr/share/man /usr/share/openssl/man /usr/local/man /usr/X11R6/man >> /usr/local/lib/perl5/5.8.5/man /usr/local/lib/perl5/5.8.5/perl/man > > Is your /usr NFS-mounted? No, nothing of the sort. On one system there's a single / partition, on another it's an ordinary UFS2 mount. The error appears on both. Regards, Marko Kuntic
On Fri, Apr 01, 2005 at 10:49:43AM +0200, Marko Kuntic wrote: > >>Reformatting manual pages: > >>find: .: Permission denied > >>/usr/libexec/catman.local: no local-mounted manual directories found: > >>/usr/share/man /usr/share/openssl/man /usr/local/man /usr/X11R6/man > >>/usr/local/lib/perl5/5.8.5/man /usr/local/lib/perl5/5.8.5/perl/man Well...that's really strange, because periodic scripts are executed with root uid, so you should never get a permission denied. Do you use some sort of ACLs or MAC? can you please send the output of ls -la /usr/share/man | head -2 ls -la /usr/share/openssl/man |head -2 ls -la /usr/local/man | head -2 ls -l /usr/X11R6/man | head -2 ls -l /usr/local/lib/perl5/5.8.5/man |head -2 ls -l /usr/local/lib/perl5/5.8.5/perl/man |head -2 Thank you. Best Regards -- Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org)
On Fri, 1 Apr 2005, Matteo Riondato wrote: > Well...that's really strange, because periodic scripts are executed > with root uid, so you should never get a permission denied. Yes, and when I run the script in question manually, as root, I get no errors. The errors only occur when the script is run by cron - periodic. > Do you use some sort of ACLs or MAC? can you please send the output of > ls -la /usr/share/man | head -2 > ls -la /usr/share/openssl/man |head -2 > ls -la /usr/local/man | head -2 > ls -l /usr/X11R6/man | head -2 > ls -l /usr/local/lib/perl5/5.8.5/man |head -2 > ls -l /usr/local/lib/perl5/5.8.5/perl/man |head -2 Certainly: [mkuntic@zagreb.mioc.hr] <~>$ ls -la /usr/share/man | head -2 total 556 drwxr-xr-x 24 root wheel 512 Mar 27 05:01 . [mkuntic@zagreb.mioc.hr] <~>$ ls -la /usr/share/openssl/man |head -2 total 100 drwxr-xr-x 7 root wheel 512 Mar 27 05:01 . [mkuntic@zagreb.mioc.hr] <~>$ ls -la /usr/local/man | head -2 total 116 drwxr-xr-x 38 root wheel 1024 Mar 27 05:01 . [mkuntic@zagreb.mioc.hr] <~>$ ls -l /usr/X11R6/man | head -2 total 56 drwxr-xr-x 2 man wheel 512 Dec 27 17:43 cat1 [mkuntic@zagreb.mioc.hr] <~>$ ls -l /usr/local/lib/perl5/5.8.5/man |head -2 total 12 drwxr-xr-x 2 root wheel 4096 Feb 14 23:38 man3 [mkuntic@zagreb.mioc.hr] <~>$ ls -l /usr/local/lib/perl5/5.8.5/perl/man |head -2 total 34 drwxr-xr-x 2 root wheel 9728 Dec 27 11:23 man3 The filesystems are mounted with acls, but no acls are defined on the directories in question. Regards, Marko Kuntic
On Fri, Apr 01, 2005 at 02:26:28PM +0200, Marko Kuntic wrote: > The filesystems are mounted with acls, but no acls are defined on the > directories in question. What about ACLs on /usr/libexec? Best Regards -- Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org)
On Fri, Apr 01, 2005 at 02:59:42PM +0200, Marko Kuntic wrote: > On Fri, 1 Apr 2005, Matteo Riondato wrote: > > >On Fri, Apr 01, 2005 at 02:26:28PM +0200, Marko Kuntic wrote: > >>The filesystems are mounted with acls, but no acls are defined on the > >>directories in question. > > > >What about ACLs on /usr/libexec? > > None, anywhere. All FSs are mounted with ACLs, but they're only really used > on places in /home. You're absolutely sure, right? Please, try the attached patch (after this I really don't know what to do, because it seems that you're really the only one to have this problem..) --- catman.local.orig Mon Mar 28 18:29:42 2005 +++ catman.local Fri Apr 1 19:29:33 2005 @@ -49,7 +49,7 @@ dirs=`echo $dirs | sed 's/:/ /g'` case X"$dirs" in X) echo "usage: $0 [options] directories ..."; exit 1;; esac -localdirs=`find -H $dirs -fstype local -type d -prune -print` +localdirs=`cd / && find -H $dirs -fstype local -type d -prune -print` case X"$localdirs" in X) echo "$0: no local-mounted manual directories found: $dirs" Best Regards -- Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org)
On Fri, 1 Apr 2005, Matteo Riondato wrote: > You're absolutely sure, right? Absolutely. > Please, try the attached patch (after this I really don't know what to > do, because it seems that you're really the only one to have this > problem..) Believe it or not - it worked. With the patch there are no more errors. However, I did start periodic weekly manually. We'll see what happens at the end of the week, when cron hits it. Regards, Marko Kuntic
On Fri, Apr 01, 2005 at 08:52:15PM +0200, Marko Kuntic wrote: > On Fri, 1 Apr 2005, Matteo Riondato wrote: > > >Please, try the attached patch (after this I really don't know what to > >do, because it seems that you're really the only one to have this > >problem..) > > Believe it or not - it worked. With the patch there are no more errors. > However, I did start periodic weekly manually. We'll see what happens at > the end of the week, when cron hits it. It could have been a find bug, when find works on filesystem mounted with ACL, but I really don't know, and it's really strange that you're the only one to have this problem. I don't know if such a patch can be committed, someone with more power than me should say that :D Let us know if it will work at the end of the week (which is..mm..today :) ) Best Regards -- Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org)
On Fri, 1 Apr 2005, Matteo Riondato wrote: >> However, I did start periodic weekly manually. We'll see what happens at >> the end of the week, when cron hits it. > > It could have been a find bug, when find works on filesystem mounted > with ACL, but I really don't know, and it's really strange that you're > the only one to have this problem. > I don't know if such a patch can be committed, someone with more power > than me should say that :D > Let us know if it will work at the end of the week (which > is..mm..today :) ) It - failed. But with a different error: Reformatting manual pages: catman: .: Permission denied Regards, Marko Kuntic
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
The catman utility was removed in FreeBSD 12.
We've since removed catman pages entirely. See r323996 and related.