Bug 24099 - initscript uses obsolete ifconfig
Summary: initscript uses obsolete ifconfig
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: cups (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: Fr. Br. George
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-17 18:20 MSD by Michael Shigorin
Modified: 2010-09-20 02:58 MSD (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Shigorin 2010-09-17 18:20:39 MSD
Вылезло у led@ таким образом (net-tools-1.60-alt16):

8: cups ############################### [ 47%]
Stopping CUPS service: [ DONE ]
Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.
Ifconfig is obsolete! For replacement check ip.
Starting CUPS service: [ DONE ]

Предлагаю втянуть тривиальный патч с заменой ifconfig(8) на ip(8):
http://git.altlinux.org/people/mike/packages/?p=cups.git;a=commitdiff;h=0a9ddcf58acd7200feac848ae5e1c42da621176d
Comment 1 Repository Robot 2010-09-18 04:49:25 MSD
cups-1.4.4-alt2 -> sisyphus:

* Fri Sep 17 2010 Vitaly Kuznetsov <vitty@altlinux> 1.4.4-alt2
- mike: use ip instead of ifconfig in initscript (closes: #24099)