[Bug 202732] sysutils/rundeck installd-do directories create permission denied error out of the box

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 28 22:22:58 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202732

            Bug ID: 202732
           Summary: sysutils/rundeck installd-do directories create
                    permission denied error out of the box
           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: ballew at sublinear.net
                CC: c.kworr at gmail.com
             Flags: maintainer-feedback?(c.kworr at gmail.com)
                CC: c.kworr at gmail.com

${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${RUNDECK_HOME}/server/lib
        ${TOUCH} ${STAGEDIR}${RUNDECK_HOME}/server/lib/.keep

These two sections in the install-do will prevent the server from starting
after initial package install. After removing these directories, service
rundeck start runs successfully.

To recreate, from a clean system:
pkg install rundeck
Add to fstab:
fdesc   /dev/fd         fdescfs         rw      0       0
proc    /proc           procfs          rw      0       0
sysrc rundeck_enable="YES"
service rundeck start
# tail /var/log/rundeck.log
Exception in thread "main" java.io.IOException: Permission denied
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.createNewFile(File.java:1006)
    at com.dtolabs.rundeck.ZipUtil.extractZip(ZipUtil.java:153)
    at com.dtolabs.rundeck.ZipUtil.extractZip(ZipUtil.java:113)
    at com.dtolabs.rundeck.ZipUtil.extractZip(ZipUtil.java:89)
    at com.dtolabs.rundeck.ZipUtil.extractZip(ZipUtil.java:74)
    at
com.dtolabs.rundeck.ExpandRunServer.extractLibs(ExpandRunServer.java:575)
    at com.dtolabs.rundeck.ExpandRunServer.run(ExpandRunServer.java:275)
    at com.dtolabs.rundeck.ExpandRunServer.main(ExpandRunServer.java:113)

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


More information about the freebsd-ports-bugs mailing list