Bug#638822: smb.conf: acl related options need mount flags in fstab (acl, user_xattr)

2014-09-14 Thread Petter Reinholdtsen
[Petter Reinholdtsen]
 I tested a modified version of patch, and it did not work as expected.
 I fixed the typo in the recipe, but only the user_xattr option showed
 up in the fstab.  the acl option was missing.  I have no idea what can
 be done to fix this.

I had a closer look, and I believe the problem is that ext4 is not
listed as supporting acl in d-i.  I am not quite sure, but believe the
file /lib/partman/mountoptions/ext4 contain the list of recognized
options for ext4, and in this file 'acl' is missing.

This make me believe the proper fix is for us to add both options in
our recipes, and then check if the package providing the
/lib/partman/mountoptions/ext4 should be extended to list acl.  I'll
commit this to git.

Is the acl option still needed with ext4?

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#638822: smb.conf: acl related options need mount flags in fstab (acl, user_xattr)

2014-09-14 Thread Petter Reinholdtsen
[Petter Reinholdtsen]
 This make me believe the proper fix is for us to add both options in
 our recipes, and then check if the package providing the
 /lib/partman/mountoptions/ext4 should be extended to list acl.

I filed URL: http://bugs.debian.org/761501  about this, and it is
claimed there that the default already is to enable acl and
user_xattr, and no change is needed.

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#638822: smb.conf: acl related options need mount flags in fstab (acl, user_xattr)

2014-09-06 Thread Petter Reinholdtsen
I tested a modified version of patch, and it did not work as expected.
I fixed the typo in the recipe, but only the user_xattr option showed
up in the fstab.  the acl option was missing.  I have no idea what can
be done to fix this.

The patch I tried is attached.

-- 
Happy hacking
Petter Reinholdtsen



 * Add acl and user_attr options to the home0 and the backup partitions,
   to allow samba to use ACLs (Closes: #638822).

diff --git a/lib/partman/common/90edumain b/lib/partman/common/90edumain
index 7ffa878..d899671 100644
--- a/lib/partman/common/90edumain
+++ b/lib/partman/common/90edumain
@@ -62,6 +62,8 @@ debian-edu-install/text/partman-debian-edu-main ::
 format{ }
 use_filesystem{ }
 filesystem{ ext4 }
+options/acl{ acl }
+options/user_xattr{ user_xattr }
 mountpoint{ /skole/backup } .
 
 
@@ -71,6 +73,8 @@ debian-edu-install/text/partman-debian-edu-main ::
format{ }
use_filesystem{ }
filesystem{ ext4 }
+   options/acl{ acl }
+   options/user_xattr{ user_xattr }
mountpoint{ /skole/tjener/home0 } .
 
 32 1000 -1 ext4
diff --git a/lib/partman/common/91edumain+ltsp 
b/lib/partman/common/91edumain+ltsp
index 5767bc8..92eef6f 100644
--- a/lib/partman/common/91edumain+ltsp
+++ b/lib/partman/common/91edumain+ltsp
@@ -70,6 +70,8 @@ debian-edu-install/text/partman-debian-edu-main+ltsp ::
format{ }
use_filesystem{ }
filesystem{ ext4 }
+   options/acl{ acl }
+   options/user_xattr{ user_xattr }
mountpoint{ /skole/tjener/home0 } .
 
 64 1000 15360 ext4
@@ -86,6 +88,8 @@ debian-edu-install/text/partman-debian-edu-main+ltsp ::
 format{ }
 use_filesystem{ }
 filesystem{ ext4 }
+options/acl{ acl }
+options/user_xattr{ user_xattr }
 mountpoint{ /skole/backup } .
 
 32 1000 -1 ext4


Bug#638822: smb.conf: acl related options need mount flags in fstab (acl, user_xattr)

2014-08-30 Thread Petter Reinholdtsen
[Mike Gabriel]
 that require tweaking of /etc/fstab for samba related mount points  
 (add acl and user_xattr option for ext3 file systems):

I had a look at the partman automatic partitioning documentation, and
believe this patch should solve it.  Can you test it and let me know if
it solve the issue for Samba?

diff --git a/lib/partman/common/90edumain b/lib/partman/common/90edumain
index 53ce258..f012280 100644
--- a/lib/partman/common/90edumain
+++ b/lib/partman/common/90edumain
@@ -62,6 +62,8 @@ debian-edu-install/text/partman-debian-edu-main ::
 format{ }
 use_filesystem{ }
 filesystem{ ext4 }
+options/acl{ acl }
+options/user_xattr{ user_attr }
 mountpoint{ /skole/backup } .
 
 
@@ -71,6 +73,8 @@ debian-edu-install/text/partman-debian-edu-main ::
format{ }
use_filesystem{ }
filesystem{ ext4 }
+   options/acl{ acl }
+   options/user_xattr{ user_attr }
mountpoint{ /skole/tjener/home0 } .
 
 32 1000 -1 ext4
diff --git a/lib/partman/common/91edumain+ltsp 
b/lib/partman/common/91edumain+ltsp
index 6da626b..7ef2218 100644
--- a/lib/partman/common/91edumain+ltsp
+++ b/lib/partman/common/91edumain+ltsp
@@ -70,6 +70,8 @@ debian-edu-install/text/partman-debian-edu-main+ltsp ::
format{ }
use_filesystem{ }
filesystem{ ext4 }
+   options/acl{ acl }
+   options/user_xattr{ user_attr }
mountpoint{ /skole/tjener/home0 } .
 
 64 1000 15360 ext4
@@ -86,6 +88,8 @@ debian-edu-install/text/partman-debian-edu-main+ltsp ::
 format{ }
 use_filesystem{ }
 filesystem{ ext4 }
+options/acl{ acl }
+options/user_xattr{ user_attr }
 mountpoint{ /skole/backup } .
 
 32 1000 -1 ext4

-- 
Happy hacking
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#638822: smb.conf: acl related options need mount flags in fstab (acl, user_xattr)

2011-08-22 Thread Mike Gabriel

Package: debian-edu-config
Version: SVN-r73892
Severity: minor

The smb.conf file uses some options ...

# NTFS ACL handling
acl map full control = true
acl group control = yes
map acl inherit = yes
map read only = Permissions
dos filemode = no
max xmit = 65535
nt acl support = yes

that require tweaking of /etc/fstab for samba related mount points  
(add acl and user_xattr option for ext3 file systems):


quote share=home0
/dev/mapper/vg_system-skole+tjener+home0 /skole/tjener/home0 ext3  
defaults,acl,user_xattr 0 2

/skole/tjener/home0 /srv/nfs4/home0 none bind,acl,user_xattr 0 0
/quote

maybe also on this one (I am currently not sure, if sl-backups are  
stored here in tarballs or as incremental/hardlinked dirs, if the  
latter then the flags are needed here, too):


quote share=backup
/dev/mapper/vg_system-skole+backup /skole/backup ext3  
defaults,acl,user_xattr 0 2

/quote

Greets,
Mike

--

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

GnuPG Key ID 0xB588399B
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb


pgpyQREOf4qpb.pgp
Description: Digitale PGP-Unterschrift