Opened 15 years ago
Closed 15 years ago
#20907 closed defect (fixed)
sudo succeeds install but fails on usage
Reported by: | guy.kogus@… | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | sudo |
Description
I just installed Snow Leopard and decided to re-install MacPorts from scratch. After installing sudo, which succeeds without problems, I get critical errors when I use it. When I use the MacPorts' sudo Terminal stops responding. I can't re-open Terminal until I restart the computer. The built-in sudo works fine.
Change History (6)
comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)
Keywords: | snowleopard added |
---|---|
Owner: | changed from macports-tickets@… to snc@… |
Status: | new → assigned |
comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added the missing directory in r56552.
comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
There are missing Defaults lines in the sudoers files that is distributed!
Defaults env_reset Defaults env_keep += "BLOCKSIZE" Defaults env_keep += "COLORFGBG COLORTERM" Defaults env_keep += "__CF_USER_TEXT_ENCODING" Defaults env_keep += "CHARSET LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE" Defaults env_keep += "LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME" Defaults env_keep += "LINES COLUMNS" Defaults env_keep += "LSCOLORS" Defaults env_keep += "SSH_AUTH_SOCK" Defaults env_keep += "TZ" Defaults env_keep += "DISPLAY XAUTHORIZATION XAUTHORITY" Defaults env_keep += "EDITOR VISUAL"
comment:5 Changed 15 years ago by nerdling (Jeremy Lavergne)
Keywords: | snowleopard removed |
---|---|
Version: | 1.8.0 |
comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Try the dist file from r56850 (or just copy yours from /etc/sudoers).
Note: See
TracTickets for help on using
tickets.
Two things are possibly wrong from what I can see:
${prefix}/var/run/sudo is missing and/or a bug in libdispatch.
Further investigation after a reboot :-)