lkml.org 
[lkml]   [2004]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: 2.6.7-rc2: open() hangs on ReiserFS with SELinux enabled
    From
    Hello,
    On Wed, Jun 02, 2004 at 02:40:47PM -0400, Stephen Smalley wrote:
    > On Wed, 2004-06-02 at 13:48, Dmitry Baryshkov wrote:
    > > Hello,
    >
    > The mount process shouldn't be in kernel_t, although that shouldn't
    > cause a hang. Is /sbin/init labeled properly? Are you using the
    > patched /sbin/init that loads policy and then re-execs itself into the
    > proper security domain?

    Yes and no.
    strace & cut was produced using manual booting to shell,
    mount /proc
    mount /selinux
    load_policy /etc/security/selinux/policy.17
    strace mount / -o remount,rw

    >
    > When the mount process is hung, what output do you get from pressing
    > ALT-SysRq-t after enabling sysrq (echo 1 > /proc/sys/kernel/sysrq)?

    Here is a part related to mount (sorry, it's copied by hand from
    monitor. can't use serial console here.):

    inode2sd+0xcc/0x120
    pathrelse+0x20/0x30
    reiserfs_update_sd_size+0x13a/0x1d0
    rwsem_down_read_failed+0x8d/0x170
    .text.lock.xattr+0xb5/0x22f
    inode_doinit_with_dentry+0x2ea/0x560
    d_instantiate+0x47/0x60
    reiserfs_mkdir+0x29b/0x2d0
    open_xa_dir+0xbe/0x160
    get_xa_file_dentry+0x24/0x100
    open_xa_file+0x5/0x40
    reiserfs_xattr_set+0x8f/0x360
    do_journal_end+0x75e/0xa70
    vsprintf+0x12/0x20
    sprintf+0x11/0x20
    context_struct_to_string+0x108/0x170
    reiserfs_setxattr+0xf4/0x190
    post_create+0xfb/0x220
    vfs_create+0xca/0x130
    open_namei+0x3d0/0x420
    filp_open+0x2d/0x60
    sys_open+0x4d/0xa0
    syscall_call+0x7/0xb

    --
    With best wishes
    DMitry Baryshkov.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:0.026 / U:0.868 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site