UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    libertine Focal don't find group ID

    Libertine
    1
    2
    178
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bouleetbil
      last edited by Bouleetbil

      Hi,
      I've install focal OTA-1 on my volla phone.
      I've create a new libertine container

      $ libertine-container-manager create -i focal
      

      I can start firefox as well https, youtube...
      But when, I would manage my container

      phablet@ubuntu-phablet:~$ LC_ALL=C libertine-container-manager exec -i focal -c "/bin/bash"
      groups: cannot find name for group ID 32011
      
      

      Same thing as user shell :

      phablet@ubuntu-phablet:~$ LC_ALL=C  libertine-launch -i focal /bin/bash
      groups: cannot find name for group ID 32011
      I have no name!@ubuntu-phablet:~
      

      Someone use libertine focal ?

      volla phone ubports Focal OTA-1
      PinePhonePro ubports Focal OTA-1 / Mobian
      Pixel 3a ubports rc version daily use

      1 Reply Last reply Reply Quote 0
      • B
        Bouleetbil
        last edited by

        fixed with editing /etc/nsswitch.conf into libertine chroot

        passwd:         files extrausers
        group:          files extrausers
        shadow:         files extrausers
        gshadow:        files
        
        hosts:          files dns
        networks:       files
        
        protocols:      db files
        services:       db files
        ethers:         db files
        rpc:            db files
        
        netgroup:       nis
        
        

        instead

        passwd:         files systemd
        group:          files systemd
        shadow:         files
        gshadow:        files
        
        hosts:          files dns
        networks:       files
        
        protocols:      db files
        services:       db files
        ethers:         db files
        rpc:            db files
        
        netgroup:       nis
        
        

        But I can't have a root shell with :

        libertine-container-manager exec -i focal -c "/bin/bash"
        

        I've got a user shell

        volla phone ubports Focal OTA-1
        PinePhonePro ubports Focal OTA-1 / Mobian
        Pixel 3a ubports rc version daily use

        1 Reply Last reply Reply Quote 0
        • First post
          Last post