• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Tom Elliott
    • Profile
    • Following 27
    • Followers 83
    • Topics 141
    • Posts 19,396
    • Groups 0

    Tom Elliott

    @Tom Elliott

    5.2k
    Reputation
    39.0k
    Profile views
    19.4k
    Posts
    83
    Followers
    27
    Following
    Joined
    Last Online

    Tom Elliott Unfollow Follow

    Best posts made by Tom Elliott

    • Gratitudes

      I know I’ve been out of this for a little bit. I check in here or there, but just been extremely busy.

      I don’t want to stop contributing, I just am taking time for myself after my workly duties.

      I have to give a big gratitude and thanks for everyone here trying to help out whether by code, by helping the rest of the community, or documentation.

      @Sebastian-Roth I know you’re busy but you’ve kept the project rolling even with the minimal availability you have. Thank you.
      @george1421 I’m sure you’re busy, but I still see you posting and helping where possible and amenible. Thank you.
      @Wayne-Workman I know you’re helping where you can as well. (Of course I can’t exactly post everybody because I’ve been busy and honestly not keeping up with the forums as much as I probably should.)

      @everyone Thank you. Thank you for still believing in this project. We’re doing the best with what we have. Please understand in we’re lacking, it’s most likely unintentional. I know I’m just busy.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.3.5 and Client 0.11.11 Officially Released

      https://news.fogproject.org/fog-1-3-5-and-client-0-11-11-officially-released/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.5.0 RC 11

      https://news.fogproject.org/fog-1-5-0-rc-11/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • Ubuntu is FOG's enemy

      TLDR; Rerun the fog installer if you have lost “Database Connectivity” to your fog server, or run the ALTER USER syntax shown below.

      So Ubuntu 16, among others I suppose, enable a “security updates” to be applied automatically as a “default” to things. Why, well it makes it simpler to ensure your Ubuntu systems are in compliance and patched for any potential exploits. This causes unknown and unexpected issues.

      I figured it’d be a safe thing to express that there could be problems (as many of you have already experienced) that when these updates go up (with or without your knowledge) it can break functionality in unexpected and inopportune ways.

      The quickest fix is to simply rerun the fog installer which should correct the problem.

      As a note, it seems this problem is specific only when the mysql account is the 'root' user AND the password is blank.

      The “fix” if you must do it manually is to open a terminal and obtain root:
      Super (Windows Key) + T then sudo -i (in most cases).

      From there, open mysql with mysql -u root

      NOTE: MySQL MUST be run with ROOT.

      Run:

      ALTER USER 'root'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY ''; AND
      ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';

      It’s okay if one of them fails. This is going to fix Most people’s issues.

      I would highly recommend removing the unattended-upgrades as many of these “sudden” issues came as a security patch ubuntu pushed out. By default Ubuntu typically set’s this for you as enabled and it can cause havoc on you as you (the admin) may not have “done” anything.

      To prevent this problem from happening in the future you could run:

      apt-get -y remove unattended-upgrades (AS Root again).

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG Activity - Status

      FOG is still actively being developed. It’s not necessarily readily apparent, but we can assure you things are still being worked on. These updates may not be communicated in a way that everybody just knows, but can easily be seen if one were to look at our repository site.

      Between our own schedules and lives, we can get very busy. We try to keep things updated and help out on the forums even during lull periods. This might mean we aren’t pushing an RC or release as frequently. It may mean we’re working on other things for the project, such as can be seen if looking at our github site.

      Our forums are heavily active, and this should point as an indicator to our “status” as well.

      If anybody would like to see an increase in developers donating their time to making this free software, consider donating either with monetary support or by spending personal time to help with development.

      FOG is an open source project - it’s even in the name. It is driven by people donating their time and resources. The releases of FOG revolve around when developers can spare a few hours throughout the week. Sometimes that will mean releases will be further, sometimes that will mean releases will be faster. That’s just the nature of our project, and many other open source projects.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • I'm away, but back?

      Hey everybody,

      I know you see me here on occasion from time to time. Life decisions have made it more difficult for me to do things I would normally be doing. Rest assured, I am still around, and while I’m not quite as active as I was in the past, it’s not because I don’t want to be.

      I had to move, and as part of that I have none of my normal development stuff readily available. Part of the move made me not have a laptop, until today.

      I need to setup my dev environment again, so it may take a little bit, but I will be back up.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.5.10.41 and forward

      https://news.fogproject.org/fog-1-5-10-41-officially-released/

      While this maybe spur of the moment, it should officially release 1.5.10 with all relevant bug/security fixes encapsulated (among a few other features.)

      This has brought a new methodology of releases in that bug/security releases should be done much more regularly.

      dev-branch, historically, was a place where new development occurred (hence its name) but over the last couple of years or so it’s mainly been a bug/security thing, not really a true development approach.

      This is OKAY, in my head. Why:

      Well we have the master branch which is the ‘baseline’ of a verions. We have the dev-branch, which allows us to work on bugs/security issues. We have the working branches for what will eventually become master. Working is our “dev branch” but keeps proper seperation of things in my opinion.

      Basically:
      master -> basis for dev-branch (which merges into stable on a regular cadence - still being worked out)
      working -> basis of forward development

      So we effectively have:
      production
      staging
      development well seperated.

      THis may mean on the regular automated releases, no announcement or news article will be created, and I think that’s okay.

      Hopefully exciting we have a release after 1.25 years 🙂

      Thank you!

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • RE: Release plan for FOG

      That’s correct. The main reason fog is constantly moving forward is because the codebase is improved upon. Major bugs tend to be addressed for the next release. We don’t do an LTS because there’s really two main people working on fog in a consistent manor. Those two are @Joe-Schmitt and myself. Debian and Libreoffice have the team too be able to perform such a feat. Their product is Opensource but they have an employment team which can afford them that luxury. FOG has a team but we make no money and as such are required to work full time jobs. We work on FOG in our free time. I’ve had the ability to even work on it from work because we used the software.

      Maintaining many different versions is difficult. And we don’t have a support team. WYSIWYG and I think we’ve done pretty well on support, even if we don’t have the ability to do dedicated support for our product. 1.5 was a major step toward modernizing the GUI. 1.6 will vastly improve on this. It was only recently we kind of came up with a road map on how best to proceed. Of note, 1.5 will be maintained until 1.6 is released. 1.6 is focused on making he GUI much more modern. 1.7 will be focused mostly toward fixing and refactoring the FOG client. 1.8 will focus on making the FOS system more modular and usable. I don’t know yet for 1.9. 2.0 will bridge the gap for our rewrite based on the work from 1.5 and up. While we do plan to try to do backports where possible, it’s much easier to ask people to update to the latest version than it is to try to maintain many different versions with backports in mind. At least for what FOG does.

      I doubt this will appease anybody, but it’s what I think needs to be said. We are working hard and provide support for our product as best we can. The community makes fogs support system, I think, one of the best around. Add to that and you can almost always have a developer working side by side to help and fix issues as they come up, I don’t think it’s unfair to ask users to update to a specific version. Even if there are bugs, we will always try to correct what we can, when we can. (And normally it’s a pretty quick turn around).

      I’m not perfect and I’ll give you that. We don’t even have a test suite to know if things are working as intended. We have to rely on the community and suggestions are great, just understand our answers won’t always be what people want to hear.

      posted in Feature Request
      Tom ElliottT
      Tom Elliott
    • FOG 1.4.0 Officially Released

      https://news.fogproject.org/fog-1-4-0-officially-released/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.4.4 Officially Released

      https://news.fogproject.org/fog-1-4-4-officially-released/

      posted in Announcements
      Tom ElliottT
      Tom Elliott

    Latest posts made by Tom Elliott

    • RE: Feature Request — Automatic Root SSH Authentication for FOS Debug Tasks

      @sgennadi Thanks for the detailed write-up. You are right that FOS already runs sshd and allows root login. The only gap is that root has no credential you can use remotely.

      I filed this as https://github.com/FOGProject/fogproject/issues/2193 with a key-only design:

      • You put one or more SSH public keys in a FOG setting.
      • When a debug task starts, FOS fetches the keys and installs them for root.
      • FOS shows the IPv4 and IPv6 addresses on the console, so you can connect right away.
      • Normal deploy, capture, and registration tasks never install the keys.

      A public key is not a secret, so it can reach FOS without any protected delivery. A root password is different. It needs a protected way to reach FOS, and a kernel argument would expose it. So a configured password and a random password for each task are out of scope for now. Each can be its own request after the key version ships.

      Until then, the workaround is the one you already use: run passwd at the debug console, then connect with SSH.

      posted in Feature Request
      Tom ElliottT
      Tom Elliott
    • RE: Feature Request - Email Test Feature

      @rogalskij This feature now exists in 1.6.1.

      posted in Feature Request
      Tom ElliottT
      Tom Elliott
    • FOG 1.6.1 Available

      FOG 1.6.1 is released. It is on the stable and master branches, and the tag is 1.6.1.

      Upgrade from your FOG source checkout:

      sudo bin/updatefog.sh --channel stable
      

      Or run git pull on stable, then bin/installfog.sh. The schema moves from 446 to 473, so the web UI asks for the schema update after the upgrade. Installs from master use FOS 1.6.1.

      Highlights

      • IPv6: IPv6 listeners, opt-in DHCPv6, boot to the IPv6 address, and multicast over IPv6. FOS 1.6.1 adds IPv6 and udpcast over IPv6.
      • Software management through the fog-agent, per host and per group, with Flatpak, Snap, and winget.
      • Storage nodes: deploys balance across a group, and a full node overflows at PXE boot.
      • AD rejoin and OU placement for deployed images.
      • Roles can limit the networks their members use the web UI and API from.
      • The Imaging Report records deploys and multicast joins to unregistered hosts. “Deploy image now” after Full Registration deploys with no reboot.
      • MySQL 8.0.13+ installs and upgrades.

      Security: 1.6.1 is the first stable release with the fix for GHSA-q38j-qx5x-w25v (a Legacy Restricted user could read the AD join password and product keys). If you moved to the Patches channel to get that fix early, you can switch back with --channel stable.

      Offline installs: the installer now downloads udpcast from FOGProject/udpcast and checks its sha256. Put udpcast-v20250223-fog.1.tar.gz and its .sha256 in packages/ before you run the installer.

      Thank you to ASPePeX on GitHub for the OIDC trailing-slash fix (fog-plugins #49), and to everyone who tested and reported issues.

      Full release notes: https://github.com/FOGProject/fogproject/releases/tag/1.6.1

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • RE: Dev-branch version string mismatch: 1.6.0.402 vs 1.6.1.402

      @Fog_Newb Thanks for the report. You caught the moment of the 1.6.1 release.

      The release commit set the 1.6.1 version on dev-branch about an hour before the 1.6.1 tag was pushed. The update check on fogproject.org read the new version, so it showed 1.6.1.402. Your server builds its version from the tag, which did not exist yet, so it showed 1.6.0.402. Nothing is wrong with your install.

      The tag is now published. To clear the banner, run this from your FOG source checkout:

      git fetch origin --tags
      sudo bin/installfog.sh -y
      

      The version page then shows 1.6.1.0, and the update check says you are up to date.

      posted in Bug Reports
      Tom ElliottT
      Tom Elliott
    • RE: Imaging Log for unregistered hosts

      @DBCountMan Both parts of this are planned for FOG 1.6.1. They are not in 1.5.x, so you will need to upgrade to 1.6 to get them.

      Imaging log for unregistered hosts

      A deploy or a multicast join from the iPXE menu on an unregistered (or pending) host now creates a real task. That task:

      • shows in Active Tasks with full progress, like a registered host, under the name <MAC> (unregistered)
      • records the menu user who started it, so you can see who deployed
      • appears in Reports > Imaging Log with the MAC address, the image, the user, and the result

      This needs the FOS (init) that ships alongside 1.6.1. The installer pulls the latest FOS. With an older init the imaging still works, but the task never gets a report back, and it closes as “No Report” after 24 hours.

      Forcing registration before a deploy

      Go to FOG Configuration > iPXE Menu, then open “Deploy Image” and “Join Multicast Session”. Set “Menu Show with” to “Registered Hosts”. Before this change, that setting only hid the menu item. In 1.6.1 the server also refuses the deploy or join for an unregistered host, so someone cannot get around it by calling the menu option directly.

      Also in 1.6.1: when you pick “deploy image now” during Full Registration, the machine images in the same boot. It no longer reboots back through PXE first.

      posted in Feature Request
      Tom ElliottT
      Tom Elliott
    • RE: Avoid running tasks when in audit mode

      @AlexisPHC Following up on this one. FOG 1.6 ships with the new FOG Agent, which replaces the legacy FOG Client. From agent version 0.1.23, the agent reads HKLM\SYSTEM\Setup\State\ImageState and does nothing until Windows setup reports itself complete. That includes audit mode. A machine in audit mode does not enroll, check in, join the domain, run snapins, or reboot. You can leave the service enabled through Sysprep. You no longer need to disable it or start it from SetupComplete.cmd.

      The legacy FOG Client does not have this check. With the legacy client, disable the service as described earlier on.

      Details: https://docs.fogproject.org/en/latest/installation/client/install-fog-agent/#sysprep

      posted in Feature Request
      Tom ElliottT
      Tom Elliott
    • RE: Identify laptops by serial number (not MAC) — MAC changes with USB-C to Ethernet dongles

      @takeit FOG 1.6.0 can do this. A booting machine is matched on its SMBIOS identity as well as its MAC: system UUID, system serial, board serial, and chassis asset tag.

      It is controlled by one setting: FOG Configuration > FOG Settings > General Settings > FOG_HOST_IDENTIFY_SMBIOS.

      • Off: MAC only, the old behavior.
      • Log (the default): the MAC still decides. Every disagreement between the MAC and the firmware is written to the web server error log.
      • Enforce: a unique firmware match wins over the MAC.

      For your case (one laptop, a different dongle each time):

      1. Upgrade to 1.6.0.
      2. Make sure each laptop has an inventory record. A full registration or an inventory task captures the SMBIOS values.
      3. Leave the setting on Log for a while and read the error log. Some firmware reports junk identifiers, for example every board of a model with the UUID FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF. A value that is not unique is not used for matching, but it is good to know what your hardware reports.
      4. Switch to Enforce. A laptop that boots on an unknown dongle MAC then resolves to its existing host by its firmware identity.

      If you share one dongle between many laptops (the opposite case), the next release adds a Register mode for that. It is on dev-branch now.

      posted in Feature Request
      Tom ElliottT
      Tom Elliott
    • RE: Certificate manament helper not working

      @AdamC This has the same cause as your services thread: the umask 027 on your server. The installer puts the helper in /opt/fog/bin. Under umask 027 that folder is root-only (drwxr-x—). The Certificates page checks for the helper as the web server user, and that user cannot see into the folder. So the page reports the helper as missing, but the helper is installed.

      Run this as root, then reload the Certificates page:

      chmod a+x /opt/fog /opt/fog/bin

      This lets other users pass through the folder. It does not let them list it, and it does not change any file in it.

      If you use Secure Boot kernel signing, the same check stops it. Kernels you download in the UI stay unsigned until you run the command above.

      The installer fix is https://github.com/FOGProject/fogproject/pull/2167. It reaches stable with the next 1.6 release.

      One addition: if you use Secure Boot, download your kernels again in the web UI after the chmod. A kernel downloaded while the folder was locked stayed unsigned, and Secure Boot PCs will not boot it.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Services failing to start

      @AdamC Thanks, the screenshot shows the cause. Those three services run as the web server user, not as root. Your service folders and scripts are root-only (drwxr-x--- and -rwxr-x---), so that user cannot open them. The other services run as root, so they start. The installer copies the modes your FOG checkout has. A system with a restrictive umask (027) makes the checkout root-only, and a reinstall copies the same modes again.

      The installer fix is https://github.com/FOGProject/fogproject/pull/2166. It reaches stable with the next 1.6 release. Until then, run this as root:

      chmod a+x /opt/fog /opt/fog/log /opt/fog/service/etc
      chmod a+rx /opt/fog/service
      cd /opt/fog/service && for d in FOG* lib; do chmod -R a+rx "$d"; done
      chmod 644 /opt/fog/service/etc/config.php
      systemctl restart FOGAgentReleaseSync FOGPluginRunner FOGRetentionRunner
      

      This does not touch anything else in /opt/fog/service/etc.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Services failing to start

      @AdamC Those three services are new in FOG 1.6. Your server has their systemd units, but not the scripts they start. Which FOG version is installed now? Did you upgrade from 1.5, or return to 1.5 after you tried 1.6? Please post the output of ls /opt/fog/service. If you are on 1.6, run the installer again. That copies the missing scripts. If you are on 1.5, run systemctl disable --now FOGAgentReleaseSync FOGPluginRunner FOGRetentionRunner to stop them.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott