LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2024, 03:23 AM   #3751
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 616

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359

Quote:
Originally Posted by Lockywolf View Post
I am a bit confused with the most recent -current.
Avahi was added, but not nss-mdns.

What is the use for avahi, if not for resolving .local domain?

Maybe I am missing something?
https://github.com/avahi/nss-mdns
Quote:
Copyright 2004-2007 Lennart Poettering <mzaffzqaf (at) 0pointer (dot) de>
Lennart Poettering first Avahi then systemd.

Last edited by teoberi; 02-23-2024 at 03:41 AM.
 
Old 02-23-2024, 03:37 AM   #3752
TurboBlaze
Member
 
Registered: Jan 2018
Location: Russian Federation, Lipetsk region, Dankov
Distribution: Porteus
Posts: 196

Rep: Reputation: Disabled
1. I am agree with Lockywolf why is not have nss-mdns?

2. How about to fix cups-filters for the latest changes?

open /source/ap/cups-filters/cups-filters.SlackBuild and find
Code:
  --with-browseremoteprotocols=cups \
replace with
Code:
  --with-browseremoteprotocols="dnssd cups" \
or remove this line coz
Quote:
--with-browseremoteprotocols=value
Set which protocols to listen for in cups-browsed
(default: dnssd cups)
+
Code:
sed -i 's|BrowseRemoteProtocols cups|BrowseRemoteProtocols dnssd cups|' /.../etc/cups/cups-browsed.conf

# I am not sure about this line coz
# Only CUPS is actually supported, as DNSSD is done by CUPS itself (we ignore
# DNSSD in this directive).
# probably here is must to be only BrowseLocalProtocols cups or # BrowseLocalProtocols none by default
sed -i 's|# BrowseLocalProtocols none|BrowseLocalProtocols dnssd cups|' /.../etc/cups/cups-browsed.conf

sed -i 's|# BrowseProtocols none|BrowseProtocols dnssd cups|' /.../etc/cups/cups-browsed.conf
and probably for cups config
Code:
sed -i 's|Browsing Yes|Browsing On|' /.../etc/cups/cupsd.conf
sed -i 's|BrowseLocalProtocols dnssd|BrowseLocalProtocols dnssd cups|' /.../etc/cups/cupsd.conf
Thanks.

Last edited by TurboBlaze; 02-23-2024 at 04:25 AM.
 
Old 02-23-2024, 04:33 AM   #3753
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,412

Rep: Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149
Quote:
Originally Posted by Lockywolf View Post
I am a bit confused with the most recent -current.
Avahi was added, but not nss-mdns.

What is the use for avahi, if not for resolving .local domain?

Maybe I am missing something?
Code:
nss-mdns provides client functionality only, which means 
that you have to run a mDNS responder daemon seperately 
from nss-mdns if you want to register the local host name 
via mDNS. I recommend Avahi.
http://0pointer.de/lennart/projects/nss-mdns/
 
Old 02-23-2024, 04:40 AM   #3754
teoberi
Member
 
Registered: Jan 2018
Location: Romania
Distribution: Slackware64-current (servers)/Windows 11/Ubuntu (workstations)
Posts: 616

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
Quote:
Originally Posted by marav View Post
Code:
nss-mdns provides client functionality only, which means 
that you have to run a mDNS responder daemon seperately 
from nss-mdns if you want to register the local host name 
via mDNS. I recommend Avahi.
http://0pointer.de/lennart/projects/nss-mdns/
Why 0.10 when there is 0.15.1?
 
Old 02-23-2024, 05:01 AM   #3755
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,219

Rep: Reputation: 299Reputation: 299Reputation: 299
libsecret-0.21.4
https://download.gnome.org/sources/l...-0.21.4.tar.xz
 
Old 02-23-2024, 05:03 AM   #3756
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Originally Posted by marav View Post
Code:
nss-mdns provides client functionality only, which means 
that you have to run a mDNS responder daemon seperately 
from nss-mdns if you want to register the local host name 
via mDNS. I recommend Avahi.
http://0pointer.de/lennart/projects/nss-mdns/
Code:
By default nss-mdns tries to contact a running avahi-daemon for 
resolving host names and addresses and making use of its 
superior record cacheing.
And also

Code:
Please note that due to security reasons from this release 
on the minimal mDNS stack included in nss-mdns 
(dubbed "legacy") is no longer built by default.
 Thus, nss-mdns will not work unless Avahi is running!
 That makes Avahi essentially a hard dependency of nss-mdns.
nss-mdns is not a replacement for avahi but a bridge between avahi and glibc name resolver, and a very useful one.

Last edited by Lockywolf; 02-23-2024 at 05:06 AM.
 
3 members found this post helpful.
Old 02-23-2024, 05:43 AM   #3757
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,412

Rep: Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149Reputation: 4149
Yes, but from my understanding, avahi was just added not to drop hplip
Code:
It was either this, or drop (or fork) hplip. We'll enjoy it in the long run.
I don't think Pat is happy with this addition any more than that
 
2 members found this post helpful.
Old 02-23-2024, 11:07 AM   #3758
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,592

Rep: Reputation: 920Reputation: 920Reputation: 920Reputation: 920Reputation: 920Reputation: 920Reputation: 920Reputation: 920
It kind of feels like pam at this point. Is there a distro without avahi? (There was something I needed avahi for, but didn't want to build it myself because it seemed like a total pain in the ass.)
 
Old 02-23-2024, 11:14 AM   #3759
metaed
Member
 
Registered: Apr 2022
Location: US
Distribution: Slackware64 15.0
Posts: 372

Rep: Reputation: 172Reputation: 172
Quote:
Originally Posted by metaed View Post
Code:
--- run-parts.orig      2021-02-13 10:57:35.000000000 +0000
+++ run-parts   2024-02-20 23:23:48.398624009 +0000
Code:
--- run-parts.8.orig	2009-05-30 01:25:07.000000000 +0000
+++ run-parts.8	2024-02-23 17:04:57.595702859 +0000
@@ -7,7 +7,7 @@
 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
 .el .TP "\\$1"
 ..
-.TH RUN-PARTS 8 "14 Apr 2002" "Slackware Version 8.1.0
+.TH RUN-PARTS 8 "23 Feb 2024" "Slackware Version 15.0
 .SH NAME
 run-parts \- run scripts found in a directory
 .SH SYNOPSIS
@@ -27,7 +27,7 @@
 .B run-parts
 automatically skips files with certain suffixes that are generally associated
 with backup or extra files.  Any file that ends in one of these will be silently
-ignored:  ~ ^ , .bak .new .rpmsave .rpmorig .rpmnew .swp
+ignored:  ~ ^ , .bak .new .orig .rpmsave .rpmorig .rpmnew .swp
 .SH AUTHOR
 Patrick J. Volkerding <volkerdi@slackware.com>, with ideas borrowed from the
 Red Hat and Debian versions of this utility.
I'll have to be more careful what I ask for
 
Old 02-23-2024, 09:09 PM   #3760
gramaxo
LQ Newbie
 
Registered: Jan 2024
Posts: 3

Rep: Reputation: 2
pkgtool services setup script stopped working

After pkgtools-15.1-noarch-9 upgrade and the introduction of avahi service pkgtool services setup stopped working.
 
1 members found this post helpful.
Old 02-23-2024, 10:20 PM   #3761
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 460

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
Quote:
Originally Posted by gramaxo View Post
After pkgtools-15.1-noarch-9 upgrade and the introduction of avahi service pkgtool services setup stopped working.
There's a typo in /var/lib/pkgtools/setup/setup.services at line 52:
Code:
"rc.avahidaemon" "Zeroconf implementation" $AVAHIDAEMON "Avahi is a system which facilitate    s service discovery on a local network." \\
$AVAHIDAEMON should be $RC_AVAHIDAEMON.
 
2 members found this post helpful.
Old 02-24-2024, 12:09 AM   #3762
gramaxo
LQ Newbie
 
Registered: Jan 2024
Posts: 3

Rep: Reputation: 2
Thumbs up

Quote:
Originally Posted by pghvlaans View Post
There's a typo in /var/lib/pkgtools/setup/setup.services at line 52:
Code:
"rc.avahidaemon" "Zeroconf implementation" $AVAHIDAEMON "Avahi is a system which facilitate    s service discovery on a local network." \\
$AVAHIDAEMON should be $RC_AVAHIDAEMON.
Thanks. pkgtool service setup now works.

Last edited by gramaxo; 02-24-2024 at 12:20 AM.
 
Old 02-24-2024, 02:06 AM   #3763
Lockywolf
Member
 
Registered: Jul 2007
Posts: 683

Rep: Reputation: 253Reputation: 253Reputation: 253
Quote:
Originally Posted by garpu View Post
It kind of feels like pam at this point. Is there a distro without avahi? (There was something I needed avahi for, but didn't want to build it myself because it seemed like a total pain in the ass.)
There are devices (I'm looking at you, Linksys wifi APs), which do not work without a .local hostname.
That is, their internal net web-configuration interfaces listen on ServerName linksys-0123.local, and don't respond to bare IP address requests.

Yes, you "can" add an IP of those access points to /etc/hosts, if you know them, but maintaining overly long /etc/hosts is a pain too.

I pesonally never had problems with avahi, in the sense that I don't really notice it beyond .local domains resolving, having avahi and nss-mdns from SBo for years. I don't think it ever broke any of my scripts.
 
Old 02-24-2024, 02:16 AM   #3764
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,916

Rep: Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033Reputation: 5033
Quote:
Originally Posted by metaed View Post
Code:
--- run-parts.8.orig	2009-05-30 01:25:07.000000000 +0000
+++ run-parts.8	2024-02-23 17:04:57.595702859 +0000
@@ -7,7 +7,7 @@
 .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP
 .el .TP "\\$1"
 ..
-.TH RUN-PARTS 8 "14 Apr 2002" "Slackware Version 8.1.0
+.TH RUN-PARTS 8 "23 Feb 2024" "Slackware Version 15.0
 .SH NAME
 run-parts \- run scripts found in a directory
 .SH SYNOPSIS
@@ -27,7 +27,7 @@
 .B run-parts
 automatically skips files with certain suffixes that are generally associated
 with backup or extra files.  Any file that ends in one of these will be silently
-ignored:  ~ ^ , .bak .new .rpmsave .rpmorig .rpmnew .swp
+ignored:  ~ ^ , .bak .new .orig .rpmsave .rpmorig .rpmnew .swp
 .SH AUTHOR
 Patrick J. Volkerding <volkerdi@slackware.com>, with ideas borrowed from the
 Red Hat and Debian versions of this utility.
I'll have to be more careful what I ask for
If you're going to change this again, might as well add '#' to the list in order to exclude emacs autosave files (#foo#)
 
Old 02-24-2024, 05:47 AM   #3765
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 460

Rep: Reputation: 366Reputation: 366Reputation: 366Reputation: 366
man pages

Two semi-related items about man pages:
  • Somewhere between man-db-2.9.4 and man-db-2.12.0, whatis started picking up the ksh93 man page for "man sh" and "whatis sh." Since bash is the default sh, would it be appropriate to create a sh.1.gz symlink, or maybe keep the POSIX sh.1p page from man-pages-posix-2017-a?
  • man-pages.SlackBuild still refers to man-pages-posix-2013-a, so the POSIX pthread pages are no longer installed.

Last edited by pghvlaans; 02-24-2024 at 05:48 AM. Reason: typo
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.4 requests to non-SSL site with "Upgrade-Insecure-Requests: 1" and no trailing / get redirected to default site owendelong Linux - Server 2 06-22-2021 02:08 PM
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration