Try "ls -l /proc/21905/root" to show you the process's root directory.



On 16 December 2013 14:28, <[email protected]> wrote:

> On Mon, December 16, 2013 2:01 pm, Steve Kowalik wrote:
>
> > Sounds like a chroot issue. As root, what does /proc/<pid of clamd>/cwd
> > point to?
>
> Steve, thanks
>
> do you mean this:
> # ps ax | grep clamd
> 21905 ?        Ssl    0:00 clamd
>
> # ls -al  /proc/21905/cwd
> lrwxrwxrwx 1 root root 0 Dec 16 14:22 /proc/21905/cwd -> /
>
> # ls  /proc/21905/cwd
> bin   cgroup  etc   lib    lost+found  misc  net  proc  sbin     srv  tmp
> var
> boot  dev     home  lib64  media       mnt   opt  root  selinux  sys  usr
>
> # ls -al  /proc/21905/cwd/var/spool/amavisd/clamd.sock
> srw-rw-rw- 1 amavis amavis 0 Dec 16 14:21
> /proc/21905/cwd/var/spool/amavisd/clamd.sock
>
>
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>



-- 
 [image: View my profile on LinkedIn]
<http://www.linkedin.com/in/gliderflyer>
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to