[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]


How would having packages send their install messages to
/var/log/dpkg.log sound? It's pretty easy for a maintainer to just add
'>> /var/log/dpkg.log' to the end of their output lines in postinst
etc. Plus it let's the admin go back and see anything that may be
important that usually just flies by the screen during huge upgrades
and installs. Something like this:

# postinst for foo

echo foo: `date` >> /var/log/dpkg.log
echo foo: Edit default settings in /etc/foo.conf >> /var/log/dpkg.log

# end postinst for foo

This also wouldn't require dpkg to be modified, just a policy change.

-----    -- - -------- --------- ----  -------  -----  - - ---   --------
Ben Collins <b.m.collins@larc.nasa.gov>                  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc.                 bcollins@debian.org
------ -- ----- - - -------   ------- -- The Choice of the GNU Generation

Reply to: