Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2014 10:19:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196350] New: category/exmh: Error running Env_Init: invalid command name "Env_Init"
Message-ID:  <bug-196350-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196350

            Bug ID: 196350
           Summary: category/exmh: Error running Env_Init: invalid command
                    name "Env_Init"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: greg@codeconcepts.com

Running exmh after installing it with pkg reports:

$ exmh
Error running Env_Init: invalid command name "Env_Init"
This usually means exmh isn't installed right
Check the main exmh script for the CONFIGURATION section
and make sure exmh(library) is a valid absolute pathname
(1) 


It appears this is due to lack of search permission on the exmh directory:

$ ls -ld /usr/local/lib/exmh-2.8.0
dr--r--r--  4 bin  bin  154 Dec 25 07:41 /usr/local/lib/exmh-2.8.0/


Enabling search permissions to the exmh directory allows it to work as
expected:

$ sudo chmod +x /usr/local/lib/exmh-2.8.0 


You can repeat this by deinstalling then reinstalling exmh.

$ pkg version |grep exmh
exmh-2.8.0                         =


FWIW, happens on both 9.3-STABLE and 10.1-STABLE:

FreeBSD gromit.codeconcepts.com 9.3-STABLE FreeBSD 9.3-STABLE #2 r276299: Sat
Dec 27 10:03:47 CST 2014    
greg@gromit.codeconcepts.com:/usr/obj/usr/src/sys/GROMIT  amd64

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196350-13>