Giter VIP home page Giter VIP logo

Comments (5)

Fearyncess avatar Fearyncess commented on July 26, 2024 1

https://github.com/AOSC-Dev/aoscbootstrap/blob/master/assets/cleanup.sh#L43 this line makes /etc/machine-id missing in generated tarball. thus let wsl or the other things hijacked this file, let it become a read-only file.

there is a temporary solution: create a empty file in the tarball.

from aoscoslauncher.

ZeroAurora avatar ZeroAurora commented on July 26, 2024

Append: Confirmed and reproduced in AOSC QQ Group. Tried downgrading WSL to 2.0.14 and 2.0.9 and still not working.
The cause seems to be DBus socket not presenting at /run/dbus/system_bus_socket. Running a working distro by side seems to create(?) it and make it work.
The problem is that:

  • why they "share" a working socket? or at least, why and how they affect each other?
  • why other distros work?

Update

Since the cause of the issue is found and is completely unrelated to dbus itself, this comment is folded. The "sharing" dbus socket is still a fun mystery though :)

Up-update

No. Completely unrelated. Firing up other systemd distro just makes AOSC's firstboot run. Mystery.

from aoscoslauncher.

ZeroAurora avatar ZeroAurora commented on July 26, 2024

Noticed that actually the system isn't fully booted up. This is the cause for dbus not starting.
Some dev suggested to disable sshd service, but not working for my env.
I discovered that the boot process stuck at systemd-firstboot.service by running sudo systemctl list-jobs.
Killed it and works.
Changing the issue title...

936dbfddca4e5200d9d2e06fb4fe08a0

from aoscoslauncher.

ZeroAurora avatar ZeroAurora commented on July 26, 2024

After discovering with that dev, we finally found the cause: /etc/machine-id is mounted RO by WSL.
Last question: why? why not others?

from aoscoslauncher.

ZeroAurora avatar ZeroAurora commented on July 26, 2024

图片
Transferring this issue to bootstrap repo...

from aoscoslauncher.

Related Issues (4)

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.