greyhole plugin discovered as not supported after updating to OMV 3

  • Hello,


    I tough greyhole plugin was ok after seing it on http://omv-extras.org/joomla/index.php/omv-plugins-3.
    So all was clear to update to OMV3. But it was not.
    I am stuck now on middle on the OMV update (that come with Wheezy to Jessie update).
    The install did fails because samba is not configured.


    Samba does not want to configure because of :

    Code
    root@impeldown:/tmp# dpkg --configure samba
    Setting up samba (2:4.2.10+dfsg-0+deb8u3) ...
    insserv: Service samba has to be enabled to start service greyhole
    insserv: exiting now!
    update-rc.d: error: insserv rejected the script header
    dpkg: error processing package samba (--configure):
     subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     samba


    And openmediavault does not want to update because of :

    Could somebody have an idea for me to fix my installation ?Thank you very much


    The full install -f log:

    • Offizieller Beitrag

    Sorry, I have said many times that if the plugin has no version, it is not ready and to verify on bintray. I also have the plugin listed in the abandoned plugin thread.


    Uninstalling the plugin should allow your installation to work.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Sorry I missed that one.


    What is the clean way to remove it from command line ? Just an apt-get remove ?


    Then if I install greyhole manually it could probably works too...

    • Offizieller Beitrag

    You could keep greyhole installed and manually update the config file.


    Code
    apt-mark manual greyhole
    apt-get purge openmediavault-greyhole
    systemctl start greyhole

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I am still stuck with

    Code
    root@impeldown:/etc/init# dpkg --configure samba
    Setting up samba (2:4.2.10+dfsg-0+deb8u3) ...
    insserv: Service samba has to be enabled to start service greyhole
    insserv: exiting now!
    update-rc.d: error: insserv rejected the script header
    dpkg: error processing package samba (--configure):
     subprocess installed post-installation script returned error exit status 1
    Errors were encountered while processing:
     samba

    I continue to search but in case it is obvious to you please tell me.

    • Offizieller Beitrag

    omv-mkconf samba after uninstalling the greyhole plugin should remove the greyhole samba config.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.6 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I found this in the meantime

    Code
    update-rc.d -f greyhole remove



    It unlock me the installation of OMV 3.


    Then I did reinstall greyhole by using the script documented from the greyhole website.


    I am still stuck when after adding the options on shares :

    Code
    dfree command = /usr/bin/greyhole-dfree
    vfs objects = greyhole


    It keeps making me this error on mounting


    Code
    error probing vfs module 'greyhole': NT_STATUS_UNSUCCESSFUL
    smbd_vfs_init: vfs_init_custom failed for greyhole
    vfs_init failed for service Video


    even with the correct symlinks:

    Code
    root@impeldown:/usr/lib/samba/vfs$ ls -lah
    total 8.0K
    drwxr-xr-x 2 root root 4.0K Oct 23 17:43 .
    drwxr-xr-x 4 root root 4.0K Oct 23 13:59 ..
    lrwxrwxrwx 1 root root   39 Oct 23 17:43 greyhole.so -> /usr/lib64/greyhole/greyhole-samba42.so


    I will probably need to ask gboudreau.

  • Hi,
    gboudreau did help me very fast.


    In debug log level of samba we found:

    Code
    Oct 24 20:48:51 impeldown smbd[31557]:   Error loading module '/usr/lib/x86_64-linux-gnu/samba/vfs/greyhole.so': libsmbd-base-samba4.so: cannot open shared object file: No such file or directory


    It was fixed by using the following commands:

    Code
    TARGET_LIBDIR=/usr/lib/x86_64-linux-gnu
    ls -l ${TARGET_LIBDIR}/samba/libsmbd-base-samba4.so
    ln -s ${TARGET_LIBDIR}/samba/libsmbd-base.so.0 ${TARGET_LIBDIR}/samba/libsmbd-base-samba4.so
    ls -l ${TARGET_LIBDIR}/samba/libsamba-debug-samba4.so
    ln -s ${TARGET_LIBDIR}/libsamba-util.so.0 ${TARGET_LIBDIR}/samba/libsamba-debug-samba4.so

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!