[GH-ISSUE #1341] Linux service is disabled #1151

Closed
opened 2026-02-26 00:34:29 +03:00 by kerem · 1 comment
Owner

Originally created by @kirillkushpel on GitHub (May 9, 2023).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1341

Describe the bug
Linux service is disabled.

Installation was successfull, service has been started

 sudo systemctl status nbfc.service                                                                                                                                                      ─╯
[sudo] password for kirill:      
● nbfc.service - NoteBook FanControl service
     Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2023-05-08 11:03:32 MSK; 1 day 7h ago
   Main PID: 2603 (mono)
      Tasks: 7 (limit: 27921)
     Memory: 48.7M
        CPU: 1.445s
     CGroup: /system.slice/nbfc.service
             └─2603 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/NbfcService.exe

May 08 11:03:32 OMEN15 systemd[1]: Starting NoteBook FanControl service...
May 08 11:03:32 OMEN15 systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: Operation not permitted
May 08 11:03:32 OMEN15 systemd[1]: Started NoteBook FanControl service.
May 08 11:03:33 OMEN15 mono[2603]: NbfcService: Service NoteBookFanControlService started

The actual service is disabled

─ mono nbfc.exe status --all                                                                                                                                                              ─╯
Service enabled		: False
Read-only		: False
Selected config name	: 
Temperature		: 0

Could not get fan info because the service is disabled

Secure Boot is disabled.

linux-nbfc on Manjaro ran fine on the same machine.

To Reproduce
idk =(

Expected behavior
NBFC should run

System information

time;level;message;exception;callsite;stacktrace
2023-05-08 11:03:33.0187;Info;Starting NoteBookFanControlService;;NbfcService.NoteBookFanControlService.OnStart;ServerContextTerminatorSink.SyncProcessMessage => ClientActivatedIdentity.SyncObjectProcessMessage => LeaseSink.SyncProcessMessage => ServerObjectTerminatorSink.SyncProcessMessage => StackBuilderSink.SyncProcessMessage => RemotingServices.InternalExecuteMessage => RemotingServices.InternalExecute => MonoServiceRunner.StartService => AppDomain.ExecuteAssembly => AppDomain.ExecuteAssemblyInternal => AppDomain.ExecuteAssembly => Program.Main => ServiceBase.Run => ServiceBase.Run => MonoServiceRunner.MainLoop => MonoServiceRunner.call => MethodBase.Invoke => RuntimeMethodInfo.Invoke => RuntimeMethodInfo.InternalInvoke => NoteBookFanControlService.OnStart

Additional context
HP Omen 15-en0xxx

Originally created by @kirillkushpel on GitHub (May 9, 2023). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/1341 **Describe the bug** Linux service is disabled. Installation was successfull, service has been started ```bash sudo systemctl status nbfc.service ─╯ [sudo] password for kirill: ● nbfc.service - NoteBook FanControl service Loaded: loaded (/etc/systemd/system/nbfc.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2023-05-08 11:03:32 MSK; 1 day 7h ago Main PID: 2603 (mono) Tasks: 7 (limit: 27921) Memory: 48.7M CPU: 1.445s CGroup: /system.slice/nbfc.service └─2603 /usr/bin/mono /usr/lib/mono/4.5/mono-service.exe -l:/run/nbfc.pid -m:NbfcService /opt/nbfc/NbfcService.exe May 08 11:03:32 OMEN15 systemd[1]: Starting NoteBook FanControl service... May 08 11:03:32 OMEN15 systemd[1]: nbfc.service: Can't open PID file /run/nbfc.pid (yet?) after start: Operation not permitted May 08 11:03:32 OMEN15 systemd[1]: Started NoteBook FanControl service. May 08 11:03:33 OMEN15 mono[2603]: NbfcService: Service NoteBookFanControlService started ``` The actual service is disabled ```bash ─ mono nbfc.exe status --all ─╯ Service enabled : False Read-only : False Selected config name : Temperature : 0 Could not get fan info because the service is disabled ``` Secure Boot is disabled. `linux-nbfc` on Manjaro ran fine on the same machine. **To Reproduce** idk =( **Expected behavior** NBFC should run **System information** - operating system Linux Mint 21.1 Cinnamon with mono. - NBFC version 1.6.3 - log files (see [NBFC files and directories overview](https://github.com/hirschmann/nbfc/wiki/Files-and-directories-overview)) ```bash time;level;message;exception;callsite;stacktrace 2023-05-08 11:03:33.0187;Info;Starting NoteBookFanControlService;;NbfcService.NoteBookFanControlService.OnStart;ServerContextTerminatorSink.SyncProcessMessage => ClientActivatedIdentity.SyncObjectProcessMessage => LeaseSink.SyncProcessMessage => ServerObjectTerminatorSink.SyncProcessMessage => StackBuilderSink.SyncProcessMessage => RemotingServices.InternalExecuteMessage => RemotingServices.InternalExecute => MonoServiceRunner.StartService => AppDomain.ExecuteAssembly => AppDomain.ExecuteAssemblyInternal => AppDomain.ExecuteAssembly => Program.Main => ServiceBase.Run => ServiceBase.Run => MonoServiceRunner.MainLoop => MonoServiceRunner.call => MethodBase.Invoke => RuntimeMethodInfo.Invoke => RuntimeMethodInfo.InternalInvoke => NoteBookFanControlService.OnStart ``` **Additional context** HP Omen 15-en0xxx
kerem closed this issue 2026-02-26 00:34:29 +03:00
Author
Owner

@kirillkushpel commented on GitHub (May 11, 2023):

Went with the nbfc-linux.

<!-- gh-comment-id:1543606599 --> @kirillkushpel commented on GitHub (May 11, 2023): Went with the `nbfc-linux`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#1151
No description provided.