Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 455618 - fwbackups won't execute shutdown command
Summary: fwbackups won't execute shutdown command
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: fwbackups
Version: 6
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Stewart Adam
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-16 17:15 UTC by David Quinn
Modified: 2008-07-16 22:26 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-16 22:11:36 UTC


Attachments (Terms of Use)

Description David Quinn 2008-07-16 17:15:03 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.15) Gecko/20080623 Firefox/2.0.0.15

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):
1.43.1

How reproducible:
Always


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
stdout: 
stderr: /bin/sh: sbin/shutdown: No such file or directory

OR

Nov 30 20:40:36 :: WARNING : Command returned with a non-zero exit status:
Nov 30 20:40:36 :: ERROR : Return value: 127
stdout: 
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 22:11:36 UTC
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 22:26:17 UTC
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
commands.


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