diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2021-04-16 13:37:37 -0400 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2021-05-05 09:54:51 -0400 |
commit | 50c1ed649429b5e8dc76bd0427cb84e074ecfda1 (patch) | |
tree | 2ac854d55cc02f74832092fc19d1cc8947548d62 /sos.spec | |
parent | 31f70706fe0f6f54ea8a0abb055a5b8975113213 (diff) | |
download | sos-50c1ed649429b5e8dc76bd0427cb84e074ecfda1.tar.gz |
[devicemapper] Add check for dm_mod
It was discovered during testing that some distributions will have
`dm_mod` as an unloaded kmod rather than being a builtin. For the
moment, we cannot rely on checking loaded kernel mods as a predicate for
`dm_mod` as it does not get listed when it is a builtin.
Instead, check for the presence of `/sys/module/dm_mod` as the marker
for if `dm_mod` is either a builtin or a currently loaded module.
Related: #2499
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Diffstat (limited to 'sos.spec')
0 files changed, 0 insertions, 0 deletions