>Quoting Boris Barbour (boris.barb...@ens.fr): > >> On migrating my long-running system to a new disk (by cp), I discovered that >> /etc/uswsusp.conf >> and /etc/initramfs-tools/conf.d/resume then contained stale information >> regarding the partition >> to resume from. apt-file reports no package as responsible for these files; >> they appear to have >> been written out by the installer. It might be useful to provide a small >> script to update these >> files ("update-resume-info"?). Changes in the way devices are represented or >> the configuration >> of other disks in the computer may also be a scenarios where such an updater >> would prove useful. > >I doubt this should be in the scope of the installer. As you >mentioned, the job was done properly during the initial install. I >doubt, by the way, that this initial setting of the resume partition >was done by D-I itself. It happened during the installation of the >uswsusp package. > >What you want is probably something that belongs to that one >package. It's indeed probably enough to just "dpkg-reconfigure >uswsusp". >
Hi Boris, Christian, The files /etc/uswsusp.conf and /etc/initramfs-tools/conf.d/resume are conffiles, but these files are different in every host, so we shouldn't include them as "conffiles". See [1] and [2]. For this reason you cannot find them using 'apt-file' or 'dpkg -S'. IMO, the current configuration (no automatic conffile) is right. When you move your filesystems, some things could change. For example, the /etc/fstab could be different. If you change the machine, the hardware could be different and some drivers (pe. video) should be changed. In those cases, you edit the fstab file and update your X11 package. Why should be different with uswsusp? uswsusp doesn't have any bug, simply your filesystems are different and you should reconfigure it. 'dpkg-reconfigure uswsusp' do it. IMO, nothing is wrong, your script "update-resume-info" is "dpkg-reconfigure uswsusp" and probably this bug should be closed. Please, tell us if you agree with closing this bug. Best regards, kix. [1] http://www.debian.org/doc/debian-policy/ap-pkg-conffiles.html [2] http://www.debian.org/doc/manuals/maint-guide/dother.en.html#conffiles -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org