[R] R library highcharter function highchart() execute with exception the apparmor read denied for /etc/passwd and /etc/group

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Aug 9 08:23:15 CEST 2023

On Wed, 9 Aug 2023 01:13:40 +0000
"Gu, Jay" <j.gu using sap.com> wrote:

> I'm running the R within docker container.

In that case (depending on the way the container is set up, of course),
your /etc/passwd shouldn't even be a privacy concern. It's most likely
identical that in other containers running R. You can read it yourself
(either by getting a separate shell inside the container or by running
readLines("/etc/passwd")) and check for identifying information. There
should be no harm in letting an R package read it.

If you are curious to know which part is trying to access it, we still
need a backtrace at the point where AppArmor crashes the process,
either from a core file or from a live process. (Other techniques are
fine too, but setting conditional breakpoints on open() and openat() is
more involved.)

Best regards,

More information about the R-help mailing list