Dosya Ekleri

Sistem servis dosyasına parametre eklenerek çözülür ama gerçek çözüm sayılmaz, maskeleme sayılır; sorunun ana nedenini bulmak lazım. systemctl poweroff ile kapanıyor ise sorunun KDE oturum yöneticisinden kaynaklanma ihtimali var. Eğer yine aynı sorun olursa FUSE, systemd-logind ya da rclone sebepli olabilir. Geçici çözüm olarak parametre eklenebilir.


Burada timeoutstopsecparametresine bakılabilir

Kod:
This option serves two purposes. First, it configures the time
           to wait for each ExecStop= command. If any of them times out,
           subsequent ExecStop= commands are skipped and the service will
           be terminated by SIGTERM. If no ExecStop= commands are
           specified, the service gets the SIGTERM immediately. This
           default behavior can be changed by the TimeoutStopFailureMode=
           option. Second, it configures the time to wait for the service
           itself to stop. If it does not terminate in the specified
           time, it will be forcibly terminated by SIGKILL (see KillMode=
           in systemd.kill(5)). Takes a unit-less value in seconds, or a
           time span value such as "5min 20s". Pass "infinity" to disable
           the timeout logic. Defaults to DefaultTimeoutStopSec= from the
           manager configuration file (see systemd-system.conf(5)).

           If a service of Type=notify/Type=notify-reload sends
           "EXTEND_TIMEOUT_USEC=...", this may cause the stop time to be
           extended beyond TimeoutStopSec=. The first receipt of this
           message must occur before TimeoutStopSec= is exceeded, and
           once the stop time has extended beyond TimeoutStopSec=, the
           service manager will allow the service to continue to stop,
           provided the service repeats "EXTEND_TIMEOUT_USEC=..."  within
           the interval specified, or terminates itself (see
           sd_notify(3)).
 
Son düzenleme:
Buda güzel bir çözüm yöntemi.
 
Bash:
❯ systemctl poweroff
Operation inhibited by "RClone Manager" (PID 1563 "rclone-manager", user recep), reason is "Aktif işlemler devam ediyor: 1 iş".
Please retry operation after closing inhibitors and logging out other users.
'systemd-inhibit' can be used to list active inhibitors.
Alternatively, ignore inhibitors and users with 'systemctl poweroff -i'.
 
Bash:
❯ systemctl poweroff
Operation inhibited by "RClone Manager" (PID 1563 "rclone-manager", user recep), reason is "Aktif işlemler devam ediyor: 1 iş".
Please retry operation after closing inhibitors and logging out other users.
'systemd-inhibit' can be used to list active inhibitors.
Alternatively, ignore inhibitors and users with 'systemctl poweroff -i'.
systemd-inhibit --list
Çıktısı nedir hocam? Eğer işe yarar ise o 1 işlemin ne olduğunu öğrenebiliriz; yüksek ihtimalle o 1 işlem vfs-cache-mode olabilir.

Kod:
fusermount -u -z ~/drivepath
Bu kodu girdikten sonra kapanıyor mu hocam?
Buradaki drivepath sizde değişiklik gösterecektir.