[bug-notifications] [alternatives 0004559]: --set does not work
Mantis Bug Tracker
noreply at opencsw.org
Sat Oct 2 18:25:43 CEST 2010
A NOTE has been added to this issue.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4559
======================================================================
Reported By: holzi
Assigned To: phil
======================================================================
Project: alternatives
Issue ID: 4559
Category: regular use
Reproducibility: always
Severity: major
Priority: normal
Status: closed
Resolution: not fixable
Fixed in Version:
======================================================================
Date Submitted: 2010-09-30 15:47 CEST
Last Modified: 2010-10-02 18:25 CEST
======================================================================
Summary: --set does not work
Description:
during testing the new apache2 package I wanted to change the alternative:
/opt/csw/sbin/alternatives --display httpd
Installed alternatives for httpd are:
/opt/csw/apache2/sbin/httpd httpd /opt/csw/apache2/sbin/httpd.prefork 100
/opt/csw/apache2/sbin/httpd httpd /opt/csw/apache2/sbin/httpd.worker 50
/opt/csw/sbin/alternatives --set httpd /opt/csw/apache2/sbin/httpd.worker
ln: cannot create /etc/opt/etc/alternatives/httpd: No such file or
directory
======================================================================
----------------------------------------------------------------------
(0008321) bwalton (developer) - 2010-10-02 18:25
https://www.opencsw.org/mantis/view.php?id=4559#c8321
----------------------------------------------------------------------
This bug is _most definitely NOT_ invalid. Notice that the path where
alternatives looks for info is /etc/opt/etc/alternatives instead of
/etc/opt/csw/altenatives.
When that path correction is made, the alternatives command _still_ fails
because nothing has created that directory.
Then, when the directory is created, the alternatives command fails
because something calls an internal function with the wrong number of
arguments.
This will be a showstopper for the pending apache2 refresh...
Thanks
-Ben
More information about the bug-notifications
mailing list