Opened 23 months ago
Closed 18 months ago
#66542 closed defect (fixed)
sshuttle: can't read "env(USER)": no such variable
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | ventura | Cc: | kencu (Ken) |
Port: | sshuttle |
Description
DEBUG: Executing proc-pre-org.macports.destroot-destroot-1 DEBUG: Executing proc-pre-org.macports.destroot-destroot-2 Error: Failed to destroot sshuttle: can't read "env(USER)": no such variable DEBUG: Error code: NONE DEBUG: Backtrace: can't read "env(USER)": no such variable
Change History (6)
comment:1 Changed 23 months ago by jmroot (Joshua Root)
comment:3 Changed 21 months ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | kencu added |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
That didn't fix it. You wrote in the commit message that you're checking if USER exists, but you're actually checking whether it's not empty, which is different.
comment:5 Changed 21 months ago by kencu (Ken)
Ah, darn -- it's hard for me to test the buildbot setup.
Thanks for following it up.
comment:6 Changed 18 months ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note: See
TracTickets for help on using
tickets.
I expect this is not Ventura-specific, but is likely rare outside of the buildbot environment, though anyone could have
USER
unset. It should probably be using either${macportsuser}
or${install.user}
depending on what it's trying to accomplish. (And should presumably only be attempted when running as root.) What user do the files belong to to begin with, anyway?