Code Monkey home page Code Monkey logo

Comments (2)

mangkoran avatar mangkoran commented on August 27, 2024

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.

mangkoran avatar mangkoran commented on August 27, 2024

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)

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.