Modify

Opened 7 years ago

Last modified 4 years ago

#9162 new defect

Sysupgrade fails to restore config when file is named sysupgrade.tgz

Reported by: anonymous Owned by: developers
Priority: high Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: sysupgrade Cc:

Description

When sysupgrade is called with -f it will blindly cat the file over /tmp/sysupgrade.tgz without checking if the file already exists or if this is infact the file provided with -f parameter.
Sysupgrade should warn if /tmp/sysupgrade.tgz already exists and abort the flash. Cat-ing the file over itself will produce empty file and configuration will not be preserved.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.