acpid: fix acpid.service start failed
Mishandling the acpid sysconfig file as a directory
detail:
● acpid.service - ACPI Event Daemon
Loaded: loaded (/usr/lib/systemd/system/acpid.service; enabled; vendor preset: enabled)
Active: failed (Result: resources)
Docs: man:acpid(8)
acpid[83059]: skipping incomplete file /etc/acpi/events/videoconf
acpid[83059]: 1 rule loaded
acpid[83059]: waiting for events: event logging is off
systemd[1]: Stopping ACPI Event Daemon...
systemd[1]: acpid.service: Succeeded.
systemd[1]: Stopped ACPI Event Daemon.
systemd[1]: acpid.service: Failed to load environment files: Is a directory
systemd[1]: acpid.service: Failed to run 'start' task: Is a directory
systemd[1]: acpid.service: Failed with result 'resources'.
systemd[1]: Failed to start ACPI Event Daemon.
Signed-off-by: luochunsheng <luochunsheng@huawei.com>
This commit is contained in:
parent
0495c76198
commit
daa99f0337
12
acpid.spec
12
acpid.spec
@ -1,6 +1,6 @@
|
||||
Name: acpid
|
||||
Version: 2.0.30
|
||||
Release: 3
|
||||
Release: 4
|
||||
Summary: Advanced Configuration and Power Interface event daemon
|
||||
License: GPLv2+
|
||||
URL: http://sourceforge.net/projects/acpid2/
|
||||
@ -40,7 +40,7 @@ rm -rf %{buildroot}/*
|
||||
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/acpi/events
|
||||
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/acpi/actions
|
||||
mkdir -p -m 755 %{buildroot}%{_unitdir}
|
||||
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/sysconfig/acpid
|
||||
mkdir -p -m 755 %{buildroot}%{_sysconfdir}/sysconfig
|
||||
%make_install docdir=%{_docdir}/%{name}
|
||||
install -p -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/acpi/events/powerconf
|
||||
install -p -m 755 %{SOURCE2} %{buildroot}%{_sysconfdir}/acpi/actions/power.sh
|
||||
@ -76,9 +76,13 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/acpid
|
||||
%systemd_postun_with_restart %{name}.socket %{name}.service
|
||||
|
||||
%changelog
|
||||
* Fri Jan 10 2020 wuxu_wu <wuxu.wu@huawei.com> - 2.0.32
|
||||
* Tue Jan 21 2020 luochunsheng <luochunsheng@huawei.com> - 2.0.30-4
|
||||
- fix acpid.service start failed: Mishandling the acpid sysconfig file
|
||||
as a directory
|
||||
|
||||
* Fri Jan 10 2020 wuxu_wu <wuxu.wu@huawei.com> - 2.0.30-3
|
||||
- delete useless configuration file
|
||||
|
||||
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.31
|
||||
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.0.30-2
|
||||
- Package init
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user