Bug 24514

Summary: etc/cron.hourly/msec crashes after kernel upgrade from Linux version 4.14.100-desktop-2.mga6 to 4.14.104
Product: Mageia Reporter: Sleepy Z <sleepy>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: marja11, ouaurelien
Version: 6   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: kernel-4.14.104-2.mga6 CVE:
Status comment: Please Close

Description Sleepy Z 2019-03-14 05:15:47 CET
Description of problem:
etc/cron.hourly/msec:
Traceback (most recent call last):
  File "/usr/share/msec/msec.py", line 186, in <module>
    msec.apply(msec_config)
  File "/usr/share/msec/libmsec.py", line 755, in apply
    action(curconfig.get(opt))
  File "/usr/share/msec/plugins/msec.py", line 304, in set_win_parts_umask
    fstab.replace_line_matching("(.*\s(vfat|ntfs|ntfs-3g)\s+\S*)umask=\d+(.*)", "@1umask="+umask+"@3", 0, 1)
  File "/usr/share/msec/libmsec.py", line 538, in replace_line_matching
    lines = self.get_lines()
  File "/usr/share/msec/libmsec.py", line 314, in get_lines
    self.lines = file.read().split("\n")
  File "/usr/lib64/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 715: ordinal not in range(128)
run-parts: /etc/cron.hourly/msec exited with return code 1

Version-Release number of selected component (if applicable):


How reproducible:
Upgrade kernel from vmlinuz-4.14.100-desktop-1.mga6 to vmlinuz-4.14.104-desktop-2.mga6

Steps to Reproduce:
1.This is happening on 3 of my linux boxes  with the same 64bit OSs
2.
3.
Comment 1 Marja Van Waes 2019-03-14 16:57:00 CET
When you boot the old kernel, does the issue then disappear?

CC: (none) => marja11
Source RPM: 4.14.104-desktop-2.mga6 => kernel-4.14.104-2.mga6
Assignee: bugsquad => kernel
Summary: Upgraded kernel from Linux version 4.14.100-desktop-2.mga6 to 4.14.104 => etc/cron.hourly/msec crashes after kernel upgrade from Linux version 4.14.100-desktop-2.mga6 to 4.14.104

Sleepy Z 2019-05-09 20:40:10 CEST

Status comment: (none) => Please Close

Comment 2 Aurelien Oudelet 2020-08-23 14:55:59 CEST
Since there are insufficient details provided in this report for us to investigate the issue further, and we have not received feedback to the information we have requested above, we will assume the problem was not reproducible, or has been fixed in one of the updates we have released for the reporter's distribution.

Users who have experienced this problem are encouraged to upgrade to the latest update of their distribution, and if this issue turns out to still be reproducible in the latest update, please reopen this bug with additional information.

Closing as OLD.

Status: NEW => RESOLVED
Resolution: (none) => OLD
CC: (none) => ouaurelien