Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] dnsmasq: disable dbus
@ 2022-02-24 14:04 zlice
  2022-02-24 15:27 ` biopsin
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zlice @ 2022-02-24 14:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

New issue by zlice on void-packages repository

https://github.com/void-linux/void-packages/issues/35826

Description:
### System

* xuname:  Void 5.16.10 x86_64 AuthenticAMD notuptodate hold rrrmFFFFFFFFFFF
* package:  dnsmasq-2.86_1

### Expected behavior

dnsmasq without dbus installed should not have `--enable-dbus` in service

### Actual behavior

dnsmasq with `--enable-dbus` ends up filling memory over days/weeks with dbus errors (since it's not running)

### Steps to reproduce the behavior

default service runs with `exec dnsmasq -k --enable-dbus -u dnsmasq -g dnsmasq 2>&1` although `dbus` is not installed (over 500MB in a week)

### Comments

Sent e-mail to them. Not sure if there's a way to mod the template to dynamically remove `--enable-dbus` in the meantime. (probably is)


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dnsmasq: disable dbus
  2022-02-24 14:04 [ISSUE] dnsmasq: disable dbus zlice
@ 2022-02-24 15:27 ` biopsin
  2022-02-24 15:39 ` zlice
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: biopsin @ 2022-02-24 15:27 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

New comment by biopsin on void-packages repository

https://github.com/void-linux/void-packages/issues/35826#issuecomment-1049975092

Comment:
Not in the template unless build own, but maybe add test for dbus in the run file..

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dnsmasq: disable dbus
  2022-02-24 14:04 [ISSUE] dnsmasq: disable dbus zlice
  2022-02-24 15:27 ` biopsin
@ 2022-02-24 15:39 ` zlice
  2022-02-24 15:40 ` zlice
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zlice @ 2022-02-24 15:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 243 bytes --]

New comment by zlice on void-packages repository

https://github.com/void-linux/void-packages/issues/35826#issuecomment-1049986406

Comment:
like `exec dnsmasq -k $(if bs here then '--enable-dbus' ; else '' ; fi) -u dnsmasq -g dnsmasq 2>&1` ?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dnsmasq: disable dbus
  2022-02-24 14:04 [ISSUE] dnsmasq: disable dbus zlice
  2022-02-24 15:27 ` biopsin
  2022-02-24 15:39 ` zlice
@ 2022-02-24 15:40 ` zlice
  2022-02-24 15:45 ` zlice
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zlice @ 2022-02-24 15:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

New comment by zlice on void-packages repository

https://github.com/void-linux/void-packages/issues/35826#issuecomment-1049986406

Comment:
like `exec dnsmasq -k $(if bs here then '--enable-dbus' ; else '' ; fi) -u dnsmasq -g dnsmasq 2>&1` ?

(or well probably above that but same thing)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dnsmasq: disable dbus
  2022-02-24 14:04 [ISSUE] dnsmasq: disable dbus zlice
                   ` (2 preceding siblings ...)
  2022-02-24 15:40 ` zlice
@ 2022-02-24 15:45 ` zlice
  2022-02-24 21:46 ` Duncaen
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: zlice @ 2022-02-24 15:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 321 bytes --]

New comment by zlice on void-packages repository

https://github.com/void-linux/void-packages/issues/35826#issuecomment-1049991767

Comment:
**run**
```
#!/bin/sh
mkdir -p /var/lib/misc
if [ -L /var/service/dbus ] ; then dbus='--enable-dbus' ; else dbus='' ; fi
exec dnsmasq -k $dbus -u dnsmasq -g dnsmasq 2>&1
```

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dnsmasq: disable dbus
  2022-02-24 14:04 [ISSUE] dnsmasq: disable dbus zlice
                   ` (3 preceding siblings ...)
  2022-02-24 15:45 ` zlice
@ 2022-02-24 21:46 ` Duncaen
  2022-02-24 21:46 ` Duncaen
  2022-03-20  9:14 ` [ISSUE] [CLOSED] " sgn
  6 siblings, 0 replies; 8+ messages in thread
From: Duncaen @ 2022-02-24 21:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/35826#issuecomment-1050297068

Comment:
We make services configurable like: 

```
#!/bin/sh
mkdir -p /var/lib/misc
[ -r ./conf ] && . ./conf
exec dnsmasq -k ${OPTS:---enable-dbus -u dnsmasq -g dnsmasq} 2>&1
```

The user can then create `/var/service/dnsmasq/conf` with i.e. `OPTS="-u dnsmasq -g dnsmasq"`.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: dnsmasq: disable dbus
  2022-02-24 14:04 [ISSUE] dnsmasq: disable dbus zlice
                   ` (4 preceding siblings ...)
  2022-02-24 21:46 ` Duncaen
@ 2022-02-24 21:46 ` Duncaen
  2022-03-20  9:14 ` [ISSUE] [CLOSED] " sgn
  6 siblings, 0 replies; 8+ messages in thread
From: Duncaen @ 2022-02-24 21:46 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

New comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/issues/35826#issuecomment-1050297068

Comment:
We generally make services configurable like: 

```
#!/bin/sh
mkdir -p /var/lib/misc
[ -r ./conf ] && . ./conf
exec dnsmasq -k ${OPTS:---enable-dbus -u dnsmasq -g dnsmasq} 2>&1
```

The user can then create `/var/service/dnsmasq/conf` with i.e. `OPTS="-u dnsmasq -g dnsmasq"`.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ISSUE] [CLOSED] dnsmasq: disable dbus
  2022-02-24 14:04 [ISSUE] dnsmasq: disable dbus zlice
                   ` (5 preceding siblings ...)
  2022-02-24 21:46 ` Duncaen
@ 2022-03-20  9:14 ` sgn
  6 siblings, 0 replies; 8+ messages in thread
From: sgn @ 2022-03-20  9:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

Closed issue by zlice on void-packages repository

https://github.com/void-linux/void-packages/issues/35826

Description:
### System

* xuname:  Void 5.16.10 x86_64 AuthenticAMD notuptodate hold rrrmFFFFFFFFFFF
* package:  dnsmasq-2.86_1

### Expected behavior

dnsmasq without dbus installed should not have `--enable-dbus` in service

### Actual behavior

dnsmasq with `--enable-dbus` ends up filling memory over days/weeks with dbus errors (since it's not running)

### Steps to reproduce the behavior

default service runs with `exec dnsmasq -k --enable-dbus -u dnsmasq -g dnsmasq 2>&1` although `dbus` is not installed (over 500MB in a week)

### Comments

Sent e-mail to them. Not sure if there's a way to mod the template to dynamically remove `--enable-dbus` in the meantime. (probably is)


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-03-20  9:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-24 14:04 [ISSUE] dnsmasq: disable dbus zlice
2022-02-24 15:27 ` biopsin
2022-02-24 15:39 ` zlice
2022-02-24 15:40 ` zlice
2022-02-24 15:45 ` zlice
2022-02-24 21:46 ` Duncaen
2022-02-24 21:46 ` Duncaen
2022-03-20  9:14 ` [ISSUE] [CLOSED] " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).