[Bug 1330120] [NEW] facter doesn't handle "can't open /proc/interrupts at /usr/bin/lsdev line 15."
Tim Landscheidt
tim at tim-landscheidt.de
Sat Jun 14 20:18:26 UTC 2014
Public bug reported:
On my rented Strato Linux virtual server, facter (and thus puppet)
throws a warning on each run:
| root@[redacted]:~# facter
| can't open /proc/interrupts at /usr/bin/lsdev line 15.
| ["key => value" pairs]
| root@[redacted]:~# puppet agent --test
| can't open /proc/interrupts at /usr/bin/lsdev line 15.
| info: Caching catalog for [redacted].stratoserver.net
| info: Applying configuration version '1402765937'
| notice: Finished catalog run in 0.20 seconds
| root@[redacted]:~# cat /etc/os-release
| NAME="Ubuntu"
| VERSION="12.04.4 LTS, Precise Pangolin"
| ID=ubuntu
| ID_LIKE=debian
| PRETTY_NAME="Ubuntu precise (12.04.4 LTS)"
| VERSION_ID="12.04"
| root@[redacted]:~# facter --version
| 1.6.5
| root@[redacted]:~# puppet --version
| 2.7.11
| root@[redacted]:~#
The warning (?) comes apparently from the call to lsdev in
/usr/lib/ruby/1.8/facter/util/processor.rb and in fact none of the paths
referred to in lsdev exist on the virtual server:
| root@[redacted]:~# lsdev -Cc processor
| can't open /proc/interrupts at /usr/bin/lsdev line 15.
| root@[redacted]:~# ls -l /proc/dma /proc/ioports /proc/interrupts
| ls: cannot access /proc/dma: No such file or directory
| ls: cannot access /proc/ioports: No such file or directory
| ls: cannot access /proc/interrupts: No such file or directory
| root@[redacted]:~#
** Affects: facter (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to facter in Ubuntu.
https://bugs.launchpad.net/bugs/1330120
Title:
facter doesn't handle "can't open /proc/interrupts at /usr/bin/lsdev
line 15."
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/facter/+bug/1330120/+subscriptions
More information about the Ubuntu-server-bugs
mailing list