• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. David Dreggors
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 6
    • Best 0
    • Controversial 0
    • Groups 0

    David Dreggors

    @David Dreggors

    0
    Reputation
    273
    Profile views
    6
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Location Florida, US

    David Dreggors Unfollow Follow

    Latest posts made by David Dreggors

    • RE: Fedora 18 / Fog problem - newbie

      Good job Tim!
      I ran into several selinux issues myself regarding tftp contexts in the “/tftpboot” directory. I was able to fox them by cd’ing in to that directory and running the following command:

      [CODE]for F in $(find ./* -type f); do chcon -t tftpdir_rw_t $F; done[/CODE]

      posted in Linux Problems
      D
      David Dreggors
    • RE: Fedora 18 / Fog problem - newbie

      Sorry, was not meant to hijack… I did not expect answers for these issues here. I just meant to mention that these are some of the items I have noticed. Maybe I was not clear but I was listing them here because I found the issues on Fedora 17. The OP is also using Fedora, so my point was that as he runs into some of these (if he does) then maybe there will be answers. I have already (as you know) started mentioning them in the bugs forum.

      Also as to the “forcing users to use Ubuntu”, that was a bit harsh I guess. I was just shocked that the answer was “why fedora?” and “can try a clean install on ubuntu?”. What I meant is that something like “here’s what I did in Ubuntu” is generally received better than “why fedora? can try a clean install on ubuntu?”. It gives the impression that the poster is saying Fedora is not as good as Ubuntu, whether that was meant or not. I have seen many forums turn into a “my distro is better than yours” diatribe that goes on page after page over similar remarks.

      Again, I am sorry if I offended.

      posted in Linux Problems
      D
      David Dreggors
    • Fog 0.32 overwrites /etc/exports

      In the following files:
      [QUOTE]
      fog_0.32/lib/ubuntu/functions.sh
      fog_0.32/lib/redhat/functions.sh
      [/QUOTE]

      Your code should be changed from:
      [CODE]/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)" > “$nfsconfig”;[/CODE]

      to

      [CODE]/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure)" >> “$nfsconfig”;[/CODE]

      This will append and not overwrite. 😉

      That blew away my servers NFS shares, thankfully I had my “/etc/exports” in git.

      — EDIT —
      I would also propose that it not be hard coded to “/images”. It is way more common for the OS partition to be smaller and then have a second drive or an iSCSI/SAN mounted on another partition.
      Maybe you could make that a question in the installer, then use the reply to set DB values that are used to build “/etc/exports”.

      posted in Bug Reports
      D
      David Dreggors
    • RE: Fedora 18 / Fog problem - newbie

      Matt,
      your clearly not sorry, I can tell by the fact that you called me immature, condescending, disrespectful, impolite, and accused me of having a bad attitude in a single post. The points I made were in fact valid, and I never said you implied you had all the answers. I said you were less than helpful to the OP. After reading his responses my points are validated… Tim clearly states that he did not wish to simply wipe his server and start over in Ubuntu.

      I know text is not as transparent as voice and visible body language, but I was not intending to be rude. I was being honest, which I see you have mistaken for disrespectful and having a poor attitude. Please read the rest of my post carefully and you will see that my attitude was of a helpful nature. That said, I am sorry if the truth is offensive to you.

      posted in Linux Problems
      D
      David Dreggors
    • RE: Moving from ubuntu to centos 6.3

      [quote=“Mark Playford, post: 10120, member: 498”]
      Change “TFTP_FTP_PASSWORD” and “TFTP_FTP_PASSWORD” to be the same as the fog user
      [/quote]

      Mark, that is the same variable… I believe what you meant was:

      [QUOTE]
      Change “TFTP_FTP_PASSWORD” and “STORAGE_FTP_PASSWORD” to be the same as the fog user
      [/QUOTE]

      posted in Linux Problems
      D
      David Dreggors
    • RE: Fedora 18 / Fog problem - newbie

      I would not say that “just use Ubuntu” is not a great answer to any question. The point of Linux is freedom of choice, you negate that by forcing a user to use a single distro. For that we might as well be using Windows.

      Also, what makes Ubuntu better for software meant to run as a server?
      Ubuntu and Fedora are Desktop distros by definition so in the server arena they are probably very equally footed. Not to mention that the requirements for Fog are Apache, MySQL, NFS, etc… which run fine on both.

      Sorry, but that was not a very helpful answer.

      — EDIT —
      Your issues are either SELinux or password issues.
      Start with setting SELinux to permissive on the server Fog is running on:
      [CODE]sudo setenforce 0[/CODE]

      If that does not help then you are having password issues.
      I have noticed the password issue as well and it is compounded significantly by several facts:

      1. Inconsistent encryption methods (some tables password columns have none others have md5)
      2. Some kept in DB while others are kept in files.
      3. The answer seems to be set them all then same… but they are everywhere. If they should be the same, shouldn’t they be in 1 locate (file or database) and all using the same format (encrypted or not)?

      I have also discovered some other very disruptive issues as well. I will be trying to seek the developers help on them all once I catalog all the issues.

      Examples of some of the issues:

      1. The installer overwrites “/etc/exports” in stead of appending (HUGE NO NO)
      2. The installer assumes locations for NFS shares and HTML Document Root without questioning during the install.
      3. Passwords are kept in files and also in database (choose one place).
      4. Some tables use no encryption for passwords while others use plain text passwords.
      5. Installer assumes MySQL is setup with root user having NO password even though the default installer for MySQL makes you set a password for root when you first start it. Should ask for root pass, then use that to create fog user with default password for fog.
      6. SELinux permissions (a simple chcon fixes this)

      These are just what I found yesterday during first install in Fedora 17. After many attempts and also having to uninstall MySQL, re-install MySQL, pull my exports file from git (thank god it was in git) and merging the new with old… I can now boot a client to the tftp server. However due to password issues I still cannot update kernel from the web console, or get quick image to work. I have tried fog and password for the password prompt, none work. I like what I am seeing with the direction this software is taking, however these are serious concerns. I would be thrilled to see it get better and would love to help.

      posted in Linux Problems
      D
      David Dreggors