Comments (2)
After trying to reinstall it once again, it seems this issue is not appearing anymore 😅
What I did / step to reinstall:
sudo pacman -R bottle-imp
sudo rm /run/systemd/generator/imp-*
#in powershell
wsl --terminate [distro-name] #restart WSL distro
wsl -d [distro-name]
sudo pacman -U [bottle-imp-archive]
#in powershell
wsl --terminate [distro-name] #restart WSL distro once again
wsl -d [distro-name] imp -s
from bottle-imp.
Apologize. It seems the issue is back. I think the main problem is that several imp
units are not started by systemd
properly.
~ took 8s
❯ exa -l /run/systemd/generator/imp-*
.rw-r--r-- 600 root 29 Nov 21:02 /run/systemd/generator/imp-fixshm.service
.rw-r--r-- 358 root 29 Nov 21:02 /run/systemd/generator/imp-pstorefs.service
.rw-r--r-- 276 root 29 Nov 21:02 /run/systemd/generator/imp-remount-root-shared.service
.rw-r--r-- 383 root 29 Nov 21:02 /run/systemd/generator/imp-securityfs.service
.rw-r--r-- 382 root 29 Nov 21:02 /run/systemd/generator/imp-wslg-socket.service
~
❯ systemctl status imp-fixshm
○ imp-fixshm.service - bottle-imp - Fix the /dev/shm symlink to be a mount
Loaded: loaded (/run/systemd/generator/imp-fixshm.service; generated)
Active: inactive (dead)
~
❯ systemctl status imp-pstorefs
○ imp-pstorefs.service - bottle-imp - Kernel Persistent Storage File System
Loaded: loaded (/run/systemd/generator/imp-pstorefs.service; generated)
Active: inactive (dead)
~
❯ systemctl status imp-remount-root-shared
○ imp-remount-root-shared.service - bottle-imp - Remount Root Filesystem Shared
Loaded: loaded (/run/systemd/generator/imp-remount-root-shared.service; generated)
Active: inactive (dead)
~
❯ systemctl status imp-securityfs
○ imp-securityfs.service - bottle-imp - Kernel Security File System
Loaded: loaded (/run/systemd/generator/imp-securityfs.service; generated)
Active: inactive (dead)
~
❯ systemctl status imp-wslg-socket
○ imp-wslg-socket.service - bottle-imp - WSLg socket remount service
Loaded: loaded (/run/systemd/generator/imp-wslg-socket.service; generated)
Active: inactive (dead)
Condition: start condition failed at Tue 2022-11-29 21:02:08 +07; 10min ago
└─ ConditionPathExists=/tmp/.X11-unix was not met
Nov 29 21:02:08 8atagor systemd[1]: bottle-imp - WSLg socket remount service was skipped because of an unmet condition check (ConditionPathExists=/tmp/.X11-unix).
Trying to restart imp-fixshm
produced the following result.
❯ systemctl status imp-fixshm
○ imp-fixshm.service - bottle-imp - Fix the /dev/shm symlink to be a mount
Loaded: loaded (/run/systemd/generator/imp-fixshm.service; generated)
Active: inactive (dead)
Condition: start condition failed at Tue 2022-11-29 22:40:20 +07; 7min ago
└─ ConditionPathIsSymbolicLink=/dev/shm was not met
Nov 29 22:40:20 8atagor systemd[1]: bottle-imp - Fix the /dev/shm symlink to be a mount was skipped because of an unmet condition check (ConditionPathIsSymbolicLink=/dev/shm).
I tried to reproduce the issue by bootstrapping a new, clean ArchWSL distro and I found no issue there.
[mangkoran@8atagor ~]$ ls -la /run/systemd/generator/imp-*
-rw-r--r-- 1 root root 600 Nov 29 21:02 /run/systemd/generator/imp-fixshm.service
-rw-r--r-- 1 root root 358 Nov 29 21:02 /run/systemd/generator/imp-pstorefs.service
-rw-r--r-- 1 root root 276 Nov 29 21:02 /run/systemd/generator/imp-remount-root-shared.service
-rw-r--r-- 1 root root 383 Nov 29 21:02 /run/systemd/generator/imp-securityfs.service
-rw-r--r-- 1 root root 382 Nov 29 21:02 /run/systemd/generator/imp-wslg-socket.service
[mangkoran@8atagor ~]$ systemctl status imp-fixshm
○ imp-fixshm.service - bottle-imp - Fix the /dev/shm symlink to be a mount
Loaded: loaded (/run/systemd/generator/imp-fixshm.service; generated)
Active: inactive (dead) since Tue 2022-11-29 21:02:22 +07; 4min 30s ago
Process: 31 ExecStart=/usr/lib/bottle-imp/imp-executor devshm (code=exited, status=0/SUCCESS)
Main PID: 31 (code=exited, status=0/SUCCESS)
Nov 29 21:02:22 8atagor systemd[1]: imp-fixshm.service: Deactivated successfully.
Nov 29 21:02:22 8atagor systemd[1]: Finished bottle-imp - Fix the /dev/shm symlink to be a mount.
Notice: journal has been rotated since unit was started, output may be incomplete.
[mangkoran@8atagor ~]$ systemctl status imp-pstorefs
○ imp-pstorefs.service - bottle-imp - Kernel Persistent Storage File System
Loaded: loaded (/run/systemd/generator/imp-pstorefs.service; generated)
Active: inactive (dead)
Condition: start condition failed at Tue 2022-11-29 21:02:22 +07; 4min 35s ago
└─ ConditionPathExists=/sys/fs/pstore was not met
[mangkoran@8atagor ~]$ systemctl status imp-remount-root-shared
○ imp-remount-root-shared.service - bottle-imp - Remount Root Filesystem Shared
Loaded: loaded (/run/systemd/generator/imp-remount-root-shared.service; generated)
Active: inactive (dead) since Tue 2022-11-29 21:02:22 +07; 4min 39s ago
Process: 43 ExecStart=/usr/lib/bottle-imp/imp-executor rrfs (code=exited, status=0/SUCCESS)
Main PID: 43 (code=exited, status=0/SUCCESS)
Nov 29 21:02:22 8atagor systemd[1]: Starting bottle-imp - Remount Root Filesystem Shared...
Nov 29 21:02:22 8atagor systemd[1]: imp-remount-root-shared.service: Deactivated successfully.
Nov 29 21:02:22 8atagor systemd[1]: Finished bottle-imp - Remount Root Filesystem Shared.
[mangkoran@8atagor ~]$ systemctl status imp-securityfs
○ imp-securityfs.service - bottle-imp - Kernel Security File System
Loaded: loaded (/run/systemd/generator/imp-securityfs.service; generated)
Active: inactive (dead)
Condition: start condition failed at Tue 2022-11-29 21:02:22 +07; 4min 43s ago
└─ ConditionPathExists=/sys/kernel/security was not met
[mangkoran@8atagor ~]$ systemctl status imp-wslg-socket
○ imp-wslg-socket.service - bottle-imp - WSLg socket remount service
Loaded: loaded (/run/systemd/generator/imp-wslg-socket.service; generated)
Active: inactive (dead) since Tue 2022-11-29 21:02:22 +07; 4min 45s ago
Process: 62 ExecStart=/usr/lib/bottle-imp/imp-executor wslg (code=exited, status=0/SUCCESS)
Main PID: 62 (code=exited, status=0/SUCCESS)
Nov 29 21:02:22 8atagor systemd[1]: Starting bottle-imp - WSLg socket remount service...
Nov 29 21:02:22 8atagor systemd[1]: imp-wslg-socket.service: Deactivated successfully.
Nov 29 21:02:22 8atagor systemd[1]: Finished bottle-imp - WSLg socket remount service.
from bottle-imp.
Related Issues (18)
- Failed to connect bus HOT 21
- `imp -i` fails when running in WSL HOT 2
- cannot launch shell; systemd-machined is not active HOT 5
- `[email protected]` failed HOT 3
- New update breaks `imp -s` on Ubuntu 22.04 HOT 8
- binary imp -i fails w/ keyerror HOT 4
- `imp -l` no color
- systemd-sysctl.service failed to load HOT 14
- imp v1.0 cannot install on arch HOT 2
- `code-insiders` command no longer works after installing HOT 1
- `[email protected]` failed when `bottle-imp` is installed HOT 1
- windows app paths missing from $PATH HOT 1
- bottle-imp cannot be installed on Debian bullseye because of libc6 version
- WSL instance keeps stopping despite imp initialized
- Smile, you are in AUR!
- `imp: WARNING: systemd is in degraded state, issues may occur!` HOT 6
- no DISPLAY environment variable specified HOT 1
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 bottle-imp.