On 08/19/09 14:17, Peter Memishian wrote:
 > Nothing seems completely reproducable.
> > Just now I deleted a whole bunch of VLANs (4094 of them), and can see > that via dladm show-link. However, > > # wc -l /etc/dladm/datalink.conf
 >      4127 /etc/dladm/datalink.conf
> > suggests otherwise. One symptom is > > # dladm rename-link bge3 nic1
 > dladm: rename operation failed: permission denied

Is /etc/dladm/datalink.conf owned by dladm, group sys, mode 644?


Some more thoughts...

Oddly, over 4000 remove-vlan operations were 'successful', as I check the return code when to know that there aren't any more to remove. so while the rename failed due to permission, the remove failed silently.

The existence of dlmgmtd may explain the 'generic' permission denied error message I have been seeing, compared to a more descriptive error message I captured on S10 yesterday--I had noticed the difference and was ready to file a bug.

On S10 (where I was trying to create an aggregation on a link already part of an IPMP group--device busy was very useful)
dladm: create operation failed: Device busy (invalid interface name)

I realize the situations are not identical, so I'll have to see if I can create some similar ones to get clarity.

Thanks to both for the insights!

Steffen
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to