It looks that your chroot lacks anybody-writable /dev/shm directory.
For example on debian it is mounted tmpfs:

vgalkin@vasily-desktop:~/m$ findmnt /dev -R
TARGET           SOURCE    FSTYPE    OPTIONS
/dev             udev      devtmpfs  
rw,nosuid,relatime,size=1008928k,nr_inodes=252232,mode=755
├─/dev/pts       devpts    devpts    
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
├─/dev/shm       tmpfs     tmpfs     rw,nosuid,nodev
├─/dev/mqueue    mqueue    mqueue    rw,relatime
└─/dev/hugepages hugetlbfs hugetlbfs rw,relatime

vgalkin@vasily-desktop:~/m$ stat /dev/shm
  File: '/dev/shm'
  Size: 260             Blocks: 0          IO Block: 4096   directory
Device: 14h/20d Inode: 11630       Links: 2
Access: (1777/drwxrwxrwt)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2016-08-26 18:13:32.585931180 +0300
Modify: 2016-08-26 18:14:10.816666977 +0300
Change: 2016-08-26 18:14:10.816666977 +0300
 Birth: -

In fact any user is allowed to create any files there, like /tmp.

> Hi guys,
> 
> I run meld [0] in a changerooted $(chgroot) environment. Meld does not
> open files [1]. I suspect I did not mount something from /dev that a
> service depends on which melds depends on. It would be nice to locate
> the issue. A list of melds commandline output at startup [2] and a list
> of files to be opened [3] can be found at [4]. I suspect melds dbus
> connection. Any advice on debugging will be gratefully accepted,
> 
> Cheers,
> Marcus
> 
> [0] v3.12.1
> [1] If I provide the files on the command line, meld will ask which
> files to compare. In the graphical file selection: If I select two files
> and press Button::Compare, they will not be opened.
> [2] file att1_meld_startup.txt
> [3] file att2_meld_strace_open.txt
> [4] https://bugzilla.gnome.org/attachment.cgi?id=332794
> _______________________________________________
> meld-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/meld-list
_______________________________________________
meld-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/meld-list

Reply via email to