Re: etc/rc.d/lldpd & co?
Stuart Henderson <[email protected]> Wed, 05 Aug 2026 09:56:24 +0100
| Newsgroups | gmane.os.openbsd.tech |
|---|---|
| Message-ID | <19fd1235ec0.288f.545c230b3f27d53b49609e7db70685b8@spacehopper.org> |
This is a multi-part message in MIME format. --19fd12361197175288f3798394 Content-Type: text/plain; format=flowed; charset="us-ascii" Content-Transfer-Encoding: 8bit I think so, yes. We can do that now that other lldpd's script was renamed. -- Sent from a phone, apologies for poor formatting. On 4 August 2026 20:55:54 Job Snijders <[email protected]> wrote: > I bumped into 'rcctl enable lldpd' not working, should it be wired up to > the regular rc.d system? > > Index: etc/Makefile > =================================================================== > RCS file: /cvs/src/etc/Makefile,v > diff -u -p -r1.493 Makefile > --- etc/Makefile 15 Jul 2026 19:00:24 -0000 1.493 > +++ etc/Makefile 4 Aug 2026 19:53:40 -0000 > @@ -62,7 +62,8 @@ RCDAEMONS=amd apmd bgpd bgplgd bootparam > dhcpd dhcpleased dhcp6leased dhcrelay dhcrelay6 \ > dvmrpd eigrpd ftpd ftpproxy ftpproxy6 hostapd \ > hotplugd httpd identd ifstated iked inetd isakmpd iscsid ldapd \ > - ldattach ldomd ldpd lockd lpd mopd mountd mrouted nfsd npppd nsd ntpd \ > + ldattach ldomd ldpd lldpd lockd lpd mopd mountd mrouted \ > + nfsd npppd nsd ntpd \ > ospf6d ospfd pflogd portmap rad radiusd rarpd rbootd relayd resolvd \ > ripd route6d sasyncd sensorsd slowcgi slaacd smtpd sndiod snmpd spamd \ > spamlogd sshd statd syslogd tftpd tftpproxy unbound \ > Index: etc/rc.conf > =================================================================== > RCS file: /cvs/src/etc/rc.conf,v > diff -u -p -r1.229 rc.conf > --- etc/rc.conf 17 Jun 2025 01:36:55 -0000 1.229 > +++ etc/rc.conf 4 Aug 2026 19:53:40 -0000 > @@ -41,6 +41,7 @@ ldapd_flags=NO > ldattach_flags=NO # for normal use: "[options] linedisc cua-device" > ldomd_flags=NO > ldpd_flags=NO > +lldpd_flags=NO > lpd_flags=NO # for normal use: "" (or "-l" for debugging) > mopd_flags=NO > mrouted_flags=NO # be sure to enable multicast below > Index: etc/rc.d/lldpd > =================================================================== > RCS file: etc/rc.d/lldpd > diff -N etc/rc.d/lldpd > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ etc/rc.d/lldpd 4 Aug 2026 19:53:40 -0000 > @@ -0,0 +1,9 @@ > +#!/bin/ksh > +# > +# $OpenBSD$ > + > +daemon="/usr/sbin/lldpd" > + > +. /etc/rc.d/rc.subr > + > +rc_cmd $1 --19fd12361197175288f3798394 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.= w3.org/TR/html4/loose.dtd"> <html> <body> <div dir=3D"auto"> <div dir=3D"auto">I think so, yes. We can do that now that other lldpd's sc= ript was renamed.</div><div id=3D"aqm-signature" dir=3D"auto" style=3D"colo= r: black;"><div dir=3D"auto"><br></div><div dir=3D"auto">-- </div><div= dir=3D"auto"> Sent from a phone, apologies for poor formatting.</div= ><div dir=3D"auto"><br></div></div><div dir=3D'auto'><br></div> <div id=3D"aqm-original" style=3D"color: black;"> <div dir=3D"auto">On 4 August 2026 20:55:54 Job Snijders <[email protected]>= wrote:</div> <div><br></div> <blockquote type=3D"cite" class=3D"gmail_quote" style=3D"margin: 0 0 0 0.75= ex; border-left: 1px solid #808080; padding-left: 0.75ex;"> <div dir=3D"auto">I bumped into 'rcctl enable lldpd' not working, should it= be wired up to</div> <div dir=3D"auto">the regular rc.d system?</div> <div dir=3D"auto"><br></div> <div dir=3D"auto">Index: etc/Makefile</div> <div dir=3D"auto">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div> <div dir=3D"auto">RCS file: /cvs/src/etc/Makefile,v</div> <div dir=3D"auto">diff -u -p -r1.493 Makefile</div> <div dir=3D"auto">--- etc/Makefile=0915 Jul 2026 19:00:24 -0000=091.493</di= v> <div dir=3D"auto">+++ etc/Makefile=094 Aug 2026 19:53:40 -0000</div> <div dir=3D"auto">@@ -62,7 +62,8 @@ RCDAEMONS=3Damd apmd bgpd bgplgd bootpa= ram</div> <div dir=3D"auto"> =09dhcpd dhcpleased dhcp6leased dhcrelay dhcrelay6 = \</div> <div dir=3D"auto"> =09dvmrpd eigrpd ftpd ftpproxy ftpproxy6 hostapd \<= /div> <div dir=3D"auto"> =09hotplugd httpd identd ifstated iked inetd isakmp= d iscsid ldapd \</div> <div dir=3D"auto">-=09ldattach ldomd ldpd lockd lpd mopd mountd mrouted nfs= d npppd nsd ntpd \</div> <div dir=3D"auto">+=09ldattach ldomd ldpd lldpd lockd lpd mopd mountd mrout= ed \</div> <div dir=3D"auto">+=09nfsd npppd nsd ntpd \</div> <div dir=3D"auto"> =09ospf6d ospfd pflogd portmap rad radiusd rarpd rb= ootd relayd resolvd \</div> <div dir=3D"auto"> =09ripd route6d sasyncd sensorsd slowcgi slaacd smt= pd sndiod snmpd spamd \</div> <div dir=3D"auto"> =09spamlogd sshd statd syslogd tftpd tftpproxy unbo= und \</div> <div dir=3D"auto">Index: etc/rc.conf</div> <div dir=3D"auto">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div> <div dir=3D"auto">RCS file: /cvs/src/etc/rc.conf,v</div> <div dir=3D"auto">diff -u -p -r1.229 rc.conf</div> <div dir=3D"auto">--- etc/rc.conf=0917 Jun 2025 01:36:55 -0000=091.229</div= > <div dir=3D"auto">+++ etc/rc.conf=094 Aug 2026 19:53:40 -0000</div> <div dir=3D"auto">@@ -41,6 +41,7 @@ ldapd_flags=3DNO</div> <div dir=3D"auto"> ldattach_flags=3DNO=09# for normal use: "[options] = linedisc cua-device"</div> <div dir=3D"auto"> ldomd_flags=3DNO</div> <div dir=3D"auto"> ldpd_flags=3DNO</div> <div dir=3D"auto">+lldpd_flags=3DNO</div> <div dir=3D"auto"> lpd_flags=3DNO=09=09# for normal use: "" (or "-l" f= or debugging)</div> <div dir=3D"auto"> mopd_flags=3DNO</div> <div dir=3D"auto"> mrouted_flags=3DNO=09# be sure to enable multicast = below</div> <div dir=3D"auto">Index: etc/rc.d/lldpd</div> <div dir=3D"auto">=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</div> <div dir=3D"auto">RCS file: etc/rc.d/lldpd</div> <div dir=3D"auto">diff -N etc/rc.d/lldpd</div> <div dir=3D"auto">--- /dev/null=091 Jan 1970 00:00:00 -0000</div> <div dir=3D"auto">+++ etc/rc.d/lldpd=094 Aug 2026 19:53:40 -0000</div> <div dir=3D"auto">@@ -0,0 +1,9 @@</div> <div dir=3D"auto">+#!/bin/ksh</div> <div dir=3D"auto">+#</div> <div dir=3D"auto">+# $OpenBSD$</div> <div dir=3D"auto">+</div> <div dir=3D"auto">+daemon=3D"/usr/sbin/lldpd"</div> <div dir=3D"auto">+</div> <div dir=3D"auto">+. /etc/rc.d/rc.subr</div> <div dir=3D"auto">+</div> <div dir=3D"auto">+rc_cmd $1</div> </blockquote> </div><div dir=3D"auto"><br></div> </div></body> </html> --19fd12361197175288f3798394--