Bug#764714: systemd-cron: indention error in systemd-crontab-generator tab instead of spaces

k_f h785369 at yahoo.de
Fri Oct 10 14:15:15 BST 2014


Package: systemd-cron
Version: 1.3.1-1
Severity: important
Tags: upstream

Dear Maintainer,

lines 198 and 205 (persistent='') indent with tab instead spaces this 
will cause unexpected behavior

  * masked missing persistent initialization in def generate_timer_unit
    (which caused generation to fail for some of my cron jobs)

this is also part of upstream Debian version 
(github.com/systemd-cron/systemd-cron-debian) but not generic upstream 
(github.com/systemd-cron/systemd-cron)

i think there is a git option to avoid or warn for tabs in indention

friendly greetings
     Karl


-- System Information:
Debian Release: jessie/sid
   APT prefers testing
   APT policy: (990, 'testing'), (500, 'unstable'), (500, 'testing'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages systemd-cron depends on:
ii  init-system-helpers  1.21
ii  python               2.7.8-1
pn  python:any           <none>
ii  systemd              215-5+b1

systemd-cron recommends no packages.

systemd-cron suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file 
/lib/systemd/system-generators/systemd-crontab-generator (from 
systemd-cron package) << changed the file to work for me (working around 
the error above)



More information about the Pkg-systemd-maintainers mailing list