Skip to contentSkip to conversation

package/dhcpcd: pid path fixed.

PATCH Applied Konstantin Menyaev via buildroot 3 participants 3 messages Sep 5, 2022 – Sep 18, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/dhcpcd: pid path fixed.

From: Konstantin Menyaev <[email protected]>

dhcpcd-9 defaults the run directory to /var/run/dhcpcd instead of /var/run and the prefix of dhcpcd has been removed from the files.

---
 package/dhcpcd/S41dhcpcd      | 2 +-
 package/dhcpcd/dhcpcd.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/dhcpcd/S41dhcpcd +1 -1
index 3e5c22f715..55794f4075 100644
@@ -5,7 +5,7 @@
 
 DAEMON=/sbin/dhcpcd
 CONFIG=/etc/dhcpcd.conf
-PIDFILE=/var/run/dhcpcd.pid
+PIDFILE=/var/run/dhcpcd/pid
 
 [ -f $CONFIG ] || exit 0
 
package/dhcpcd/dhcpcd.service +1 -1
index e648092c9b..4da49818a7 100644
@@ -5,7 +5,7 @@ After=network.target
 [Service]
 Type=forking
 EnvironmentFile=-/etc/default/dhcpcd
-PIDFile=/run/dhcpcd.pid
+PIDFile=/run/dhcpcd/pid
 ExecStart=/sbin/dhcpcd $DAEMON_ARGS
 Restart=always
 
Signature · 6 lines
2.37.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Konstantin, All,

On 2022-09-05 04:09 +0300, Konstantin Menyaev via buildroot spake thusly:

Quoted 4 lines

From: Konstantin Menyaev <[email protected]>

dhcpcd-9 defaults the run directory to /var/run/dhcpcd instead of /var/run and the prefix of dhcpcd has been removed from the files.

I've extended the commit log to explain that that sentence is from the README of dhcpcd.

I also tweaked the commit title.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 39 lines
---
 package/dhcpcd/S41dhcpcd      | 2 +-
 package/dhcpcd/dhcpcd.service | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/dhcpcd/S41dhcpcd +1 -1
index 3e5c22f715..55794f4075 100644
@@ -5,7 +5,7 @@
 
 DAEMON=/sbin/dhcpcd
 CONFIG=/etc/dhcpcd.conf
-PIDFILE=/var/run/dhcpcd.pid
+PIDFILE=/var/run/dhcpcd/pid
 
 [ -f $CONFIG ] || exit 0
 
package/dhcpcd/dhcpcd.service +1 -1
index e648092c9b..4da49818a7 100644
@@ -5,7 +5,7 @@ After=network.target
 [Service]
 Type=forking
 EnvironmentFile=-/etc/default/dhcpcd
-PIDFile=/run/dhcpcd.pid
+PIDFile=/run/dhcpcd/pid
 ExecStart=/sbin/dhcpcd $DAEMON_ARGS
 Restart=always
 
Signature · 6 lines
2.37.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Konstantin Menyaev via buildroot
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Konstantin" == Konstantin Menyaev via buildroot <[email protected]> writes:

From: Konstantin Menyaev <[email protected]> dhcpcd-9 defaults the run directory to /var/run/dhcpcd instead of /var/run and the prefix of dhcpcd has been removed from the files.

Committed to 2022.05.x and 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot