Opened 5 weeks ago

Last modified 2 weeks ago

#66542 assigned defect

sshuttle: can't read "env(USER)": no such variable

Reported by: ryandesign (Ryan Schmidt) Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc:
Port: sshuttle


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 (2)

comment:1 Changed 5 weeks ago by jmroot (Joshua Root)

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?

comment:2 Changed 2 weeks ago by kencu (Ken)

that bit of code was added to fix this issue 65331

Note: See TracTickets for help on using tickets.