Your message dated Sat, 23 Oct 2021 23:12:15 -0300
with message-id 
<CAP+dXJcfFV=0aznzlsrzlcccugx-pxa2whk8vzsheorv-7a...@mail.gmail.com>
and subject line Re: mrtg: install didn't create /var/www/mrtg nor 
/etc/cron.d/mrtg
has caused the Debian Bug report #783550,
regarding mrtg: install didn't create /var/www/mrtg nor /etc/cron.d/mrtg
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
783550: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783550
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mrtg
Version: 2.17.4-2
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
apt-get install mrtg

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?

1 No /var/www/mrtg directory was created
2 No mrtg.cfg file was created ANYWHERE
3 No cronjob was added, i.e. no /etc/cron.d/mrtg file

   * What outcome did you expect instead?

All of the above should have been created.
A directory /usr/share/mrtg was created which contains png files.       
So maybe instead of (1), a file should have been added to 
apache conf.d directory?

I had previously installed the mrtg before on the same server before,
 and  then uninstalled it. I'm almost sure the first time it did
work as expected (which is why I expected it, besides because all
the tutorials out there tell you that is what's going to happe)
Did I dream it? Am I confusing with cacti installation?

Anyway, what's sure is that apt-get mrtg does not result in a working 
installation
nor does it give you hints of the missing steps.



*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.6
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mrtg depends on:
ii  debconf [debconf-2.0]  1.5.49
ii  libc6                  2.13-38+deb7u6
ii  libgd2-xpm             2.0.36~rc1~dfsg-6.1
ii  libpng12-0             1.2.49-1
ii  libsnmp-session-perl   1.13-1.1~deb7u1
ii  perl                   5.14.2-21+deb7u2
ii  perl-modules           5.14.2-21+deb7u2
ii  zlib1g                 1:1.2.7.dfsg-13

mrtg recommends no packages.

Versions of packages mrtg suggests:
ii  apache2-mpm-prefork [httpd]  2.2.22-13+deb7u3
pn  mrtg-contrib                 <none>
ii  w3m [www-browser]            0.5.3-8

-- Configuration Files:
/etc/cron.d/mrtg [Errno 2] No such file or directory: u'/etc/cron.d/mrtg'
/etc/mrtg.cfg changed [not included]

-- debconf information:
* mrtg/conf_mods: true

--- End Message ---
--- Begin Message ---
About the item 2:

>> 2 No mrtg.cfg file was created ANYWHERE
>
> Fixed in a previous release.

I got a lintian "error" after my actions:

E: mrtg: dir-or-file-in-var-www var/www/html/mrtg/

"Debian packages should not install files under /var/www. This is not
one of the /var directories in the File Hierarchy Standard and is
under the control of the local administrator. Packages should not
assume that it is the document root for a web server; it is very
common for users to change the default document root and packages
should not assume that users will keep any particular setting."

I am closing this bug. Thanks.

Eriberto

Em sáb., 23 de out. de 2021 às 22:03, Eriberto Mota
<[email protected]> escreveu:
>
> Control: tags 783550 pending
>
>
> Hi everyone,
>
> About this bug:
>
> > 1 No /var/www/mrtg directory was created
>
> Fixed. I will send a new revision to Debian soon.
>
> > 2 No mrtg.cfg file was created ANYWHERE
>
> Fixed in a previous release.
>
> > 3 No cronjob was added, i.e. no /etc/cron.d/mrtg file
>
> Fixed in a previous release. However, in the next release the cronjob
> will be dropped in favor of init.d and systemd scripts.
>
> Thanks for your report.
>
> Regards,
>
> Eriberto

--- End Message ---

Reply via email to