Use debconf instead of mail to inform user in postinst

Bug #880223 reported by Daniel Richard G.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
chrony (Debian)
Fix Released
Unknown
chrony (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

[Mirror of Debian bug report]

When I install chrony (1.24 in Oneiric), I get the following message in my inbox:

----
The password for chronyc is in /etc/chrony/chrony.keys.

Chrony has been configured to assume that your real-time clock is on UTC
time. If this is not correct edit /etc/chrony/chrony.conf. The comments
explain what to do.

In the chrony.conf included in this package:

Chrony has been configured on the assumption that you are using either a
dialup connection or a PPPoE DSL connection. It will be brought online
when PPP comes up and offline when it goes down. Code in
/etc/init.d/chrony attempts to determine whether the network is up or
down at boot time and sets chronyd on or off line accordingly. If this
is not correct you should edit /etc/chrony/chrony.conf. The comments
explain what to do. For more information on configuring Chrony use the
command 'info chrony'.

You can also change the default time servers in
/etc/chrony/chrony.conf.

Updating of the real-time clock has been disabled because some systems
that use either the genrtc driver or have HPET hardware clocks have
problems. To enable real-time clock updating edit
/etc/chrony/chrony.conf. The comments explain what to do.
----

Please use debconf to get this message to the user, not mail(1). A mail
message is not appropriate for something as rote as a package
installation, debconf is already the de facto approach to relaying
messages like this, and the current approach does nothing if an MTA
isn't installed.

Changed in chrony (Debian):
status: Unknown → New
Changed in chrony (Debian):
status: New → Fix Released
Changed in chrony (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.