Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] net-snmp does not bring an /etc/sv/snmpd entry
@ 2021-03-16 14:19 bcookatpcsd
  2021-03-16 16:10 ` FollieHiyuki
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bcookatpcsd @ 2021-03-16 14:19 UTC (permalink / raw)
  To: ml

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

New issue by bcookatpcsd on void-packages repository

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

Description:
there seems to be no snmpd/run script.. 

I made this.. 

`#!/bin/sh
[ ! -e /etc/snmp/snmpd.conf ] && exit 1
exec /usr/sbin/snmpd -f -p /run/snmpd.pid -LSwd -Lf /dev/null
`
My 0.02

*disclaimer*
I've used this snmpd string for myself, check the args for yourself please.. 




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

* Re: net-snmp does not bring an /etc/sv/snmpd entry
  2021-03-16 14:19 [ISSUE] net-snmp does not bring an /etc/sv/snmpd entry bcookatpcsd
@ 2021-03-16 16:10 ` FollieHiyuki
  2021-04-27 23:44 ` ericonr
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: FollieHiyuki @ 2021-03-16 16:10 UTC (permalink / raw)
  To: ml

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

New comment by FollieHiyuki on void-packages repository

https://github.com/void-linux/void-packages/issues/29508#issuecomment-800397776

Comment:
I don't use `net-snmp`, but you can make a PR adding the run script. Maybe something like this:
```
srcpkgs/net-snmp/files/snmpd/run
-----------------------------------
#!/bin/sh

[ -r conf ] && . ./conf

[ ! -e /etc/snmp/snmpd.conf ] && exit 1
exec /usr/sbin/snmpd ${OPTS:=-f -LSwd -Lf} -p /run/snmpd.pid
```
Put in there what you think are a sane default args.
User can always change the args to their liking inside `/etc/sv/snmpd/conf`

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

* Re: net-snmp does not bring an /etc/sv/snmpd entry
  2021-03-16 14:19 [ISSUE] net-snmp does not bring an /etc/sv/snmpd entry bcookatpcsd
  2021-03-16 16:10 ` FollieHiyuki
@ 2021-04-27 23:44 ` ericonr
  2021-10-06 23:11 ` heittpr
  2021-10-08 13:24 ` [ISSUE] [CLOSED] " ericonr
  3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2021-04-27 23:44 UTC (permalink / raw)
  To: ml

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

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/issues/29508#issuecomment-828028525

Comment:
@bcookatpcsd are you interested in making a PR for this package? @FollieHiyuki's suggestion looks good.

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

* Re: net-snmp does not bring an /etc/sv/snmpd entry
  2021-03-16 14:19 [ISSUE] net-snmp does not bring an /etc/sv/snmpd entry bcookatpcsd
  2021-03-16 16:10 ` FollieHiyuki
  2021-04-27 23:44 ` ericonr
@ 2021-10-06 23:11 ` heittpr
  2021-10-08 13:24 ` [ISSUE] [CLOSED] " ericonr
  3 siblings, 0 replies; 5+ messages in thread
From: heittpr @ 2021-10-06 23:11 UTC (permalink / raw)
  To: ml

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

New comment by heittpr on void-packages repository

https://github.com/void-linux/void-packages/issues/29508#issuecomment-937314408

Comment:
@ericonr I took the liberty to try and make a [PR](https://github.com/void-linux/void-packages/pull/33393) myself. Let me know if it looks ok to you or if there's anything I should change.

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

* Re: [ISSUE] [CLOSED] net-snmp does not bring an /etc/sv/snmpd entry
  2021-03-16 14:19 [ISSUE] net-snmp does not bring an /etc/sv/snmpd entry bcookatpcsd
                   ` (2 preceding siblings ...)
  2021-10-06 23:11 ` heittpr
@ 2021-10-08 13:24 ` ericonr
  3 siblings, 0 replies; 5+ messages in thread
From: ericonr @ 2021-10-08 13:24 UTC (permalink / raw)
  To: ml

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

Closed issue by bcookatpcsd on void-packages repository

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

Description:
there seems to be no snmpd/run script.. 

I made this.. 

`#!/bin/sh
[ ! -e /etc/snmp/snmpd.conf ] && exit 1
exec /usr/sbin/snmpd -f -p /run/snmpd.pid -LSwd -Lf /dev/null
`
My 0.02

*disclaimer*
I've used this snmpd string for myself, check the args for yourself please.. 




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

end of thread, other threads:[~2021-10-08 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 14:19 [ISSUE] net-snmp does not bring an /etc/sv/snmpd entry bcookatpcsd
2021-03-16 16:10 ` FollieHiyuki
2021-04-27 23:44 ` ericonr
2021-10-06 23:11 ` heittpr
2021-10-08 13:24 ` [ISSUE] [CLOSED] " ericonr

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).