[Bug 239832] security/secpanel hard-coding of "gnome-terminal" fails under mate-only installation

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 26 05:57:37 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239832

--- Comment #15 from Jim D. <radicleparticles at gmail.com> ---
There is still something "wrong" about the implementation of secpanel. Once
installed, it uses a default user configuration file that has only two lines in
it which do not define any terminal or browser application. When attempting to
execute "secpanel" from icon - nothing appears to happen. When executing the
"/usr/local/bin/secpanel" script manually, it fails:

Error in startup script: can't read "configs(browserbin)": no such element in
array
    while executing
"$widget([set f]ent) insert 0 "$configs([set f]bin)""
    (procedure "main" line 11)
    invoked from within
"main $argc $argv"
    (file "/usr/local/bin/secpanel" line 2567)

The element being searched for does not exist within the application
"default.config" file.

Yet, when I copy over my previous user "config" file (see attachment 206912),
everything works just fine. So SOMEthing, SOMEwhere, created the modified user
config file. I know that _I_ didn't create the entire thing on my own.

I have looked long at the Secpanel TCL scripts and can't find any resolution to
this issue. I also don't understand one TCL "foreach" statement that has an odd
number of values used to assign to two loop variables, manages to work.

Something within TCL/TK-land must have generated the user config file that I
have, but I cannot see what or where.

It may be simplest just to supply two "sample" config files, without the "wins"
statements, for the two major terminal emulators: gnome-terminal and
mate-terminal. I will test some variations on this and report back.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list