On Wed, Aug 26, 2015 at 07:11:23PM -0400, anthony wrote:
> Execution of man-db during cron daily fails with the following message:
> 
> /etc/cron.daily/man-db:
> fopen: Permission denied
> run-parts: /etc/cron.daily/man-db exited with return code 2
> 
> 
> Troubleshooting actions taken:
> The man-db script contains the following command:
> 
> start-stop-daemon --start --pidfile /dev/null \
>               --startas /usr/bin/mandb --oknodo --chuid man \
>               --iosched_idle \
>               -- --no-purge --quiet
> 
> Executing this command as root from the command line results in the
> following error:
> fopen: Permission denied

Please install strace and run this as root:

  strace -f -o ssd.trace -s 1024 start-stop-daemon --start --pidfile /dev/null 
--startas /usr/bin/mandb --oknodo --chuid man --iosched_idle -- --no-purge 
--quiet

Then reply to this message attaching the file ssd.trace.

Thanks,

-- 
Colin Watson                                       [cjwat...@debian.org]

Reply via email to