Mark Burgess <[EMAIL PROTECTED]> writes:

> Pardon me for saying so, but one recalls the story of the patient
> visiting the doctor: "Doctor, doctor, it hurts when I do this."
>
> To which the answer is "Then don't do that!"

I don't agree with your comparison here, but ok. In my opinion a
program shouldn't _segfault_ just if it's called with more than 31
arguments.

> Can anyone provide an example of a case in which one need to approach
> this number of arguments?

As written in the bugreport:

>>> The typical use case of 31+ arguments is with multiple -Dfoo
>>> arguments, like:
>>>
>>> $ cfagent --no-lock -x -H -Dmyfai_munin_node -Dmyfai_eth0 
>>> -Dmyfai_libnssdb_passwd -Dmyfai_libnssdb_shadow -Dmyfai_resolv_conf 
>>> -Dmyfai_etc_hosts -Dmyfai_lilo -Dmyfai_firewall_web -Dmyfai_apt_preferences 
>>> -Dmyfai_apt_list_changes -Dmyfai_apt_sources_list 
>>> -Dmyfai_forward_root_emails -Dmyfai_exim_smarthost -Dmyfai_cyb_dotfiles 
>>> -Dmyfai_ssh_key_root -Dmyfai_apt_cache_limit 
>>> -Dmyfai_init_d_oshosting_nfs_mounts -Dmyfai_init_d_oshosting_links 
>>> -Dmyfai_init_d_oshosting_update_config_web 
>>> -Dmyfai_init_d_oshosting_update_nssdb_passwd 
>>> -Dmyfai_init_d_oshosting_update_nssdb_shadow -Dmyfai_nfsmount_sessions 
>>> -Dmyfai_nfsmount_myfai -Dmyfai_enable_rsyncd -Dmyfai_oshosting_nfs_mounts 
>>> -Dmyfai_web_suexec_romain -Dmyfai_web_oshosting_phpkill 
>>> -Dmyfai_bind9_forwarders -Dmyfai_static_route_to_mail_by_lbgw 
>>> -Dmyfai_static_route_to_ns_by_lbgw -Dmyfai_enable_spamd -Dmyfai_spamd_flock 
>>> -Dmyfai_spamd_disable_bayes -Dmyfai_spamd_enable_network 
>>> -Dmyfai_cron_d_myfai_ntp -f /usr/local/myfai/etc/cfengine/generic.c
> !
>>  onf
>>> Segmentation fault

This seems like something typically done when kickstarting a new
system using e.g. fai [1].


- Werner

[1] http://www.informatik.uni-koeln.de/fai/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to