summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
Diffstat (limited to 'move')
-rw-r--r--move/data/etcfiles1
-rw-r--r--move/move.pm4
2 files changed, 3 insertions, 2 deletions
diff --git a/move/data/etcfiles b/move/data/etcfiles
index bb1223b4b..693d13a2d 100644
--- a/move/data/etcfiles
+++ b/move/data/etcfiles
@@ -14,6 +14,7 @@
# OVERWRITE files that will be overwritten
/etc/modules
+/etc/.pwd.lock
# DIR mandatory directories because files will be written in
/etc/profile.d
diff --git a/move/move.pm b/move/move.pm
index 4cad87821..2dc8779d6 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -53,7 +53,7 @@ sub init {
symlinkf "/proc/mounts", "/etc/mtab";
#- these files need be writable but we need a sensible first contents
- system("cp /image/etc/$_ /etc") foreach qw(passwd group sudoers fstab);
+ system("cp /image/etc/$_ /etc") foreach qw(passwd passwd- group sudoers fstab);
#- these files are typically opened in read-write mode, we need them copied
mkdir_p("/etc/$_"), system("cp -R /image/etc/$_/* /etc/$_")
@@ -67,7 +67,7 @@ sub init {
#- ro things
symlinkf_short("/image/etc/$_", "/etc/$_")
- foreach qw(alternatives shadow man.config services shells pam.d security inputrc ld.so.conf
+ foreach qw(alternatives man.config services shells pam.d security inputrc ld.so.conf
DIR_COLORS bashrc profile rc.d init.d devfsd.conf gtk-2.0 pango fonts modules.devfs
dynamic hotplug gnome-vfs-2.0 gnome-vfs-mime-magic gtk gconf menu menu-methods nsswitch.conf default login.defs
skel ld.so.cache openoffice xinetd.d xinetd.conf syslog.conf sysctl.conf sysconfig/networking/ifcfg-lo