Vít Ondruch <vondr...@redhat.com> writes: > I don't think that `/var` is the right place for RPM installed content.
I double-checked hier(7) and file-hierarchy(7), and `/var/lib` is indeed reserved for library state files, not a private "lib" namespace. Oops, thanks! > If the original directory is `/usr/lib/node_modules`, then why not use > something like `/usr/lib/node_modules_shared`? I would like to avoid confusion as much as possible. Looking at that, I would naively assume that the `node_modules_shared` is in the npm import search path, which it is not. The same reasoning applies to why I just do not turn the unversioned `node_modules` to a proper directory instead of symlink. Given the above, now I'm thinking about something like `/usr/lib/nodejs` with possible suffix/subdir ({`-shared`/`-private`/`-22`/…}). It does not suggest being a part of the npm search path, looks flexible enough and should be compliant with FHS. -- Jan Staněk Software Engineer, Red Hat jsta...@redhat.com irc: jstanek
signature.asc
Description: PGP signature
-- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue