archcraft-os / archcraft

// Source : ISO
https://archcraft.io
GNU General Public License v3.0
3.12k stars 106 forks source link

Couple of issues (Openbox) #61

Closed Neeonn closed 3 years ago

Neeonn commented 3 years ago
  1. On boot after the system being shutdown, it takes up to 3 minutes to load everything (until then it's just my background wallpaper); systemd-analyze blame:
    2min 2.826s reflector.service                                    
    11.615s pacman-init.service                                  
     7.703s systemd-networkd-wait-online.service                 
     4.893s NetworkManager-wait-online.service                   
     1.183s man-db.service                                       
      876ms dev-mapper-cryptroot.device                          
      545ms lvm2-monitor.service                                 
      291ms systemd-resolved.service                             
      264ms polkit.service                                       
      248ms upower.service                                       
      203ms dev-loop1.device                                     
      195ms dev-loop2.device                                     
      191ms dev-loop0.device                                     
      190ms dev-loop3.device                                     
      189ms HDD.mount                                            
      168ms ldconfig.service                                     
      160ms user@1000.service                                    
      156ms var-lib-snapd-snap-snapd-10492.mount                 
      155ms var-lib-snapd-snap-authy-5.mount                     
      146ms \x2eLAS.mount                                        
      140ms var-lib-snapd-snap-gnome\x2d3\x2d28\x2d1804-145.mount
      137ms NetworkManager.service                               
      129ms dev-loop4.device                                     
      121ms var-lib-snapd-snap-core18-1944.mount                 
      119ms iwd.service                                          
      118ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1514.mount
      114ms systemd-modules-load.service                         
       83ms systemd-logind.service                               
       82ms wpa_supplicant.service                               
       80ms systemd-vconsole-setup.service                       
       70ms systemd-udevd.service                                
       67ms systemd-udev-trigger.service                         
       65ms systemd-sysusers.service                             
       65ms systemd-journald.service                             
       54ms plymouth-quit-wait.service                           
       51ms lm_sensors.service                                   
       45ms systemd-networkd.service                             
       35ms systemd-tmpfiles-setup.service                       
       32ms dev-sda4.swap                                        
       29ms systemd-journal-catalog-update.service               
       28ms systemd-random-seed.service                          
       25ms modprobe@fuse.service                                
       25ms plymouth-start.service                               
       24ms dev-hugepages.mount                                  
       23ms dev-mqueue.mount                                     
       23ms systemd-fsck@dev-sda2.service                        
       23ms sys-kernel-debug.mount                               
       22ms sys-kernel-tracing.mount                             
       21ms kmod-static-nodes.service                            
       21ms systemd-binfmt.service                               
       20ms systemd-update-utmp.service                          
       20ms modprobe@configfs.service                            
       20ms modprobe@drm.service                                 
       20ms etc-pacman.d-gnupg.mount                             
       19ms systemd-fsck@dev-sda6.service                        
       16ms systemd-tmpfiles-setup-dev.service                   
       14ms plymouth-read-write.service                          
       10ms user-runtime-dir@1000.service                        
        9ms systemd-user-sessions.service                        
        8ms systemd-sysctl.service                               
        8ms systemd-remount-fs.service                           
        6ms sys-fs-fuse-connections.mount                        
        6ms home.mount                                           
        5ms rtkit-daemon.service                                 
        5ms systemd-update-done.service                          
        5ms boot.mount                                           
        5ms proc-sys-fs-binfmt_misc.mount                        
        4ms systemd-journal-flush.service                        
        4ms sys-kernel-config.mount                              
        4ms snapd.socket                                         
        2ms tmp.mount                                            
      911us nordvpnd.socket

    systemctl list-jobs:

    
    JOB UNIT              TYPE  STATE  
    1   graphical.target  start waiting
    2   multi-user.target start waiting
    115 reflector.service start running

3 jobs listed.

After everything is ready I have to restart display-manager (lxdm) to actually access my desktop.
2. shadow.service sometimes crashes (systemctl status shadow.service):

● shadow.service - Verify integrity of password and group files Loaded: loaded (/usr/lib/systemd/system/shadow.service; static) Active: failed (Result: exit-code) since Tue 2021-01-19 14:26:18 CET; 16s ago TriggeredBy: ● shadow.timer Process: 2415 ExecStart=/bin/sh -c /usr/bin/pwck -r || r=1; /usr/bin/grpck -r && exit $r (code=exited, status=2) Main PID: 2415 (code=exited, status=2)

Jan 19 14:26:18 archcraft sh[2419]: add group 'video' in /etc/gshadow? No Jan 19 14:26:18 archcraft sh[2419]: no matching group file entry in /etc/gshadow Jan 19 14:26:18 archcraft sh[2419]: add group 'scanner' in /etc/gshadow? No Jan 19 14:26:18 archcraft sh[2419]: no matching group file entry in /etc/gshadow Jan 19 14:26:18 archcraft sh[2419]: add group 'optical' in /etc/gshadow? No Jan 19 14:26:18 archcraft sh[2419]: no matching group file entry in /etc/gshadow Jan 19 14:26:18 archcraft sh[2419]: add group 'users' in /etc/gshadow? No Jan 19 14:26:18 archcraft sh[2419]: grpck: no changes Jan 19 14:26:18 archcraft systemd[1]: shadow.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jan 19 14:26:18 archcraft systemd[1]: shadow.service: Failed with result 'exit-code'.

systemctl --failed:

● shadow.service loaded failed failed Verify integrity of password and group files

LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed.

adi1090x commented 3 years ago

This issue has been fixed.