Re: [arch-general] update today causes avantfax_hourly cron: Exec format error?

2018-08-26 Thread Ralph Corderoy
Hi Eli, > I would think that emulating the well-known behavior of "for actual > shell scripts which do not have shebangs, try using /bin/sh if no > interpreter is detected" would be a reasonable thing to do. It would be nice if that died out, just as the `first char is ':' v. '#'' test in the

Re: [arch-general] update today causes avantfax_hourly cron: Exec format error?

2018-08-26 Thread Eli Schwartz via arch-general
On 8/26/18 9:48 AM, SET wrote: > Le dimanche 26 août 2018 15:11:36 CEST Eli Schwartz via arch-general a écrit : >> some wonderful shebang > > Ha ! My wonderful shebang was "#/bin/sh" instead of "#!/bin/sh". > > After correcting the typo, run-parts does not complain. Yes, that helps if the

Re: [arch-general] update today causes avantfax_hourly cron: Exec format error?

2018-08-26 Thread SET
Le dimanche 26 août 2018 15:11:36 CEST Eli Schwartz via arch-general a écrit : > some wonderful shebang Ha ! My wonderful shebang was "#/bin/sh" instead of "#!/bin/sh". After correcting the typo, run-parts does not complain. Thanks.

Re: [arch-general] update today causes avantfax_hourly cron: Exec format error?

2018-08-26 Thread Eli Schwartz via arch-general
On 8/26/18 5:49 AM, David C. Rankin wrote: > On 08/26/2018 03:37 AM, Ralph Corderoy wrote: Testing manually works fine: # ./phb.php >> It's not getting that far. > > I bet you would as root. The file is actually http:http owned, e.g. > > -rwxr-xr-x 1 http http 988 Sep 14 2016

Re: [arch-general] update today causes avantfax_hourly cron: Exec format error?

2018-08-26 Thread David C. Rankin
On 08/26/2018 03:37 AM, Ralph Corderoy wrote: >>> Testing manually works fine: >>> >>> # ./phb.php > It's not getting that far. I bet you would as root. The file is actually http:http owned, e.g. -rwxr-xr-x 1 http http 988 Sep 14 2016 /srv/http/avantfax/includes/phb.php So running as root

Re: [arch-general] update today causes avantfax_hourly cron: Exec format error?

2018-08-26 Thread Ralph Corderoy
Hi David, > > Cron run-parts /etc/cron.hourly > > > > run-parts: failed to exec /etc/cron.hourly/avantfax_hourly: Exec format > > error > > run-parts: /etc/cron.hourly/avantfax_hourly exited with return code 1 > > > > The cron job is: > > > > /etc/cron.hourly/avantfax_hourly > > > > #

Re: [arch-general] update today causes avantfax_hourly cron: Exec format error?

2018-08-26 Thread SET
Le dimanche 26 août 2018 08:13:35 CEST David C. Rankin a écrit : > Cron run-parts /etc/cron.hourly > > run-parts: failed to exec /etc/cron.hourly/avantfax_hourly: Exec format > error run-parts: /etc/cron.hourly/avantfax_hourly exited with return code 1 > I had a similar error on August 17 on

[arch-general] update today causes avantfax_hourly cron: Exec format error?

2018-08-26 Thread David C. Rankin
All, After the linux-firmware update I have started receiving strange cron messages: Cron run-parts /etc/cron.hourly run-parts: failed to exec /etc/cron.hourly/avantfax_hourly: Exec format error run-parts: /etc/cron.hourly/avantfax_hourly exited with return code 1 The cron job is: