Bug#61663: linuxlogo policy violation?
> I have the packages base-files and linuxlogo installed.
> I had run the linuxlogoconf program, which diverts /etc/issue
> to /etc/issue.linuxlogo (using dpkg-divert) and replaces
> /etc/issue with its own stuff.
/etc/issue is a conffile of base-files. If I understand policy
correctly then linuxlogo should not touch it.
> I then upgraded base-files, which changed the /etc/issue file.
It changed /etc/issue even though it was diverted?!
> This was unpacked into /etc/issue.linuxlogo.dpkg-new.
> I presumed that it made sense not to ask about replacing
> /etc/issue.linuxlogo with the new version. Until I imagined
> what would happen when I rebooted the system: linuxlogo would
> look at /etc/issue.linuxlogo, not at the new version.
Bizarre. Why would linuxlogo look at /etc/issue.linuxlogo
and not /etc/issue?
> And to confirm my fears, I then purged linuxlogo to discover
> that I was left with /etc/issue (after the dpkg-divert was
> undone) and /etc/issue.linuxlogo.dpkg-new, which was the new
> base-files version. Oops.
That part sounds normal, doesn't it?
> It would seem that the easiest way around this problem is
> to ask about replacing diverted conffiles as well as normal
> conffiles, maybe stating that the file has been diverted.
Sounds reasonable.
--
Thomas Hood
Reply to: