[Bug 811056] [NEW] compcache doesn't work
Stanislav German-Evtushenko
811056 at bugs.launchpad.net
Fri Jul 15 14:11:06 UTC 2011
Public bug reported:
Ubuntu 10.10
/etc/initramfs-tools/initramfs.conf: COMPCACHE_SIZE="1 G" or
COMPCACHE_SIZE="50 %" doesn't work because of using bash construction in
udev rules.
The problem is in /usr/share/initramfs-tools/hooks/compcache:
RUN+="/sbin/rzscontrol /dev/ramzswap0 --disksize_kb="$kbytes" --init &&
/sbin/swapon -p 100 /dev/ramzswap0 2>/dev/null". Quotes and '&' doesn't
work in udev rules. I think this is needed to be moved to separate
script instead of inline usage.
** Affects: initramfs-tools (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/811056
Title:
compcache doesn't work
Status in “initramfs-tools” package in Ubuntu:
New
Bug description:
Ubuntu 10.10
/etc/initramfs-tools/initramfs.conf: COMPCACHE_SIZE="1 G" or
COMPCACHE_SIZE="50 %" doesn't work because of using bash construction
in udev rules.
The problem is in /usr/share/initramfs-tools/hooks/compcache:
RUN+="/sbin/rzscontrol /dev/ramzswap0 --disksize_kb="$kbytes" --init
&& /sbin/swapon -p 100 /dev/ramzswap0 2>/dev/null". Quotes and '&'
doesn't work in udev rules. I think this is needed to be moved to
separate script instead of inline usage.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/811056/+subscriptions
More information about the foundations-bugs
mailing list