Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-15401

domain data content directory created via rpm installation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Optional
    • None
    • 7.2.0.Beta
    • RPM
    • None

    Description

      When comparing 7.1.0 zip distro vs 7.2.0 zip distro, the latter one removed following directories from default installation:

      ./domain/data
      ./domain/data/content
      

      RPM installation creates both directories in default installation. I believe that domain/data/content directory, which is created as empty could be easily removed from the default RPM installation as it is not included in standalone mode anyway:

      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/domain/data
      eap7-wildfly-7.2.0-13.Beta_redhat_00002.2.el7eap.noarch
      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/domain/data/content
      eap7-wildfly-7.2.0-13.Beta_redhat_00002.2.el7eap.noarch
      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/standalone/data
      eap7-wildfly-7.2.0-13.Beta_redhat_00002.2.el7eap.noarch
      # rpm -qf /opt/rh/eap7/root/usr/share/wildfly/standalone/data/content
      file /opt/rh/eap7/root/usr/share/wildfly/standalone/data/content is not owned by any package
      

      Code responsible for this is on this line:

      install -d -m 775 $RPM_BUILD_ROOT%{libdir}/domain/data/content
      

      It was introduced by this commit.

      Do you think it is possible to remove /opt/rh/eap7/root/usr/share/wildfly/domain/data/content from default RPM installation?

      Reason for this removal is to keep consistent with zip distribution. I don't think there is any functional difference either way. Thus setting level for this as optional.

      Attachments

        Activity

          People

            permaine Permaine Cheung
            jstourac@redhat.com Jan Stourac
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: