Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421821 - app-text/libpaper-1.1.24-r1 bad postinst message
Summary: app-text/libpaper-1.1.24-r1 bad postinst message
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Printing Team
Depends on:
Reported: 2012-06-18 18:31 UTC by Dan Johnson
Modified: 2013-03-24 22:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Dan Johnson 2012-06-18 18:31:18 UTC
The current postinit message:
elog "run \"paperconf -p letter\" as root to use letter-pagesizes"
elog "or paperconf with normal user privileges."

Is inaccurate.

The paperconf manpage describes -p as: "Specify the name of the paper about which informations are asked." It does not make any configuration changes of any kind.

The original postinit message recommended the use of "paperconfig -p letter", which does work to change the configuration, but somewhere along the line that got changed.

Additionally, the paperconf manpage does not suggest a way to allow a user to change their per-user default papersize. If it can do this, I recommend changing the elog message to describe how, otherwise, explain how to set the PAPERSIZE environment variable per-user.

See also Bug #186179 for a previous change to the message.
Comment 1 Dan Johnson 2013-02-14 02:27:35 UTC
Since there has been no progress on this bug, I would like to propose a simple elog message update:

elog "Set /etc/papersize to \"letter\" to use letter-pagesizes"

This is simple and more correct than the existing message. It is true that the user can set his/her preferred size with the PAPERSIZE environment variable, but this probably is not worth mentioning in the elog message.

It may be worth considering dropping this elog message entirely, and simply including these directions in some guide to printing on gentoo, as it might not be appropriate to emit this kind of configuration info every time this package is installed. But fixing the elog message to be correct is a more conservative approach, and is better than nothing.
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2013-03-24 22:24:13 UTC
Indeed the message was incorrect. "paperconfig" now.