Bug #2636
[openrc-desktop]: unable to start - typo in init scripts
0%
Description
Hi, this may be related:
- https://labs.parabola.nu/issues/2520
- https://labs.parabola.nu/issues/2635
With this
rc-service acpid start
I got this
* Caching service dependencies ... [ ok ] * Starting acpid ... * start-stop-daemon: /usr/usr/bin/acpid does not exist * Failed to start acpid [ !! ] * ERROR: acpid failed to start
Changing /etc/init.d/acpid from
... command="/usr/usr/bin/acpid" ...
to
... command="/usr/bin/acpid" ...
fixed the issue
History
Updated by nona about 4 years ago
┌────
│ pacman -Qs acpid
└────
┌────
│ local/acpid 2.0.32-1
│ A daemon for delivering ACPI power management events with netlink support
│ local/acpid-openrc 20200112-1 (openrc-desktop)
│ OpenRC acpid init script
└────
┌────
│ uname -r
└────
┌────
│ 4.19.101-gnu-1-lts
└────
Updated by BetaRays about 4 years ago
I have noticed the same problem with the provided wpa_supplicant initscript after updating.
Updated by bill-auger about 4 years ago
- Assignee set to Megver83
- Subject changed from acpid unable to start to [acpid-openrc][wpa_supplicant-openrc]: unable to start - typs in init scripts
these are in different packages; but the typo is the same - so maybe this affects other init scripts too? - we should probably check to see if there are any others
nona - do you have 'wpa_supplicant-openrc' installed? - does that start properly for you?
Updated by nona about 4 years ago
# rc-service wpa_supplicant restart * Could not find a wireless interface * ERROR: wpa_supplicant failed to start
I do not actually have a wireless interface. I think that asking me is useless, but I do see that the same problem exists in the init script (namely /usr/usr/ should only be /usr).
There is a typo in the title of this bug: typs should be typo.
Updated by zackattackz over 3 years ago
I had the same issue with having to replace /usr/usr... with /usr
Was it a problem on my end or should the repo have been updated by now? It's been 6 months
Updated by nona over 3 years ago
- Subject changed from [acpid-openrc][wpa_supplicant-openrc]: unable to start - typs in init scripts to [acpid-openrc][wpa_supplicant-openrc]: unable to start - typo in init scripts
Updated by bill-auger over 3 years ago
- Status changed from unconfirmed to confirmed
- Subject changed from [acpid-openrc][wpa_supplicant-openrc]: unable to start - typo in init scripts to [acpid-openrc][wpa_supplicant-openrc][gpm-openrc']: unable to start - typo in init scripts
also 'nonsystemd/gpm-openrc' - possiby others - these are the ones i have installed:
$ grep '/usr/usr/' /etc/init.d/* /etc/init.d/acpid:command="/usr/usr/bin/acpid" /etc/init.d/gpm:command=/usr/usr/bin/gpm /etc/init.d/wpa_supplicant:command=/usr/usr/bin/wpa_supplicant
Updated by Megver83 over 3 years ago
- Status changed from confirmed to fixed
- Subject changed from [acpid-openrc][wpa_supplicant-openrc][gpm-openrc']: unable to start - typo in init scripts to [openrc-desktop]: unable to start - typo in init scripts
this happened because of a wrong sed expression, which I just fixed:
https://git.parabola.nu/abslibre.git/commit/?id=20a33a011b83a59f32c0d74e0f42480ab350f7f4