Giter Club home page Giter Club logo

Comments (4)

fscheiner avatar fscheiner commented on July 29, 2024 1

Fixed in GCT 6.2.20201212 maintenance release.

from gct.

msalle avatar msalle commented on July 29, 2024

Hi,
thank you for opening the issue and providing feedback.
Several remarks. First of all, this is actually an issue with openssh-portable itself, inherited by 'our gct' version, so perhaps we should discuss it there (see reporting bugs in their README).
Concerning the issue itself, note that /var/empty is a special directory used as a chroot as part of the privilege separation. See gsi_openssh/source/README.privsep for details.
Given this special role and its required permissions, I don't think it can or should be in a user-owned directory. In fact, installing an ssh server as non-root is in general not very useful nor secure.
Note that it is possible to set the directory explicitly using --with-privsep-path= as described in that same README.privsep. So something like

./configure --prefix=$PWD/install --with-privsep-path=$PWD/install/var/empty \
            --enable-gsi-openssh

actually works.

from gct.

Phidica avatar Phidica commented on July 29, 2024

Thanks for the response. I had assumed that setting prefix would be enough to take care of all those other sorts of paths, but I guess they have good reason not to. It's good to know there's a proper configuration method to get around this.

As such then I'd like this issue to turn to interpretation (2) I mentioned above, namely that I explicitly wanted gsi-openssh installed and the installation of that component silently failed. In my opinion the make install procedure should have treated the error as fatal and immediately halted the installation of gct. Is that an issue with openssh-portable, or with this project?

from gct.

msalle avatar msalle commented on July 29, 2024

Hi,
I agree it would be nice if make would end with an non-zero exit value and that's indeed a minor bug. On the other hand, I don't think the error is that hidden in the output: it's pretty much the last that's printed.
The fix would be to add an || exit 1 to line 15 of the main Makefile.am and similarly to the other target lines. In fact the GT_ALL_STAMPS already has one.
And to add similarly || exit 1 to line 141 of the main Makefile.am and similarly for the other *-local targets.

from gct.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.