Project

General

Profile

Bug #2636

[openrc-desktop]: unable to start - typo in init scripts

nona - 8 months ago - . Updated about 1 month ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

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

#1

Updated by nona 8 months 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
└────

#2

Updated by BetaRays 7 months ago

I have noticed the same problem with the provided wpa_supplicant initscript after updating.

#3

Updated by bill-auger 7 months 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?

#4

Updated by nona 7 months 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.

#5

Updated by zackattackz about 1 month 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

#6

Updated by nona about 1 month 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
#7

Updated by bill-auger about 1 month 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
#8

Updated by Megver83 about 1 month 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

Also available in: Atom PDF