Giter VIP home page Giter VIP logo

arch-wsl's People

Contributors

badgumby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

arch-wsl's Issues

Tiny mistakes in the section of systemd in README.md

I came across this guide of yours while searching for how to enable systemd in WSL2. I've been using the system for a long time, but have been struggling with enabling or bypassing it. Fortunately, your tips here have rekindled my confidence in keeping Arch on WSL 2 as my primary distro.

After repeatedly following the README, it still didn't work, so I went to the WSL.dev you referred to and found two small errors in what you gave following vim /etc/profile.d/00-wsl2-systemd.sh

Line 4, /lib/ systemd/systemd -> /lib/systemd/systemd

Line 5, basic. target$ -> basic.target$

Fixing them, I rebooted the Arch on WSL 2 and succeed to enable systemd, checking by the command systemctl.

Thanks for your guide again! It really helped me a lot.

Typos

arch-wsl/README.md

Lines 172 to 177 in 36d4f69

sudo /usr/bin/daemonize /usr/bin/unshare --fork --pid --mount-proc /lib/ systemd/systemd --system-unit=basic.target
SYSTEMD_PID=$(ps -ef | grep '/lib/systemd/systemd --system-unit=basic. target$' | grep -v unshare | awk '{print $2}')
fi
if [ -n "$SYSTEMD_PID" ] && [ "$SYSTEMD_PID" != "1" ]; then
exec sudo /usr/bin/nsenter -t $SYSTEMD_PID -a su - $LOGNAME

the spaces between /lib/ systemd/systemd and =basic. target$' should be removed

and in

exec sudo /usr/bin/nsenter -t $SYSTEMD_PID -a su - $LOGNAME

should be

exec sudo /usr/bin/nsenter -t $SYSTEMD_PID -m -p su - $LOGNAME

because something is changed in util-linux. if not you hit DamionGans/ubuntu-wsl2-systemd-script#36

greetings

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.