Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1016865

Bug#964389: bsdmainutils: leftover config files

From Chris Hofstaedtler <zeha@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#964389: bsdmainutils: leftover config files
Date 2020-07-07 10:00 +0200
Message-ID <ApQGd-6NK-3@gated-at.bofh.it> (permalink)
References <ApBxv-5XU-5@gated-at.bofh.it> <ApElH-7E9-1@gated-at.bofh.it> <ApBxv-5XU-5@gated-at.bofh.it> <ApElH-7E9-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Michael Meskes <meskes@debian.org> [200706 20:38]:
> On Mon, Jul 06, 2020 at 05:40:24PM +0200, Chris Hofstaedtler wrote:
> > It appears there is some gap in the necessary cleanups in
> > bsdmainutils. My "unstable" system has these files listed as owned
> > by bsdmainutils:
> > ... 
> 
> Gheez, I should have done a hard dependency from the get go. I guess this comes
> from one update that didn't bring in calendar. Anyway, could you please verify
> for me that there are no config files in your calendar package? 

Here's some info, I hope its useful:

% dpkg -L bsdmainutils | grep etc
/etc/default/bsdmainutils
/etc/cron.daily/bsdmainutils
% cat /etc/default/bsdmainutils
cat: /etc/default/bsdmainutils: No such file or directory
% cat /etc/cron.daily/bsdmainutils
cat: /etc/cron.daily/bsdmainutils: No such file or directory

% dpkg -L calendar | grep etc
/etc
/etc/calendar
/etc/calendar/default
/etc/cron.daily
/etc/cron.daily/calendar
/etc/default
/etc/default/calendar
% cat /etc/calendar/default
/* This is the system-wide default calendar file, used if calendar(1)
 * is invoked by a user without a ~/calendar or ~/.calendar/calendar file.
 * It may be edited or even deleted to reflect local policy.
 *
 * In the standard setup, we simply include the default calendar
 * definitions from /usr/share/calendar/calendar.all.  If you want
 * only some of those definitions, copy calendar.all to /etc/calendar
 * and edit it there.  That way, your changes will be kept next time
 * you upgrade.
 *
 * The search path for include files is:
 *   /etc/calendar
 *   /usr/share/calendar
 */
#include "calendar.all"
% cat /etc/cron.daily/calendar
#!/bin/sh
# /etc/cron.daily/calendar: BSD mainutils calendar daily maintenance script
# Written by Austin Donnelly <and1000@debian.org>

. /etc/default/calendar

[ x$RUN_DAILY = xtrue ] || exit 0

[ -x /usr/sbin/sendmail ] || exit 0

if [ ! -x /usr/bin/cpp ]; then
  echo "The cpp package is needed to run calendar."
  exit 1
fi

/usr/bin/calendar -a
% cat /etc/default/calendar
# Uncomment the following line if you'd like all of your users'
# ~/calendar files to be checked daily.  Calendar will send them mail
# to remind them of upcoming events.  See calendar(1) for more details.
#RUN_DAILY=true

% dpkg -l bsdmainutils calendar ncal
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-============================================
ii  bsdmainutils   12.1.3       all          collection of more utilities from FreeBSD
ii  calendar       12.1.3       amd64        display upcoming dates and provide reminders
ii  ncal           12.1.3       amd64        display a calendar and the date of Easter

Chris

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#964389: bsdmainutils: leftover config files Chris Hofstaedtler <zeha@debian.org> - 2020-07-06 17:50 +0200
  Bug#964389: bsdmainutils: leftover config files Michael Meskes <meskes@debian.org> - 2020-07-06 20:50 +0200
    Bug#964389: bsdmainutils: leftover config files Chris Hofstaedtler <zeha@debian.org> - 2020-07-07 10:00 +0200

csiph-web