fsquillace / junest

The lightweight Arch Linux based distro that runs, without root privileges, on top of any other Linux distro.
GNU General Public License v3.0
2.08k stars 111 forks source link

Junest hangs when 'Creating system user accounts' #283

Closed ayaka14732 closed 2 years ago

ayaka14732 commented 2 years ago

My junest installation works well in the past, but recently when I run pacman -Syu, it hangs when creating system user accounts:

Running post-transaction hooks...
( 1/16) Creating system user accounts...

I have to kill the corresponding process to let it continue.

It seems that there are some issues with the disk of the server I am using, but I don't know where to start debugging it.

fsquillace commented 2 years ago

I did a recent test and I do not see any issues with the current JuNest image:

JUNEST_HOME=~/.junest-test/ junest -f
[root@host ~]# sudo pacman -Syu
:: Synchronizing package databases...
 core                                                                                  137.6 KiB  78.2 KiB/s 00:02 [#####################################################################] 100%
 extra                                                                                1565.7 KiB   265 KiB/s 00:06 [#####################################################################] 100%
 community                                                                               5.9 MiB   888 KiB/s 00:07 [#####################################################################] 100%
 junest                                                                               1697.0   B  6.18 KiB/s 00:00 [#####################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) expat-2.4.2-1  libarchive-3.5.2-2  systemd-libs-250-1

Total Download Size:   1.23 MiB
Total Installed Size:  3.54 MiB
Net Upgrade Size:      0.26 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 systemd-libs-250-1-x86_64                                                             640.8 KiB   353 KiB/s 00:02 [#####################################################################] 100%
 libarchive-3.5.2-2-x86_64                                                             504.3 KiB   296 KiB/s 00:02 [#####################################################################] 100%
 expat-2.4.2-1-x86_64                                                                  114.9 KiB   114 KiB/s 00:01 [#####################################################################] 100%
 Total (3/3)                                                                          1259.9 KiB   207 KiB/s 00:06 [#####################################################################] 100%
(3/3) checking keys in keyring                                                                                     [#####################################################################] 100%
(3/3) checking package integrity                                                                                   [#####################################################################] 100%
(3/3) loading package files                                                                                        [#####################################################################] 100%
(3/3) checking for file conflicts                                                                                  [#####################################################################] 100%
(3/3) checking available disk space                                                                                [#####################################################################] 100%
:: Processing package changes...
(1/3) upgrading expat                                                                                              [#####################################################################] 100%
(2/3) upgrading libarchive                                                                                         [#####################################################################] 100%
(3/3) upgrading systemd-libs                                                                                       [#####################################################################] 100%
[root@host ~]#

Also, I do not see your lines:

Running post-transaction hooks...
( 1/16) Creating system user accounts...

maybe there is some specific package causing it?

Can you test by doing a fresh JuNest with the recent JuNest image?

ayaka14732 commented 2 years ago

Thank you. As I suspect this is a problem with the disk of the server I am using, I will close this issue first.