Comments (5)
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.
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.
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](https://private-user-images.githubusercontent.com/25359455/296458444-6143c683-b929-48ac-87e5-6fc90c905b97.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE5ODU1ODQsIm5iZiI6MTcyMTk4NTI4NCwicGF0aCI6Ii8yNTM1OTQ1NS8yOTY0NTg0NDQtNjE0M2M2ODMtYjkyOS00OGFjLTg3ZTUtNmZjOTBjOTA1Yjk3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI2VDA5MTQ0NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY2NzEzN2NlNGI3ZWUyZjZjODJhNTEwNGVhNmQyODYyMGUzNTliMTc0YjU5MTMzZWNjNWVjZTBkMjc2NTBjNmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.4vEFGFZ0-16n3AorZ2AyZteOLt1NVeGP7aO34a0mZ10)
from aoscoslauncher.
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.
Transferring this issue to bootstrap repo...
from aoscoslauncher.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aoscoslauncher.