Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - stfn

Pages: [1]
1
Hi all,

I recently had to umount my /home dir to perform some maintenance on the filesystem. Somewhere in this process Zentyal decided to delete al my users and groups (ldap, mail). User files in /home were not lost because it was not mouned. Files in /var/vmail were deleted. So I recreated the users through Zentyal's Dashboard and put the mail backup back in place. But for some reason Zentyal chown's 2 user home dirs to the wrong uid. This happens at least at every reboot, can't conform for the moment if this is also happening when the server is up for a few days.

Code: [Select]
root@thuis:~# ls -ls /home
total 76
 4 drwx------   2 Administrator __USERS__  4096 Aug 16 19:39 Administrator
 8 -rw-------   1 root          root       8192 Aug 18 11:40 aquota.group
12 -rw-------   1 root          root      11264 Aug 18 11:40 aquota.user
 4 drwxr-xr-x   4 root          root       4096 Aug 18 10:57 backup
 4 drwx------   6 beheer        beheer     4096 Aug 14 17:27 beheer
 4 drwx------   2 dns-thuis     __USERS__  4096 Aug 11 15:45 dns-thuis
16 drwx------   2 root          root      16384 Aug 10 15:41 lost+found
 8 drwxrwx---+ 14       3000008 __USERS__  4096 Aug 17 19:50 media
 8 drwxrwx---+ 13       3000008 __USERS__  4096 Aug 11 20:49 natasja
 4 drwxrwx---+  4 root          __USERS__  4096 Aug 11 15:44 samba
 4 drwx------  31 stfn          __USERS__  4096 Aug 14 17:56 stfn

I think it is the uid from 1 of the users it previously deleted. It is a little bit strange that Zentyal gives 2 different users the same uid?

So 2 issues here:

  • 1. How do I prevent Zentyal from deleting my users when /home is unmounted
  • 2. How do I prevent Zentyal from chowning homedir's with the wrong uid?

Any suggestions?

Edit: Zentyal 3.0

Pages: [1]