Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8797 closed defect (fixed)

Incorrect revision (r23885) in /etc/banner

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

Description

I run the latest dir-825-b1 trunk snapshot, from 2011-02-03. http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-dir-825-b1-squashfs-sysupgrade.bin

/etc/banner shows the version as r23885, a several months old
revision. The running kernel is 2.6.32.27, so the revision is at
least r24490.

root@OpenWrt:~# grep KAMIKAZE /etc/banner 
 KAMIKAZE (bleeding edge, r23885) ------------------
root@OpenWrt:~# uname -r
2.6.32.27

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by Nilfred <nilfred@…>

worksforme

Download http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/base-files_65-r25302_ar71xx.ipk

rename to .tar.gz

base-files_65-r25302_ar71xx.tar.gz/./data.tar.gz/./etc/banner

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r25302) ------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------

Try "sysupgrade -n" you may keep config and banner between upgrades.

comment:2 follow-up: Changed 7 years ago by hnyman

Your old version (r23885) was buggy. It kept the old /etc/banner during sysupgrade.

Kamikaze trunk was patched at r24742 to exclude that file,
and Backfire was pathced at r25066 (ticket #8700) to do the same.

In your next upgrade, the /etc/banner will now properly get upgraded.

comment:3 in reply to: ↑ 2 Changed 7 years ago by anonymous

Replying to hnyman:

Your old version (r23885) was buggy. It kept the old /etc/banner during sysupgrade.

Kamikaze trunk was patched at r24742 to exclude that file,
and Backfire was pathced at r25066 (ticket #8700) to do the same.

Thanks.

In your next upgrade, the /etc/banner will now properly get upgraded.

Strangely enough it was not that easy.

I still had the running image file saved on my PC, so I could extract that and check the verison in the extracted /etc/banner. It was r25302. I then confirmed on the running router that I didn't have /etc/banner listed in lib/upgrade/keep.d/base-files-essential.

I then downloaded the latest snapshot, extracted the image to check version in /etc/banner - r25398. I installed that on the router using sysupgrade, but after reboot the router surprisingly enough still had the old r23885 banner!

I then ran sysupgrade to reflash the same r25398 image one more time. This seem to have finally gotten rid of the old banner, I now have the correct one.

comment:4 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 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 closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.