Tripwire Agent Install Problem and Solution: ERROR: pathname is a read-only mount.
Wednesday, July 9th, 2008I was trying to reinstall a Tripwire agent on a Solaris 9 box when I ran into a problem during the package add. You see the agent in question needed to be upgraded, so I had removed it via the bin/uninstall.sh script which worked quite well. It appears that directory group permissions was the problem. Perhaps if it was a fresh install I never would have run into this.
I had sudo’ed over to root.
# uname -a
SunOS jobs-1 5.9 Generic_122300-02 sun4u sparc SUNW,UltraAX-i2
# ls -ld /usr/local/tripwire/te/agent
drwxr-xr-x 5 root root 512 Jul 3 12:26 /usr/local/tripwire/te/agent
# pkgadd -d te_agent.pkg TWeagent
Do you accept the terms of the License Agreement? (default: n) [y,n,?,q] y
Where should this package be installed? (default: /usr/local/tripwire/te/agent) [?,q] (I entered a CR)
ERROR: pathname is a read-only mount.
Where should this package be installed? (default: /usr/local/tripwire/te/agent) [?,q] /usr/local/tripwire/te/agent (This time I tried to force it to accept the destination)
ERROR: pathname is a read-only mount.
# chmod 775 /usr/local/tripwire/te/agent
# pkgadd -d te_agent.pkg TWeagent
And then the install works. This was for the 7.1 Tripwire Enterprise Agent.