Seite 1 von 1

Firefox updatet sich selbst

Verfasst: 11 Jul 2017, 17:05
von konkretor
Hallo Leute,

wir sind ziemlich grün was die Opsi Installation angeht.

Aktuell ist es so, das wir am suchen sind, wie sich den der Firefox selber aktualisiert.


Cronjobs habe ich keine entdeckt auf der Maschine.


Wo kann ich den nach schauen wo dies in OPSI eingestellt ist.





Danke fürs lesen

Grüße

Re: Firefox updatet sich selbst

Verfasst: 12 Jul 2017, 13:41
von SisterOfMercy
about:config

Oh wait, cronjobs? So it's a linux machine?

Re: Firefox updatet sich selbst

Verfasst: 12 Jul 2017, 21:13
von GEI
konkretor hat geschrieben:Hallo Leute,
Aktuell ist es so, das wir am suchen sind, wie sich den der Firefox selber aktualisiert.
Cronjobs habe ich keine entdeckt auf der Maschine.
Wo kann ich den nach schauen wo dies in OPSI eingestellt ist.
wenn ihr das Update-Abo für Firefox bei UIB abgeschlossen habt, dann stellen diese die Updates in einem zugangsgeschützen Repository-Zweig zum Aufruf bereit.

Also ist via Cron der 'opsi-product-updater' zyklisch aufzurufen:

Code: Alles auswählen

PATH=/sbin:/bin/:/usr/sbin/:/usr/bin
#
# min   hour    daydate month   day of week     command
0       5       *       *       Sun             /usr/bin/opsi-backup create --backends=all /root/backup/opsi-backup
#.............................................................................
50      4       *       *       Mon-Fri         /usr/bin/opsi-product-updater 
und die /etc/opsi/opsi-product-updater.conf zu modifizieren:

Code: Alles auswählen

[repository_uib-abo]
...
autoInstall = true
autoUpdate = true
...

Re: Firefox updatet sich selbst

Verfasst: 14 Jul 2017, 10:17
von n.wenselowski
Hi,
GEI hat geschrieben:wenn ihr das Update-Abo für Firefox bei UIB abgeschlossen habt, dann stellen diese die Updates in einem zugangsgeschützen Repository-Zweig zum Aufruf bereit.
nur zum Sichergehen: geht es um das Paket aus dem Abo?
Dort kann das Update-Verhalten über ein Property gesteuert werden.


Gruß

Niko

Re: Firefox updatet sich selbst

Verfasst: 14 Jul 2017, 11:29
von konkretor
ich bin mir da nicht wirklich sicher

auf der Linux Umgebung habe ich keinen cronjob entdecken können


Wie kann ich das genau prüfen?

Re: Firefox updatet sich selbst

Verfasst: 14 Jul 2017, 11:38
von n.wenselowski
Hi,

Schau dir die Ausgabe von opsi-package-manager -l firefox an.
Ist die Paketnummer sowas wie 52.2.1esror54.0.1-1, beinhaltet also esror und zwei Versionsnummern? Dann ist die Wahrscheinlichkeit hoch, dass es aus unserem Abo stammt. Dann habt ihr einen Vertrag mit entweder uib oder einem Dienstleister über den Bezug.

Gibt der Befehl keine Ausgabe, dann ist es vermutlich ein selbstgebautes Paket. Bei einer sehr alten Versionsnummer (pre-ESR), könnte es auch ein Abo sein, aber das hoffe ich an der Stelle einfach mal nicht ;)


Gruß

Niko

Re: Firefox updatet sich selbst

Verfasst: 14 Jul 2017, 15:11
von GEI
n.wenselowski hat geschrieben:Wahrscheinlichkeit hoch, dass es aus unserem Abo stammt. Dann habt ihr einen Vertrag mit entweder uib oder einem Dienstleister über den Bezug.
es ist leider unklar, ob das Problem bei der Update-Fähigkeit des via OPSI-installierten Firefoxpaketes (Mozilla Maintenance Service) ODER beim Updaten des lokalen Depots mit dem Firefox-Paketes des UIB-Repositorys (via opsi-package-managers) ist ...

Re: Firefox updatet sich selbst

Verfasst: 14 Jul 2017, 15:17
von n.wenselowski
GEI hat geschrieben:
n.wenselowski hat geschrieben:Wahrscheinlichkeit hoch, dass es aus unserem Abo stammt. Dann habt ihr einen Vertrag mit entweder uib oder einem Dienstleister über den Bezug.
es ist leider unklar, ob das Problem bei der Update-Fähigkeit des via OPSI-installierten Firefoxpaketes (Mozilla Maintenance Service) ODER beim Updaten des lokalen Depots mit dem Firefox-Paketes des UIB-Repositorys (via opsi-package-managers) ist ...
Beim nochmaligen lesen: ja, stimmt!

Also: geht es um die Aktualisierung von Firefox auf einem Client oder um das opsi-Paket auf dem Server?


Wenn es mit opsi schnell losgehen soll, aber gerade bei Grundlagen noch viele Fragezeichen kommen, ist es eine gute Idee eine Schulung zu machen. Das macht meiner Erfahrung noch auch oftmals noch Sinn, wenn opsi schon im Einsatz ist ;)

Re: Firefox updatet sich selbst

Verfasst: 18 Jul 2017, 01:23
von SisterOfMercy
GEI hat geschrieben:es ist leider unklar, ob das Problem bei der Update-Fähigkeit des via OPSI-installierten Firefoxpaketes (Mozilla Maintenance Service) ODER beim Updaten des lokalen Depots mit dem Firefox-Paketes des UIB-Repositorys (via opsi-package-managers) ist ...
To get rid of that maintenance service install with the supplied .ini file

Code: Alles auswählen

[Winbatch_install_32]
"%ScriptPath%\files\Firefox-x86.exe" /INI="%ScriptPath%\files\mozilla-firefox.ini"

[Winbatch_install_64]
"%ScriptPath%\files\Firefox-x64.exe" /INI="%ScriptPath%\files\mozilla-firefox.ini"
This is the .ini file I found somewhere in the mozilla wiki:

Code: Alles auswählen

[Install]
;
; Remove the semicolon (;) to un-comment a line.
;
; The name of the directory where the application will be installed in the
; system's program files directory. The security
; context the installer is running in must have write access to the
; installation directory. Also, the directory must not exist or if it exists
; it must be a directory and not a file. If any of these conditions are not met
; the installer will abort the installation with an error level of 2. If this
; value is specified then InstallDirectoryPath will be ignored.
InstallDirectoryName=Mozilla Firefox

; The full path to the directory to install the application. The security
; context the installer is running in must have write access to the
; installation directory. Also, the directory must not exist or if it exists
; it must be a directory and not a file. If any of these conditions are not met
; the installer will abort the installation with an error level of 2.
; InstallDirectoryPath=c:\firefox\

; By default all of the following shortcuts are created. To prevent the
; creation of a shortcut specify false for the shortcut you don't want created.

; Create a shortcut for the application in the current user's QuickLaunch
; directory.
QuickLaunchShortcut=false

; Create a shortcut for the application on the desktop. This will create the
; shortcut in the All Users Desktop directory and if that fails this will
; attempt to create the shortcuts in the current user's Start Menu directory.
DesktopShortcut=true

; Create shortcuts for the application in the Start Menu. This will create the
; shortcuts in the All Users Start Menu directory and if that fails this will
; attempt to create the shortcuts in the current user's Start Menu directory.
StartMenuShortcuts=true

; The directory name to use for the StartMenu folder (not available with
; Firefox 4.0 and above - see note below).
; note: if StartMenuShortcuts=false is specified then this will be ignored.
; StartMenuDirectoryName=Mozilla Firefox

; The MozillaMaintenance service is used for silent updates and may be used
; for other maintenance related tasks.  It is an optional component. 
; This option can be used in Firefox 16 or later to skip installing the service.
MaintenanceService=false