Skip to content

sudo fish broken #5147

Closed
Closed

Description

@faho

When I execute sudo fish with fish 2.7.1-1367-g3de705742, it gets stopped immediately.

  • sudo is a command
  • other shells (e.g. sudo bash) work
  • preexec events in the outer fish don't seem to matter (i.e. I can remove __fish_disable_bracketed_paste and still trigger the bug)

I imagine that's because of #5133.

Activity

  1. added
    bug
    on Aug 13, 2018
  2. added this to the fish-3.0 milestone on Aug 13, 2018
  3. mqudsi commented on Aug 16, 2018

    @mqudsi
    Contributor

    I can't reproduce.

    image

  4. mqudsi commented on Aug 16, 2018

    @mqudsi
    Contributor

    Do you have a custom prompt or right prompt?

  5. faho commented on Aug 16, 2018

    @faho
    MemberAuthor

    Do you have a custom prompt or right prompt?

    I do, but I can reproduce this even without them.

    You're on WSL, which has diverged quite a bit in the job handling code, so it's possible it's not setting up the pgroups in quite the same way.

  6. mqudsi commented on Aug 16, 2018

    @mqudsi
    Contributor

    I thought about that, but I ended up changing WSL to exhibit similar job control to Linux in recent commits.

    In all cases:

    image

    So it might be a glibc bug instead.

  7. zanchey commented on Aug 18, 2018

    @zanchey
    Member

    WFM here with 2.7.1-1388-g7606bfc2 and glibc 2.24-11+deb9u3.

  8. ridiculousfish commented on Aug 18, 2018

    @ridiculousfish
    Member

    This repros for me on my Linux box. It does bisect to #5133.

  9. reopened this on Aug 19, 2018
  10. ridiculousfish commented on Aug 19, 2018

    @ridiculousfish
    Member

    This got reopened - did my fix not work for you?

  11. faho commented on Aug 20, 2018

    @faho
    MemberAuthor

    Works for me. @mqudsi?

  12. mqudsi commented on Aug 20, 2018

    @mqudsi
    Contributor

    I wasn't aware of reopening it; but I did view this issue on my iPhone so perhaps I fat fingered it or touched it inadvertently.

  13. added
    regression
    on Oct 2, 2018
  14. locked as resolved and limited conversation to collaborators on Apr 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugregression

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions