Your message dated Sat, 11 Oct 2014 10:08:52 +0200
with message-id <3169424.eqA7oPNOLs@antec>
and subject line Re: Bug#764714: systemd-cron: indention error in
systemd-crontab-generator tab instead of spaces
has caused the Debian Bug report #764714,
regarding systemd-cron: indention error in systemd-crontab-generator tab
instead of spaces
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
764714: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764714
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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)
--- End Message ---
--- Begin Message ---
So there is here one bug (broken generator) which is fixed in unstable;
and one warning (tabs) that will be solved in 1.3.2 .
> 1.3.1 upstream seems to be broken without persistent=true
Yes, but the two only downstreams are Debian & Arch a.t.m. which both set this
flag.
If someone built it from source, he could use 'master'.
> please do not pack another version that mixes tabs and spaces in
> python-scripts
This can't happen anymore in upstream:
https://github.com/systemd-cron/systemd-cron/commit/0082314975b03e6f393c90dccafb67c60e061435
https://github.com/systemd-cron/systemd-cron/commit/0b96e6723b8b36362620ffdac2644591a27b71f8
Is there here an actual problem with 1.3.1+ds1-1,
or is this just a theorical problem that would only happen
if the script were executed on Windows with tab=4 spaces ?
Thanks,
Alexandre
--- End Message ---