On Wed, 10 Oct 2012 13:41:15 +0200, Julien ÉLIE wrote:

> /etc/news/motd.nnrpd and /etc/news/motd.innd are two new conf files
> shipped with INN 2.5.3.
> /etc/news/motd.news is no longer used.
 
> During a fresh install, motd.nnrpd and motd.innd are the two files shipped
> in the inn2 tarball.
> During an update, motd.innd is not installed.  And motd.news (if present)
> is moved to motd.nnrpd.  So motd.nnrpd can be present or not.


I looked at what happens with different versions, and what the
package does:

squeeze:

root@jadzia:/# ls -la /etc/news/motd*
-rw-r--r-- 1 root root 239 Dec 30  2010 /etc/news/motd.news

wheezy (upgrade from squeeze):

root@jadzia:/# ls -la /etc/news/motd*                              
-rw-r--r-- 1 root root 239 Dec 30  2010 /etc/news/motd.nnrpd

wheezy (fresh install):       
                       
root@jadzia:/# ls -la /etc/news/motd*  
ls: cannot access /etc/news/motd*: No such file or directory


In the current version, motd.innd and motd.nnrpd are installed only
as examples. So both of them are missing in /etc/news for fresh
installs.

On upgrades, innupgrade is called from the postinst and renames
motd.news to motd.nnrpd, and motd.innd is not installed.


(No idea at the moment how to represent the move done via innupgrade
with dpkg-maintscript-helper.)


Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Flying Pickets: Take My Breath Away

Attachment: signature.asc
Description: Digital signature

Reply via email to