Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2769 Problem with reassigning modules

1.330
closed
Jamie Cameron
5
2007-03-26
2007-03-13
baka
No

Can't reassigning module to defined category, it reassigning to "others" category.

Discussion

1 2 > >> (Page 1 of 2)
  • Jamie Cameron
    Jamie Cameron
    2007-03-14

    Logged In: YES
    user_id=129364
    Originator: NO

    Odd, this works for me. Is this a custom category, or one of the standard categories?

     
  • baka
    baka
    2007-03-14

    Logged In: YES
    user_id=1742417
    Originator: YES

    Problem with reassigning to custom category from standard or "others".
    Reassigning from standard caterogy to standard works.

     
  • Jamie Cameron
    Jamie Cameron
    2007-03-14

    Logged In: YES
    user_id=129364
    Originator: NO

    That works fine for me .. is this category defined on the 'Edit Categories' page?

     
  • baka
    baka
    2007-03-16

    Logged In: YES
    user_id=1742417
    Originator: YES

    Yes. This category defined on the 'Edit Categories' page. When reassigning some module to this custom category, it assinging to 'others' category.

     
  • Jamie Cameron
    Jamie Cameron
    2007-03-16

    Logged In: YES
    user_id=129364
    Originator: NO

    What are your custom category's short code and description?

     
  • baka
    baka
    2007-03-17

    Logged In: YES
    user_id=1742417
    Originator: YES

    Test with equal short code and description, and not equal.
    SC = 'test' D = 'test'
    SC = 'test1' D = 'test2'
    SC = 'newcaterogy' D = 'New Category'

    Result is same. When I'm trying reassign some module, for example from caterogy 'Cluster' or 'Others' to new custom category, module assigned for 'Others' category.

     
  • Jamie Cameron
    Jamie Cameron
    2007-03-17

    Logged In: YES
    user_id=129364
    Originator: NO

    That all looks OK too ..
    What is the directory name of the custom module? Perhaps if it has spaces or other special characters in the filename, Webmin could get confused..

     
  • baka
    baka
    2007-03-19

    Logged In: YES
    user_id=1742417
    Originator: YES

    Test with standard modules in webmin default instalation.
    Testing with cron, init, man, proc modules from 'System' category, and with file, telnet from 'Others' category.
    Create new category with short code 'newcaterogy' and description 'New Category'.
    And trying reassigning this modules to 'New Category', as result modules assigning to 'Others' category.
    When testing this not useing spaces and special characters in short code or description for a new category and check module name and directory for it.

     
  • Jamie Cameron
    Jamie Cameron
    2007-03-19

    Logged In: YES
    user_id=129364
    Originator: NO

    That is really odd - all of this works fine for me.
    Could you post your /etc/webmin/webmin.cats and webmin.catnames files to this bug report? They are the files it uses to store categorizatoin..

     
  • baka
    baka
    2007-03-25

    Logged In: YES
    user_id=1742417
    Originator: YES

    I could not find this files. Useing OpenBSD 4.0, may be problem or bug in this. For testing install webmin-1.330-minimal.

    # ls -la
    total 128
    drwxr-xr-x 11 root wheel 512 Mar 25 17:24 .
    drwxr-xr-x 33 root wheel 2560 Mar 25 17:24 ..
    drwx--x--x 2 root bin 512 Mar 25 17:24 acl
    -rw-r--r-- 1 root wheel 325 Mar 25 17:24 config
    drwx--x--x 2 root bin 512 Mar 25 17:24 cron
    drwx--x--x 2 root bin 512 Mar 25 17:24 init
    drwx--x--x 2 root bin 512 Mar 25 17:24 inittab
    -rw-r--r-- 1 root wheel 12 Mar 25 17:24 install-dir
    drwx--x--x 2 root bin 512 Mar 25 17:24 man
    -rw------- 1 root bin 580 Mar 25 17:24 miniserv.conf
    -rw------- 1 root bin 1169 Mar 25 17:24 miniserv.pem
    -rw------- 1 root bin 43 Mar 25 17:24 miniserv.users
    -rw-r--r-- 1 root wheel 11483 Mar 25 17:24 module.infos.cache
    -rw-r--r-- 1 root wheel 14 Mar 25 17:24 perl-path
    drwx--x--x 2 root bin 512 Mar 25 17:24 proc
    -rwxr-xr-x 1 root wheel 158 Mar 25 17:24 reload
    -rwxr-xr-x 1 root wheel 48 Mar 25 17:24 restart
    drwx--x--x 2 root bin 512 Mar 25 17:24 servers
    -rwxr-xr-x 1 root wheel 213 Mar 25 17:24 start
    -rwxr-xr-x 1 root wheel 151 Mar 25 17:24 stop
    -rwxr-xr-x 1 root wheel 413 Mar 25 17:24 uninstall.sh
    -rw-r--r-- 1 root wheel 12 Mar 25 17:24 var-path
    -rw-r--r-- 1 root wheel 6 Mar 25 17:24 version
    drwx--x--x 2 root bin 512 Mar 25 17:24 webmin
    -rw------- 1 root wheel 63 Mar 25 17:24 webmin.acl
    drwx--x--x 2 root bin 512 Mar 25 17:24 webminlog

     
1 2 > >> (Page 1 of 2)