[Bug 196350] New: category/exmh: Error running Env_Init: invalid command name "Env_Init"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 29 10:19:25 UTC 2014


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 at FreeBSD.org
          Reporter: greg at 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 at gromit.codeconcepts.com:/usr/obj/usr/src/sys/GROMIT  amd64

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


More information about the freebsd-ports-bugs mailing list