FileSystemCollector never ends in Ubuntu 18.04 LTS
See original GitHub issueThere is a problem running “asa collect -a” in Ubuntu Linux 18.04 LTS and to be precise the file system collection. For some reason following commands never finish. I tested this with three different virtual machines that on different virtualization platforms (Oracle VirtualBox and XenCenter):
1. sudo .dotnet/tools/asa collect -a --overwrite --verbose --runid initial
2. sudo .dotnet/tools/asa collect -f --overwrite --verbose --directories /proc --runid initialproc
3. sudo .dotnet/tools/asa collect -f --overwrite --verbose --directories /sys --runid initialsys
EDIT: Installed Ubuntu Linux 20.04 to Oracle VirtualBox and more information was shown “Killed”:
When running without sys and proc directories, the file system collection finished in 15 mins:
sudo ~/.dotnet/tools/asa collect -cfprsuFCl --overwrite --directories /bin^/boot^/dev^/etc^/home^/lib^/lib64^/lost+found^/media^/mnt^/opt^/root^/run^/sbin^/snap^/srv^/tmp^/usr^/var --runid excludeddirs
System Configuration:
user@user-VirtualBox:~$ sudo .dotnet/tools/asa version
[15:12:47 INF] AttackSurfaceAnalyzer v.2.2.72+917982b04c
Asa 2.2.72+917982b04c
user@user-VirtualBox:~$ uname -a
Linux user-VirtualBox 5.0.0-23-generic #24~18.04.1-Ubuntu SMP Mon Jul 29 16:12:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Filesystem keeps getting corrupted
Computer: ASUS ROG laptop; Linux: Ubuntu 18.04.5 LTS, ... data collection status: (0x00) Offline data collection activity was never started.
Read more >Ubuntu 18.04 LTS getting into emergency mode and then ...
On the emergency mode screen when I hit Enter the root user prompt appears and when I type exit, fortunately I can see...
Read more >How to Fix “Read-Only File System” Error on Ubuntu
In Linux, a filesystem is a collection of data stored in a storage device. How to fix the "Read-Only File System" error on...
Read more >Ubuntu 18.04 is freezing randomly
I upgraded my Ubuntu from 18.04 to 20.04 LTS few months back (hoping to resolve the issue) and gladly it worked great. Have...
Read more >National Cyber Security Centre publish Ubuntu 18.04 LTS ...
The “End User Device” (EUD) Security Collection provides “guidance for organisations deploying a range of end user device platforms as part ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I also pushed a new change that will allow you to specifically exclude directories using the
--skip-directories
option so that you can explicitly provide/
as the argument if you wish. So for exampleasa collect -f --directories / --skip-directories /proc,/sys,/mnt
, to skip/proc
and/sys
(to prevent stalls) and/mnt
(for example).I updated the default file system collector to skip proc and sys on linux systems. New build should be coming out from the pipeline shortly if you want to give that a shot. The default argument should now scan every root directory other than /sys and /proc