ports in freebsd jail fetching but not updatingFreeBSD - Can't access jail from SSHFreeBSD Jail...

Accountant/ lawyer will not return my call

Are babies of evil humanoid species inherently evil?

Single word request: Harming the benefactor

Do items de-spawn in Diablo?

Why is Beresheet doing a only a one-way trip?

How to clip a background including nodes according to an arbitrary shape?

Examples of a statistic that is not independent of sample's distribution?

How do you like my writing?

Why don't MCU characters ever seem to have language issues?

If the Captain's screens are out, does he switch seats with the co-pilot?

The bar has been raised

Offered promotion but I'm leaving. Should I tell?

infinitive telling the purpose

Space in array system equations

Time travel short story where dinosaur doesn't taste like chicken

How do I express some one as a black person?

Look through the portal of every day

Am I not good enough for you?

How to pass a string to a command that expects a file?

How do I deal with a powergamer in a game full of beginners in a school club?

Set and print content of environment variable in cmd.exe subshell?

Low budget alien movie about the Earth being cooked

How much stiffer are 23c tires over 28c?

Word for a person who has no opinion about whether god exists



ports in freebsd jail fetching but not updating


FreeBSD - Can't access jail from SSHFreeBSD Jail Authentication and CommandsHow do you manage and deploy FreeBSD's ports in a large environment?Migrate FreeBSD jailHow to connect FreeBSD Jail to networkFreeBSD Jail with Loopback IP, IPFW, and natd - Outbound connections fail from jailFreeBSD jail and patch-levelsMariaDB service won't start on FreeBSD jailCan not start OpenVpn service within a FreeBSd JailFreeBSD jail as gateway













0















I've created a jail to host my webserver/blog, but when attempting to build any port, I consistently get the message "portsnap: Directory is not writable: /usr/ports".



Attached is a screen capture of my console outputs attempting to portsnap fetch/extract/update
console screen cap



I'm not certain how to deal with this. installing from pkg works, but I want ports so that I can build my own binaries (also, to understand what the heck is going on and how to resolve it).










share|improve this question














bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • The easy answer is "Don't build ports in a Jail". Build the package on the base system, or using Poudriere. Then install the packages you built in the jail.

    – Chris S
    Nov 1 '14 at 15:06











  • Interesting. How would you go about that? Wouldn't that also be possible by mounting ports inside the jail, permitting access to the build?

    – SteveMustafa
    Nov 1 '14 at 15:13











  • In the port's directory make package and the package will be dumped in /usr/ports/packages/. Setting up and using Poudriere isn't very hard either, and makes rebuilding packages for updates easier.

    – Chris S
    Nov 1 '14 at 16:08
















0















I've created a jail to host my webserver/blog, but when attempting to build any port, I consistently get the message "portsnap: Directory is not writable: /usr/ports".



Attached is a screen capture of my console outputs attempting to portsnap fetch/extract/update
console screen cap



I'm not certain how to deal with this. installing from pkg works, but I want ports so that I can build my own binaries (also, to understand what the heck is going on and how to resolve it).










share|improve this question














bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • The easy answer is "Don't build ports in a Jail". Build the package on the base system, or using Poudriere. Then install the packages you built in the jail.

    – Chris S
    Nov 1 '14 at 15:06











  • Interesting. How would you go about that? Wouldn't that also be possible by mounting ports inside the jail, permitting access to the build?

    – SteveMustafa
    Nov 1 '14 at 15:13











  • In the port's directory make package and the package will be dumped in /usr/ports/packages/. Setting up and using Poudriere isn't very hard either, and makes rebuilding packages for updates easier.

    – Chris S
    Nov 1 '14 at 16:08














0












0








0








I've created a jail to host my webserver/blog, but when attempting to build any port, I consistently get the message "portsnap: Directory is not writable: /usr/ports".



Attached is a screen capture of my console outputs attempting to portsnap fetch/extract/update
console screen cap



I'm not certain how to deal with this. installing from pkg works, but I want ports so that I can build my own binaries (also, to understand what the heck is going on and how to resolve it).










share|improve this question














I've created a jail to host my webserver/blog, but when attempting to build any port, I consistently get the message "portsnap: Directory is not writable: /usr/ports".



Attached is a screen capture of my console outputs attempting to portsnap fetch/extract/update
console screen cap



I'm not certain how to deal with this. installing from pkg works, but I want ports so that I can build my own binaries (also, to understand what the heck is going on and how to resolve it).







freebsd jail






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 1 '14 at 15:01









SteveMustafaSteveMustafa

2391410




2391410





bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 6 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • The easy answer is "Don't build ports in a Jail". Build the package on the base system, or using Poudriere. Then install the packages you built in the jail.

    – Chris S
    Nov 1 '14 at 15:06











  • Interesting. How would you go about that? Wouldn't that also be possible by mounting ports inside the jail, permitting access to the build?

    – SteveMustafa
    Nov 1 '14 at 15:13











  • In the port's directory make package and the package will be dumped in /usr/ports/packages/. Setting up and using Poudriere isn't very hard either, and makes rebuilding packages for updates easier.

    – Chris S
    Nov 1 '14 at 16:08



















  • The easy answer is "Don't build ports in a Jail". Build the package on the base system, or using Poudriere. Then install the packages you built in the jail.

    – Chris S
    Nov 1 '14 at 15:06











  • Interesting. How would you go about that? Wouldn't that also be possible by mounting ports inside the jail, permitting access to the build?

    – SteveMustafa
    Nov 1 '14 at 15:13











  • In the port's directory make package and the package will be dumped in /usr/ports/packages/. Setting up and using Poudriere isn't very hard either, and makes rebuilding packages for updates easier.

    – Chris S
    Nov 1 '14 at 16:08

















The easy answer is "Don't build ports in a Jail". Build the package on the base system, or using Poudriere. Then install the packages you built in the jail.

– Chris S
Nov 1 '14 at 15:06





The easy answer is "Don't build ports in a Jail". Build the package on the base system, or using Poudriere. Then install the packages you built in the jail.

– Chris S
Nov 1 '14 at 15:06













Interesting. How would you go about that? Wouldn't that also be possible by mounting ports inside the jail, permitting access to the build?

– SteveMustafa
Nov 1 '14 at 15:13





Interesting. How would you go about that? Wouldn't that also be possible by mounting ports inside the jail, permitting access to the build?

– SteveMustafa
Nov 1 '14 at 15:13













In the port's directory make package and the package will be dumped in /usr/ports/packages/. Setting up and using Poudriere isn't very hard either, and makes rebuilding packages for updates easier.

– Chris S
Nov 1 '14 at 16:08





In the port's directory make package and the package will be dumped in /usr/ports/packages/. Setting up and using Poudriere isn't very hard either, and makes rebuilding packages for updates easier.

– Chris S
Nov 1 '14 at 16:08










1 Answer
1






active

oldest

votes


















0














The best idea - don't build packages in jail.



You could use pkg , or pkgng



But, if you want, create this dir



mkdir /usr/ports


And if its needed you could change permissions



chmod ... /usr/ports





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f641332%2fports-in-freebsd-jail-fetching-but-not-updating%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The best idea - don't build packages in jail.



    You could use pkg , or pkgng



    But, if you want, create this dir



    mkdir /usr/ports


    And if its needed you could change permissions



    chmod ... /usr/ports





    share|improve this answer




























      0














      The best idea - don't build packages in jail.



      You could use pkg , or pkgng



      But, if you want, create this dir



      mkdir /usr/ports


      And if its needed you could change permissions



      chmod ... /usr/ports





      share|improve this answer


























        0












        0








        0







        The best idea - don't build packages in jail.



        You could use pkg , or pkgng



        But, if you want, create this dir



        mkdir /usr/ports


        And if its needed you could change permissions



        chmod ... /usr/ports





        share|improve this answer













        The best idea - don't build packages in jail.



        You could use pkg , or pkgng



        But, if you want, create this dir



        mkdir /usr/ports


        And if its needed you could change permissions



        chmod ... /usr/ports






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 1 '14 at 20:34









        Korjavin IvanKorjavin Ivan

        1,35021638




        1,35021638






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f641332%2fports-in-freebsd-jail-fetching-but-not-updating%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Маріан Котлеба Зміст Життєпис | Політичні погляди |...