Bug 498061

Summary: Can't activate gallery2-httpauth
Product: [Fedora] Fedora Reporter: Vadym Chepkov <vchepkov>
Component: gallery2Assignee: Gwyn Ciesla <gwync>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 10CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.3-12.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-06-16 02:44:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vadym Chepkov 2009-04-28 17:27:31 UTC
gallery2-httpauth-2.3-7.fc10  was installed as a dependency for gallery2-2.3-7.fc10. When I try to activate it via "Site Admin" AI get the following error:

Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : /usr/share/gallery2/modules/rewrite/module.inc

    * in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 94 (GalleryCoreApi::error)
    * in modules/core/classes/helpers/GalleryPluginHelper_simple.class at line 88 (GalleryPluginHelper_simple::loadPlugin)
    * in modules/core/classes/GalleryCoreApi.class at line 273 (GalleryPluginHelper_simple::loadPlugin)
    * in modules/httpauth/module.inc at line 55 (GalleryCoreApi::loadPlugin)
    * in modules/core/PluginCallback.inc at line 247 (HttpAuthModule::activate)
    * in modules/core/PluginCallback.inc at line 67 (PluginCallbackView::handleCallback)
    * in main.php at line 450 (PluginCallbackView::renderImmediate)
    * in main.php at line 104
    * in main.php at line 88
    * in main.php at line 3

Comment 1 Gwyn Ciesla 2009-04-28 18:10:16 UTC
Looks like it's missing a Java component removed in this BZ:

https://bugzilla.redhat.com/show_bug.cgi?id=484566

I was told a few modules would be broken by this, and removed them, but httpauth wasn't mentioned.

I'll check it out.

Comment 2 Gwyn Ciesla 2009-05-01 12:04:04 UTC
My discussions with upstream and my tests indicate that this should work.  Did you do anything other that install or upgrade to this rpm?

Comment 3 Vadym Chepkov 2009-05-01 12:25:05 UTC
I never installed it specifically, it was installed as a dependency for the main gallery2 package.

$ rpm -qa|grep gallery2
gallery2-publishxp-2.3-7.fc10.noarch
gallery2-gd-2.3-7.fc10.noarch
gallery2-slideshow-2.3-7.fc10.noarch
gallery2-albumselect-2.3-7.fc10.noarch
gallery2-comment-2.3-7.fc10.noarch
gallery2-httpauth-2.3-7.fc10.noarch
gallery2-matrix-2.3-7.fc10.noarch
gallery2-itemadd-2.3-7.fc10.noarch
gallery2-hidden-2.3-7.fc10.noarch
gallery2-imagemagick-2.3-7.fc10.noarch
gallery2-2.3-7.fc10.noarch
gallery2-hybrid-2.3-7.fc10.noarch
gallery2-classic-2.3-7.fc10.noarch
gallery2-migrate-2.3-7.fc10.noarch
gallery2-netpbm-2.3-7.fc10.noarch
gallery2-floatrix-2.3-7.fc10.noarch
gallery2-tile-2.3-7.fc10.noarch
gallery2-rearrange-2.3-7.fc10.noarch

$ ls -l /var/www/gallery
-rw-r--r--  1 apache apache   99 2006-11-09 15:11 main.php
-rw-r--r--  1 apache apache  100 2006-11-09 15:11 index.php
-rw-r--r--  1 apache apache  100 2006-11-09 15:11 embed.php
drwxr-xr-x  2 apache apache 4096 2007-09-04 21:23 upgrade
drwx------ 10 apache apache 4096 2008-12-16 09:09 g2data
-rw-------  1 apache apache 8065 2008-12-16 09:49 config.php
drwxrwxr-x  4 root   apache 4096 2008-12-16 09:49 .

Comment 4 Gwyn Ciesla 2009-05-01 12:41:56 UTC
Same here.  Can you provide the output of ls -l usr/share/gallery2/modules/rewrite/ ?

Comment 5 Vadym Chepkov 2009-05-01 13:16:37 UTC
No such thing:

$ ls -1 /usr/share/gallery2/modules/
albumselect
comment
core
gd
hidden
httpauth
imagemagick
itemadd
migrate
netpbm
publishxp
rearrange
slideshow

Comment 6 Gwyn Ciesla 2009-05-01 13:29:16 UTC
Odd. If you install gallery2-rewrite, does activating httpauth work?

Comment 7 Vadym Chepkov 2009-05-01 13:44:47 UTC
Yes, even if I didn't activate rewrite module httpauth activation did work. I guess another dependency needs to be added.

Comment 8 Gwyn Ciesla 2009-05-01 13:58:02 UTC
I concur, I'll include this in fixes for other issues which should be forthcoming very soon.

Comment 9 Fedora Update System 2009-05-11 14:44:58 UTC
gallery2-2.3-9.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/gallery2-2.3-9.fc10

Comment 10 Fedora Update System 2009-05-12 03:55:24 UTC
gallery2-2.3-9.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gallery2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-4695

Comment 11 Fedora Update System 2009-05-18 14:24:25 UTC
gallery2-2.3-10.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/gallery2-2.3-10.fc10

Comment 12 Fedora Update System 2009-05-19 02:13:00 UTC
gallery2-2.3-10.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gallery2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-5146

Comment 13 Fedora Update System 2009-05-21 16:06:04 UTC
gallery2-2.3-11.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/gallery2-2.3-11.fc10

Comment 14 Fedora Update System 2009-05-25 21:08:40 UTC
gallery2-2.3-11.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gallery2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-5433

Comment 15 Fedora Update System 2009-05-27 16:36:57 UTC
gallery2-2.3-12.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/gallery2-2.3-12.fc10

Comment 16 Fedora Update System 2009-05-28 07:59:41 UTC
gallery2-2.3-12.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gallery2'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-5545

Comment 17 Fedora Update System 2009-06-16 02:44:10 UTC
gallery2-2.3-12.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.