Debian Bug report logs - #911184
wicd-daemon: Please make log file ___location configurable

version graph

Package: wicd-daemon; Maintainer for wicd-daemon is Debian WICD Packaging Team <[email protected]>; Source for wicd-daemon is src:wicd (PTS, buildd, popcon).

Reported by: Dmitry Bogatov <[email protected]>

Date: Tue, 16 Oct 2018 21:57:02 UTC

Severity: wishlist

Tags: upstream

Found in version wicd/1.7.4+tb2-6

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian WICD Packaging Team <[email protected]>:
Bug#911184; Package wicd-daemon. (Tue, 16 Oct 2018 21:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Dmitry Bogatov <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian WICD Packaging Team <[email protected]>. (Tue, 16 Oct 2018 21:57:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Dmitry Bogatov <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: wicd-daemon: Please make log file ___location configurable
Date: Tue, 16 Oct 2018 21:55:46 +0000
Package: wicd-daemon
Version: 1.7.4+tb2-6
Severity: wishlist

Dear Maintainer,

please make log file ___location configurable at run time. I am working on
integrating wicd-daemon with Runit supervision system, which assumes
logging on stdout.

In most cases, daemons have option to specify log file ___location, and
providing /dev/stdout fulfils my needs. Wicd, on other hand have path
to log file hardcoded in setup.py. Please, add a bit of flexibility.



Information forwarded to [email protected], Debian WICD Packaging Team <[email protected]>:
Bug#911184; Package wicd-daemon. (Wed, 17 Oct 2018 00:33:05 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian WICD Packaging Team <[email protected]>. (Wed, 17 Oct 2018 00:33:05 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Axel Beckert <[email protected]>
To: Dmitry Bogatov <[email protected]>, [email protected]
Subject: Re: Bug#911184: wicd-daemon: Please make log file ___location configurable
Date: Wed, 17 Oct 2018 02:30:15 +0200
Control: tag -1 + moreinfo

Hi Dmitry,

Dmitry Bogatov wrote:
> I am working on integrating wicd-daemon with Runit supervision
> system, which assumes logging on stdout.

Cool!

> please make log file ___location configurable at run time.
> 
> In most cases, daemons have option to specify log file ___location, and
> providing /dev/stdout fulfils my needs. Wicd, on other hand have path
> to log file hardcoded in setup.py.

There is indeed a directory path (not file path!) in setup.py, but the
hardcoded file name is actually in wicd/wicd-daemon.py.

Then again, wicd/logfile.py seems to have already support for logging
to stdout or stderr.

And as I read the code from wicd/wicd-daemon.py lines 1803 to 1827 and
lines 1882 to 1905, starting the daemon with the option --no-stdout
(sic!) should do what you want. Alternatively try --no-stderr

Can you check if these options already help for your needs?

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Added tag(s) moreinfo. Request was from Axel Beckert <[email protected]> to [email protected]. (Wed, 17 Oct 2018 00:33:05 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian WICD Packaging Team <[email protected]>:
Bug#911184; Package wicd-daemon. (Wed, 17 Oct 2018 16:03:03 GMT) (full text, mbox, link).


Acknowledgement sent to Dmitry Bogatov <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian WICD Packaging Team <[email protected]>. (Wed, 17 Oct 2018 16:03:03 GMT) (full text, mbox, link).


Message #17 received at [email protected] (full text, mbox, reply):

From: Dmitry Bogatov <[email protected]>
To: Axel Beckert <[email protected]>
Cc: [email protected]
Subject: Re: Bug#911184: wicd-daemon: Please make log file ___location configurable
Date: Wed, 17 Oct 2018 16:00:39 +0000
[Message part 1 (text/plain, inline)]
[2018-10-17 02:30] Axel Beckert <[email protected]>
> Hi Dmitry,

Hi, Axel

> > please make log file ___location configurable at run time.
> > 
> > In most cases, daemons have option to specify log file ___location, and
> > providing /dev/stdout fulfils my needs. Wicd, on other hand have path
> > to log file hardcoded in setup.py.
> 
> There is indeed a directory path (not file path!) in setup.py, but the
> hardcoded file name is actually in wicd/wicd-daemon.py.
> 
> Then again, wicd/logfile.py seems to have already support for logging
> to stdout or stderr.
> 
> And as I read the code from wicd/wicd-daemon.py lines 1803 to 1827 and
> lines 1882 to 1905, starting the daemon with the option --no-stdout
> (sic!) should do what you want. Alternatively try --no-stderr
> 
> Can you check if these options already help for your needs?

Not exactly. There are two kind of data, that is stored in
/var/log/wicd/wicd.log:

 * stdout/stderr from subprocessed, that wicd executes
 * messages from wicd proper like 'Autoconnecting...'

If I specify --no-{stdout,stderr}, first group of messages will indeed
go to standard streams of wicd, but messages from wicd proper will go
to /var/log/wicd/wicd.log nevertheless.
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to [email protected], Debian WICD Packaging Team <[email protected]>:
Bug#911184; Package wicd-daemon. (Wed, 17 Oct 2018 18:45:05 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian WICD Packaging Team <[email protected]>. (Wed, 17 Oct 2018 18:45:05 GMT) (full text, mbox, link).


Message #22 received at [email protected] (full text, mbox, reply):

From: Axel Beckert <[email protected]>
To: Dmitry Bogatov <[email protected]>
Cc: [email protected]
Subject: Re: Bug#911184: wicd-daemon: Please make log file ___location configurable
Date: Wed, 17 Oct 2018 20:40:45 +0200
Control: tag -1 - moreinfo + upstream

Hi Dmitry,

Dmitry Bogatov wrote:
> > Can you check if these options already help for your needs?
> 
> Not exactly. There are two kind of data, that is stored in
> /var/log/wicd/wicd.log:
> 
>  * stdout/stderr from subprocessed, that wicd executes
>  * messages from wicd proper like 'Autoconnecting...'
> 
> If I specify --no-{stdout,stderr}, first group of messages will indeed
> go to standard streams of wicd, but messages from wicd proper will go
> to /var/log/wicd/wicd.log nevertheless.

Ah, I see. Thanks for the explanation!

Will see what I can do.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <[email protected]>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Removed tag(s) moreinfo. Request was from Axel Beckert <[email protected]> to [email protected]. (Wed, 17 Oct 2018 18:45:05 GMT) (full text, mbox, link).


Added tag(s) upstream. Request was from Axel Beckert <[email protected]> to [email protected]. (Wed, 17 Oct 2018 18:45:06 GMT) (full text, mbox, link).


Information forwarded to [email protected], Debian WICD Packaging Team <[email protected]>:
Bug#911184; Package wicd-daemon. (Mon, 05 Nov 2018 11:24:03 GMT) (full text, mbox, link).


Acknowledgement sent to Giap Tran <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian WICD Packaging Team <[email protected]>. (Mon, 05 Nov 2018 11:24:03 GMT) (full text, mbox, link).


Message #31 received at [email protected] (full text, mbox, reply):

From: Giap Tran <[email protected]>
To: Dmitry Bogatov <[email protected]>, [email protected]
Cc: [email protected]
Subject: Re: Bug#911184: wicd-daemon: Please make log file ___location configurable
Date: Mon, 5 Nov 2018 18:21:10 +0700
Hi Dmitry,

The first, sorry for delay processing,

On 18/10/17 16:00:39, Dmitry Bogatov wrote:
>  * messages from wicd proper like 'Autoconnecting...'
> 
> If I specify --no-{stdout,stderr}, first group of messages will indeed
> go to standard streams of wicd, but messages from wicd proper will go
> to /var/log/wicd/wicd.log nevertheless.

I've already tested wicd by run the command (on stable and testing version):

/usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py \
 --keep-connection --no-stderr --no-stdout --no-daemon

But I did not see any logs goto log file, all of them go to {stdout,stderr}.
The string 'Autoconnecting...' (unique) is really on {stdout,stderr}.

Could you have a look? And please tell me know if I forgot anything.

Best regards,

-- 
Giap Tran <[email protected]>
GnuPG/0xB8E9A6F112C2D7B7



Information forwarded to [email protected], Debian WICD Packaging Team <[email protected]>:
Bug#911184; Package wicd-daemon. (Tue, 06 Nov 2018 09:06:02 GMT) (full text, mbox, link).


Acknowledgement sent to Dmitry Bogatov <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian WICD Packaging Team <[email protected]>. (Tue, 06 Nov 2018 09:06:02 GMT) (full text, mbox, link).


Message #36 received at [email protected] (full text, mbox, reply):

From: Dmitry Bogatov <[email protected]>
To: Giap Tran <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: Bug#911184: wicd-daemon: Please make log file ___location configurable
Date: Tue, 06 Nov 2018 09:05:05 +0000
[2018-11-05 18:21] Giap Tran <[email protected]>
> On 18/10/17 16:00:39, Dmitry Bogatov wrote:
> >  * messages from wicd proper like 'Autoconnecting...'
> > 
> > If I specify --no-{stdout,stderr}, first group of messages will indeed
> > go to standard streams of wicd, but messages from wicd proper will go
> > to /var/log/wicd/wicd.log nevertheless.
> 
> I've already tested wicd by run the command (on stable and testing version):
> 
> /usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py \
>  --keep-connection --no-stderr --no-stdout --no-daemon

> But I did not see any logs goto log file, all of them go to
> {stdout,stderr}.  The string 'Autoconnecting...' (unique) is really on
> {stdout,stderr}.

Checked again. Seems I missed something before, it is okay now.
Sorry for noise, thank you for replies.



Reply sent to Debian FTP Masters <[email protected]>:
You have taken responsibility. (Sat, 22 Aug 2020 15:28:00 GMT) (full text, mbox, link).


Notification sent to Dmitry Bogatov <[email protected]>:
Bug acknowledged by developer. (Sat, 22 Aug 2020 15:28:00 GMT) (full text, mbox, link).


Message #41 received at [email protected] (full text, mbox, reply):

From: Debian FTP Masters <[email protected]>
To: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],
Cc: [email protected]
Subject: Bug#968033: Removed package(s) from unstable
Date: Sat, 22 Aug 2020 15:20:20 +0000
Version: 1.7.4+tb2-6+rm

Dear submitter,

as the package wicd has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/968033

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Sean Whitton (the ftpmaster behind the curtain)



Bug reopened Request was from Axel Beckert <[email protected]> to [email protected]. (Mon, 24 Aug 2020 16:51:17 GMT) (full text, mbox, link).


No longer marked as fixed in versions 1.7.4+tb2-6+rm. Request was from Axel Beckert <[email protected]> to [email protected]. (Mon, 24 Aug 2020 16:51:17 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:59:31 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.