[apparmor] [patch] drop shebang from apparmor/rule/*.py
Tyler Hicks
tyhicks at canonical.com
Thu Jul 16 22:32:54 UTC 2015
On 2015-07-17 00:19:51, Christian Boltz wrote:
> Hello,
>
> the '#!/usr/bin/env python' line in apparmor/rule/*.py is superfluous
> and causes "non-executable script" rpmlint warnings on openSUSE.
Is it more correct to leave the shebang and make the files executable?
Tyler
>
>
> [ 76-apparmor-rule-drop-shebang.diff ]
>
> === modified file 'utils/apparmor/rule/capability.py'
> --- utils/apparmor/rule/capability.py 2015-06-06 12:04:11 +0000
> +++ utils/apparmor/rule/capability.py 2015-07-16 22:05:12 +0000
> @@ -1,4 +1,3 @@
> -#!/usr/bin/env python
> # ----------------------------------------------------------------------
> # Copyright (C) 2013 Kshitij Gupta <kgupta8592 at gmail.com>
> # Copyright (C) 2014 Christian Boltz <apparmor at cboltz.de>
>
> === modified file 'utils/apparmor/rule/change_profile.py'
> --- utils/apparmor/rule/change_profile.py 2015-06-06 12:19:09 +0000
> +++ utils/apparmor/rule/change_profile.py 2015-07-16 22:05:14 +0000
> @@ -1,4 +1,3 @@
> -#!/usr/bin/env python
> # ----------------------------------------------------------------------
> # Copyright (C) 2013 Kshitij Gupta <kgupta8592 at gmail.com>
> # Copyright (C) 2015 Christian Boltz <apparmor at cboltz.de>
>
> === modified file 'utils/apparmor/rule/network.py'
> --- utils/apparmor/rule/network.py 2015-07-07 12:10:17 +0000
> +++ utils/apparmor/rule/network.py 2015-07-16 22:05:17 +0000
> @@ -1,4 +1,3 @@
> -#!/usr/bin/env python
> # ----------------------------------------------------------------------
> # Copyright (C) 2013 Kshitij Gupta <kgupta8592 at gmail.com>
> # Copyright (C) 2015 Christian Boltz <apparmor at cboltz.de>
>
> === modified file 'utils/apparmor/rule/rlimit.py'
> --- utils/apparmor/rule/rlimit.py 2015-07-11 12:05:32 +0000
> +++ utils/apparmor/rule/rlimit.py 2015-07-16 22:05:23 +0000
> @@ -1,4 +1,3 @@
> -#!/usr/bin/env python
> # ----------------------------------------------------------------------
> # Copyright (C) 2013 Kshitij Gupta <kgupta8592 at gmail.com>
> # Copyright (C) 2015 Christian Boltz <apparmor at cboltz.de>
>
>
>
> Regards,
>
> Christian Boltz
> --
> Dessen NOC erklaerte uns aber, dass das Mailproblem nicht an ihnen
> liegen koennte der ihr Router habe gar keinen Port 25. Der habe nur
> 16 Ports. Also kann Mails nichts mit Port 25 zu tun haben.
> [Ulli Horlacher in dasr]
>
>
> --
> AppArmor mailing list
> AppArmor at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/apparmor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20150716/a36a5a5b/attachment.pgp>
More information about the AppArmor
mailing list