ifupdown scripts have no execute rights!

Bug #1876781 reported by Thomas
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vlan (Ubuntu)
Medium
Dan Streetman
Eoan
Medium
Dan Streetman
Focal
Medium
Dan Streetman
Groovy
Medium
Dan Streetman

Bug Description

[impact]

vlan package installs some ifupdown scripts without x mode.

[test case]

check /etc/network/if-pre-up.d/vlan and if-up.d/vlan scripts, their mode should be 755.

[regression potential]

any regression would likely involve failure to configure a vlan interface using ifupdown.

[scope]

The vlan package in Bionic has the correct file mode; the vlan package in Eoan introduced the incorrect file mode, and the vlan package hasn't been updated since then.

this is needed for Eoan and later.

This is not needed for Debian, as the file mode are correct in the latest package (v2.0.5) there.

[original description]

After installing today a new server with 20.04 and restored my /etc/network/interfaces file with vlan it ended up, with no vlan interfaces.

After searching for the reason, I found, that only vlan scripts in the following folder has not set the execute rights. So I added them manually and now vlan works again.

/etc/network/if-pre-up.d/
/etc/network/if-up.d/

But the script in /etc/network/if-post-down.d/ had the execute rights.

Hope it will fixed, that others can hassle-free setup there vlan :)

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: vlan 2.0.4ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
Uname: Linux 5.4.0-28-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Mon May 4 20:00:22 2020
InstallationDate: Installed on 2020-05-04 (0 days ago)
InstallationMedia: Ubuntu-Server 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=de_DE.UTF-8
 TERM=screen.xterm-256color
 PATH=(custom, no user)
SourcePackage: vlan
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Thomas (t.c) wrote :
Changed in vlan (Ubuntu):
status: New → Triaged
Revision history for this message
Dan Streetman (ddstreet) wrote :

Wow, you may be the first person to report this, even though it's been broken like this since Disco...I believe this would only affect new installs since Disco, so that may be why it went unnoticed so long. Sorry, and thanks for reporting it!

Changed in vlan (Ubuntu Eoan):
assignee: nobody → Dan Streetman (ddstreet)
Changed in vlan (Ubuntu Focal):
assignee: nobody → Dan Streetman (ddstreet)
Changed in vlan (Ubuntu Groovy):
assignee: nobody → Dan Streetman (ddstreet)
Changed in vlan (Ubuntu Eoan):
importance: Undecided → Medium
Changed in vlan (Ubuntu Focal):
importance: Undecided → Medium
Changed in vlan (Ubuntu Groovy):
importance: Undecided → Medium
status: Triaged → In Progress
Changed in vlan (Ubuntu Focal):
status: New → In Progress
Changed in vlan (Ubuntu Eoan):
status: New → In Progress
Dan Streetman (ddstreet)
description: updated
description: updated
Dan Streetman (ddstreet)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vlan - 2.0.4ubuntu2

---------------
vlan (2.0.4ubuntu2) groovy; urgency=medium

  * d/network/if-pre-up.d/vlan,
    d/network/if-up.d/vlan,
    d/vlan-network-interface:
    - Fix file mode to 775 (LP: #1876781)

 -- Dan Streetman <email address hidden> Tue, 05 May 2020 19:52:30 -0400

Changed in vlan (Ubuntu Groovy):
status: In Progress → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Thomas, or anyone else affected,

Accepted vlan into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/vlan/2.0.4ubuntu1.20.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in vlan (Ubuntu Focal):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-focal
Changed in vlan (Ubuntu Eoan):
status: In Progress → Fix Committed
tags: added: verification-needed-eoan
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Thomas, or anyone else affected,

Accepted vlan into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/vlan/2.0.4ubuntu1.19.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-eoan to verification-done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-eoan. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Dan Streetman (ddstreet) wrote :

focal:

root@lp1876781-f:~# dpkg -l|grep vlan
ii vlan 2.0.4ubuntu1.20.04.1 all ifupdown integration for vlan configuration
root@lp1876781-f:~# ls -l /etc/network/if*/vlan
-rwxr-xr-x 1 root root 1433 May 5 23:50 /etc/network/if-post-down.d/vlan
-rwxr-xr-x 1 root root 4296 May 5 23:52 /etc/network/if-pre-up.d/vlan
-rwxr-xr-x 1 root root 227 May 5 23:52 /etc/network/if-up.d/vlan

eoan:

root@lp1876781-e:~# dpkg -l|grep vlan
ii vlan 2.0.4ubuntu1.19.10.1 all ifupdown integration for vlan configuration
root@lp1876781-e:~# ls -l /etc/network/if*/vlan
-rwxr-xr-x 1 root root 1433 May 5 23:50 /etc/network/if-post-down.d/vlan
-rwxr-xr-x 1 root root 4296 May 5 23:50 /etc/network/if-pre-up.d/vlan
-rwxr-xr-x 1 root root 227 Dec 2 22:19 /etc/network/if-up.d/vlan

tags: added: verification-done verification-done-eoan verification-done-focal
removed: verification-needed verification-needed-eoan verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vlan - 2.0.4ubuntu1.20.04.1

---------------
vlan (2.0.4ubuntu1.20.04.1) focal; urgency=medium

  * d/network/if-pre-up.d/vlan,
    d/network/if-up.d/vlan,
    d/vlan-network-interface:
    - Fix file mode to 775 (LP: #1876781)

 -- Dan Streetman <email address hidden> Tue, 05 May 2020 19:52:30 -0400

Changed in vlan (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for vlan has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vlan - 2.0.4ubuntu1.19.10.1

---------------
vlan (2.0.4ubuntu1.19.10.1) eoan; urgency=medium

  * d/network/if-pre-up.d/vlan,
    d/network/if-up.d/vlan,
    d/vlan-network-interface:
    - Fix file mode to 775 (LP: #1876781)

 -- Dan Streetman <email address hidden> Tue, 05 May 2020 19:52:30 -0400

Changed in vlan (Ubuntu Eoan):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers