[Bug 250691] mail/fetchmail: Bad -c option

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 28 13:44:23 UTC 2020


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

--- Comment #3 from Corey Halpin <chalpin at cs.wisc.edu> ---
On the affected machine, what is root's login shell?

Are there entries in the affected machine's /etc/login.conf that would apply to
the `sh` login class?

For what it's worth, 'Bad -c option' does not come from `su`, but from `sh`
when the given command is empty. In 12.1, it's coming from `bin/sh/options.c`
line 199:
https://svnweb.freebsd.org/base/release/12.1.0/bin/sh/options.c?view=markup#l199
.  It's what one would get when running `sh -c` without actually providing any
argument to the -c option.

What I can't (yet) figure out is how that could happen given the information
you've provided.

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


More information about the freebsd-ports-bugs mailing list