• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • J

      Unauthorized error

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      15
      0 Votes
      15 Posts
      191 Views
      J

      @Tom-Elliott said in Unauthorized error:

      @Jamaal I’m not sure I follow? The database isn’t insecure, it was being able to download the database, or force an upgrade without authorization that was the piece being secured, nothing about the normal day to day operation of the database changed.

      Got it, ok thanks for your help today on this.

    • Bristow 0B

      Script for a backup ?

      Watching Ignoring Scheduled Pinned Locked Moved General Problems backup dump rsync
      10
      0 Votes
      10 Posts
      2k Views
      Bristow 0B

      @Tom-Elliott

      I’ve updated my FOG to the stable release and also updated my script with the following three lines, and everything’s fine – the database has been backed up successfully, it’s perfect!

      fogApiToken="XYZ=" fogUsrToken="ZYF" curl -ik -X GET "http://$fogServerAddress/fog/system/export" -H "fog-api-token: $fogApiToken" -H "fog-user-token: $fogUsrToken" -o $backupDir/mysql/fog.sql 2>>$backupDir/logs/error.log 1>>$backupDir/logs/progress.log 2>&1

      Thanks again for all your hard work on the FOG project!

    • K

      Windows 11 | 65x HP Z2 Tower G1i | UPDATE -

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved FOG Problems
      41
      0 Votes
      41 Posts
      3k Views
      Tom ElliottT

      @kratkale I don’t know why you’re telling me your password. (You probably will want to change that now.) and what isn’t working?

    • I

      Error in creating host

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      4
      0 Votes
      4 Posts
      89 Views
      I

      Works well ! 😊

    • I

      Error in sending inventory

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      4
      0 Votes
      4 Posts
      78 Views
      I

      Works well ! 😁

    • Bristow 0B

      Unable to update the database following an update

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      3
      0 Votes
      3 Posts
      19 Views
      Bristow 0B

      Thanks @Tom-Elliott !

      Perhaps we could include a brief note stating that it is possible the database schema may not need updating.

    • J

      Image Replication Not Working - Syntax Error

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved FOG Problems
      3
      0 Votes
      3 Posts
      59 Views
      J

      @Tom-Elliott

      Thanks for the prompt response!

      That’s fair, and I definitely considered that could be the problem. Just thought I’d check before going through the work of upgrading things.

      I’ll try that first!

    • N

      Fog failed to update due to mysql-client package

      Watching Ignoring Scheduled Pinned Locked Moved Solved FOG Problems
      3
      0 Votes
      3 Posts
      70 Views
      Tom ElliottT

      @Nono Edit your /opt/fog/.fogsettings file and replace entries of ‘mysql-client’ with ‘mariadb-client’

      I suspect they’ve updated the repo to solely exist for mariadb-client, but you had it before that package switch/change occurred so your fogsettings file is just expecting mysql-client always.

      I might also recommend removing the existing mysql-client package just to ensure clean flow, though of course get a backup before any such actions.

    • J

      Fog Storage Node installation Fails (Checking connection to master database... Failed)

      Watching Ignoring Scheduled Pinned Locked Moved Solved Linux Problems
      2
      0 Votes
      2 Posts
      67 Views
      J

      Shoutout “The Minester”

      https://github.com/FOGProject/fogproject/issues/685

      On the storage node, create a .my.cnf file in root’s home directory:

      sudo tee /root/.my.cnf << ‘EOF’
      [client]
      skip-ssl = true

      EOF

      MariaDB will try to connect with SSL by default but that’s not enabled on the main FOG server. This is why I had to use the --ssl=FALSE flag when I connected to mysql manually.

      The installation succeeded!

    • S

      IPXE 2.0 Secure Boot Working

      Watching Ignoring Scheduled Pinned Locked Moved General
      2
      0 Votes
      2 Posts
      193 Views
      V

      Has anyone tried this? It would be very useful for my organization. Any guidance on what files to manually replace/edit?

    • K

      FOG Secure Boot with Shim

      Watching Ignoring Scheduled Pinned Locked Moved Tutorials
      13
      2 Votes
      13 Posts
      5k Views
      K

      @Florent Hi Florent,

      I actually have been meaning to look into this some more, but the likely answer is no, or at least, not entirely. The way that support works is, you download a signed iPXE 2.0 binary from iPXE and a copy of their signed shim. That shim is signed with the Microsoft keys and trusts the iPXE signing keys. What this means in practical terms is, all the steps above would still need to occur, it’s just that the signing of the iPXE binary is managed by iPXE, and you don’t need to enroll a key to boot iPXE.

      That said, I would imagine this only covers you for booting iPXE, any chainloaded binaries would still need to be signed either with Microsoft’s key or a MOK key you’ve enrolled on the machine. In FOG’s case this means the FOS kernel has to be signed and trusted on the system, in addition to any other binaries (for example memtest, refind) you plan to boot via FOG.

      The other likely blocker is the build itself. Naturally, only iPXE can sign binaries that the iPXE Shim will support. Currently the FOG installer actually builds a slightly modified iPXE binary from source. While I’m unsure if these are all that different from the pre-built binaries from 2.0 in terms of support and functionality, it would at the very least need to be changed to instead pull the iPXE 2.0 binaries.

      I don’t think any of these are particularly hard to overcome or deal with though. The bottom line is, 2.0 makes it easier, but only to a point. To get real proper Secure Boot support in FOG, they’ll likely need to generate their own signing keys, and start signing at least the FOS kernels (if not iPXE itself) and update FOG to include shim support somehow.

      That said, for basic support, I doubt they would need to go the full mile and get a Microsoft approved signing key, I think distributing a certificate/key you can enroll via MokManager and using a pre-existing signed shim (like the iPXE provided one) would more than suffice for most usecases. I’m not sure how difficult it would actually be to implement any of this into FOG, that’s a question for someone who knows PHP and is more familiar with the FOG codebase than I.

      Sorry if that’s a bit long winded, it’s not an easy topic to distill. Hope that helps though.

    • 1 / 1