[jira] Created: (DIR-232) Solaris package installs content in the wrong place

View: New views
7 Messages — Rating Filter:   Alert me  

[jira] Created: (DIR-232) Solaris package installs content in the wrong place

by JIRA directory-dev@incubator.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


[jira] Commented: (DIR-232) Solaris package installs content in the wrong place

by JIRA directory-dev@incubator.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/DIR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615037#action_12615037 ]

Allen Wittenauer commented on DIR-232:
--------------------------------------

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.


[jira] Issue Comment Edited: (DIR-232) Solaris package installs content in the wrong place

by JIRA directory-dev@incubator.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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.


[jira] Issue Comment Edited: (DIR-232) Solaris package installs content in the wrong place

by JIRA directory-dev@incubator.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ 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:48 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 e (editable).  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 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.
 

> 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.


[jira] Commented: (DIR-232) Solaris package installs content in the wrong place

by JIRA directory-dev@incubator.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/DIR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624330#action_12624330 ]

Emmanuel Lecharny commented on DIR-232:
---------------------------------------

Do we have a status for this issue ?

> 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.


[jira] Assigned: (DIR-232) Solaris package installs content in the wrong place

by JIRA directory-dev@incubator.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/DIR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre-Arnaud Marcelot reassigned DIR-232:
------------------------------------------

    Assignee: Pierre-Arnaud Marcelot  (was: Alex Karasulu)

> 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: Pierre-Arnaud Marcelot
>            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.


[jira] Commented: (DIR-232) Solaris package installs content in the wrong place

by JIRA directory-dev@incubator.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/DIR-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12624338#action_12624338 ]

Pierre-Arnaud Marcelot commented on DIR-232:
--------------------------------------------

This issue has not been resolved yet.

Thanks Allen for letting us know about the "/var/opt/" specific case on Solaris, as well your other points.

I'll address this for 1.5.4.

I think this issue should be moved to the "DIRSERVER" category and assigned to version 1.5.4.

WDYT?

 

> 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.