Skip to content

Strange symlink created by x11docker again. #384

@hongyi-zhao

Description

@hongyi-zhao

I'm on Ubuntu 20.04.2 LTS and use the latest git master version of x11docker:

$ git log -1
commit 4034809021e1800701ed83ab063f8aecf466847d (HEAD -> master, origin/master, origin/HEAD)
Author: mviereck <bachbaum24@gmx.de>
Date:   Mon Sep 13 17:27:25 2021 +0200

    --sudouser: fix argument check/no arg

When I start my docker container with the following command:

$ x11docker --runasroot 'sed -r "s/^[[:blank:]]*[|]//" <<-EOF > /etc/sudoers
        |#$ sudo grep -Ev '\''^[ ]*(#|$)'\'' /etc/sudoers  
        |Defaults	env_reset
        |Defaults	mail_badpass
        |Defaults	secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
        |root	ALL=(ALL:ALL) ALL
        |%admin ALL=(ALL) ALL
        |%sudo	ALL=(ALL:ALL) ALL
        |$USER ALL=(ALL) NOPASSWD:ALL
	EOF' --xephyr --network=bridge --pulseaudio --xoverip --home --share=$HOME --sudouser -c --desktop --init=systemd -- --device /dev/mem:/dev/mem --cap-add=ALL -- hongyizhao/deepin-wine

I always noticed the following symlink will be created:

$ ls -l werner 
lrwxrwxrwx 1 werner werner 17 Sep 23 11:27 werner -> /home.host/werner
$ ls -l /home.host/werner
ls: cannot access '/home.host/werner': No such file or directory

Regards,
HZ

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions