Bug#551199: Unison 2.27.57 is not completely silent
Package: unison
Version: 2.27.57-1+b1
The version of unison packaged with Lenny is no longer completely silent when
the -silent option is used. The previous version (in Etch)
unison_2.13.16-5_amd64.deb works as expected.
When I run the unison command with the -silent option it now prints a message
to stderr which was suppressed with the previous version.
Connected [//web01// -> //web02//var/www]
I use unison from cron every 5 minutes and I need it to be completely silent
unless there is an error which I then need to see.
/usr/bin/unison /var/www socket://web01:7654 -owner -group -times -numericids
-batch -silent -ignore 'Path .unison'
(In case you're wondering - I am using xinetd and chroot on the remote side to
provide security which is why the remote path is not a full absolute path.)
# cat /etc/xinetd.d/unison-www
service unison-www
{
type = UNLISTED
protocol = tcp
socket_type = stream
port = 7654
log_type = SYSLOG daemon
server = /usr/sbin/chroot
server_args = /var/www /bin/unison -server
instances = 1
user = root
wait = no
env = HOME=/ UNISON=/.unison PATH=/bin
passenv =
only_from = 10.10.11.0/24
log_on_success = HOST PID DURATION
log_on_failure = HOST
}
Thanks,
i.
--
Ian Samuel B.Sc. CIS
Sr. Linux Systems Administrator
Let's Agree to Never Make Meatgrinders Sentient.
Reply to: