[LU-5680] sanity-hsm uses /etc/motd (which is probably of size 0) Created: 29/Sep/14 Updated: 31/Mar/22 Resolved: 31/Mar/22 |
|
| Status: | Closed |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0, Lustre 2.10.4 |
| Fix Version/s: | Lustre 2.12.1 |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | James Nunez (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | hsm, ubuntu | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 15912 | ||||||||
| Description |
|
In various tests sanity-hsm copies /etc/hosts, /etc/passwd, or /etc/modt for use as the test file. /etc/motd is likely of size 0 and may defeat the use of bandwidth control for timing. Uses of /etc/* should be replaced with a generated files of known suitable size. We should also add explicit tests using files of size 0. |
| Comments |
| Comment by Jodi Levi (Inactive) [ 30/Sep/14 ] |
|
Hi James, |
| Comment by Gerrit Updater [ 09/Mar/15 ] |
|
James Nunez (james.a.nunez@intel.com) uploaded a new patch: http://review.whamcloud.com/14021 |
| Comment by James Nunez (Inactive) [ 09/Mar/15 ] |
|
Patch http://review.whamcloud.com/14021 replaces all uses of /etc/* with creation of a small file of known size. A second patch will be created to add archiving of zero byte files to sanity-hsm. |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/14021/ |
| Comment by Minh Diep [ 09/Jan/18 ] |
|
Landed for 2.11 |
| Comment by Gerrit Updater [ 09/Jan/18 ] |
|
Minh Diep (minh.diep@intel.com) uploaded a new patch: https://review.whamcloud.com/30795 |
| Comment by Quentin Bouget [ 11/Apr/18 ] |
|
There are still a lot of place in sanity-hsm where /etc/{passwd,hosts} are used. Maybe this ticket should be reopened. |
| Comment by Gerrit Updater [ 12/Apr/18 ] |
|
John L. Hammond (john.hammond@intel.com) merged in patch https://review.whamcloud.com/30795/ |
| Comment by James Nunez (Inactive) [ 21/May/18 ] |
|
Reopening ticket to allow for patches to replace all uses of /etc files. |
| Comment by James A Simmons [ 12/Jan/22 ] |
|
Anyone looking at this ? |
| Comment by James A Simmons [ 31/Mar/22 ] |
|
Doesn't seem to be of interest to anyone anymore. If it is feel free to reopen. |
| Comment by John Hammond [ 31/Mar/22 ] |
|
Change 14021 - Merged
In sanity-hsm tests, /etc/motd is copied to the file system Test-Parameters: trivial testlist=sanity-hsm Signed-off-by: James Nunez <james.a.nunez@intel.com> |