Dear grub,
   I met the question, ExecStart=/usr/sbin/grub2-set-bootflag boot_success 
transfrom into ExecStart=/usr/bin/pkexec /usr/sbin/grub2-set-bootflag 
boot_success,
   And setuid for root about this /usr/bin/pkexec
   ll /usr/bin/pkexec 
   -rwsr-xr-x 1 root root 31936 Apr  4  2023 /usr/bin/pkexec


I restart the grub-boot-success.service ,error msg occur my system
   May  8 15:39:30 cFTT13s1ggims systemd[5476]: Starting Mark boot as 
successful...
   May  8 15:39:30 cFTT13s1ggims pkexec[25936]: pkexec must be setuid root
   May  8 15:39:30 cFTT13s1ggims systemd[5476]: grub-boot-success.service: Main 
process exited, code=exited, status=127/n/a
   May  8 15:39:30 cFTT13s1ggims systemd[5476]: grub-boot-success.service: 
Failed with result 'exit-code'.
   May  8 15:39:30 cFTT13s1ggims systemd[5476]: Failed to start Mark boot as 
successful.


Would you mind solving my problem? If you can't,Can you tell me what impact 
will it have on the system if I disable this grub-boot-success.service?

Reply via email to