Summary: | sys-kernel/gentoo-sources-2.6.33: bash scripts do not execute in ecryptfs partitions | ||
---|---|---|---|
Product: | Gentoo Infrastructure | Reporter: | Paulo da Silva <psdasilva> |
Component: | Bugzilla | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
.config |
Description
Paulo da Silva
2010-03-25 21:43:22 UTC
Created attachment 225343 [details]
emerge --info
Created attachment 225345 [details]
.config
Are you sure the filesystem is mounted with the exec option set? (In reply to comment #3) > Are you sure the filesystem is mounted with the exec option set? > It is not. It used to work so far. Now I tried: 1. Changed the mount options in fstab to include exec and remounted. 2. I tried with a new dir like this mkdir tmp mount -tecryptfs tmp tmp -o exec put a script there and tried to execute it. Both failed. failed the same way? can we see you /etc/fstab (In reply to comment #5) > failed the same way? can we see you /etc/fstab > I'm sorry but this has nothing to do with fstab. As I said, you may try it using a k 2.6.33. Just do: 1. Go to any dir. 2. mkdir tmp 3. mount -t ecrypfs tmp tmp -o exec Answer the questions like crypt algorithm and password. 4. cd tmp 5. Write the following to for example tp #! /bin/bash echo OK 6. chmod u+x tp 7. ./tp This will show bash: ./tp: /bin/bash: bad interpreter: Function not implemented As you see, this does not depend on fstab. BTW, /etc/fstab was not changed from previous kernels. ok then, please file this bug upstream at https://bugzilla.kernel.org and copy the url back here. (In reply to comment #7) > ok then, please file this bug upstream at https://bugzilla.kernel.org and copy > the url back here. > As I saw there, the bug must be confirmed using a vanilla kernel. In the meanwhile I downgraded to k 2.6.31-r6 because of bugs #307671 and #311329. I'll be back when I got some time to check a k 2.6.33 vanilla or the bug somehow gets fixed in a new version. After upgrading to kernel 2.6.33-r2 this problem went away. Now bash scripts work as expected. works for user |