Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#38480 - [tftp-hpa] chmod 644 for /usr/lib/systemd/system/tftpd.s*?

Attached to Project: Arch Linux
Opened by Clemens Koller (ckoller) - Sunday, 12 January 2014, 13:56 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 13 May 2015, 20:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

The installed
/usr/lib/systemd/system/tftpd.service
/usr/lib/systemd/system/tftpd.socket
have permission 655. I believe that should better be 644.

Additional info:
* package version(s)
tftp-hpa 5.2-4

Steps to reproduce:
install the package and look into: /usr/lib/systemd/system/


Proposed Bugfix in PKGBUILD:
package() {
cd ${pkgname}-${pkgver}
make INSTALLROOT="${pkgdir}" install
install -d "${pkgdir}/srv/tftp"
- install -D -m655 "${srcdir}/tftpd.service" "${pkgdir}/usr/lib/systemd/system/tftpd.service"
- install -D -m655 "${srcdir}/tftpd.socket" "${pkgdir}/usr/lib/systemd/system/tftpd.socket"
+ install -D -m644 "${srcdir}/tftpd.service" "${pkgdir}/usr/lib/systemd/system/tftpd.service"
+ install -D -m644 "${srcdir}/tftpd.socket" "${pkgdir}/usr/lib/systemd/system/tftpd.socket"
install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# Remove conflict with iputils
rm "${pkgdir}/usr/share/man/man8/tftpd.8"
}
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 13 May 2015, 20:00 GMT
Reason for closing:  Fixed
Additional comments about closing:  tftp-hpa 5.2-5
Comment by Thomas Bächler (brain0) - Monday, 13 January 2014, 16:38 GMT
Yes, it should.
Comment by Alain Kalker (ackalker) - Tuesday, 09 September 2014, 14:02 GMT
Systemd is complaining about this, too:
[snip from `journalctl -b -p4`]
Sep 09 15:55:37 miki-desktop systemd[1]: Configuration file /usr/lib/systemd/system/tftpd.service is marked executable. Please remove executable permission bits. Proceeding anyway.
Sep 09 15:55:37 miki-desktop systemd[1]: Configuration file /usr/lib/systemd/system/tftpd.socket is marked executable. Please remove executable permission bits. Proceeding anyway.
[/snip]

Please fix this.
Comment by Kevin Brodsky (Corax) - Sunday, 12 October 2014, 23:08 GMT
Same problem here, is this package actually maintained?
Comment by Clemens Koller (ckoller) - Thursday, 23 October 2014, 23:00 GMT
Well, the latest package 5.2-4 still doesn't have the patch applied.
Thomas, can you please update the thing or let me know if somebody
else should take over the maintainership of this package.
Comment by Jakub Klinkovský (lahwaacz) - Wednesday, 29 April 2015, 06:42 GMT
The most annoying about this is that each tab completion, e.g. "systemctl start <Tab>", pollutes the journal with multiple messages like those quoted by @ackalker. Those two lines repeat about 7 times per completion.

Loading...