Bug 455618 - fwbackups won't execute shutdown command
fwbackups won't execute shutdown command
Product: Fedora
Classification: Fedora
Component: fwbackups (Show other bugs)
i386 Linux
low Severity low
: ---
: ---
Assigned To: Stewart Adam
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-07-16 13:15 EDT by David Quinn
Modified: 2008-07-16 18:26 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-16 18:11:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Quinn 2008-07-16 13:15:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080623 Firefox/

Description of problem:
I'm really sorry for adding this as a bug cos' its sure as hell my own idiocy but I've been grappling with this for over a year on and off and I still can't get it resolved.

I'm simply want to shut down the machine after backup and have tried different commads from "shutdown -h now" to "sbin/shutdown -h now" (without inverted commas)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Run Backup set
2.Execute after command: /bin/sh: sbin/shutdown -h now

Actual Results:
Jul 11 21:19:38 :: INFO : Executing 'After' command
Jul 11 21:19:43 :: WARNING : Command returned with a non-zero exit status:
Jul 11 21:19:43 :: ERROR : Return value: 127
stderr: /bin/sh: sbin/shutdown: No such file or directory


Nov 30 20:40:36 :: WARNING : Command returned with a non-zero exit status:
Nov 30 20:40:36 :: ERROR : Return value: 127
stderr: /bin/sh: shutdown: command not found

Expected Results:
Machine shutdown

Additional info:
The command "sbin/shutdown -h now" will work when used as part of a cron job but my preference is for fwbackups to shutdown when its actually finished. Any suggestions really appreciated.

Thanks - David
Comment 1 John Poelstra 2008-07-16 18:11:36 EDT
Thank you for your bug report.

We are sorry, but the Fedora Project no longer
maintains this version of Fedora. Please upgrade to the latest version and
reopen this bug against that version if this bug exists there.

As a result we are setting this bug to CLOSED:WONTFIX
Comment 2 Stewart Adam 2008-07-16 18:26:17 EDT
The /bin/sh is usually only manually specified for shell scripts, and I think
you're missing a slash - Try using "/sbin/shutdown -h now" or "poweroff" as the

Note You need to log in before you can comment on or make changes to this bug.