Shawn Walker wrote:
[cc'ing pkg-discuss]

On 03/ 5/10 03:30 PM, Anurag S. Maskey wrote:
I had one conversation with a user who upgraded from phase 0.5 to 1
(using onu) whose /etc/nwam/llp did not get upgraded. The bits were
post-IPS integration. The user was running OpenSolaris in a VirtualBox
and had a static IP configured in /etc/nwam/llp and also had NIS
configured. After upgrade, no User NCP was created. A User location was
created and selected on upgrade.

In my test with BFU on Nevada, /etc/nwam/llp was upgraded to the User
NCP. I'll try to find/build such IPS bits on Monday and test. However,
in the meantime, if anyone has such bits, please send me a pointer.

Any ideas for the cause of the problem?

Assuming you're speaking of the system/network package in the ON gate, the issue is probably that no package previously claimed ownership of /etc/nwam (which was a package bug).

As a result, when you did the upgrade, the package system salvaged what was there (and moved it to lost+found; see below) since it was unexpected.

If I'm right, you'll find the missing files in /var/pkg/lost+found/*
I'll check /var/pkg/lost+found/ on Monday when I'll create a repo and do image-update.

If /etc/nwam/llp is a file intended to be edited by end users, then I believe the package needs to declare it, and then set the preserve attribute appropriately. However, perhaps someone else more of an expert in this area on pkg-discuss can provide additional guidance.
/etc/nwam/llp was a user-editable file in phase 0.5 nwam (builds < 134). In Phase 1 nwam (builds >= 135), /etc/nwam/llp is just used once, the very first reboot to upgrade that configuration to phase 1 (which is created in /etc/nwam/*.conf files). These /etc/nwam/*.conf files are not meant-to be edited by users (just like /etc/dladm/datalink.conf).

Anurag

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to