Driver invocation


The installer process will attempt to set up the driver to auto start as root.

Under Linux there are three popular methods used to launch user space processes, systemd, upstart and system V. Systemd and upstart have been supported in all releases of UPDD V6 and support for the older system V method was added in release 552.

The installer tries to detect which launch method is available/active and installs as appropriate.

For systems without any suitable launch methods an alternate method to launch the updd process would need to be implemented.

If you have to support such a system you should consult the documentation for that system.   

The objective is to execute the following command as root at system startup.

        /opt/updd/upddenv /opt/updd/updd -e  

Due to the more or less universal adoption of systemd (for most recent linux distributions) or upstart (for older distributions) this is unlikely to be needed and is only mentioned here for completeness.

When manually invoking the driver if you see the error...
"QSqlDatabasePrivate::removeDatabase: connection ‘amf_connection_0’ is still in use, all queries will cease to work."  - this is a warning and can safely be ignored.
"Attempt to write a read only database" Terminate called after throwing an instance of ‘AMFError’ Aborted (core dumped) - you are not running as Root"
"error while loading shared libraries" - you have not set the environment variables

​The updd.service file contains the WantedBy systemd setting. This setting is currently set to graphical.target implying that the UPDD driver is loaded after the window manager loads - in our tests this setting is the only one that work correctly. One customer, using SLED12, implied that on their system this setting resulted in a password being required when a non root user logged in. We have never seen this on any of our systems nor has it been reported by other Linux users. They updated the install script to change this setting to multi-user.target and apparently the password was no longer required.

The architecture of the UPDD Linux software allows the user to customise scripts in this way to accommodate unusual scenarios and the installer architecture allows for such changes to be repackaged easily for further deployment.

Search