FS#18443 - [netcfg] 2.5.2 Requires Suspend/Resume?

Attached to Project: Arch Linux
Opened by AdamW (skanky) - Tuesday, 23 February 2010, 21:03 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Monday, 06 June 2011, 06:28 GMT
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
When starting netcfg the following message is received:

"find: `/var/run/network//suspend/': No such file or directory"

It still connects okay. The message goes away when "/var/run/network/suspend/' is created manually.

Additional info:
2.5.2-2 (haven't tried with latest releases).

Steps to reproduce:

Install netcfg, set-up a wireless profile and make a connection.
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Monday, 06 June 2011, 06:28 GMT
Reason for closing:  Fixed
Comment by AdamW (skanky) - Tuesday, 23 February 2010, 21:07 GMT
Forgot to post this, here's the forum thread: http://bbs.archlinux.org/viewtopic.php?id=91461
Comment by Paul Mattal (paul) - Monday, 15 March 2010, 03:30 GMT
It looks like at the start of profile_up(), we check if STATE_DIR exists, and if not, we create all the subdirs.

My suspicion is that this is sufficient on a clean install, but doesn't work cleanly on upgrades.

Should we add a check for each of the subdirs individually, and create them if they don't exist?
Comment by Alexandre Héaumé (aheaume) - Monday, 29 March 2010, 10:35 GMT
I did a fresh install about a week ago and noticed the issue too. So I guess the bug exists both for clean installs and upgrades.

Version : 2.5.4-1
Build date : 21 Feb
Install date : 21 Mar
Comment by Karol Babioch (johnpatcher) - Wednesday, 28 April 2010, 11:25 GMT
Same here, on a fresh install.
Comment by Sagattarii (sagattarii) - Sunday, 22 August 2010, 14:52 GMT
Same here on a fresh install.
Comment by Brian Johnson (alienvenom) - Friday, 01 October 2010, 00:37 GMT
Same here on a fresh install.
Comment by Jesse Young (jlyo) - Tuesday, 26 October 2010, 02:22 GMT
This is a duplicate of https://bugs.archlinux.org/task/18589. In the patch I posted there, I implemented what paul described.
Comment by Karol Babioch (johnpatcher) - Thursday, 20 January 2011, 10:14 GMT
So why does it take so long to get fixed? We've a patch for a few months now, so why is nobody going to apply it to the repositories?
Comment by Thomas Bächler (brain0) - Thursday, 20 January 2011, 10:27 GMT
Let me guess ... because nobody actually maintains netcfg. James has no time anymore, and I don't know a lot about the code and don't have time to get into it.
Comment by James Rayner (iphitus) - Thursday, 20 January 2011, 12:25 GMT
I merged a pile of bug fixes, fixing most on flyspray, including this one. Its in a git repo here [1]. However I no longer have access to update the package/git, nor the time. There is a pkgbuild for this git release also [2].

[1] https://github.com/iphitus/netcfg-updates
[2] http://rayner.id.au/~iphitus/netcfg-git/
Comment by Thomas Bächler (brain0) - Thursday, 20 January 2011, 12:37 GMT
I just pushed your changes to the main.

Loading...