[Bug 1205098] New: 389 directory server database created in /dev/shm by default
http://bugzilla.opensuse.org/show_bug.cgi?id=1205098 Bug ID: 1205098 Summary: 389 directory server database created in /dev/shm by default Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: comes@naic.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- If I run this command on a fresh installation: dscreate create-template temp ; dscreate from-file temp the database is created in /dev/shm/slapd-localhost instead of /var/lib/dirsrv/slapd-localhost/db. running: dscreate create-template --adv /dev/stdout | grep 'db_.*=' shows indeed: ;db_dir = /var/lib/dirsrv/slapd-{instance_name}/db ;db_home_dir = /dev/shm/slapd-{instance_name} This issue is currently present in leap 15.3,15.4 and tumbleweed. Since I know by past tests that in leap 15.3 the issue was not present, I went back and found that the problem was introduced in 389-ds-1.4.4.19~git28.b12c72226 while 389-ds-1.4.4.17~git0.5e1e392ae was fine. I guess no one has ever created a fresh ds instance in leap 15.4 otherwise somebody else should have reported this problem earlier. Of course the workaround is to set db_home_dir the same as db_dir in the template file used by "dscreate from-file" -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205098 http://bugzilla.opensuse.org/show_bug.cgi?id=1205098#c1 --- Comment #1 from Giacomo Comes <comes@naic.edu> --- I was too hasty. Looks like the db in /dev/shm is there by design, no bug then. However, I may have found another bug after all. Setting in the template file: db_home_dir = /var/lib/dirsrv/slapd-{instance_name}/db and running: dscreate from-file <template file> put still the db in /dev/shm ignoring the setting of db_home_dir. Or may be I did something wrong? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205098 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aj@ajaissle.de, | |mrueckert@suse.com, | |william.brown@suse.com Assignee|screening-team-bugs@suse.de |william.brown@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205098 http://bugzilla.opensuse.org/show_bug.cgi?id=1205098#c2 --- Comment #2 from William Brown <william.brown@suse.com> --- (In reply to Giacomo Comes from comment #1)
I was too hasty. Looks like the db in /dev/shm is there by design, no bug then.
However, I may have found another bug after all. Setting in the template file: db_home_dir = /var/lib/dirsrv/slapd-{instance_name}/db and running: dscreate from-file <template file> put still the db in /dev/shm ignoring the setting of db_home_dir. Or may be I did something wrong?
Correct, it's by design. The db home is different to db_dir. There is no persistent data stored there it's "transaction overflow" before things are committed. I'd need to see the full setup.inf you used to determine if the "ignored" setting is a bug or not. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205098 http://bugzilla.opensuse.org/show_bug.cgi?id=1205098#c3 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Giacomo Comes <comes@naic.edu> --- So if was me who did something wrong. db_home_dir was ignored because I did put it in the wrong section, [backend-userroot] instead of [slapd]. Once I corrected my mistake the bd was created in the proper place. Closing the bug. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1205098 http://bugzilla.opensuse.org/show_bug.cgi?id=1205098#c4 --- Comment #4 from William Brown <william.brown@suse.com> --- No problem at all mate, if you have any other issues, please let us know :) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com