https://bugzilla.novell.com/show_bug.cgi?id=637382 https://bugzilla.novell.com/show_bug.cgi?id=637382#c26 --- Comment #26 from dev001x _ <pgngw+dev001+novell.com@f-m.fm> 2010-11-10 23:44:04 UTC --- (In reply to comment #25)
I vote for just shell variable defines in /etc/sysconfig/nfs or similar.
+1
I think that yet-another special-purpose /etc/ file with configuration that each daemon reads would be unnecessary complexity ... though I'm not sure that is what you are suggesting.
in my comment, i'd intended just one file -- i'd simply called it /etc/sysconfig-nfs_services to be more descriptive and inclusive of all available ports. If this _is_ trending towards the all-in-one-place solution, great. Still _do_ need to address whether each daemon requires an option for setting UDP & TCP ports separately. Personally, I've never done so -- but, I _do_ note that, e.g., options lockd nlm_udpport=4001 nlm_tcpport=4001 certainly gives you the option. I've never seen the other daemons' ports split by protocol, and, afaict, @dynamic assignment, UDP & TCP get same port assignments. the (complete?) nfs-related services list is mountd status nlockmgr rquotad then, for VARS in a /etc/sysconfig/nfs, if VAR undefined, then port option == /etc/services or build-default (absolutely NO idea what to suggest for quotad vs rquotad, and whether or not to 'take' /etc/services' quotad value as a static *default*) if VAR defined, then simple overwrite of port value. finally, still need to address whether to call out VARS for port-only, or for daemon-options. i.e., from current /etc/syconfig/nfs MOUNTD_PORT="4002" ... STATD_OPTIONS="-p 4000" one's "just the port", the other's "all options". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.