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!" Can anyone provide an example of a case in which one need to approach this number of arguments? M Morten Werner Forsbring wrote: > tags 448139 upstream > thanks > > Hi, > > here is a bugreport from one of our Debian users. I've confirmed this > bug on cfengine version 2.2.2. > > > - Werner > > Cyril Bouthors <[EMAIL PROTECTED]> writes: > >> Package: cfengine2 >> Version: 2.1.22-2 >> Severity: critical >> >> cfagent crashes with a segmentation fault when 31+ arguments are >> supplied >> >> It can easily be reproduced with: >> >> $ cfagent -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a -a >> -a -a -a -a -a -a -a -a -a >> Segmentation fault >> $ >> >> 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 >> $ >> >> I'm almost sure that this command used to be working on previous >> versions of cfengine. > _______________________________________________ > Bug-cfengine mailing list > [EMAIL PROTECTED] > https://cfengine.org/mailman/listinfo/bug-cfengine -- Mark Burgess Professor of Network and System Administration Oslo University College ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Work: +47 22453272 Email: [EMAIL PROTECTED] Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]