I'm a little confused: the status is currently set to "Incomplete" but
it looks like the SRU template has been updated? Is this ready for
sponsorship? If so, probably worth changing to "Confirmed" or "Triaged".

Before that, though, there seem to be some mistakes in the test plan:

# create 100 users
for i in $(seq 1 100); do sudo useradd -N -g users user$i; echo "user-ubu" | 
sudo passwd user$i; done
# create 1000 text files
for i in $(seq 1 100); do echo "This is test file number $i." > file$i.txt; 
1000 $(id -u user$i); done
# each user opens 100 files and reads it
for i in $(seq 1 1000); do -u user1 file_1.txt 1000 100 & done
  --> this will start 100 processes having 100 threads each, which are opening 
1000 files each (shared between threads)

"passwd" won't work as it expects two entries of the password; might be
better to use something like:

useradd -N -g users -p $(openssl passwd -6 -salt foo user-ubu) user$i

The second loop's comment I *think* is meant to be "create 100 text
files", and I think it's meant to be "per user"? The second command in
the second loop is "1000" which is clearly wrong -- is this meant to be
a "chown" command? Finally the third loop is presumably meant to be
using su (with -u) to get each temporary user to do "something" but I'm
not sure what that "something" is?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2116751

Title:
  openscap probe_file process consumes excessive resources during CIS
  scan

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openscap/+bug/2116751/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to