Bug#968980: installation-reports: systemctl status networking.service "failed" but Wicd works fine (LXDE)

2021-09-01 Thread Fernando Trebien
On Sun, 22 Nov 2020 05:44:04 + Avinash Sonawane  wrote:
> On Tue, 25 Aug 2020 01:42:52 -0300 nora-v  wrote:
> > $ systemctl status networking.service
> > ● networking.service - Raise network interfaces
> >Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor 
> > prese
> >Active: failed (Result: exit-code) since Mon 2020-08-24 22:41:10 -03; 2h 
> > 54mi
> >  Docs: man:interfaces(5)
> >  Main PID: 423 (code=exited, status=1/FAILURE)
> >
> > And also:
> >
> > $ cat /etc/network/interfaces
> > source-directory /etc/network/interfaces.d
> > $ cat /etc/network/interfaces.d/setup
> > auto lo
> > iface lo inet loopback
> >
> > auto eth0
> > iface eth0 inet dhcp
>
> I experienced this exact same issue with this exact
> /etc/network/interfaces.d/setup file contents with Debian 10.6.0 live
> XFCE non-free iso fetched from
> https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current-live/amd64/iso-hybrid/debian-live-10.6.0-amd64-xfce+nonfree.iso
>
> I fixed it with this command:
> $ sudo sed -i 's/eth0/enp1s0/g' /etc/network/interfaces.d/setup
>
> where I found `enp1s0` in `$ ip l` output.

This issue has been around since Stretch, [1] when the modern network
interface names became default. So, another workaround is to comment
out the lines in /etc/network/interfaces.d/setup that reference old
network interface names like eth0. Maybe this can be considered a bug
and the installer should not generate those lines.

[1] 
https://unix.stackexchange.com/questions/390307/startup-debian-9-error-failed-to-start-raise-network-interfaces



Bug#968980: installation-reports: systemctl status networking.service "failed" but Wicd works fine (LXDE)

2020-11-21 Thread Avinash Sonawane
On Tue, 25 Aug 2020 01:42:52 -0300 nora-v  wrote:
> $ systemctl status networking.service
> ● networking.service - Raise network interfaces
>Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor 
> prese
>Active: failed (Result: exit-code) since Mon 2020-08-24 22:41:10 -03; 2h 
> 54mi
>  Docs: man:interfaces(5)
>  Main PID: 423 (code=exited, status=1/FAILURE)
>
> And also:
>
> $ cat /etc/network/interfaces
> source-directory /etc/network/interfaces.d
> $ cat /etc/network/interfaces.d/setup
> auto lo
> iface lo inet loopback
>
> auto eth0
> iface eth0 inet dhcp

I experienced this exact same issue with this exact
/etc/network/interfaces.d/setup file contents with Debian 10.6.0 live
XFCE non-free iso fetched from
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/current-live/amd64/iso-hybrid/debian-live-10.6.0-amd64-xfce+nonfree.iso

I fixed it with this command:
$ sudo sed -i 's/eth0/enp1s0/g' /etc/network/interfaces.d/setup

where I found `enp1s0` in `$ ip l` output.



Bug#968980: installation-reports: systemctl status networking.service "failed" but Wicd works fine (LXDE)

2020-08-24 Thread nora-v
Package: installation-reports
Severity: normal
Tags: d-i

Dear Maintainer,

   * What led up to the situation?

Normal installing without issues. Nonfree necessary because of something
like "radeon kernel modesetting R600 amdgpu" failing with the official
(only free) ISO.

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

Just normal install.

   * What was the outcome of this action?

Wicd is working fine:

$ systemctl status wicd.service 
● wicd.service - Wicd a wireless and wired network manager for Linux
   Loaded: loaded (/lib/systemd/system/wicd.service; enabled; vendor preset: ena
   Active: active (running) since Mon 2020-08-24 22:41:14 -03; 2h 54min ago
 Docs: man:wicd(8)
 Main PID: 415 (wicd)
Tasks: 3 (limit: 3761)
   Memory: 32.0M
   CGroup: /system.slice/wicd.service
   ├─415 /usr/bin/python -O /usr/share/wicd/daemon/wicd-daemon.py --no-d
   ├─533 /usr/bin/python -O /usr/share/wicd/daemon/monitor.py
   └─678 /usr/sbin/dhclient -v -cf /var/lib/wicd/dhclient.conf enp1s0

But I also have:

$ systemctl status networking.service 
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese
   Active: failed (Result: exit-code) since Mon 2020-08-24 22:41:10 -03; 2h 54mi
 Docs: man:interfaces(5)
 Main PID: 423 (code=exited, status=1/FAILURE)

And also:

$ cat /etc/network/interfaces
source-directory /etc/network/interfaces.d
$ cat /etc/network/interfaces.d/setup 
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp


   * What outcome did you expect instead?

Normal behaviour. No warning at boot.


-- Package-specific info:

Boot method: USB (Kingston pendrive)
Image version: 
https://cdimage.debian.org/images/unofficial/non-free/images-including-firmware/current-live/amd64/iso-hybrid/debian-live-10.5.0-amd64-lxde+nonfree.iso
 - 2020-08-01 17:19
Date: 2020-08-25

Machine: Don't know (assemble desktop)
Partitions:

$ df -Tl
S.ficheros Tipo bloques de 1K  Usados Disponibles Uso% Montado en
udev   devtmpfs   1699496   0 1699496   0% /dev
tmpfs  tmpfs   3463085360  340948   2% /run
/dev/sda2  ext4  20511312 902679210419560  47% /
tmpfs  tmpfs  1731536   67716 1663820   4% /dev/shm
tmpfs  tmpfs 5120   45116   1% /run/lock
tmpfs  tmpfs  1731536   0 1731536   0% /sys/fs/cgroup
/dev/sda4  ext4  52207084  75778048767600   2% /home
/dev/sda1  vfat3065845228  301356   2% /boot/efi
tmpfs  tmpfs   346304  24  346280   1% /run/user/1000



Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O]
Detect CD:  [ ]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:[O]
Detect hard drives: [O]
Partition hard drives:  [O]
Install base system:[O]
Install tasks:  [O]
Install boot loader:[O]
Overall install:[O]

Comments/Problems:

Everything went fine. You people are beautiful. ^_^

-- 

Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.

Once you have filled out this report, mail it to sub...@bugs.debian.org.

-- System Information:
Debian Release: 10.5
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-10-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled