Re: Bug#1012707: /etc/network/interfaces: only source configuration files using with '*.conf' / use 'source /etc/network/interfaces.d/*.conf' instead of 'source /etc/network/interfaces.d/*'

2022-07-12 Thread Ben Hutchings
On Tue, 2022-06-14 at 22:52 +0200, Santiago Ruano Rincón wrote:
> El 12/06/22 a las 14:13, Patrick Schleizer escribió:
> > Package: ifupdown
> > Severity: normal
> > 
> > Dear maintainer,
> > 
> > in file /etc/network/interfaces ...
> > 
> > Could you please consider instead of setting the default:
> > 
> > source /etc/network/interfaces.d/*
> > 
> > change suggestion:
> > 
> > source /etc/network/interfaces.d/*.conf
> > 
> > Reason:
> > 
> > When
> > 
> > - text editor (such as kate) create backup files (such as
> > /etc/network/interfaces.d/50_user~ with the tilde at the end)
> > 
> > - local packages by system administrator or Debian derivatives place
> > configuration drop-in snippets in /etc/network/interfaces.d/ folder,
> > 
> > then on upgrades then redundant files might end up in that folder such
> > as those with file extensions '.dpkg-old' or '.dpkg-dist'.
> > 
> > When ifupdown is restarted, an interface is likely to be duplicated
> > leading to ifupdown failure, resulting in a broken network connection.

Is this not what the "source-directory" directive exists for?

It is a bit puzzling that this was added and then not used...

> > 
> > By parsing only configuration files such as with the `*.conf` file
> > extension issues with parsing unexpected files created by editors
> > (backup files) or dpkg are avoided.
> 
> Thanks for your report. I think it makes sens. But for the moment, I am
> pushing it to a separate branch. If I am not wrong, the debian-installer
> installs some files in /etc/network/interfaces.d/, so there must be some
> coordination to avoid issues in future installs.
> 
> Debian Installer Team: it is OK from your side to make the change
> described above?

I grepped the source repositories of d-i packages and found 2 uses of
interfaces.d:

- netboot-assistant has an example command that creates
"/etc/network/interfaces.d/static":
https://salsa.debian.org/installer-team/netboot-assistant/-/blob/master/README.installbox#L62

- netcfg creates /etc/network/interfaces itself, with the wildcard
that's being reported as a bug:
https://salsa.debian.org/installer-team/netcfg/-/blob/master/write_interface.c#L29

So netcfg would probably also have to be changed, whether you decide to
go with *.conf or source-directory.

Ben.

-- 
Ben Hutchings
friends: People who know you well, but like you anyway.


signature.asc
Description: This is a digitally signed message part


Bug#1014243: busybox-syslogd: The 'syslog' daemon is running, but no configuration file can be found.

2022-07-12 Thread Nobuhiro Iwamatsu
Package: busybox-syslogd
Followup-For: Bug #1014243

Hi,

> What led up to the situation? No idea, I've never touched the configuration
> (that I know of)
> 
> What exactly did you do (or not do) that was effective (or ineffective)? not
> sure, it was in a cron daily report.And wasn't in the previous one.
> 
> What was the outcome of this action? received email from Cron Daily with
> subject line :"[rkhunter] DebianTim - Daily report" and in the body of the
> email it states: "Warning: The 'syslog' daemon is running, but no 
> configuration
> file can be found."
> I have no idea where that might be to check it, the man pages point to this
> program for syslog.
> 
> What outcome did you expect instead? Not to get this type of email
> 

The busybox's syslogd provided by Debian does not require a configuration file.
The settings will need to be set with the syslogd command line option.

This warning is output by rkhunter. If you want to control this warning output,
I think you need to control it with rkhunter.

Best regards,
  Nobuhiro



Bug#789499: busybox: FTBFS with clang instead of gcc

2022-07-12 Thread Nobuhiro Iwamatsu
Package: busybox
Version: 1:1.35.0-1
Followup-For: Bug #789499

Hi,

latest version of busybox can build with clang.
so, we can close this issue.

Best regards,
 Nobuhiro

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, arm64, i386

Kernel: Linux 5.18.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages busybox depends on:
ii  libc6  2.33-8

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information