* [Buildroot] [PATCH] package/rpcbind: Do not mark .service and .socket files executable
@ 2017-08-23 23:44 Andrey Smirnov
2017-08-24 21:13 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Andrey Smirnov @ 2017-08-23 23:44 UTC (permalink / raw)
To: buildroot
Do not mark .service and .socket files executable, otherwise systemd
will give us a warning about it.
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
---
package/rpcbind/rpcbind.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/rpcbind/rpcbind.mk b/package/rpcbind/rpcbind.mk
index cf2e81dbbf..5c216afc93 100644
--- a/package/rpcbind/rpcbind.mk
+++ b/package/rpcbind/rpcbind.mk
@@ -22,9 +22,9 @@ RPCBIND_CONF_OPTS += --with-systemdsystemunitdir=no
endif
define RPCBIND_INSTALL_INIT_SYSTEMD
- $(INSTALL) -m 0755 -D package/rpcbind/rpcbind.service \
+ $(INSTALL) -m 0644 -D package/rpcbind/rpcbind.service \
$(TARGET_DIR)/usr/lib/systemd/system/rpcbind.service
- $(INSTALL) -m 0755 -D package/rpcbind/rpcbind.socket \
+ $(INSTALL) -m 0644 -D package/rpcbind/rpcbind.socket \
$(TARGET_DIR)/usr/lib/systemd/system/rpcbind.socket
mkdir -p $(TARGET_DIR)/etc/systemd/system/sockets.target.wants
ln -fs ../../../../usr/lib/systemd/system/rpcbind.socket \
--
2.13.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/rpcbind: Do not mark .service and .socket files executable
2017-08-23 23:44 [Buildroot] [PATCH] package/rpcbind: Do not mark .service and .socket files executable Andrey Smirnov
@ 2017-08-24 21:13 ` Thomas Petazzoni
2017-08-24 21:33 ` Andrey Smirnov
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-08-24 21:13 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 23 Aug 2017 16:44:14 -0700, Andrey Smirnov wrote:
> Do not mark .service and .socket files executable, otherwise systemd
> will give us a warning about it.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> ---
> package/rpcbind/rpcbind.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied to master, thanks. However, we have a few other packages also
installing .service as 755:
package/minidlna/minidlna.mk: $(INSTALL) -D -m 0755 package/minidlna/minidlnad.service \
package/nss-pam-ldapd/nss-pam-ldapd.mk: $(INSTALL) -m 755 -D package/nss-pam-ldapd/nslcd.service \
package/transmission/transmission.mk: $(INSTALL) -D -m 0755 $(@D)/daemon/transmission-daemon.service \
Perhaps we want to fix those as well ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] package/rpcbind: Do not mark .service and .socket files executable
2017-08-24 21:13 ` Thomas Petazzoni
@ 2017-08-24 21:33 ` Andrey Smirnov
0 siblings, 0 replies; 3+ messages in thread
From: Andrey Smirnov @ 2017-08-24 21:33 UTC (permalink / raw)
To: buildroot
On Thu, Aug 24, 2017 at 2:13 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Wed, 23 Aug 2017 16:44:14 -0700, Andrey Smirnov wrote:
>> Do not mark .service and .socket files executable, otherwise systemd
>> will give us a warning about it.
>>
>> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
>> ---
>> package/rpcbind/rpcbind.mk | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> Applied to master, thanks. However, we have a few other packages also
> installing .service as 755:
>
> package/minidlna/minidlna.mk: $(INSTALL) -D -m 0755 package/minidlna/minidlnad.service \
> package/nss-pam-ldapd/nss-pam-ldapd.mk: $(INSTALL) -m 755 -D package/nss-pam-ldapd/nslcd.service \
> package/transmission/transmission.mk: $(INSTALL) -D -m 0755 $(@D)/daemon/transmission-daemon.service \
>
> Perhaps we want to fix those as well ?
Yeah, makes sense. I wasn't using any of those packages so I missed
them. I'll send follow up patches shortly.
Thanks,
Andrey Smirnov
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-08-24 21:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-23 23:44 [Buildroot] [PATCH] package/rpcbind: Do not mark .service and .socket files executable Andrey Smirnov
2017-08-24 21:13 ` Thomas Petazzoni
2017-08-24 21:33 ` Andrey Smirnov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox