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

su message



Howdy,

I've been investigating why the su in man-db installation logs a
message to the console.  It cannot log the message to /dev/log,
since it is executing in a chroot.  It falls back to logging the
message to the console.

The best solution I've though of is to make /dev/log available in
the chroot.  However, this does not seem to work.  I modified
debootstrap to copy the socket to /dev/log, but the message was
still logged to the console.  I added the following command to the
setup_devices function in debootstrap:

cp -pR /dev/log $TARGET/dev/log

Does anyone know a workable solution?  Otherwise, we'll have to
disallow the use of su in the maintainer scripts for base and
required packages (or live with the ugliness).

Matt



Reply to: