Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need fdescfs mounted for java and bash #55

Closed
outpaddling opened this issue Dec 28, 2018 · 3 comments
Closed

Need fdescfs mounted for java and bash #55

outpaddling opened this issue Dec 28, 2018 · 3 comments
Assignees

Comments

Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
@outpaddling
Copy link

@outpaddling outpaddling commented Dec 28, 2018

Describe the bug

I noticed this after installing some packages with an openjdk dependency.

fdescfs is required at least by bash (I've run into problems with bash scripts when fdescfs was not mounted) and openjdk, e.g.

FreeBSD cray.acadix bacon ~ 1004: more /usr/ports/java/openjdk8/pkg-message

This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.

If you have not done it yet, please do the following:

    mount -t fdescfs fdesc /dev/fd
    mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

    fdesc   /dev/fd         fdescfs         rw      0       0
    proc    /proc           procfs          rw      0       0

======================================================================

@RodMyers
Copy link

@RodMyers RodMyers commented Jan 22, 2019

If you see those messages, it is up to the user to do that very thing

@RodMyers
Copy link

@RodMyers RodMyers commented Jan 22, 2019

If you see those messages, it is up to the user to do that very thing.

@RodMyers RodMyers closed this Jan 22, 2019
@outpaddling
Copy link
Author

@outpaddling outpaddling commented Jan 26, 2019

Sorry, I should have been more explicit. I'm suggesting that fdescfs should be mounted by default in the base install.

Problem is, the average Trident user probably won't see those messages. I believe bash is preinstalled with the base, and bash scripts brought from Linux may fail if fdescfs is now mounted. That's bad press for BSD...

As for Java, I think last time I checked, pkg install output is not displayed by default - you have to click a button to display it.

Correct me if I'm wrong, but I'm assuming that Trident is aimed at users who may not be as Unix savvy as typical FreeBSD users, so I'd be inclined to make sure basic tools like bash and Java are fully functional out-of-the-box.

Cheers,

JB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment