[Samba] Samba 4 provisioning error on Ubuntu 12.04

steve steve at steve-ss.com
Thu Jun 21 03:16:17 MDT 2012


On 06/21/2012 10:24 AM, Rowland Penny wrote:
> On 21/06/12 07:42, steve wrote:
>> On 06/21/2012 08:27 AM, Andrew Bartlett wrote:
>>> On Wed, 2012-06-20 at 14:17 -0700, todd kman wrote:
>>> Let's start from the top: - Is libacl-dev1 installed on your system?
>> ** I think that should be:
>> libacl1-dev
>>
>> Here is the fstab entry on a working 12.04:
>> UUID=f99d4f08-6123-4941-8ee2-a260d22ddce5 / ext4 
>> errors=remount-ro,acl,user_xattr 0 1
>>
>> HTH
>> Steve
>>
> Hmm, this is interesting, this is what I have in my /etc/fstab on 
> Ubuntu 12.04 server
>
> # /etc/fstab: static file system information.
> # / was on /dev/sda1 during installation
> UUID=63c10807-be9a-4aed-bf2f-fa52e53fc162 /               ext4    
> errors=remount-ro 0       1
> # /home was on /dev/sda6 during installation
> UUID=3826e336-978b-43e6-b02f-83694b132ed3 /home           ext4    
> defaults        0       2
>
> cat /proc/mounts
> Shows:
> /dev/disk/by-uuid/63c10807-be9a-4aed-bf2f-fa52e53fc162 / ext4 
> rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
> /dev/sda6 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
>
> This passes the acl test on 
> https://wiki.samba.org/index.php/Samba4/HOWTO even though acl is not 
> mentioned (it is installed) and Samba4 from git compiles and installs ok.
> Do I need to add acl to my /etc/fstab lines? user_xattr seems to be a 
> default setting.
>
> Rowland
>
>
Hi Rowland
My Samba4 is installed at /usr/local/bin on the / partition of the disk 
so I added acl,user_xattr to the / line in fstab and rebuilt with 
libacl1-dev installed, having read a post on the Ubuntu forum. Before 
this, I had the same s3fs error when provisioning.

/proc/mounts here gives the same output as yours so It looks as if the 
acl parameter is not needed, but no harm in trying. Are you able to 
reboot if you change fstab? If my memory server me correctly, remounting 
didn't work.

Sorry can't be more positive.
Cheers,
Steve



More information about the samba mailing list