Project

General

Profile

Actions

Bug #7775

open

getcwd call fails in LX Zone

Added by Mini Flow over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
zones
Start date:
2017-01-15
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

I don't know the exact sequence to re-create but an underlying libc call to getcwd will fail on an LOFS mount inside of Linux.

lstat("ParameterSet", {st_mode=S_IFDIR|0777, st_size=4, ...}) = 0
chdir("ParameterSet") = 0
getcwd(0x7fffffefebc0, 1026) = -1 ENOENT (No such file or directory)

The above call is falsely reporting ENOENT. The same program does not have this issue outside of an LX zone. Note that if one simply initiates these calls the system will return just fine. There is some unknown sequence of steps where these calls must be performed over and over before the failure takes place e.g. walking a file system.

In above example getcwd call is performed immediately after chdir call. The underlying directory has not been removed.

No data to display

Actions

Also available in: Atom PDF