DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th November 2019
junk's Avatar
junk junk is offline
Port Guard
 
Join Date: Jun 2018
Posts: 17
Default amavisd-new and ACPI poweroff

Hello,

When you press the power button to turn off the computer the process never completes because the amavisd daemon doesn't stop.

Does anybody know anything about this?

Code:
OpenBSD 6.6
amavisd-new-2.12.0
Reply With Quote
  #2   (View Single Post)  
Old 15th November 2019
jggimi's Avatar
jggimi jggimi is online now
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

No idea, as I'm not a user, but I have several suggestions:
  1. If the daemon was enabled through rcctl(8), use # rcctl -d stop amavisd to see where the process hangs. Refer to rc.d(8) for information on the -d flag.
  2. Disable the daemon through rcctl(), and after restarting the system, run the daemon manually with debugging, e.g.: # amavisd debug, as outlined in the /usr/local/share/doc/amavisd-new/README file. You can "log" the output with script(1).
  3. Contact the port $MAINTAINER, Giovanni Bechis. His Email address is available from $ pkg_info amavisd-new.
Reply With Quote
  #3   (View Single Post)  
Old 16th November 2019
junk's Avatar
junk junk is offline
Port Guard
 
Join Date: Jun 2018
Posts: 17
Default

Hello again jgimmi!

There seems to be no problem when you stop it manually

Code:
# rcctl -d stop amavisd                                                                                   
doing _rc_parse_conf
doing _rc_quirks
amavisd_flags empty, using default ><
doing _rc_parse_conf /var/run/rc.d/amavisd
doing _rc_quirks
doing rc_check
amavisd
doing rc_stop
Waiting for the process [68843] to terminate
Waiting for the process [68843] to terminate
Daemon [68843] terminated by SIGTERM
doing _rc_wait stop
doing rc_check
doing _rc_rm_runfile
(ok)
In fact it is possible to shutdown the computer except when using the power button to do so.

I already posted on the mailing list a while ago. This has been hapenning since 6.3 if i'm not wrong. The moment i sent the message i received a reply from Bechis asking for more info on my system but that was all, no solution as far as i know. Don't know why.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ACPI & Legacy USB support classicmanpro NetBSD Installation and Upgrading 0 29th December 2010 05:22 PM
Another ACPI question, 7.2-release Mantazz FreeBSD Ports and Packages 1 20th September 2009 11:11 PM
how APM & ACPI duke it out to be the default ocicat OpenBSD General 0 23rd June 2009 04:05 AM
Amavisd-new -- is it usable? clevershark FreeBSD Ports and Packages 0 19th February 2009 01:55 AM
ACPI - dmesg lumiwa FreeBSD General 3 10th July 2008 03:55 AM


All times are GMT. The time now is 01:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick