Commit 42cd4e3d authored by nbd's avatar nbd
Browse files

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. :-(

Currently /etc/shadow is defined as a conffile in base-files:

But it is not defined in the default list of essential files to keep in

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: default avatarHannu Nyman <>

Backport of r43061

git-svn-id: svn:// 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent f34834fe
......@@ -4,6 +4,7 @@
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment