Bugzilla – Bug 1150614
yast2-gpmc ignore a directory listing fail if the directory doesn't exist
Last modified: 2020-10-12 13:20:23 UTC
gpmc was trying to list the PolicyDefinitions directory to lookup additional settings. On a new AD domain, this directory may not exist yet. Don't crash if it's missing. File "/tmp/.mount_admin-cJM3yz/usr/share/YaST2/clients/../include/gpmc/wizards.py", line 12, in <lambda> 'gpme' : [(lambda lp, creds: GPME(lp, creds).Show()), lp, creds] File "/tmp/.mount_admin-cJM3yz/usr/share/YaST2/clients/../include/gpmc/dialogs.py", line 45, in Show self.__reset() File "/tmp/.mount_admin-cJM3yz/usr/share/YaST2/clients/../include/gpmc/dialogs.py", line 33, in __reset Wizard.SetContentsButtons('Group Policy Management Editor', self.__gpme_page(), 'Group Policy Management Editor', '', 'Close') File "/tmp/.mount_admin-cJM3yz/usr/share/YaST2/clients/../include/gpmc/dialogs.py", line 240, in __gpme_page HWeight(1, self.__policy_tree()), File "/tmp/.mount_admin-cJM3yz/usr/share/YaST2/clients/../include/gpmc/dialogs.py", line 370, in __policy_tree admin_templates = self.__fetch_admin_templates() File "/tmp/.mount_admin-cJM3yz/usr/share/YaST2/clients/../include/gpmc/dialogs.py", line 268, in __fetch_admin_templates for f in self.conn.list('../PolicyDefinitions/'): File "/tmp/.mount_admin-cJM3yz/usr/share/YaST2/clients/../include/gpmc/complex.py", line 420, in list return self.conn.list(path) samba.NTSTATUSError: (3221225524, 'The object name is not found.')
Resolved
This is an autogenerated message for OBS integration: This bug (1150614) was mentioned in https://build.opensuse.org/request/show/839549 15.2 / yast2-gpmc
openSUSE-RU-2020:1661-1: An update that has 7 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1084864,1146898,1150614,1150616,1151733,1151738,1152357 CVE References: JIRA References: Sources used: openSUSE Leap 15.2 (src): yast2-gpmc-1.5.0-lp152.3.3.1