Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: sudo policy plugin fails to initialize session in a Docker container: why?

  1. Default Re: sudo policy plugin fails to initialize session in a Docker container: why?

    @malcomlewis - sorry, you seem to have misunderstood what this question is about. I can run docker without a problem (i.e., running docker run -i -t CONTAINER /bin/zsh happens without a hitch, my user account is added to the docker group so there's no problem there), it is running sudo from WITHIN a docker container that is the problem.

    ps. malcolm I mentioned you in another post (not sure how to CC someone in a forum post though) https://forums.opensuse.org/showthre...etary-software.
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  2. #12
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,864
    Blog Entries
    15

    Default Re: sudo policy plugin fails to initialize session in a Docker

    On Thu 31 Mar 2016 11:56:05 AM CDT, fusion809 wrote:

    @malcomlewis — sorry, you seem to have misunderstood what this
    question is about. I can run docker without a problem (i.e., running
    docker run -i -t CONTAINER /bin/zsh happens without a hitch, my user
    account is added to the docker group so there's no problem there), it is
    running sudo from WITHIN a docker container that is the problem.

    ps. malcolm I mentioned you in another post (not sure how to CC someone
    in a forum post though) http://tinyurl.com/j85d5xb.


    Hi
    Ahh OK, understand now

    Hmmm, I just cleaned things out and did a docker pull
    opensuse:tumbleweed, fired it up and did a cat /etc/os-release and it
    shows it's Leap...?

    --
    Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
    SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.53-60.30-default
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  3. Default Re: sudo policy plugin fails to initialize session in a Docker container: why?

    For me it doesn't. Maybe cause I'm running Docker on Arch Linux and not openSUSE Leap like you are?

    Code:
    [13:38:37]  security # cat /etc/os-release
    NAME=openSUSE
    VERSION="Tumbleweed"
    VERSION_ID="20160329"
    PRETTY_NAME="openSUSE Tumbleweed (20160329) (x86_64)"
    ID=opensuse
    ANSI_COLOR="0;32"
    CPE_NAME="cpe:/o:opensuse:opensuse:20160329"
    BUG_REPORT_URL="https://bugs.opensuse.org"
    HOME_URL="https://www.opensuse.org/"
    ID_LIKE="suse"
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

  4. Default Re: sudo policy plugin fails to initialize session in a Docker container: why?

    Your comment, Malcolm, caused me to check if this sudo error existed in a Leap container and it doesn't. In the Leap container sudo and su are running fine. So it does seem to be Tumbleweed-specific.
    Brenton Horne: Linux enthusiast and writer of ​The Hornery.
    Seven favourite distros
    : Arch, Fedora, Gentoo, openSUSE Tumbleweed and Void.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •