Bug 38797 - Missing dependency on "www-browser"
Missing dependency on "www-browser"
Status: RESOLVED DUPLICATE of bug 41781
Product: UCS
Classification: Unclassified
Component: Apache
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.0-x
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-30 13:03 CEST by Philipp Hahn
Modified: 2018-08-06 18:53 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018080621000152
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2015-06-30 13:03:09 CEST
Jenkins regression: <http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-2/job/Autotest%20MultiEnv/SambaVersion=s3,Systemrolle=master/lastCompletedBuild/testReport/01_base/99check_log_files/test/>

> [2015-06-29 18:17:38.996722]Errors found in '/var/log/univention/updater.log':
> [2015-06-29 18:17:38.996801] E: updater.log:1726, 'www-browser -dump http://localhost:80/server-status' failed.
> [2015-06-29 18:17:38.996846] E: updater.log:2126, 'www-browser -dump http://localhost:80/server-status' failed.

> # grep -B5 -A1 www-browser /var/log/univention/updater.log
> Unpacking replacement univention-system-setup-boot ...
> Setting apache2/startsite
> File: /etc/apache2/sites-available/default
> Unsetting system/setup/prev/apache2/startsite
> Reloading web server config: apache2.
> /usr/sbin/apache2ctl: 99: /usr/sbin/apache2ctl: www-browser: not found
'www-browser -dump http://localhost:80/server-status' failed.
> Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars


This is caused by "/usr/sbin/apachectl" from "apache2.2-common" using "www-browser":
 71 LYNX="${APACHE_LYNX:-www-browser -dump}"
The package declares a "suggests" on the virtual package "www-browser".

Strangely previous "reloads" worked.
Maybe this is related to the fact that this is the first time apache is running:

>$ egrep -n 'Reloading web server config|www-browser|elinks|w3m|lynx|firefox' /tmp/updater.log 
>56:Reloading web server config: apache2 not running.
>345:  firefox-en libcairo2 libfreetype6 libx11-6 libx11-data libx11-xcb1 libxext6
>365:Inst firefox-en [1:31.5.0esr-3.51.201503041210] (1:31.6.0esr-3.54.201504131853 Univention:testing.software-univention.de [amd64])
>389:Conf firefox-en (1:31.6.0esr-3.54.201504131853 Univention:testing.software-univention.de [amd64])
444:  firefox-en libcairo2 libfreetype6 libx11-6 libx11-data libx11-xcb1 libxext6
>466:Get:13 http://testing.software-univention.de/4.0/maintained/ 4.0-2/amd64/ firefox-en 1:31.6.0esr-3.54.201504131853 [40.8 MB]
>505:Preparing to replace firefox-en 1:31.5.0esr-3.51.201503041210 (using .../firefox-en_1%3a31.6.0esr-3.54.201504131853_amd64.deb) ...
>506:Unpacking replacement firefox-en ...
>530:Reloading web server config: apache2 not running.
>567:Setting up firefox-en (1:31.6.0esr-3.54.201504131853) ...
>878:Get:1 Downloading firefox-de 1:31.6.0esr-3.58.201504131849 [40.5 MB]
>880:Get:1 Downloading firefox-en 1:31.6.0esr-3.54.201504131853 [40.8 MB]
>1049:Reloading web server config: apache2 not running.
>1355:Reloading web server config: apache2 not running.
>1707:Reloading web server config: apache2.
>1708:/usr/sbin/apache2ctl: 99: /usr/sbin/apache2ctl: www-browser: not found
>1709:'www-browser -dump http://localhost:80/server-status' failed.
>1710:Maybe you need to install a package providing www-browser or you
>2107:Reloading web server config: apache2.
>2108:/usr/sbin/apache2ctl: 99: /usr/sbin/apache2ctl: www-browser: not found
>2109:'www-browser -dump http://localhost:80/server-status' failed.
>2110:Maybe you need to install a package providing www-browser or you
Comment 1 Philipp Hahn univentionstaff 2015-06-30 13:26:32 CEST
Until resolved - revert as needed:
r61572 | Bug #38797 test: 01/99_check_log_files: Ignore apachectrl reload
r61574 | Bug #38797 test: Fix ucslint issues

Package: ucs-test
Version: 5.0.148-30.1071.201506301315
Branch: ucs_4.0-0
Scope: errata4.0-2
Comment 2 Florian Best univentionstaff 2016-09-13 14:28:27 CEST
It seems Bug #41781 needs to fix this.

*** This bug has been marked as a duplicate of bug 41781 ***
Comment 3 Stephan Hendl 2018-08-06 08:17:04 CEST
Also seen in Univention maintained Apps "Etherpad" and "Dudle" during logrotate:

/etc/cron.daily/logrotate:
/usr/sbin/apache2ctl: 99: /usr/sbin/apache2ctl: www-browser: not found
'www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars

Host: UCS-4.3-1
Etherpad: 1.6.0
Dudle: 1.2.0-1