Bug#785563: autofs: systemctl reload autofs.service: /usr/bin/kill not found

2016-11-15 Thread Dr. Johann Pfefferl
Package: autofs
Version: 5.1.1-1
Followup-For: Bug #785563

Dear Maintainer,

please replace /usr/bin/kill in the autofs service file
/lib/systemd/system/autofs.service with /bin/kill.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 4.8.7-00037-ge91864b
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autofs depends on:
ii  init-system-helpers  1.46
ii  libc62.24-5
ii  libxml2  2.9.4+dfsg1-2.1
ii  multiarch-support2.24-5
ii  ucf  3.0036

Versions of packages autofs recommends:
ii  kmod23-1
ii  nfs-common  1:1.2.8-9.2

autofs suggests no packages.

-- no debconf information



Bug#785563: autofs: systemctl reload autofs.service: /usr/bin/kill not found

2016-04-27 Thread Leo L. Schwab
Package: autofs
Version: 5.1.1-1
Followup-For: Bug #785563

Dear Maintainer,

  ___ _   _   _ 
|  _ \_ _| \ | |/ ___| |
| |_) | ||  \| | |  _| |
|  __/| || |\  | |_| |_|
|_|  |___|_| \_|\(_)

Seriously, this bug report is nearly a year old, and this is
literally a one-line fix.  I've attached my modified copy of
/lib/systemd/system/autofs.service for your reference (the source of the
debsums error noted below), which fixes the reported issue.

Schwab


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autofs depends on:
ii  init-system-helpers  1.30
ii  libc62.22-7
ii  libxml2  2.9.3+dfsg1-1
ii  multiarch-support2.22-7
ii  ucf  3.0036

Versions of packages autofs recommends:
ii  kmod22-1.1
ii  nfs-common  1:1.2.8-9

autofs suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /lib/systemd/system/autofs.service (from autofs package)
[Unit]
Description=Automounts filesystems on demand
After=network.target ypbind.service sssd.service network-online.target
Wants=network-online.target

[Service]
Type=forking
PIDFile=/var/run/autofs.pid
EnvironmentFile=-/etc/default/autofs
ExecStart=/usr/sbin/automount $OPTIONS --pid-file /var/run/autofs.pid
ExecReload=/bin/kill -HUP $MAINPID
TimeoutSec=180

[Install]
WantedBy=multi-user.target


Bug#785563: autofs: systemctl reload autofs.service: /usr/bin/kill not found

2015-12-15 Thread Leo L. Schwab
Package: autofs
Version: 5.1.1-1
Followup-For: Bug #785563

I bumped into this today while installing a new system.  I made a
change to the .service file locally (changed /usr/bin/kill to /bin/kill),
and it seems to work fine.  Patch available upon request (if you really
think it's necessary).

Schwab

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autofs depends on:
ii  init-system-helpers  1.24
ii  libc62.21-4
ii  libxml2  2.9.3+dfsg1-1
ii  multiarch-support2.21-4
ii  ucf  3.0031

Versions of packages autofs recommends:
ii  kmod21-1
ii  nfs-common  1:1.2.8-9

autofs suggests no packages.

-- no debconf information



Bug#785563: autofs: systemctl reload autofs.service: /usr/bin/kill not found

2015-05-17 Thread Facundo Gaich
Package: autofs
Version: 5.1.1-1
Severity: normal

Dear Maintainer,

The autofs unit file /lib/systemd/system/autofs.service includes this line:

ExecReload=/usr/bin/kill -HUP $MAINPID

However /usr/bin/kill is not found in the system so doing

systemctl reload autofs.service

results in the following error in the journal:

systemd[1904]: Failed at step EXEC spawning /usr/bin/kill: No such file or 
directory
systemd[1]: autofs.service: control process exited, code=exited status=203
systemd[1]: Reload failed for Automounts filesystems on demand.

I believe the solution is to change the ExecReload line to use /bin/kill.

Thanks,
Facundo Gaich


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

Kernel: Linux 4.0.1 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autofs depends on:
ii  init-system-helpers  1.23
ii  libc62.19-18
ii  libxml2  2.9.2+dfsg1-3
ii  multiarch-support2.19-18
ii  ucf  3.0030

Versions of packages autofs recommends:
ii  kmod20-1
ii  nfs-common  1:1.2.8-9

autofs suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org