Bug 680284
Summary: | Don't create rundir in post installation script | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Nathan Kinder <nkinder> | ||||
Component: | Install/Uninstall | Assignee: | Nathan Kinder <nkinder> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 1.2.8 | CC: | amsharma, edewata, jgalipea, nhosoi, nkinder, rmeggins | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 680564 (view as bug list) | Environment: | |||||
Last Closed: | 2015-12-07 17:10:56 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 639035, 656390, 680564 | ||||||
Attachments: |
|
Description
Nathan Kinder
2011-02-24 22:25:37 UTC
Created attachment 480912 [details]
0001-do-not-create-var-run-dirsrv-setup-will-create-it-in.patch
fedora rawhide: commit 31909e6aa2f3550fd87fb316c95bb43752035b49 Author: Rich Megginson <rmeggins> Date: Thu Feb 24 15:44:15 2011 -0700 f15: commit 31909e6aa2f3550fd87fb316c95bb43752035b49 f14: commit 36b41d533e48a56782567185f71b30f201439124 f13: commit 7f60adcb57e5edbe1e9206d14eb09772f44c5dfb el5: commit 9c6088654813d05b60d9b40f8f779ac81004bc38 and commit b5a7bced384e40f65be8a8d61ae05a8a61164bae Can u please add steps to verify? Thanks (In reply to comment #3) > Can u please add steps to verify? Thanks make sure the system is completely clean of 389 packages - make sure there are no /var/*/dirsrv directories. yum install 389-ds-base There should not be a /var/run/dirsrv directory after yum install - it should be created when you run setup-ds[-admin].pl make sure the system is completely clean of 389 packages - make sure there are no /var/*/dirsrv directories. [root@amsharma etc]# rpm -qa | grep 389 [root@amsharma var]# ls -l /var/run/dirsrv ls: cannot access /var/run/dirsrv: No such file or directory I got a segmentation fault here :( (not sure, because I was under /var???) [root@amsharma var]# yum install 389-ds-base Loaded plugins: changelog, downloadonly, refresh-packagekit, rhnplugin, verify DS90 | 4.0 kB 00:00 DS90/primary_db | 3.0 MB 00:29 DS90debug | 3.0 kB 00:00 DS90debug/primary_db | 483 kB 00:08 Dep_DS90 | 4.0 kB 00:00 Dep_DS90/primary_db | 13 kB 00:00 Segmentation fault .............. [root@amsharma var]# Then Tried reinstalling the package --> [root@amsharma var]# cd / [root@amsharma /]# yum install 389-ds-base Freeing read locks for locker 0x3b6: 19846/140173401204480 Freeing read locks for locker 0x3b8: 19846/140173401204480 Freeing read locks for locker 0x3b9: 19846/140173401204480 Loaded plugins: changelog, downloadonly, refresh-packagekit, rhnplugin, verify production-rhel-x86_64-workstation-6 | 1.5 kB 00:00 production-rhel-x86_64-workstation-6/primary | 3.2 MB 00:43 production-rhel-x86_64-workstation-6 4405/4405 production-rhel-x86_64-workstation-optional-6 | 1.3 kB 00:00 production-rhel-x86_64-workstation-optional-6/primary | 689 kB 00:06 production-rhel-x86_64-workstation-optional-6 2602/2602 production-rhel-x86_64-workstation-servicedesk-6 | 1.0 kB 00:00 production-rhel-x86_64-workstation-servicedesk-6/primary | 53 kB 00:00 production-rhel-x86_64-workstation-servicedesk-6 158/158 production-rhel-x86_64-workstation-supplementary-6 | 1.5 kB 00:00 production-rhel-x86_64-workstation-supplementary-6/primary | 40 kB 00:00 production-rhel-x86_64-workstation-supplementary-6 101/101 production-rhn-tools-rhel-x86_64-workstation-6 | 1.3 kB 00:00 production-rhn-tools-rhel-x86_64-workstation-6/primary | 6.6 kB 00:00 production-rhn-tools-rhel-x86_64-workstation-6 31/31 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package 389-ds-base.x86_64 0:1.2.8.2-1.el6 will be installed --> Processing Dependency: 389-ds-base-libs = 1.2.8.2-1.el6 for package: 389-ds-base-1.2.8.2-1.el6.x86_64 --> Processing Dependency: libslapd.so.0()(64bit) for package: 389-ds-base-1.2.8.2-1.el6.x86_64 --> Running transaction check ---> Package 389-ds-base-libs.x86_64 0:1.2.8.2-1.el6 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================= Package Arch Version Repository Size ============================================================================================================================================================= Installing: 389-ds-base x86_64 1.2.8.2-1.el6 DS90 1.2 M Installing for dependencies: 389-ds-base-libs x86_64 1.2.8.2-1.el6 DS90 355 k Transaction Summary ============================================================================================================================================================= Install 2 Package(s) Total download size: 1.5 M Installed size: 5.0 M Is this ok [y/N]: y Downloading Packages: (1/2): 389-ds-base-1.2.8.2-1.el6.x86_64.rpm | 1.2 MB 00:14 (2/2): 389-ds-base-libs-1.2.8.2-1.el6.x86_64.rpm | 355 kB 00:06 ------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 70 kB/s | 1.5 MB 00:22 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 389-ds-base-libs-1.2.8.2-1.el6.x86_64 1/2 Installing : 389-ds-base-1.2.8.2-1.el6.x86_64 2/2 Installed: 389-ds-base.x86_64 0:1.2.8.2-1.el6 Dependency Installed: 389-ds-base-libs.x86_64 0:1.2.8.2-1.el6 Complete! [root@amsharma /]# Checking "/var/run/dirsrv directory after yum install" [root@amsharma /]# ls -l /var/run/dirsrv ls: cannot access /var/run/dirsrv: No such file or directory Not sure why yum core dumped. You should probably file a bug against yum. But the directory server bug has been verified. |