You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Allen Wittenauer (JIRA)" <di...@incubator.apache.org> on 2008/07/19 21:29:31 UTC
[jira] Issue Comment Edited: (DIR-232) Solaris package installs
content in the wrong place
[ https://issues.apache.org/jira/browse/DIR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615037#action_12615037 ]
aw edited comment on DIR-232 at 7/19/08 12:29 PM:
----------------------------------------------------------------
So prior to installing the Solaris 1.5.3 package, I ripped apart the package using pkgtrans and took a look at the pkgmap. By convention, packages that install content in /opt should use /var/opt to install their var content. Current, ADS has this:
1 d none /var/lib/apacheds-1.5.3 0744 root root
1 d none /var/lib/apacheds-1.5.3/default 0744 root root
1 d none /var/lib/apacheds-1.5.3/default/conf 0744 root root
1 f none /var/lib/apacheds-1.5.3/default/conf/apacheds.conf 0644 root root 1400 55365 1216185769
1 f none /var/lib/apacheds-1.5.3/default/conf/log4j.properties 0644 root root 1889 27319 1216185769
1 f none /var/lib/apacheds-1.5.3/default/conf/server.xml 0644 root root 10871 23013 1216185769
1 d none /var/lib/apacheds-1.5.3/default/ldif 0744 root root
1 d none /var/lib/apacheds-1.5.3/default/log 0744 root root
1 d none /var/lib/apacheds-1.5.3/default/partitions 0744 root root
1 d none /var/lib/apacheds-1.5.3/default/run 0744 root root
It should really be using /var/opt/apacheds as stated by the filesystem(5) man page.
Other points:
- version numbers are generally not a good idea. If it is required, it would be better to layer it: /opt/apacheds/1.5.3/blah, /var/opt/apacheds/1.5.3/blah, ...
- Files that change shouldn't be type f, they should be type v. otherwise pkgchk will break.
was (Author: aw):
So prior to installing the Solaris 1.5.3 package, I ripped apart the package using pkgtrans and took a look at the pkgmap. By convention, packages that install content in /opt should use /var/opt to install their var content. Current, ADS has this:
1 d none /var/lib/apacheds-1.5.3 0744 root root
1 d none /var/lib/apacheds-1.5.3/default 0744 root root
1 d none /var/lib/apacheds-1.5.3/default/conf 0744 root root
1 f none /var/lib/apacheds-1.5.3/default/conf/apacheds.conf 0644 root root 1400 55365 1216185769
1 f none /var/lib/apacheds-1.5.3/default/conf/log4j.properties 0644 root root 1889 27319 1216185769
1 f none /var/lib/apacheds-1.5.3/default/conf/server.xml 0644 root root 10871 23013 1216185769
1 d none /var/lib/apacheds-1.5.3/default/ldif 0744 root root
1 d none /var/lib/apacheds-1.5.3/default/log 0744 root root
1 d none /var/lib/apacheds-1.5.3/default/partitions 0744 root root
1 d none /var/lib/apacheds-1.5.3/default/run 0744 root root
It should really be using /var/opt/apacheds-1.5.3 as stated by the filesystem(5) man page.
> Solaris package installs content in the wrong place
> ---------------------------------------------------
>
> Key: DIR-232
> URL: https://issues.apache.org/jira/browse/DIR-232
> Project: Directory
> Issue Type: Bug
> Environment: Solaris
> Reporter: Allen Wittenauer
> Assignee: Alex Karasulu
> Priority: Minor
>
> The ApacheDS package installs content directly in /var instead of in /var/opt. See filesystem(5).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.