[Unionfs] pwd/getcwd bug
Erez Zadok
ezk at cs.sunysb.edu
Wed Jan 16 16:25:35 EST 2008
In message <478B9778.3030709 at djhsolutions.com>, "Darrick Hartman (lists)" writes:
> I know I saw a post on this from April in 2006, but I never was able to
> find a work around or a fix.
>
> In my case I'm serving a web page (which is an admin interface) for a
> small device using the latest unionfs (2.2.2) patch for Linux 2.6.20-21.
> If the web page contains a php system() or exec() call, the following
> errors appear on the web page (even though the function completes
> correctly and displays the correct information.
>
> shell-init: error retrieving current directory: getcwd: cannot access
> parent directories: Inappropriate ioctl for device
>
> If I serve the web page out of the underlying read-only branch of the
> unionfs mount, it works without the errors.
>
> I've seen similar errors when ssh'ing into the box as well.
>
> Any ideas? Is there a place to file a bug report?
>
> Thanks,
>
> Darrick
> --
> Darrick Hartman
> DJH Solutions, LLC
> http://www.djhsolutions.com
Darrick, I'll need a lot more info to track this issue. For starters, be
sure to compile unionfs with debugging on. Open a bugzilla report please
and upload the following info:
- contect of your /proc/mounts
- your kernel .config file
- info on any patches you've applied to your kernels, if any
- any startup scripts you use (using chroot or pivot_root?)
- any useful info showing up on dmesg?
Do you use any branch management commands? If so, at which point in the
system's boot cycle (before your Web server starts or after)?
Thanks,
Erez.
More information about the unionfs
mailing list