[Bug 994539] Re: resolvconf 1.63ubuntu12 failed to install/upgrade -- "lsattr: Inappropriate ioctl for device While reading flags on /etc/resolv.conf"
Stéphane Graber
stgraber at stgraber.org
Fri May 4 15:27:11 UTC 2012
Are you using reiserfs by any chance? or any non-ext filesystem?
root at castiana:~/Desktop/test/mnt# ls
root at castiana:~/Desktop/test/mnt# touch bla
root at castiana:~/Desktop/test/mnt# lsattr bla
lsattr: Inappropriate ioctl for device While reading flags on bla
root at castiana:~/Desktop/test/mnt# grep reiserfs /proc/mounts
/dev/loop0 /home/stgraber/Desktop/test/mnt reiserfs rw,relatime 0 0
root at castiana:~/Desktop/test/mnt# ls
bla
root at castiana:~/Desktop/test/mnt# lsattr bla
lsattr: Inappropriate ioctl for device While reading flags on bla
root at castiana:~/Desktop/test/mnt# echo $?
1
>From their manpage lsattr/chattr are designed for ext filesystems, there isn't any guarantee that they'll work on something else.
Based on that, it should be safe to ignore that specific error as chattr
wouldn't have worked on such a system either and so resolv.conf can't
possibly be immutable.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/994539
Title:
resolvconf 1.63ubuntu12 failed to install/upgrade -- "lsattr:
Inappropriate ioctl for device While reading flags on
/etc/resolv.conf"
Status in “resolvconf” package in Ubuntu:
New
Bug description:
upgrading from 11.10 and it show error on upgrade resolvconf package
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: resolvconf 1.63ubuntu12
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic-pae 3.2.16
Uname: Linux 3.2.0-24-generic-pae i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Fri May 4 19:58:05 2012
ErrorMessage: ErrorMessage: subprocess installed post-installation script returned error exit status 20
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1)
PackageArchitecture: all
SourcePackage: resolvconf
Title: package resolvconf 1.63ubuntu12 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 20
UpgradeStatus: Upgraded to precise on 2012-05-04 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/994539/+subscriptions
More information about the foundations-bugs
mailing list