OpenSolaris

Printable Version Enter a New Search
Bug ID 6264601
Synopsis svccfg's "repository" should use relative paths
State 10-Fix Delivered (Fix available in build)
Category:Subcategory utility:smf
Keywords smf
Responsible Engineer Jonathan Adams
Reported Against
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_23
Fixed In snv_23
Release Fixed solaris_nevada(snv_23) , solaris_10u3(s10u3_02) (Bug ID:2136743)
Related Bugs
Submit Date 3-May-2005
Last Update Date 30-January-2007
Description
Trying to modify a miniroots repository.db, I'm surprised to see
svccfg open/create /repository.db (absolute), as in

  25627:  open64("//repository.db", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 0
(note the double '/')

instead of the repository.db in the current working direcroty as I
expected after uttering

  # cd /export/big/install/combined.nvs_wos/latest/Solaris_10.1/Tools/Boot/etc/svc
  # svccfg
  svc:> repository repository.db

I think it should use the CWD for operations like these. At the very least,
the manpage should reflect where the repository.db is opened/created.





 xxxxx@xxxxx.com 2005-05-03 12:20:51 GMT
Work Around
N/A
Comments
N/A