[Bug 38022] Re: run-parts doesn't run script with sh extension

dregad damien.regad at merckgroup.com
Thu Nov 8 08:56:31 UTC 2012


I can live with run-parts not executing files containing a '.', but it
would certainly make things easier to troubleshoot if the system
actually logged information about skipping a script, instead of silently
doing so.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to anacron in Ubuntu.
https://bugs.launchpad.net/bugs/38022

Title:
  run-parts doesn't run script with sh extension

Status in “anacron” package in Ubuntu:
  Triaged
Status in “cron” package in Ubuntu:
  Won't Fix
Status in “debianutils” package in Ubuntu:
  Fix Released
Status in “cron” package in Debian:
  Fix Released
Status in “debianutils” package in Debian:
  Fix Released

Bug description:
  With default cron configuration you can only place a shell script to
  /etc/cron.* directory and it is executed by run-parts via cron at the
  right time. But if the script has "sh" extension (e.g. script.sh) it
  is not executed without any warning even if it has correct execute
  rights (e.g. 755). The same will NOT happen if you place only symlink
  to the script in this directory with the same name.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/anacron/+bug/38022/+subscriptions




More information about the foundations-bugs mailing list