[Bug 706565] Re: configs with dots in file name not working in /etc/cron.d

2018-03-29 Thread WinEunuchs2Unix
I have multiple files with the same names that serve different purposes.
I need to differentiate them with extensions of `.sh`, `.cron` and
`.sysd` so the `locate` command returns sane results. If I have to use
`/etc/cron.d/myfile-cron` it spoils the file extension naming convention
with `/usr/local/bin/myfile.sh` and `/lib/systemd/system-
sleep/myfile.sysd`.

As per Ask Ubuntu question today:
https://askubuntu.com/questions/1020411/file-naming-conventions-for-
cron-and-systemd-extensions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706565

Title:
  configs with dots in file name not working in /etc/cron.d

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/706565/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 706565] Re: configs with dots in file name not working in /etc/cron.d

2014-09-11 Thread Robert Townley
Actually, /etc/cron.d/ is part of Linux Standards Base Core
Specification 4.0.  http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-
Core-generic/LSB-Core-generic/etc.html

Yes, .dpkg-* are ignored for a reason, but that also ignores the LSB FHS.  If 
you installed the lsb packages and expect a Linux Standards Base system, then 
`run-parts --verbose --lsbsysinit /etc/cron.hourly/` 
should accept `org.debian.my.cron.job.sh` and 
`debian.org-cron.job.with.dots.sh` and `job.cron` and other filenames with 
dots.  

http://manpages.ubuntu.com/manpages/trusty/en/man8/run-parts.8.html

   If  the  --lsbsysinit  option  is given, then the names must not end in
   .dpkg-old  or .dpkg-dist or .dpkg-new or .dpkg-tmp, and must belong  to
   one  or more of the following namespaces: the LANANA-assigned namespace
   (^[a-z0-9]+$);   the   LSB   hierarchical   and   reserved   namespaces
   (^_?([a-z0-9_.]+-)+[a-z0-9]+$);  and  the  Debian cron script namespace
   (^[a-zA-Z0-9_-]+$).


http://refspecs.linux-foundation.org/LSB_4.0.0/LSB-Core-generic/LSB-Core-generic/etc.html#FHS-NAME-RULES
-Linux assigned names says to use dns.name.com names when you do not have a 
registered name for a particular project.
http://www.lanana.org/lsbreg/cron/index.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706565

Title:
  configs with dots in file name not working in /etc/cron.d

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/706565/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706565] Re: configs with dots in file name not working in /etc/cron.d

2014-09-11 Thread Robert Townley
It is actually documented further down in the man page and by the linux-
foundation.org that these files can have dots, in fact, multiple dots to
accomodate dns domain names.

** Changed in: cron (Ubuntu)
   Status: Invalid = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706565

Title:
  configs with dots in file name not working in /etc/cron.d

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cron/+bug/706565/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706565] Re: configs with dots in file name not working in /etc/cron.d

2011-01-24 Thread Christian Kastner
Addendum: I wasn't aware that Fedora implemented this differently --
although it is not surprising as /etc/cron.d/ not part of any official
spec but rather an extension that was added by the individual distros.

I have this issue noted for now; perhaps something can be done via log
levels in future. It's not as easy as it sounds, as on Ubuntu/Debian, we
ignore files with dots for a reason (eg: .dpkg-dist files).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706565

Title:
  configs with dots in file name not working in /etc/cron.d

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 706565] Re: configs with dots in file name not working in /etc/cron.d

2011-01-23 Thread Christian Kastner
This is, in fact, documented. See:
http://manpages.ubuntu.com/manpages/maverick/en/man8/cron.8.html

Quoting (2nd paragraph):
Additionally, cron reads the files in /etc/cron.d [...] Files must conform to 
the same naming convention as used by run-parts(8):  they must consist solely 
of upper- and lower-case letters, digits, underscores, and hyphens. [...]

** Changed in: cron (Ubuntu)
   Status: New = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706565

Title:
  configs with dots in file name not working in /etc/cron.d

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs