* kernel-2.6.16-rc2-git8 - reiserfs 3.6 - write problem !!!
@ 2006-02-11 0:30 art
2006-02-11 21:58 ` Jeffrey Mahoney
2006-02-13 13:50 ` Stephen Smalley
0 siblings, 2 replies; 3+ messages in thread
From: art @ 2006-02-11 0:30 UTC (permalink / raw)
To: linux-kernel; +Cc: reiser
kernel-2.6.16-rc2-git8 - reiserfs - write problem !!!
it started ~from kernel-2.6.16-rc2
2.6.16-rc1-git6 works ok
with 2.6.16-rc2-git8
--reiserfs is 3.6 on ide hdd mounted on /mnt on scsi-hdd with ext3 on it--
mount
/dev/hda1 on /mnt/mountpoint-reiserfs type reiserfs (rw)
/dev/sdb1 on /mnt/mountpoint-ext3 type ext3 (rw)
[bebe@localhost mnt]$ ls -l -Z
drwxr-xr-x root root system_u:object_r:file_t mountpoint-ext3
drwxr-xr-x root root system_u:object_r:file_t mountpoint-reiserfs
[root@localhost mountpoint-ext3]# ls -Z
drwxrwxrwx root root root:object_r:file_t abc
drwxr-xr-x bebe bebe root:object_r:file_t def
drwx------ root root system_u:object_r:file_t lost+found
[root@localhost mountpoint-reiserfs]# ls -Z
drwxr-xr-- bebe bebe system_u:object_r:file_t abc
drwxr-xr-x root root system_u:object_r:file_t def
[bebe@localhost abc]$ su
Password:
[root@localhost abc]# ls >xxxxxx
bash: xxxxxx: Permission denied
[root@localhost abc]#
same in targeted and permissive mode in selinux
up to 2.6.16-rc1-git6 it works OK
xboom
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel-2.6.16-rc2-git8 - reiserfs 3.6 - write problem !!!
2006-02-11 0:30 kernel-2.6.16-rc2-git8 - reiserfs 3.6 - write problem !!! art
@ 2006-02-11 21:58 ` Jeffrey Mahoney
2006-02-13 13:50 ` Stephen Smalley
1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey Mahoney @ 2006-02-11 21:58 UTC (permalink / raw)
To: art; +Cc: linux-kernel, reiser
art wrote:
> kernel-2.6.16-rc2-git8 - reiserfs - write problem !!!
>
> it started ~from kernel-2.6.16-rc2
> 2.6.16-rc1-git6 works ok
>
> with 2.6.16-rc2-git8
> --reiserfs is 3.6 on ide hdd mounted on /mnt on scsi-hdd with ext3 on it--
> mount
> /dev/hda1 on /mnt/mountpoint-reiserfs type reiserfs (rw)
> /dev/sdb1 on /mnt/mountpoint-ext3 type ext3 (rw)
>
> [bebe@localhost mnt]$ ls -l -Z
> drwxr-xr-x root root system_u:object_r:file_t mountpoint-ext3
> drwxr-xr-x root root system_u:object_r:file_t mountpoint-reiserfs
>
> [root@localhost mountpoint-ext3]# ls -Z
> drwxrwxrwx root root root:object_r:file_t abc
> drwxr-xr-x bebe bebe root:object_r:file_t def
> drwx------ root root system_u:object_r:file_t lost+found
>
> [root@localhost mountpoint-reiserfs]# ls -Z
> drwxr-xr-- bebe bebe system_u:object_r:file_t abc
> drwxr-xr-x root root system_u:object_r:file_t def
>
> [bebe@localhost abc]$ su
> Password:
> [root@localhost abc]# ls >xxxxxx
> bash: xxxxxx: Permission denied
> [root@localhost abc]#
>
> same in targeted and permissive mode in selinux
>
> up to 2.6.16-rc1-git6 it works OK
Can you post the output of 'lsattr <dir>' where you get permission
denied? Also, please include any relevant dmesg output as well.
-Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: kernel-2.6.16-rc2-git8 - reiserfs 3.6 - write problem !!!
2006-02-11 0:30 kernel-2.6.16-rc2-git8 - reiserfs 3.6 - write problem !!! art
2006-02-11 21:58 ` Jeffrey Mahoney
@ 2006-02-13 13:50 ` Stephen Smalley
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Smalley @ 2006-02-13 13:50 UTC (permalink / raw)
To: art; +Cc: linux-kernel, reiser
On Fri, 2006-02-10 at 18:30 -0600, art wrote:
> kernel-2.6.16-rc2-git8 - reiserfs - write problem !!!
>
> it started ~from kernel-2.6.16-rc2
> 2.6.16-rc1-git6 works ok
>
> with 2.6.16-rc2-git8
> --reiserfs is 3.6 on ide hdd mounted on /mnt on scsi-hdd with ext3 on it--
> mount
> /dev/hda1 on /mnt/mountpoint-reiserfs type reiserfs (rw)
> /dev/sdb1 on /mnt/mountpoint-ext3 type ext3 (rw)
>
> [bebe@localhost mnt]$ ls -l -Z
> drwxr-xr-x root root system_u:object_r:file_t mountpoint-ext3
> drwxr-xr-x root root system_u:object_r:file_t mountpoint-reiserfs
>
> [root@localhost mountpoint-ext3]# ls -Z
> drwxrwxrwx root root root:object_r:file_t abc
> drwxr-xr-x bebe bebe root:object_r:file_t def
> drwx------ root root system_u:object_r:file_t lost+found
>
> [root@localhost mountpoint-reiserfs]# ls -Z
> drwxr-xr-- bebe bebe system_u:object_r:file_t abc
> drwxr-xr-x root root system_u:object_r:file_t def
>
> [bebe@localhost abc]$ su
> Password:
> [root@localhost abc]# ls >xxxxxx
> bash: xxxxxx: Permission denied
> [root@localhost abc]#
>
> same in targeted and permissive mode in selinux
Not that it explains your problem in permissive mode, but note that
reiserfs and selinux aren't going to work together very well in
enforcing mode due to the atomic inode security labeling patches that
went into 2.6.14. ext2, ext3, tmpfs, jfs, and (recently) xfs have been
converted to call the security_inode_init_security hook and set security
attributes for new inodes.
--
Stephen Smalley
National Security Agency
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-13 13:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-11 0:30 kernel-2.6.16-rc2-git8 - reiserfs 3.6 - write problem !!! art
2006-02-11 21:58 ` Jeffrey Mahoney
2006-02-13 13:50 ` Stephen Smalley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox