I completely agree with @dregad that it would help a lot if there is any information about skipping a script because of a dot. I lost plenty of time troubleshooting smartmontools exec command because of that. IMO statement "If neither the --lsbsysinit option nor the --regex option is given then the names must consist entirely of upper and lower case letters, digits, underscores, and hyphens." isn't enough, on man page. I read it twice and it didn't bring my attention and help me understand where my issue is. It should be explicitly written that scripts with dots are skipped.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to debianutils 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp