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

Bug#272197: marked as done (di-utils: Should be able to run program and send output to syslog)

Your message dated Sun, 2 Oct 2005 11:09:21 +0100
with message-id <20051002100921.GA29759@riva.ucam.org>
and subject line fixed by log-output
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 18 Sep 2004 08:59:52 +0000
>From pere@gigs.hungry.com Sat Sep 18 01:59:52 2004
Return-path: <pere@gigs.hungry.com>
Received: from 217-13-7-10.dd.nextgentel.com (minerva.hungry.com) [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C8b4S-0007aZ-00; Sat, 18 Sep 2004 01:59:52 -0700
Received: from pere by minerva.hungry.com with local (Exim 3.35 #1 (Debian))
	id 1C8b3v-0002Rz-00; Sat, 18 Sep 2004 10:59:19 +0200
To: submit@bugs.debian.org
Subject: di-utils: Should be able to run program and send output to syslog
From: Petter Reinholdtsen <pere@hungry.com>
Message-Id: <E1C8b3v-0002Rz-00@minerva.hungry.com>
Sender: Petter Reinholdtsen <pere@gigs.hungry.com>
Date: Sat, 18 Sep 2004 10:59:19 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

Package: di-utils
Version: 1.06

In ddetect, I would like to run programs and send their output to
syslog.  At the moment the output is sent to /var/log/messages, but it
should be timestamped and sent to /var/log/syslog instead.

Waldi wrote a program 'exec' once to do this, but this program was
removed because 'exec' is a reserved word in the shell, and the
program was thus impossible to use.  This program should be restored
and renamed.

I tried to find it in the subversion repository, but was unable to
find it.  It was removed in the CVS repository, so I'm not sure if it
might have been dropped when CVS vas converted to subversion.

Received: (at 272197-done) by bugs.debian.org; 2 Oct 2005 10:09:26 +0000
>From cjwatson@flatline.org.uk Sun Oct 02 03:09:25 2005
Return-path: <cjwatson@flatline.org.uk>
Received: from mail.metronet.co.uk [] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EM0mb-0005gp-00; Sun, 02 Oct 2005 03:09:25 -0700
Received: from riva.pelham.vpn.ucam.org (83-216-156-196.colinw664.adsl.metronet.co.uk [])
	by smtp.metronet.co.uk (MetroNet Mail) with ESMTP id E1CAA4130D7
	for <272197-done@bugs.debian.org>; Sun,  2 Oct 2005 11:09:16 +0100 (BST)
Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian))
	for 272197-done@bugs.debian.org
	id 1EM0mX-0007wZ-00; Sun, 02 Oct 2005 11:09:21 +0100
Date: Sun, 2 Oct 2005 11:09:21 +0100
From: Colin Watson <cjwatson@debian.org>
To: 272197-done@bugs.debian.org
Subject: fixed by log-output
Message-ID: <20051002100921.GA29759@riva.ucam.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.5.9i
Delivered-To: 272197-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

Source: debian-installer-utils
Source-Version: 1.13

This bug was fixed by the addition of log-output (although there are
still a few issues with it which I'm in the process of fixing).

debian-installer-utils (1.13) unstable; urgency=low

  * Sending output to the syslog from shell has long been a bit nasty in
    d-i. We can pipe things to logger, but that loses the program's exit
    code. Add log-output to fix this; you give it a tag, a program name, and
    the program's arguments, it runs that program sending the output to
    syslog with the specified tag, and then exits with the same exit code as
    the subsidiary program.

  * Updated translations:
    - German (de.po) by Holger Wansing
    - Greek, Modern (1453-) (el.po) by Greek Translation Team
    - Kurdish (ku.po) by Erdal Ronahi
    - Lithuanian (lt.po) by KÄ?stutis BiliÅ«nas
    - Romanian (ro.po) by Eddy Petrisor
    - Ukrainian (uk.po) by Eugeniy Meshcheryakov

 -- Colin Watson <cjwatson@debian.org>  Mon, 19 Sep 2005 11:29:56 +0100


Colin Watson                                       [cjwatson@debian.org]

Reply to: