Hi Ivo,
Ivo De Decker wrote:
> On Sun, Feb 15, 2015 at 01:02:40PM +0100, Axel Beckert wrote:
> > [pbuilder] # faketime 'last friday 5 pm' /bin/date
> > sem_open: Function not implemented
>
> > If there's anything I can do to avoid this issue in the way the zsh
> > package uses faketime -- I'm happy about any hint.
>
> This is usually caused by /dev/shm not being world writable in your build
> chroot.
Thanks for that hint. Unfortunately it didn't help for me:
[pbuilder] # faketime 'last friday 5 pm' /bin/date
sem_open: Function not implemented
[pbuilder] # ls -l /dev/shm
lrwxrwxrwx 1 root root 8 Sep 16 2012 /dev/shm -> /run/shm
[pbuilder] # ls -ld /run/shm
drwxr-xr-x 2 root root 4096 Jul 12 2012 /run/shm
[pbuilder] # chmod 777 /run/shm
[pbuilder] # faketime 'last friday 5 pm' /bin/date
sem_open: Function not implemented
[pbuilder] # ls -ld /run/shm
drwxrwxrwx 2 root root 4096 Jul 12 2012 /run/shm
[pbuilder] #
Anything I oversaw? Any other ideas?
JFTR: /run/shm (via symlink from /dev/shm) was already on rwxrwxrwxt
if I run a Sid "pbuilder login" on a Jessie host and faketime works
fine there out of the box. faketime also still works fine there if I
"chmod 755 /run/shm" there.
Regards, Axel
--
,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
`- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]