tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Remote pid with SOCK_DGRAM local socket



Matthew Mondor <mm_lists%pulsar-zone.net@localhost> wrote:

> Would this still matter for a service such as syslogd?
> How about the UID?  Because when I submitted the diff that's mostly
> what I needed for datagrams.

I need the PID so that perfused(8) can kill(2) the remote process if it
ignored FUSE_DESTROY.

glusterfs does ignore it. For now I can mount the glusterfs filesystem
like this (everything needed is in /etc/fstab)
# mount /gfs 

But unmount with umount /gfs is a problem, as perfused(8) sends
FUSE_DESTROY to glusterfs, do the actual unmounting, and then quits. As
glusterfs isgnored the FUSE_DESTROY, it remain there and will prevent
the next mount /gfs


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index