[Users] e3 editor not working inside containers with ploop filesystem

Kevin Holly [Fusl] openvz at lists.dedilink.eu
Wed Oct 29 14:03:20 PDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

one of our customers contacted us about a software which runs
perfectly fine everywhere, but not in their container.

The following is an strace from the editor within one of my containers
which runs on the ploop filesystem:

http://sprunge.us/Cjda
root at mail:~# strace e3 /etc/network/interfaces > /dev/null
execve("/usr/bin/e3", ["e3", "/etc/network/interfaces"], [/* 18 vars
*/]) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost -isig -icanon -echo
...}) = 0
sigaction(SIGCONT, {0x8049bb3, [], 0}, NULL, 0x404cb0) = 0
write(1, "\33[?17;0;64c", 11)           = 11
open("/etc/network/interfaces", O_RDONLY) = 3
lseek(3, 0, SEEK_END)                   = 1198
lseek(3, 0, SEEK_SET)                   = 0
brk(0x81599d0)                          = 0x8b89000
fstat(3, 0x805ea74)                     = -1 EOVERFLOW (Value too
large for defined data type)
write(1, "\33[001;001H", 10)            = 10
write(1, "\33[44m\33[33m\33[1m", 14)    = 14
write(1, "ERROR  75", 9)                = 9
write(1, "\33[40m\33[37m\33[0m", 14)    = 14
write(1, "\33[001;001H", 10)            = 10
write(1, "\33[001;011H", 10)            = 10
read(0, "\3", 1)                        = 1
write(1, "\33[001;001H", 10)            = 10
write(1, "\33[44m\33[33m\33[1m", 14)    = 14
write(1, "", 0)                         = 0
write(1, "\33[40m\33[37m\33[0m", 14)    = 14
write(1, "\33[001;011H", 10)            = 10
write(1, "\33[001;011H", 10)            = 10
write(1, "\n", 1)                       = 1
write(1, "\33[?2c", 5)                  = 5
unlink("e3##")                          = -1 ENOENT (No such file or
directory)
ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo
...}) = 0
_exit(0)                                = ?

[root at neko ~]# df /; df -i /
Filesystem      1K-blocks       Used  Available Use% Mounted on
/dev/sda3      5750714048 3175276900 2283317700  59% /
Filesystem        Inodes   IUsed     IFree IUse% Mounted on
/dev/sda3      365150208 2136604 363013604    1% /


The same editor works within one of my simfs containers:

http://sprunge.us/bWXV

root at nh1nl:~# df /; df -i /
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/simfs      52428800 607196  51821604   2% /
Filesystem       Inodes IUsed    IFree IUse% Mounted on
/dev/simfs     26214400 21301 26193099    1% /


Is this a bug in the ploop filesystem or the mentioned editor?


- -- 
Best regards

Kevin Holly - root at hallowe.lt - http://hallowe.lt/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQEcBAEBAgAGBQJUUVYYAAoJELAaqP3QtzpMHtgH/14JAprw64h2uRJHR+6gLD6i
213a4ym0vH9Mw9zYJGTeTqC9l8ieTXCyMBrCM62lr7JQERdYV8SJZ/4Bx8C4HfTp
8Jt3O1AgWUSh7s39FiGmpRXA+mjCq7HRW31GIzLMEXlgwWyGhBK/mI8D9FbBFvPL
hVFrRATA4e1tTMUOPpN+PeEBVCYmPNSOz2p99gu6X3hMOCithuY0PQxisEp64mrT
LM0kEegv09bYy9JckOAODs00Ee7FRe017J8hjfLm4ppyrePvipx/MHpO8YtVNx+n
F4QLBEPr+ppTTN3JRRrxKwXJuN3w44cTxbPuOwHPB2EaYc7MZHb+1VsHzHDeNLU=
=C21L
-----END PGP SIGNATURE-----


More information about the Users mailing list