Issue Details (XML | Word | Printable)

Key: DIRSERVER-749
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Chris Custine
Reporter: Bastiaan Bakker
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Directory ApacheDS

fix issues with apacheds RPM to get it working out of the box

Created: 22/Sep/06 01:13 PM   Updated: 15/Feb/09 01:36 PM
Return to search
Component/s: installer-plugin
Affects Version/s: 1.0.1, 1.0
Fix Version/s: 1.5.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works apacheds-branch-1.0-server-installers-rpmfix.patch 2006-09-22 01:27 PM Bastiaan Bakker 7 kB
Text File Licensed for inclusion in ASF works apacheds-daemon-trunk-rpmfix.patch 2006-09-22 01:27 PM Bastiaan Bakker 25 kB
Environment: linux

Resolution Date: 09/Aug/07 06:52 AM


 Description  « Hide
The apacheds RPM has several issues that prevent it from running out of the box:
* the init script fails to run because APACHEDS_USER is set to $USER, which is not defined at boot time
* the init script fails to run bevause JAVA_HOME is not defined
* the init script it is not registered to the init subsystem with chkconfig or similar
* the config files are not marked as such, causing them to be silently overwritten when one upgrades the RPM
* the RPM filename is not conform conventions: ${name}-${version}-${release}.${arch}.rpm
* the location of the files (/usr/local/apacheds-1.0_RC4) is version dependent, making upgrades cumbsome. The admin has to relocate the partitions and config files on every updgrade.
* the sources and docs are included in the rpm, even though they are not necessary for operation.

The RPM build mechanism for apacheds also has some issues:
* runs rpmbuild as root, which is frowned upon by RPM gurus for security and safety reasons.
* the generated src.rpm is not self contained, ie. one cannot do a 'rpmbuild --rebuild' with it.
* the sudo mechanism is totally unnecessary
 

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Bastiaan Bakker made changes - 22/Sep/06 01:27 PM
Field Original Value New Value
Attachment apacheds-daemon-trunk-rpmfix.patch [ 12341395 ]
Attachment apacheds-branch-1.0-server-installers-rpmfix.patch [ 12341396 ]
Alex Karasulu made changes - 28/Sep/06 05:21 PM
Assignee Alex Karasulu [ akarasulu ]
Alex Karasulu made changes - 28/Sep/06 05:23 PM
Fix Version/s 1.1.0 [ 12310790 ]
Fix Version/s 1.0 [ 12312043 ]
Alex Karasulu made changes - 28/Sep/06 05:35 PM
Status Open [ 1 ] In Progress [ 3 ]
Alex Karasulu made changes - 02/Oct/06 03:17 AM
Priority Major [ 3 ] Minor [ 4 ]
Fix Version/s 1.0.1 [ 12312091 ]
Fix Version/s 1.0 [ 12312043 ]
Alex Karasulu made changes - 02/Oct/06 03:22 AM
Status In Progress [ 3 ] Open [ 1 ]
Alex Karasulu made changes - 13/Feb/07 06:02 PM
Fix Version/s 1.5.0 [ 12310790 ]
Fix Version/s 1.0.1 [ 12312091 ]
Fix Version/s 1.5.1 [ 12310792 ]
Affects Version/s 1.0-RC4 [ 12311053 ]
Affects Version/s 1.5.0 [ 12310790 ]
Fix Version/s 1.0.2 [ 12312309 ]
Affects Version/s 1.0.1 [ 12312091 ]
Alex Karasulu made changes - 23/Apr/07 04:41 AM
Affects Version/s 1.5.0 [ 12310790 ]
Affects Version/s 1.0 [ 12312043 ]
Fix Version/s 1.0.3 [ 12312395 ]
Fix Version/s 1.0.2 [ 12312309 ]
Chris Custine made changes - 01/Jun/07 02:57 AM
Assignee Alex Karasulu [ akarasulu ] Chris Custine [ ccustine ]
Chris Custine made changes - 09/Aug/07 06:52 AM
Fix Version/s 1.0.3 [ 12312395 ]
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Emmanuel Lecharny made changes - 15/Feb/09 01:36 PM
Status Resolved [ 5 ] Closed [ 6 ]