Hi, I need some suggestion on some problems I ran into during my project work:
I added a network/linkmgmtd service which starts a linkmgmtd daemon, and it is an network device related service that device/local and network/physical have been changed to depend on it. Because of that, I added this linkmgmtd service into the seed repository, but ran into several problems: a. in the bfu script, do I need to add the logic to import this linkmgmtd service? It seems it is necessary from the precedence example set by network/datalink service. b. I did (a), but I then found although dependency defines that network/physical depends on linkmgmtd. linkmgmtd is started too late - only after network/physical is started. I checked the dependencies after boot finished and they look fine, so was the next reboot. I suspect it is because the dependency of network/physical is updated too late, and I tried to manually update network/physical service's dependency after bfu but before reboot (by svccfg delete -f followed by svccfg import). Now the system boots fine on the first reboot of bfu. c. I am not sure that proves my theory. If that is not true, what is the problem? and if it is, what is the right way to update the dependency? whether I should add the svccfg delete and reimport logic into the $rootprefix/var/svc/profile/upgrade script? d. When I tried to backward bfu from my bits to previous bits, the same problem happened that network/physical doesn't remove the linkmgmtd dependency and it fails. How to solve this problem? Thanks - Cathy