FS#29484 - [netcfg] PRE_DOWN / POST_UP are not executed on suspend/resume

Attached to Project: Arch Linux
Opened by Marius (65kid) - Monday, 16 April 2012, 11:11 GMT
Last edited by Tom Gundersen (tomegun) - Tuesday, 17 April 2012, 23:08 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I upgraded to testing and noticed that the PRE_DOWN and POST_UP scripts in my netcfg profile were not executed anymore when suspending/resuming the machine.

I also found the problem:
The script /usr/lib/pm-utils/sleep.d/11netcfg calls /usr/bin/netcfg2 which does not exist anymore. I worked around this by symlinking /usr/bin/netcfg2 to /usr/bin/netcfg.

I also noticed that 11netcfg is part of pm-utils. Wouldn't it make more sense to make this part of the netcfg package? As far as I can see this file is useless for people who don't have netcfg installed.

btw I'm using systemd and don't have initscripts installed.
This task depends upon

Closed by  Tom Gundersen (tomegun)
Tuesday, 17 April 2012, 23:08 GMT
Reason for closing:  Fixed
Additional comments about closing:  in git

Loading...