openwrtv4/package
Felix Fietkau 7a5002ec9d base-files: add /etc/shadow to list of essential files to keep in sysupgrade (bug 18206)
Based on bug #18206 sysupgrade can lead to loss of password information in
certain situations. Most likely all users who will upgrade from versions
r43017-43040, will lose their current passwords. :-(
https://dev.openwrt.org/ticket/18206

Currently /etc/shadow is defined as a conffile in base-files:
https://dev.openwrt.org/browser/trunk/package/base-files/Makefile#L37

But it is not defined in the default list of essential files to keep in
sysupgrade:
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/keep.d/base-files-essential

If exporting conffiles info fails, /etc/shadow can get lost.

Shadow passwords are now the default, so saying that preserving /etc/passwd
is essential while /etc/shadow is not, makes no sense.

The attached patch adds /etc/shadow to the list of essential files.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 43061
2014-10-25 17:22:46 +00:00
..
base-files base-files: add /etc/shadow to list of essential files to keep in sysupgrade (bug 18206) 2014-10-25 17:22:46 +00:00
boot ar71xx: qihoo-c301: reset imageNtrynum after each successful boot. 2014-10-14 12:21:36 +00:00
devel gdb: fix build failure on arm 2014-10-24 11:19:29 +00:00
firmware kernel: add staging r8188eu module (3.13) 2014-04-30 21:53:29 +00:00
kernel ath9k: add a few calibration related fixes 2014-10-25 14:45:22 +00:00
libs openssl: fix target definition for x86_64 (#18182) 2014-10-24 13:23:39 +00:00
network hostapd: update to 2014-10-25 2014-10-25 16:48:45 +00:00
system rpcd: add 802.11ac for iwinfo 2014-10-20 13:55:11 +00:00
utils busybox: remove validation message from bootup 2014-10-02 19:47:33 +00:00
Makefile postinst trigger: the new postinst trigger broke IB 2014-09-16 11:56:19 +00:00