Author Topic: Zentyal /home on FreeNAS?  (Read 2712 times)


  • Zen Apprentice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Zentyal /home on FreeNAS?
« on: August 07, 2013, 07:46:17 pm »
Hi all,
I have small disk for Zentyal, so is possible mount entire /home from FreeNAS 9.1 with NFS?
On FreeNAS I have created and exported NFS share ( /mnt/User-data/Home)
On Zentyal I edit fstab: /home nfs rw,vers=3 0 0

Home is mounted, and as root I can write/delete to /home. But when I try create user with Zentyal Web interface I get error:

Code: [Select]
root command chown -R test5:__USERS__ /home/test5 failed.
Error output: chown: changing ownership of `/home/test5/.profile': Operation not permitted
chown: changing ownership of `/home/test5/.bashrc': Operation not permitted
chown: changing ownership of `/home/test5/.bash_logout': Operation not permitted
chown: changing ownership of `/home/test5': Operation not permitted
Command output: .
Exit value: 1 at /usr/share/perl5/ line 182
Error::throw('EBox::Exceptions::Sudo::Command', 'cmd', 'chown -R test5:__USERS__ /home/test5', 'output', 'ARRAY(0xbb3c0cf4)', 'error', 'ARRAY(0xbb4694dc)', 'exitValue', 1, ...) called at /usr/share/perl5/EBox/ line 233
EBox::Sudo::_rootError('/usr/bin/sudo -p sudo: /var/lib/zentyal/tmp/w5uZGxC122.cmd 2>...', 'chown -R test5:__USERS__ /home/test5', 256, 'ARRAY(0xbb3c0cf4)', 'ARRAY(0xbb4694dc)') called at /usr/share/perl5/EBox/ line 202
EBox::Sudo::_root(1, 'chown -R test5:__USERS__ /home/test5') called at /usr/share/perl5/EBox/ line 153
EBox::Sudo::root('chown -R test5:__USERS__ /home/test5') called at /usr/share/perl5/EBox/ line 798
EBox::UsersAndGroups::initUser('EBox::UsersAndGroups=HASH(0xbb1d024c)', 'EBox::UsersAndGroups::User=HASH(0xbb46b7ac)', 11111) called at /usr/share/perl5/EBox/UsersAndGroups/ line 707
EBox::UsersAndGroups::User::create('EBox::UsersAndGroups::User', 'HASH(0xbb4139c4)', 0) called at /usr/share/perl5/EBox/CGI/UsersAndGroups/ line 72
EBox::CGI::UsersAndGroups::AddUser::_process('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbb3b8690)') called at /usr/share/perl5/EBox/CGI/ line 285
EBox::CGI::Base::run('EBox::CGI::UsersAndGroups::AddUser=HASH(0xbb3b8690)') called at /usr/share/perl5/EBox/CGI/ line 131
EBox::CGI::Run::run('EBox::CGI::Run', 'UsersAndGroups/AddUser', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 35
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xb9b55d5c)') called at /usr/lib/perl5/ModPerl/ line 204
eval {...} called at /usr/lib/perl5/ModPerl/ line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xbb27e7f4)') called at /usr/lib/perl5/ModPerl/ line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbb27e7f4)') called at /usr/lib/perl5/ModPerl/ line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xb9b55d5c)') called at -e line 0
eval {...} called at -e line 0

Is problem on Zentyal side (e.g bad fstab line) or FreeNAS side (bad permission of share) ?

Or is this bad idea a there is any better solution?
(and sorry for my English... )