Bug 28677 - Mounting/unmounting an iPhone leaves a file in /etc/sysconfig/network-scripts/ which causes "Failed to start LSB: Bring up/down networking" at next boot.
Summary: Mounting/unmounting an iPhone leaves a file in /etc/sysconfig/network-scripts...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-29 21:28 CEST by Sébastien B.
Modified: 2021-04-05 16:04 CEST (History)
1 user (show)

See Also:
Source RPM: drakx_net
CVE:
Status comment:


Attachments
/etc/sysconfig/network-scripts/ showing the file created after mounting iPhone (124.19 KB, image/png)
2021-03-30 21:31 CEST, Lewis Smith
Details
screenshot (124.21 KB, image/png)
2021-03-31 07:21 CEST, Sébastien B.
Details

Description Sébastien B. 2021-03-29 21:28:33 CEST
Description of problem:
Hello,

After mounting an iPhone, a file is created in the /etc/sysconfig/network-scripts/ (in my case enp0s20u8c4i2).
After unmounting the iPhone this created file is still present,

https://imgur.com/a/xOxyfHL

and generates the error Failed to start LSB: Bring up/down networking.
After deleting the file (ifcfg-enp0s20u8c4i2), the system will launch correctly without network error.


Version-Release number of selected component (if applicable):




How reproducible:


Steps to Reproduce:
After mounting an iPhone.
(installing the package usbmuxd and in root : usbmuxd -f -v
in another shell, in user : idevicepair pair
unlock your iPhone and tape the unlock code.
idevicepair pair
and for a folder with the name pics : mkdir ~/pics && ifuse ~/pics
after use, unmount and delete folder :
fusermount -u ~/pics && rmdir ~/pics
I don't know if this problem also exists with android devices.
Sébastien B. 2021-03-30 13:22:43 CEST

CC: (none) => sb.cw

Sébastien B. 2021-03-30 13:23:23 CEST

CC: sb.cw => (none)

Comment 1 Lewis Smith 2021-03-30 21:31:18 CEST
Created attachment 12549 [details]
/etc/sysconfig/network-scripts/ showing the file created after mounting iPhone

See comment 0.

Attached the referenced external terminal image to this bug. It is always better to attach screenshots etc to a bug rather than store them elsewhere, because they are generally short-lived there.

Also, in this case, you could more simply have just selected/pasted the terminal output illustrated directly into the bug. Never mind.
Comment 2 Lewis Smith 2021-03-30 21:44:58 CEST
Thank you for the report.

Unsure where to assign this, or which pkg is the guilty party; so doing so globally.

Summary: Failed to start LSB: Bring up/down networking => Mounting/unmounting an iPhone leaves a file in /etc/sysconfig/network-scripts/ which causes "Failed to start LSB: Bring up/down networking" at next boot.
Assignee: bugsquad => pkg-bugs

Comment 3 Sébastien B. 2021-03-31 07:21:57 CEST
Created attachment 12550 [details]
screenshot
Comment 4 Sébastien B. 2021-03-31 07:30:11 CEST
(In reply to Lewis Smith from comment #2)
> Thank you for the report.
> 
> Unsure where to assign this, or which pkg is the guilty party; so doing so
> globally.

Hello,

Thank you for your reply.

On the French forum, similar cases are users, using netapplet.
Those using Network Manager do not appear to be affected.
I allow myself to put a line of thought, on which we discuss. The translation gives this:

"The connection of a usb peripheral (a telephone for example) which would have acted as network card?
en: ethernet device
p0: port 0
s20: slot 20

But after:
u: for usb
c: configuration 4
i: interface 2

I doubt that the configuration is saved automatically. In fact it would be necessary that in netapplet / drakconnect, as soon as there is a "u" in the name there is the possibility of letting the system know that it is about of a temporary interface which must be deleted when shutting down the system! "

Thanks !
Comment 5 Sébastien B. 2021-04-05 14:43:32 CEST
Hello,

With another Mageia user, owning an Apple device, and after mounting the device, the file is also created in :

/etc/sysconfig/network-scripts/ 

However, it uses network manager.

In his system logs, the error: Failed to start LSB: Bring up/down networking is absent.

The problem seems to come from using NetApplet/Drakconnect.

Is it possible to assign this bug to the maintainers of this tool?
Aurelien Oudelet 2021-04-05 16:04:20 CEST

CC: (none) => ouaurelien
Assignee: pkg-bugs => mageiatools
Source RPM: (none) => drakx_net


Note You need to log in before you can comment on or make changes to this bug.