* [Buildroot] [PATCH 1/1] package/dhcpcd: pid path fixed.
@ 2022-09-05 1:09 Konstantin Menyaev via buildroot
2022-09-05 19:06 ` Yann E. MORIN
2022-09-18 8:51 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Konstantin Menyaev via buildroot @ 2022-09-05 1:09 UTC (permalink / raw)
To: buildroot; +Cc: John Stile, Konstantin Menyaev, sdfw_system_team
From: Konstantin Menyaev <KAMenyaev@sberdevices.ru>
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.
Signed-off-by: Konstantin Menyaev <KAMenyaev@sberdevices.ru>
---
package/dhcpcd/S41dhcpcd | 2 +-
package/dhcpcd/dhcpcd.service | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/dhcpcd/S41dhcpcd b/package/dhcpcd/S41dhcpcd
index 3e5c22f715..55794f4075 100644
--- a/package/dhcpcd/S41dhcpcd
+++ b/package/dhcpcd/S41dhcpcd
@@ -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
diff --git a/package/dhcpcd/dhcpcd.service b/package/dhcpcd/dhcpcd.service
index e648092c9b..4da49818a7 100644
--- a/package/dhcpcd/dhcpcd.service
+++ b/package/dhcpcd/dhcpcd.service
@@ -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
--
2.37.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/dhcpcd: pid path fixed.
2022-09-05 1:09 [Buildroot] [PATCH 1/1] package/dhcpcd: pid path fixed Konstantin Menyaev via buildroot
@ 2022-09-05 19:06 ` Yann E. MORIN
2022-09-18 8:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2022-09-05 19:06 UTC (permalink / raw)
To: KAMenyaev; +Cc: John Stile, sdfw_system_team, buildroot
Konstantin, All,
On 2022-09-05 04:09 +0300, Konstantin Menyaev via buildroot spake thusly:
> From: Konstantin Menyaev <KAMenyaev@sberdevices.ru>
>
> 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.
> Signed-off-by: Konstantin Menyaev <KAMenyaev@sberdevices.ru>
> ---
> package/dhcpcd/S41dhcpcd | 2 +-
> package/dhcpcd/dhcpcd.service | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/dhcpcd/S41dhcpcd b/package/dhcpcd/S41dhcpcd
> index 3e5c22f715..55794f4075 100644
> --- a/package/dhcpcd/S41dhcpcd
> +++ b/package/dhcpcd/S41dhcpcd
> @@ -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
>
> diff --git a/package/dhcpcd/dhcpcd.service b/package/dhcpcd/dhcpcd.service
> index e648092c9b..4da49818a7 100644
> --- a/package/dhcpcd/dhcpcd.service
> +++ b/package/dhcpcd/dhcpcd.service
> @@ -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
>
> --
> 2.37.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/dhcpcd: pid path fixed.
2022-09-05 1:09 [Buildroot] [PATCH 1/1] package/dhcpcd: pid path fixed Konstantin Menyaev via buildroot
2022-09-05 19:06 ` Yann E. MORIN
@ 2022-09-18 8:51 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-09-18 8:51 UTC (permalink / raw)
To: Konstantin Menyaev via buildroot; +Cc: John Stile, KAMenyaev, sdfw_system_team
>>>>> "Konstantin" == Konstantin Menyaev via buildroot <buildroot@buildroot.org> writes:
> From: Konstantin Menyaev <KAMenyaev@sberdevices.ru>
> 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.
> Signed-off-by: Konstantin Menyaev <KAMenyaev@sberdevices.ru>
Committed to 2022.05.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-09-18 8:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-05 1:09 [Buildroot] [PATCH 1/1] package/dhcpcd: pid path fixed Konstantin Menyaev via buildroot
2022-09-05 19:06 ` Yann E. MORIN
2022-09-18 8:51 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox