Bug#1077590: adequate: dpkg -L error
hi Sebastian, On Mon Aug 19, 2024 at 6:37 PM CEST, Sebastian Ramacher wrote: > Control: reopen -1 [..] > Note the occurences of gcc-14-base: two times without archi qualifieres > (incorrect), once with :amd64 and :i386 (correct). thanks for reopening and for the provided details. I've uploaded a fix as 0.16.15 in experimental. please confirm whether that works for you. thanks again, Serafeim signature.asc Description: PGP signature
Bug#1077704: adequate: debconf mode failure when many issues are present: failed: Argument list too long at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 244.
Control: tags -1 + confirmed pending On Fri Aug 2, 2024 at 12:12 AM CEST, Serafeim Zanikolas wrote: > I can't reproduce the issue locally, so I'd appreciate if you'd modify either > version to print how long is the string that is passed to debconf. whiptail fails with a 128k long argument, and accepts a 64k one. signature.asc Description: PGP signature
Bug#1076788: adequate: Messes up the console apt was running from
Control: tags -1 - help Control: found -1 0.16 awesome, thanks guys! signature.asc Description: PGP signature
Bug#776335: adequate: option to show differences from last apt upgrade
Control: tags -1 moreinfo signature.asc Description: PGP signature
Bug#1076788: adequate: Messes up the console apt was running from
hi guys, thanks for your continued help with this. I was able to reproduce the issue and have uploaded what I believe to be a fix, as 0.16.12 in experimental. please verify. signature.asc Description: PGP signature
Bug#1076788: adequate: Messes up the console apt was running from
Control: tags -1 help On Tue Aug 13, 2024 at 4:48 PM CEST, gregor herrmann wrote: > On Tue, 13 Aug 2024 03:16:58 +0300, Antti Kultanen wrote: > > > > I've now been able to reproduce the entire issue and uploaded 0.16.11 to > > > experimental. I'll wait on your feedback before uploading also to > > > unstable. > > unfortunately 0.16.11 regresses back to the original broken behavior: > > my text console login shells terminate (tested: zsh, sash) and shells inside > > screen or ssh session lose job control (tested: zsh, bash). > > Same here: logout on text console (bash), job control broken in > terminal emulator (urxvt/bash). > > Good news: the needrestart hook is not backgrounded anymore. thank you both. I'm tagging this as help as I can't even reproduce the issue at this point. just to make sure that this is an issue between adequate and debconf (and not with apt), can you please confirm whether you can reproduce the issue with: # emulate effect of preinst hook echo bash | sudo tee /var/lib/adequate/pending # emulate self-spawning from postinst hook debconf -oadequate -- adequate --debconf --pending if this does _not_ reproduce the issue, try running the postinst hook as-is: # postinst invocation truncates this file, so need to repopulate it echo bash | sudo tee /var/lib/adequate/pending adequate --debconf --pending # self-spawns via debconf, as above signature.asc Description: PGP signature
Bug#1076788: adequate: Messes up the console apt was running from
thank you Gregor and Antti for the helpful follow ups. I've now been able to reproduce the entire issue and uploaded 0.16.11 to experimental. I'll wait on your feedback before uploading also to unstable. thanks again, Serafeim signature.asc Description: PGP signature
Bug#1076788: adequate: Messes up the console apt was running from
hi Holger, On Mon Aug 12, 2024 at 1:44 PM CEST, Holger Levsen wrote: > On Sun, Aug 11, 2024 at 11:41:54PM +0200, Serafeim Zanikolas wrote: > > apologies for this. adequate 0.16 onwards is a complete rewrite, > > I think it would have been adequate to upload that rewrite to experimental > first, > until the full functionality of the old tool has been reached and no bugs > like these > are present anymore. > > just saying, for next time? ;) I'm pretty sure you mean well but this message doesn't land very well on my end. first, I have volunteered weeks of my limited free time to take over a package that's important to Debian QA and nevertheless has been orphaned for almost a decade. second, the issue is only reproducible in very specific circumstances, whereas your message makes it read like everyone is affected by it and/or it's obvious. so, no, I was not aware of the issue and therefore could not ensure that "no bugs like these are present anymore." third, I did send an email to piuparts-de...@alioth-lists.debian.net on July 6th, with subject "please give a try to adequate in experimental" and the only response I got was along the lines of "if you think it's functionally complete, then feel free to go ahead with uploading to unstable". in retrospect, I should have sent that email to a wider audience thanks, Serafeim signature.asc Description: PGP signature
Bug#1076788: adequate: Messes up the console apt was running from
hi folks, > > affects 1076788 + apt > Bug #1076788 [adequate] adequate: Messes up the console apt was running from apologies for this. adequate 0.16 onwards is a complete rewrite, and while I've received a few bug reports since then, this is the first I hear of this issue, so thanks for the report. I can reproduce the loss of job control but not exiting the shell. anyway, 0.16.10 in experimental fixes the job control issue for me. can I ask you to please give that a try, and if the issue remains also share whether you've made any changes to the adequate apt hook. thanks again, Serafeim signature.asc Description: PGP signature
Bug#1077724: fixed in adequate 0.16.7
On Fri Aug 2, 2024 at 10:23 AM CEST, John Paul Adrian Glaubitz wrote: > Control: reopen -1 > > On Thu, 2024-08-01 at 22:49 +, Debian FTP Masters wrote: > >* Add version constraint to Build-Depends: golang-go, for relatively new > > stdlib packages (cmp and slices). Closes: #1077724. > > This is not what my bug report was about. Please replace "golang-go" with > "golang-any" in Build-Depends. ack, I've only seen your follow up after the upload, and your initial message had no mention of -any vs -go. anyway, updated build-depends in latest upload. thanks again, Serafeim signature.asc Description: PGP signature
Bug#1077805: adequate: Unexpected output from /usr/sbin/update-binfmts --display: " mask = "
Control: tags -1 pending oh dear! thanks to both of you for the report signature.asc Description: PGP signature
Bug#1077704: adequate: debconf mode failure when many issues are present: failed: Argument list too long at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 244.
Control: found -1 0.15.9~deb12u1 signature.asc Description: PGP signature
Bug#1077704: adequate: debconf mode failure when many issues are present: failed: Argument list too long at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 244.
Control: found -1 0.1.1 hi Paul, thanks for the bug reports (this and the other ones). On Thu Aug 1, 2024 at 4:17 AM CEST, Paul Wise wrote: > Package: adequate > Version: 0.16.4 > Severity: important > > When debconf mode is enabled and there is a large amount of adequate > output, debconf fails to run whiptail due to the large amount of > arguments being passed to it. I never had debconf mode enabled before > the rewrite but I expect the Perl debconf module would not do this, > so this is probably another regression from the rewrite. I don't think so. afaict bothh the go and perl versions build a massive string and pass it as a single value to debconf. go: https://sources.debian.org/src/adequate/0.16.5/debconf.go/#L22 perl: https://salsa.debian.org/debian/adequate/-/blob/26c921bb34852764d3456514d3300bf8c0d25a48/adequate#L185 I can't reproduce the issue locally, so I'd appreciate if you'd modify either version to print how long is the string that is passed to debconf. my inclination would be for adequate to truncate results beyond a certain limit (but I welcome other suggestions too). thanks, Serafeim signature.asc Description: PGP signature
Bug#1077724: adequate: FTBFS with gccgo
John Paul, thanks for the report! On Thu Aug 1, 2024 at 9:27 AM CEST, John Paul Adrian Glaubitz wrote: > Source: adequate > Version: 0.16.5 > Severity: normal [..] > src/salsa.debian.org/debian/adequate/binfmt.go:7:2: cannot find package "cmp" > in any of: > /home/glaubitz/adequate/adequate-0.16.5/_build/src/slices (from > $GOPATH) that should be fixable on my end, by adding a version constraint on the golang-go build dependency. slices and cmp have been introduced in 1.21, and presumably gccgo is on 1.20 (current version of gcc-defaults is 1.203) signature.asc Description: PGP signature
Bug#944620: #944620: qa.debian.org: build log scanner reports stale data
On Wed Jul 31, 2024 at 5:33 AM CEST, Mattia Rizzolo wrote: > On Tue, Jul 30, 2024 at 04:41:10PM +0200, Serafeim Zanikolas wrote: > > looking at #944620, can somebody please share specifics of where/how the > > build > > log scanner is deployed/scheduled, and whether its logs are available for > > investigation? > > bls is deployed in wuiet.d.o (aka buildd.d.o) directly under brlink's > home directory. thanks, that's very helpful! I'll discuss with DSA the best way forward. signature.asc Description: PGP signature
Bug#743198: adequate: Please provide examples how to use adequate with autopkgtest
Control: tags -1 pending thanks for the suggestions! signature.asc Description: PGP signature
Bug#909342: adequate: warn about broken alternatives
hi Paul, On Sat Sep 22, 2018 at 3:46 AM CEST, Paul Wise wrote: > Package: adequate > Version: 0.15.1 > Severity: wishlist > > I discovered some broken alternatives and reported them in #909340, > it would be nice if adequate could also report when the alternatives > registry items[1] contain filenames that do not exist on the system > and when the alternatives configuration[2] contains broken symlinks. > >1. /var/lib/dpkg/alternatives/* >2. /etc/alternatives/* I think, even back then, adequate already implemented this functionality, with a few important caveats: 1. it used update-alternatives to get data, rather than access them directly via the two dirs you list (it still does) 2. it would fail on empty alternatives (#857265, recently fixed in 0.16.1) 3. it would (and still does) report only on x-window-manager and x-terminal-emulator so #909340 would not have been detected back then due to 2 and 3, nor today due to 3. I'm unsure as to whether the original author of adequate chose to emit tags only for those two alternative names; perhaps because the Debian policy only requires the use of alternatives for those two alternative names. in any case, it seems reasonable to me to drop 3 (as in, check for _all_ alternative names for which links are configured). thanks, Serafeim signature.asc Description: PGP signature
Bug#868334: wmaker: adequate tells wmaker fails to advertise itself as an alternative x-window manager
Control: reassign -1 wmaker Control: severity -1 wishlist On Tue Jul 23, 2024 at 2:23 AM CEST, Serafeim Zanikolas wrote: [..] > Doug, would be okay with moving /usr/bin/wmaker from wmaker-common to wmaker? > that'd also allow you to drop the no-manual-page lintian override in > wmaker-common (currently needed b/c the script is in wmaker-common but > wmaker(1) > in the wmaker package) I'm reassigning back to wmaker, and will also add a missing-alternative exemption for wmaker in adequate (given that it's a known, low-severity issue) thanks, Serafeim
Bug#944620: #944620: qa.debian.org: build log scanner reports stale data
hi Bernhard, qa folks, looking at #944620, can somebody please share specifics of where/how the build log scanner is deployed/scheduled, and whether its logs are available for investigation? https://qa.debian.org/bls links to package build logs, whereas I'm after the logs that are generated while scanning the build logs, e.g. to see how quickly a report is generated relative to build logs becoming available, and how often the scans fail (which would explain staleness in reports) thanks, Serafeim ps. please cc me on replies, I'm not subscribed in debian-qa@ signature.asc Description: PGP signature
Bug#1077590: adequate: dpkg -L error
thanks Sebastian for the report. that'd be because your have installed all of: libavcodec61, libavcodec61:i386, libavcodec61:amd64 it sounds like adequate should drop foo in the presence of any foo:arch signature.asc Description: PGP signature
Bug#776335: adequate: option to show differences from last apt upgrade
hi Paul, On Tue Jan 27, 2015 at 1:43 AM CET, Paul Wise wrote: > I have a machine pinned to experimental with lots of different desktops > and other packages installed and regularly upgrade it to find > obsolete-conffile reports. Currently I have to wade through lots of > complaints from adequate at the end of each apt run. It would be nice if > adequate could compare the results for each package from the last time > it was upgraded with the current upgrade and only report when new issues > are encountered. This would save me looking in the BTS to find out if > bugs have already been reported. thanks for the bug report. this is actually a frustration I also have (though not at the same scale). let me see if I understand correctly: - adequate registers in an adequate-specific cache (e.g. /var/lib/adequate/seen) which {tag,package} pairs it outputs to the user - on the very next run, adequate - for any given package p that has been considered in this run for which: - tag t is triggered, adequate: - displays the tag and adds a cache entry if no such {p,t} cache entry exists - does not display the tag and maintains the {p,t} cache entry if it exists - tag t is not trigerred, adequate: - removes the {p,t} cache entry if it exists thanks, Serafeim signature.asc Description: PGP signature
Bug#793407: adequate: check perl/python module dependencies
hi Andreas, On Thu Jul 23, 2015 at 8:34 PM CEST, Andreas Beckmann wrote: [..] > I don't know if that would be a task for adequate, but we should have > some automated check for perl (and python) modules to see whether their I'd make the case that adequate is not the right place. first of all the task itself is open-ended (no way to solve it properly, with high confidence), and second if one were to put effort in addressing it, it'd make sense to do so in a way that eveyone can use it (rather than implement in adequate just for the sake of Debian) thanks, Serafeim signature.asc Description: PGP signature
Bug#868334: wmaker: adequate tells wmaker fails to advertise itself as an alternative x-window manager
hi folks, new adequate maintainer here. thanks for filing the bug and for looking into it. I think that either case could be made as to whether this is a bug in adequate or in wmaker (imho the Debian policy is open to interpretation in this regard). arguably, adequate is being rather pedantic by requiring that the registered program be included in the binary itself, rather than via a direct dependency of the binary. on the other hand, I see no practical value to ship /usr/bin/wmaker in wmaker-common, given that /usr/bin/wmaker is: - a wrapper around an executable in wmaker - a 2 kb script so it really doesn't matter whether we ship it separately for every arch Doug, would be okay with moving /usr/bin/wmaker from wmaker-common to wmaker? that'd also allow you to drop the no-manual-page lintian override in wmaker-common (currently needed b/c the script is in wmaker-common but wmaker(1) in the wmaker package) thanks, Serafeim signature.asc Description: PGP signature
Bug#1076157: adequate: bufio.Scanner: token too long
hi Laurent, thanks for the report. On Thu Jul 11, 2024 at 7:14 PM CEST, Laurent Bonnaud wrote: > Package: adequate > Version: 0.15.14 > Severity: important yes, sorry, known issue - both the apt hook and debconf integration are buggy/incomplete in experimental. I don't expect this to be fixed very quickly due to RL priorities. 0.15.14 is only in experimental, so please do feel free to downgrade to sid in the meantime. thanks, Serafeim signature.asc Description: PGP signature
Bug#805592: adequate: Please check pid file permissions
thanks Guillem! that all seems reasonable to me, and I think we can rely on Debian Policy 10.9: Files should be owned by "root:root", and made writable only by the owner and universally readable (and executable, if appropriate), that is mode 644 or 755. I'll make adequate emit a tag if /run is accessible (it normally is) and pid files therein are not readable. now, I'm not sure of what'd be the most reliable way to determine which package is responsible for the creation of any given pid file, if adequate does not run as root. (obviously, if it runs as root, we read the pid from the file to find out which binary it points to). but if we're not running as root, one hacky option would be to strip ".pid" from the filename and look for such binaries in /s?bin/ (but that wouldn't always work, e.g. /sbin/cron creates crond.pid) signature.asc Description: PGP signature
Bug#805592: adequate: Please check pid file permissions
tags 805592 moreinfo signature.asc Description: PGP signature
Bug#805592: adequate: Please check pid file permissions
hola Guillem, bon dia ;) do you think that this bug is still relevant, especially with most daemons now being handled internally by systemd? if so, can you please point me to a specific package with non-readable pid file(s)? gràcies, Serafeim signature.asc Description: PGP signature
Bug#981767:
hi, https://wiki.debian.org/DpkgConffileHandling suggests that that should be doable using dpkg conffile checksums, e.g. % dpkg-query -W -f='${Conffiles}' apt-cacher-ng /etc/apt-cacher-ng/acng.conf 87897bc5b2bbb83614d1ef5e57b57abc /etc/apt-cacher-ng/security.conf e6cc84b92032492d92d2f723a6a0a63d /etc/avahi/services/apt-cacher-ng.service f9a20231fdcd52a6fbf8ffbf3656aa78 signature.asc Description: PGP signature
Bug#731346: issue goes away with usrmerge
tags 731346 + wontfix thanks this concern becomes a non-issue with wiki.debian.org/UsrMerge signature.asc Description: PGP signature
Bug#714031: adequate: please run tests at build time
hello folks, 10y later, I'm inclined to close this bug. adequate has autopkgtest tests, which run quite quickly with schroot (sudo autopkgtest --ignore-restrictions=breaks-testbed,needs-root . -- schroot ) and https://ci.debian.net/packages/a/adequate/ works like a charm.
Bug#786808: ITA
I intend to adopt adequate and rewrite it in go. I've reached out to former contributors and current stakeholders on their opinion about that, and have not received any nacks yet (although I've only received a couple of responses). signature.asc Description: PGP signature
Bug#969981: RM: acpitail -- RoQA; orphaned, abandoned upstream
reassign 969981 ftp.debian.org retitle 969981 RM: acpitail -- RoQA; orphaned, abandoned upstream thanks better alternatives: acpitool, acpi_listen (from the acpid package)
Bug#846308: .
reassign 846308 ftp.debian.org retitle 846308 RM: tpb -- RoQA; orphaned, abandoned upstream thanks tpb is orphaned, dead-upstream, has very few users, and its functionality is largely covered by the acpid package (modulo OSD, which major window managers do provide). the latest bug was filed 7y ago
Bug#726249: snarf: proposed removal
reassign -1 src:snarf retitle -1 snarf: proposed removal usertags: proposed-removal thanks snarf has very few users, better alternatives exist, has not had a maintainer in 10y, and no active upstream
Bug#1032658: sponsorship
I'd be happy to sponsor the uploads for this package (and its dependencies that are not already in the archive).
Bug#719792: RFA: reconf-inetd & DEP9 -- maintainer script for programmatic updates of inetd.conf
tags 719792 wontfix thanks Sounds good to me.
Bug#853048: O: socnetv -- social network analysis and visualisation application
Package: wnpp Severity: normal I intend to orphan the socnetv package. The socnetv package has not been updated by its nominal maintainer in more than three years, during which time there have been two NMUs (and I'm about to make a third one). The package description is: SocNetV is a graphical application designed to be an easy tool for Social Networks Analysis and Visualisation (not to be confused with social networking, as in online communities). With it, one can load and visualise networks of various formats (GraphViz, Adjacency, Pajek, etc), and/or visually create and modify a network in a point and click fashion. . The program can also compute network statistics and properties (such as distances, centralities, diameter) and apply some layout algorithms for more meaningful visualisation of your networks. Furthermore, socnetv can create simple random networks (lattice, same degree, etc).
Bug#758454: ITA: socnetv -- social network analysis and visualisation application
Hi Caitlin, Thanks for your work, it looks great! However it seems to fail to install when doc-base is already in place: (Reading database ... 357341 files and directories currently installed.) Preparing to unpack .../socnetv_1.3+dfsg-1_i386.deb ... Unpacking socnetv (1.3+dfsg-1) over (0.90-3.1) ... dpkg: error processing archive /var/cache/pbuilder/result/socnetv_1.3+dfsg-1_i386.deb (--install): trying to overwrite '/usr/share/doc-base/doc-base', which is also in package doc-base 0.10.6 Processing triggers for doc-base (0.10.6) ... Processing triggers for menu (2.1.47) ... Errors were encountered while processing: /var/cache/pbuilder/result/socnetv_1.3+dfsg-1_i386.deb A few other points: - base off your release against the current version in unstable (0.90-3.1) and acknowledge it according to devref 5.11.4 - debian/rules: drop commented-out entry for override_dh_compress - debian/changelog: merge the 1.2+dfsg-1 & 1.3+dfsg-1 entries (since the former never got uploaded to sid) - explain to upstream (Dimitris in CC) why we're chopping off their tarball with respect to non-free pdf, and what they can do about it - fix lintian warning debian-watch-file-should-dversionmangle-not-uversionmangle Thanks again, Serafeim
Bug#758454: ITA: socnetv -- social network analysis and visualisation application
Hi Caitlin, Dimitris in CC (the upstream author) has just released version 1.3. Would you mind updating the package for it? Thanks Serafeim
Bug#758457: RFA: cflow -- Analyze control flow in C source files
Package: wnpp Severity: normal I request an adopter for the cflow package. The package description is: GNU cflow analyzes a collection of C source files and prints a graph, charting control flow within the program. . GNU cflow is able to produce both direct and inverted flowgraphs for C sources. Optionally a cross-reference listing can be generated. Two output formats are implemented: POSIX and GNU (extended). . Input files can optionally be preprocessed before analyzing. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#758455: RFA: bogofilter -- fast Bayesian spam filter (dummy package)
Package: wnpp Severity: normal I request an adopter for the bogofilter package. The package description is: This package implements a fast Bayesian spam filter along the lines suggested by Paul Graham in his article "A Plan For Spam". . This version substantially improves on Paul's proposal by doing smarter lexical analysis. In particular, hostnames and IP addresses are retained as recognition features rather than broken up. Various kinds of MTA cruft such as dates and message-IDs are discarded so as not to bloat the word lists. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#758456: RFA: beanstalkd -- simple, in-memory, workqueue service
Package: wnpp Severity: normal I request an adopter for the beanstalkd package. The package description is: Beanstalkd is a simple, fast, workqueue service (a specific case of message queueing), in which messages are organised in "tubes". Beanstalk clients can insert and consume messages into and from such tubes. . The beanstalk interface is generic, but was originally designed for reducing the latency of page views in high-volume web applications by running time-consuming tasks asynchronously. . Beanstalkd is meant to be ran in a trusted network, as it has no authorisation/authentication mechanisms. . This package has the server files. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#758454: RFA: socnetv -- social network analysis and visualisation application
Package: wnpp Severity: normal I request an adopter for the socnetv package. The package description is: SocNetV is a graphical application designed to be an easy tool for Social Networks Analysis and Visualisation (not to be confused with social networking, as in online communities). With it, one can load and visualise networks of various formats (GraphViz, Adjacency, Pajek, etc), and/or visually create and modify a network in a point and click fashion. . The program can also compute network statistics and properties (such as distances, centralities, diameter) and apply some layout algorithms for more meaningful visualisation of your networks. Furthermore, socnetv can create simple random networks (lattice, same degree, etc). -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#733866: nyancat-server: drop reconf-inetd dependency
Hi Jonathan, > What are my options apart from manually removing reconf-inet's entries > from /etc/inetd.conf and restart inetd using invoke-rc.d? > It's unfortunate that the same link is used for both reconf-inetd and systemd. Can't you ship a new systemd service file that refers to another (newly shipped) link? Failing that, you can always do it manually (it's ugly but you wouldn't be the first, and it's a one-off solution anyhow). Cheers, Serafeim
Bug#750944: RM: nodebox-web -- ROM; low popcon, no response to RFA
Package: ftp.debian.org Severity: normal >From my RFA, #749340, two weeks ago: I request an adopter for the nodebox-web package. I packaged it several years ago because it was needed for another package, one that is not in the Debian archive anymore. nodebox-web has low popcon and no rdepends, so adopt it only if you (plan to) use it yourself. I intend to request its removal from the archive if nobody steps up within a few weeks. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#736327: an update on the situation
Hi Jon, On Thu, May 29, 2014 at 07:54:11PM +0100, Jonathan Dowland wrote: > I've recently revisited this issue. I've discovered two things: firstly, there > are two distinct class heirarchies/families within the 'mailbox' library: the [..] Thanks for your interest in archivemail. In case you've not noticed, archivemail has been removed from testing due to #724043 (which is trivial to fix, but the maintainer is MIA and nobody else bothered). If you care enough, I would encourage you to step up and make an NMU for both bugs. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#749340: RFA: nodebox-web -- collection of web-related Python modules
Package: wnpp Severity: normal I request an adopter for the nodebox-web package. I packaged it several years ago because it was needed for another package, one that is not in the Debian archive anymore. nodebox-web has low popcon and no rdepends, so adopt it only if you (plan to) use it yourself. I intend to request its removal from the archive if nobody steps up within a few weeks. The package description is: Nodebox Web is a collection of Python modules to get content from the web. One can query Yahoo! and Google for links, images, news and spelling suggestions, read RSS and Atom newsfeeds, retrieve articles from Wikipedia, collect quality images from morgueFile or Flickr, browse through HTML documents, clean up HTML, validate URLs, and create GIF images from math equations using mimeTeX. . The library uses a caching mechanism that stores things you download from the web, so they can be retrieved faster the next time. Many of the services also work asynchronously. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#749339: O: cflow -- Analyze control flow in C source files
Package: wnpp Severity: normal I intend to orphan the cflow package; I don't have the time for it. The package description is: GNU cflow analyzes a collection of C source files and prints a graph, charting control flow within the program. . GNU cflow is able to produce both direct and inverted flowgraphs for C sources. Optionally a cross-reference listing can be generated. Two output formats are implemented: POSIX and GNU (extended). . Input files can optionally be preprocessed before analyzing. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#746814: Should build against and link with system's libtrio
Bonjour Didier! On Sat, May 03, 2014 at 11:35:59PM +0200, Didier Raboud wrote: > I've noticed that bogofilter embeds a copy of libtrio's source files; the > build system > should ensure that libtrio-dev's header files are used and that bogofilter is > linked > against the system version of libtrio. Thanks for the heads-up and giving me the excuse to indulge into the joy of autoconf incantations :) FWIW bogofilter also embeds a (forked, slightly modified) version of gnu gcl. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#733866: nyancat-server: drop reconf-inetd dependency
Hi Jon, On Sat, Apr 12, 2014 at 09:37:51PM +0100, Jonathan McCrohan wrote: > Given that you have already orphaned both reconf-inetd and update-inetd, > and nobody else has come forward, I think it would be best for nyancat > not to depend on either of them. I've RFA'd them; I'm still the maintainer. > I have already created systemd service files for nyancat and sent them > upstream. I would like to use systemd on linux, with perhaps manual > instructions on !linux archs. Sounds great. > Can you please provide a tested patch to cleanly remove any existing > entries in /etc/inetd.conf prior to systemd service file installation? I recalled that nyancat-server was a symlink just for reconf-inetd, so you can stop shipping it. If you also stop shipping the reconf-inet fragments, then reconf-inetd will remove its inetd.conf entries upon upgrading to the new package (via a dpkg trigger, ie. you don't need to call anything on postinst, in fact you should drop postinst altogether). Here's a tested patch (not including dropping the postinst file, which is a no-op for upgrading from wheezy onwards): diff -Nurp orig/nyancat-1.2.2/debian/nyancat-server.install patched2/nyancat-1.2.2/debian/nyancat-server.install --- orig/nyancat-1.2.2/debian/nyancat-server.install2013-06-04 22:06:46.0 +0100 +++ patched2/nyancat-1.2.2/debian/nyancat-server.install1970-01-01 01:00:00.0 +0100 @@ -1,2 +0,0 @@ -debian/reconf-inetd/nyancat-server.tcp usr/share/reconf-inetd/ -debian/reconf-inetd/nyancat-server.tcp6 usr/share/reconf-inetd/ diff -Nurp orig/nyancat-1.2.2/debian/nyancat-server.links patched2/nyancat-1.2.2/debian/nyancat-server.links --- orig/nyancat-1.2.2/debian/nyancat-server.links 2013-06-04 22:06:46.0 +0100 +++ patched2/nyancat-1.2.2/debian/nyancat-server.links 2014-04-13 22:07:19.0 +0100 @@ -1,2 +1 @@ -usr/bin/nyancat usr/bin/nyancat-server -/usr/share/man/man1/nyancat.1.gz /usr/share/man/man1/nyancat-server.1.gz cheers, -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#733866: nyancat-server: drop reconf-inetd dependency
Hi Jon, On Tue, Apr 01, 2014 at 11:51:09PM +0100, Jonathan McCrohan wrote: > Hi Serafeim, > > On 02/01/14 23:13, Serafeim Zanikolas wrote: > > Here's a list of instructions instead: > > > > - don't ship anything under /usr/share/reconf-inetd/ > > - replace dependency on reconf-inetd with one on update-inetd > > - revert postinst script to the one you had before, and put > > "reconf-inetd || true" before invoking "update-inetd --add ..." > > (the former will remove any entries added by reconf-inetd, for which > > there's > > no fragment under /usr/share/reconf-inetd) > > > > Let me know if you run into any issues. > > Have you tested this yourself? I have tried above and it doesn't work. I haven't tested it, and in fact my suggestion shouldn't work (sorry). I didn't remember that reconf-inetd won't delete an inetd.conf entry that refers to an existing path (that's a feature; see table in http://dep.debian.net/deps/dep9/#index3h1). > How you do you propose you fix this? I see two alternatives. Either we leave nyancat on reconf-inetd (it does work and in fact it's the only way to have both ip4 & ipv6 entries, it's just that it doesn't make much sense to keep reconf-inetd for just one package). Alternatively, you can put in postinst "update-inetd --multi --pattern nyancat --remove telnet" on the condition that the nyancat server package is being upgraded from 1.2.2-1 (the latest version that uses reconf-inetd) *and* inetd.conf has telnet entries exactly as they were shipped by that version. That's more or less the example snippet at http://dep.debian.net/deps/dep9/#index5h1 but adding the new entries with update-inetd (instead of reconf-inetd). If you're okay with the latter idea, I'll send you a patch. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#733866: nyancat-server: drop reconf-inetd dependency
Hi Jon, On Thu, Jan 02, 2014 at 02:33:22AM +, Jonathan McCrohan wrote: > Can you please supply a patch for this. DEP9 provides no guidance on how > correctly to migrate users away from reconf-inetd in the postinst. Here's a list of instructions instead: - don't ship anything under /usr/share/reconf-inetd/ - replace dependency on reconf-inetd with one on update-inetd - revert postinst script to the one you had before, and put "reconf-inetd || true" before invoking "update-inetd --add ..." (the former will remove any entries added by reconf-inetd, for which there's no fragment under /usr/share/reconf-inetd) Let me know if you run into any issues. Cheers, -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#733866: nyancat-server: drop reconf-inetd dependency
Package: nyancat-server Version: 1.2.2-1 Severity: normal Hi, I plan to remove reconf-inetd from the Debian archive, since jessie will most likely be released with a modern init system which makes inetd even more irrelevant (and thus reconf-inetd not a worthwhile project). Please drop nyncat-server's dependency on reconf-inetd (eg. by switching back to update-inetd). Thanks for giving a try to reconf-inetd and apologies for the wasted time in doing so. Thanks, Serafeim -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#728579: O: pdfshuffler -- merge, split and re-arrange pages from PDF documents
Package: wnpp Severity: normal I have orphaned the pdfshuffler package due to no interest in it. The package description is: PDF-Shuffler is a small application which allows one to merge or split pdf documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#719794: RFA: update-inetd -- inetd configuration file updater
Package: wnpp Severity: normal I request an adopter for the update-inetd package. The package description is: This package provides a program used by other packages to automatically update /etc/inetd.conf, the configuration file shared by all implementations of the Internet super-server. . Note that xinetd is not supported by this package. update-inetd is a native package, implemented in perl, and with system tests in python. update-inetd has serious design flaws and is meant to be replaced by another tool, as described in DEP9 (http://dep.debian.net/deps/dep9/) The adopter should look at DEP9, and consider also adopting reconf-inetd (also RFA'd, see #719792). -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#719792: RFA: reconf-inetd & DEP9 -- maintainer script for programmatic updates of inetd.conf
Package: wnpp Severity: normal I request an adopter for the reconf-inetd package. The package description is: reconf-inetd is a dpkg-trigger script that updates the configuration of the internet superserver. It is a replacement for update-inetd, as per DEP9. . If the above does not mean anything to you, then you most certainly do not need this package. I do not have the time to be the sole driver of DEP9, and its implementation, reconf-inetd. reconf-inetd is pretty much complete, it works, and it comes with dozens of system tests. Remaining work includes: - port to python 3 - use of a Debian python helper to manage byte-compilation - file bug reports to the reverse dependencies of update-inetd to migrate to reconf-inetd, as described in DEP9 (which also describes how to prepare patches) The last item is a lot of work, and will require interacting with lots of other maintainers via the BTS. The adopter must know python (reconf-inetd is a native package), have packaging experience, and lots of motivation. I'm not sure anymore whether DEP9 (ie. replacing update-inetd with reconf-inetd) is worthwhile, because inetd (which is what update/reconf-inetd configure) will eventually be deprecated by systemd and upstart. Having said that, inetd is unlikely to vanish anytime now, and in the meantime update-inetd is buggy and has 120k installations. I'll be around to sponsor (if necessary) & answer questions, but will otherwise not be actively involved. Links: - functional description of reconf-inetd & plan of migration away from update-inetd: http://dep.debian.net/deps/dep9/ - pts & git: http://packages.qa.debian.org/r/reconf-inetd.html http://git.debian.org/?p=collab-maint/reconf-inetd.git;a=summary - vaguely related talk at fosdem (includes a description of the reconf-inetd system tests) http://video.fosdem.org/2012/crossdistro/How_to_replace_a_legacy_tool_with_100k_installations.webm -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#441689: refreshed patch for the current apt-listbugs release
Attached the patch that was submitted six(!) years ago, refreshed for current apt-listbugs. I've modified it to change -F to a boolean switch, rather than one that requires an argument (as per msg #30 in this bug report). As discussed off-line, it'd be great if force-pin would default to true in case of failure to open /dev/tty. -- Every great idea is worthless without someone to do the work. --Neil Williams diff --git a/apt-listbugs b/apt-listbugs index 251b5dd..fbbc815 100755 --- a/apt-listbugs +++ b/apt-listbugs @@ -125,6 +125,12 @@ apt-listbugs [-h] [-v] [-s ] [-T ] [-S ] [-B ] [ Specifies the apt configuration file to use. +* -F | --force-pin + + When set it will automatically pin all packages without any prompt. If not + specified in the command line, apt.conf is consulted for + AptListbugs::Force-Pin. + * -y, --force-yes Assumes that you select yes for all questions. @@ -211,8 +217,6 @@ notable configuration options are Summary: apt-listbugs(2 bugs) - - == EXIT CODE : 0 diff --git a/lib/apt-listbugs/logic.rb b/lib/apt-listbugs/logic.rb index 66dec3c..c994f61 100644 --- a/lib/apt-listbugs/logic.rb +++ b/lib/apt-listbugs/logic.rb @@ -55,6 +55,7 @@ class AppConfig _(" -E: Title of RSS output.\n"), _(" -q : Don't display progress bar.\n"), _(" -C : apt.conf file to use.\n"), + _(" -F : Pin any package found with a bug and exit.\n"), _(" -y : Assume that you select yes for all questions.\n"), _(" -n : Assume that you select no for all questions.\n"), _(" -d : Debug.\n"), @@ -95,6 +96,7 @@ class AppConfig @apt_conf = nil @yes = nil +@force_pin = false @arrow = "->" @xarrow = "->" @@ -106,7 +108,7 @@ class AppConfig attr_accessor :severity, :stats, :quiet, :title attr_accessor :show_downgrade, :hostname, :tag, :fbugs - attr_accessor :frontend, :pin_priority, :yes, :ignore_regexp + attr_accessor :frontend, :pin_priority, :yes, :ignore_regexp, :force_pin attr_reader :command, :parser, :querybts, :ignore_bugs, :system_ignore_bugs, :browser, :arrow, :xarrow def parse_options @@ -124,6 +126,7 @@ class AppConfig ['--title', '-E', GetoptLong::REQUIRED_ARGUMENT], ['--quiet', '-q', GetoptLong::NO_ARGUMENT], ['--aptconf', '-C', GetoptLong::REQUIRED_ARGUMENT], + ['--force-pin', '-F', GetoptLong::NO_ARGUMENT], ['--force-yes', '-y', GetoptLong::NO_ARGUMENT], ['--force-no', '-n', GetoptLong::NO_ARGUMENT], ['--debug', '-d', GetoptLong::NO_ARGUMENT] @@ -171,6 +174,8 @@ class AppConfig @yes = true when '--force-no' @yes = false +when '--force-pin' + @force_pin = true end } rescue GetoptLong::AmbigousOption, GetoptLong::NeedlessArgument, @@ -179,6 +184,13 @@ class AppConfig exit 1 end +if @force_pin.nil? + if /true/ =~ `apt-config #{@apt_conf} shell force_pin AptListbugs::Force-Pin` +@force_pin = true + end +end +@force_pin = false if @force_pin.nil? + if ! $stdout.isatty @quiet = true @yes = false if @yes.nil? @@ -359,22 +371,28 @@ class Viewer answer = "n" hold_pkgs = [] while true -ask_str = _("Are you sure you want to install/upgrade the above packages?").dup -if @config.querybts != nil || @config.browser != nil - if hold_pkgs.empty? -ask_str << " [Y/n/?/...]" +if @config.force_pin + @config.frontend.puts $intl._("Pinning all ackages at your request ...") + a = "p" +else + ask_str = _("Are you sure you want to install/upgrade the above packages?").dup + if @config.querybts != nil || @config.browser != nil +if hold_pkgs.empty? + ask_str << " [Y/n/?/...]" +else + ask_str << " [N/?/...]" +end else -ask_str << " [N/?/...]" +ask_str << " [Y/n]" + end + if @config.yes.nil? +a = @config.frontend.ask ask_str + else +a = "y" if @config.yes +a = "n" if ! @config.yes end -else - ask_str << " [Y/n]" -end -if @config.yes.nil? - a = @config.frontend.ask ask_str -else - a = "y" if @config.yes - a = "n" if ! @config.yes end + if a == "" if hold_pkgs.empty? answer = "y" @@ -456,7 +474,9 @@ class Viewer } end if pkgs.size != 0 -if @config.frontend.yes_or_no? ngettext( +if @config.force_pin + h = pinned(pkgs.keys, cur_pkgs, bugs) +elsif @config.front
Bug#671728: AptHookFd test fixture script
Francesco, As discussed off-line, here's a script to somewhat emulate apt's behaviour according to the patch in this bug report, for the sake of testing. -- Every great idea is worthless without someone to do the work. --Neil Williams apt-hook-fd-fixture.rb Description: application/ruby
Bug#671726: apt: should be able to provide hook information through a named pipe
Daniel, David, On Sun, Mar 17, 2013 at 11:52:49PM +0100, Serafeim Zanikolas wrote: > On Sun, Mar 17, 2013 at 08:15:32PM +0800, Daniel Hartwig wrote: > > On 17 March 2013 19:56, Serafeim Zanikolas wrote: > > > On Sun, Mar 17, 2013 at 02:14:50PM +0800, Daniel Hartwig wrote: > > >> The data can be passed through an open fd, similar to dpkg --status-fd > > >> argument. Then there are no issues due to filesystems global > > >> namespace and it removes the fs as an unrequired middle-man. > > > [..] > Attached the updated patches for apt and apt-listbugs, which implement > Daniel's proposal of using an fd rather than a fifo. Ping? Is there anything blocking the application of this patch? cheers, sez (currently at DebConf) -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#705199: reconf-inetd: use a debian python helper to manage byte-compiled files
Package: reconf-inetd Version: 1.120603 Severity: normal -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#705198: reconf-inetd: port to python 3k
Package: reconf-inetd Version: 1.120603 Severity: normal -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#628996: apt-listbugs: please use debconf
Hi Francesco, On Sun, Apr 07, 2013 at 07:22:27PM +0200, Francesco Poli wrote [edited]: > On Sun, 24 Mar 2013 01:09:43 +0100 Serafeim Zanikolas wrote: > The current apt-listbugs text user interface displays the bugs that > affect the installation/upgrade and then offers the user the following > possible choices: > * go on > * go on and permanently mark the bugs as ignored > * stop everything > * display one bug log > * pin some or all the packages > * mark a bug as ignored > * open a browser to display one bug log > > How can we do something similar via debconf without forcing the user to > go through a tree of multiple successive screens (that would feel like > a horrible call center menu system: "dial 1 to learn about our > fantastic promotional offers, dial 2 to receive commercial > assistance, ...")? I care about implementing the two basic use cases (newbie & advanced) in the simplest possible interaction using debconf -- to ease integration with higher-level programs, so that Debian testing users (read: Desktop users that normally don't use a terminal) can benefit from latest updates while avoiding RC bugs. The rest of the choices are secondary for these two specific use cases. Newbies wouldn't even see the debconf screen and advanced users know how to lookup a bug report given its number. You've made it clear that you care about preserving all current choices. I don't agree, but I sense that a debate would be pointless, so that leaves us with one choice: default to the current (feature rich, terminal-based) interaction mode, and support the (simple & scriptable) debconf one as an option eg. via an environment variable. > > Going forward from here, one possibility would be for the apt-listbugs ruby > > script to invoke the debconf script (passing on the package/bug num/bug > > title > > info and getting back the user reply, via a tempfile or something along > > those > > lines). > > To be frank, I am not too enthusiastic about the idea to let a Ruby > program invoke a POSIX shell script in order to get a user interface... You get a bit more than a user interface: an implementation of the debconf protocol. > If we have to implement a debconf interface for apt-listbugs, I would > strongly prefer that it be done directly in Ruby. Sure, in a world of infinite available time we'd all prefer that. In reality, I'd go for the least amount of work which is a shell script, and I expect you to accept such a patch if it works as advertised. You are, of course, most welcome to put in the extra effort to implement a ruby debconf library. cheers, sez -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#704288: Upstream version 1.8 is out
On Sun, Mar 31, 2013 at 10:50:46AM +0200, Dennis Kaarsemaker wrote: > Package: beanstalkd > Version: 1.7-1 > > Beanstalkd is quite often going berserk and using 10% CPU on my machine. > Looking at the beanstalkd bugtracker, this should be fixed in 1.8, which > was released a few months ago. Thanks for the report. Uploads to unstable are best avoided during the freeze, but this sounds severe enough to warrant an upload. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#704256: reconf-inetd: add support for unlisted services
Package: reconf-inetd Version: 1.120603 Severity: wishlist reconf-inetd currenly only supports services that are associated with a well-known port (by being listed in /etc/services). unlisted services, such as approx, cannot be migrated to reconf-inetd until this bug is fixed. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#628996: Fwd: [OT] flag RC-buggy packages to users of testing
- Forwarded message - From: Serafeim Zanikolas To: debian-v...@lists.debian.org Subject: [OT] flag RC-buggy packages to users of testing [M-F-T set to 628...@bugs.debian.org, as I believe this is becoming OT] On Tue, Mar 12, 2013 at 12:17:29PM +0800, Paul Wise wrote: [..] > On Tue, Mar 12, 2013 at 3:30 AM, Moray Allan wrote: [..] > > Flag up RC bugs: To tackle things earlier in the cycle, perhaps we could > > push use of some tools[1] that more actively flag up new RC-buggy packages > > to users of testing? > > There is apt-listbugs but does that work for things like PackageKit or > software-center? software-center is unaware of apt-listbugs and PackageKit explicitly disables it (because it otherwise hangs while apt-listbugs waits for console-based input). Two things need to happen: - apt-listbugs design should be revised for invocation by programs (as opposed to manual/interactive invocation) - high level package managers must learn how to interact with apt-listbugs -- Every great idea is worthless without someone to do the work. --Neil Williams - End forwarded message - -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#660569: leafnode: please migrate away from update-inetd to reconf-inetd as per DEP9
Control: tag -1 +patch Control: severity -1 normal Control: affects 638791 +leafnode Hi, Please find attached a patch for migrating your package to reconf-inetd, as per dep9 [0], in order to eliminate cross-package issues such as #168847. I'll be happy to answer any questions. cheers, sez [0] http://dep.debian.net/deps/dep9/#index5h1 -- Every great idea is worthless without someone to do the work. --Neil Williams commit 8b9b33eb0218b54858f574bde051182fdfe712af Author: Serafeim Zanikolas Date: Sun Mar 24 20:23:40 2013 +0100 inetd.conf entry: migrate away from inetd-conf to reconf-inetd diff --git a/debian/control b/debian/control index 9234722..9a89114 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Architecture: any Provides: news-transport-system Conflicts: news-transport-system, newsx Depends: netbase, tcpd, logrotate, openbsd-inetd | inet-superserver, - ${shlibs:Depends}, ${misc:Depends} + reconf-inetd, ${shlibs:Depends}, ${misc:Depends} Suggests: slrn | news-reader, ${perl:Depends} Description: NNTP server for small leaf sites Leafnode is a news server suitable for small, limited-bandwidth sites diff --git a/debian/leafnode.dirs b/debian/leafnode.dirs index 594cce4..1f3b714 100644 --- a/debian/leafnode.dirs +++ b/debian/leafnode.dirs @@ -12,3 +12,4 @@ usr/share/man/man1 usr/share/man/man8 usr/share/leafnode usr/share/bug +usr/share/reconf-inetd diff --git a/debian/leafnode.postinst b/debian/leafnode.postinst index f7982bb..78e64ab 100644 --- a/debian/leafnode.postinst +++ b/debian/leafnode.postinst @@ -188,6 +188,29 @@ NETWORK=permanent\\" < /etc/news/leafnode/debian-config > /etc/news/leafnode/deb ${TEXPIRE} -r fi fi +# +# This enables leafnode in inetd.conf, by removing the line using +# update-inetd and adding it with reconf-inetd. Assuming that the switch +# happens in jessie, this whole snippet can be dropped in jessie+1. +# +# the exact inetd.conf entry, as previously added using update-inetd +OLD_INETD_ENTRY="nntp stream tcp nowait news/usr/sbin/tcpd /usr/sbin/leafnode" +# last package release before switching to reconf-inetd +REL="2.0.0.alpha20090406a-1" + +# remove inetd.conf entry if not modified locally, and not managed +# already by reconf-inetd +if dpkg --compare-versions "$2" le-nl "$REL"; then +if fgrep -qx "$OLD_INETD_ENTRY" /etc/inetd.conf || \ + fgrep -qx "## $OLD_INETD_ENTRY" /etc/inetd.conf; +then +# remove all inetd.conf entries for leafnode +update-inetd --pattern leafnode --remove nntp || true +# re-add entries that are managed by reconf-inetd +reconf-inetd || true +fi +fi + fi # Old versions had this line wrong in the config file. Correct. @@ -197,13 +220,7 @@ if grep -q maxcount /etc/news/leafnode/config; then rm -f /etc/news/leafnode/config.new fi -# -# This enables leafnode in inetd.conf, so save for "last". -# -update-inetd --comment-chars "#disabled#" --disable nntp -update-inetd --group MAIL --add --comment-chars "#disabled#" \ - "nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode" if [ "$1" = "purge" ]; then db_purge || true diff --git a/debian/leafnode.postrm b/debian/leafnode.postrm index d00d93a..a06a547 100644 --- a/debian/leafnode.postrm +++ b/debian/leafnode.postrm @@ -41,8 +41,6 @@ case "$1" in fi ;; remove) - update-inetd --remove ".*leafnode.*" - update-inetd --comment-chars "#disabled#" --enable nntp ;; upgrade|deconfigure) ;; diff --git a/debian/reconf-inetd/leafnode.tcp b/debian/reconf-inetd/leafnode.tcp new file mode 100644 index 000..3c509ea --- /dev/null +++ b/debian/reconf-inetd/leafnode.tcp @@ -0,0 +1,9 @@ +service nntp +{ + socket_type = stream + protocol = tcp + wait = no + user = news + server = /usr/sbin/tcpd + server_args = /usr/sbin/leafnode +} diff --git a/debian/reconf-inetd/leafnode.tcp6 b/debian/reconf-inetd/leafnode.tcp6 new file mode 100644 index 000..dc6b950 --- /dev/null +++ b/debian/reconf-inetd/leafnode.tcp6 @@ -0,0 +1,9 @@ +service nntp +{ + socket_type = stream + protocol = tcp6 + wait = no + user = news + server = /usr/sbin/tcpd + server_args = /usr/sbin/leafnode +} diff --git a/debian/rules b/debian/rules index 0d70ec1..9a86053 100755 --- a/debian/rules +++ b/debian/rules @@ -57,6 +57,7 @@ binary-arch: build (cd debian/leafnode/usr/share/doc/leafnode/examples ; ln -s ../../../leafnode/config.example . ) mv debian/leafnode/usr/share/man/man5/moderators.5 debian/leafnode/usr/share/man/man5/leafnode-moderators.5 touch debian/leafnode/etc/news/leafnode/local.groups + cp debian/reconf-inetd/leafnode.tcp debian/reconf-inetd/leafnode.tcp6 debian/leafnode/usr/share/reconf-inetd dh_installmenu dh_installdebconf dh_installcron
Bug#660568: linux-ftpd-ssl: please migrate away from update-inetd to reconf-inetd as per DEP9
Control: severity -1 normal Control: tag -1 +patch Hi, Please find attached a patch for migrating your package to reconf-inetd, as per dep9 [0], in order to eliminate cross-package issues such as #168847. I'll be happy to answer any questions. cheers, sez [0] http://dep.debian.net/deps/dep9/#index5h1 -- Every great idea is worthless without someone to do the work. --Neil Williams diff --git a/debian/control b/debian/control index f3db1fa..8fa9aae 100644 --- a/debian/control +++ b/debian/control @@ -7,7 +7,7 @@ Standards-Version: 3.9.1 Package: ftpd-ssl Architecture: any -Depends: openbsd-inetd | inet-superserver, libpam-modules, openssl (>= 0.9.8g-9), ${shlibs:Depends}, ${misc:Depends} +Depends: openbsd-inetd | inet-superserver, libpam-modules, openssl (>= 0.9.8g-9), ${shlibs:Depends}, ${misc:Depends}, reconf-inetd Provides: ftp-server Conflicts: ftp-server, ftpd Replaces: ftpd diff --git a/debian/dirs b/debian/dirs index 0ccb9c9..de748b1 100644 --- a/debian/dirs +++ b/debian/dirs @@ -3,3 +3,4 @@ usr/share/man/man5 usr/share/man/man8 usr/sbin etc/ftpd-ssl +/usr/share/reconf-inetd diff --git a/debian/postinst b/debian/postinst index 434e7ae..d6a75cb 100644 --- a/debian/postinst +++ b/debian/postinst @@ -3,22 +3,28 @@ set -e -if grep -q '[[:blank:]]/usr/sbin/in\.ftpd.*-z' /etc/inetd.conf 2>/dev/null; then - update-inetd --pattern '/usr/sbin/in\.ftpd' --remove ".*ftp" -fi - -if grep -q '[[:blank:]]/usr/sbin/in\.ftpd\>' /etc/inetd.conf 2>/dev/null; then - if ! grep -q '^ftp\>' /etc/inetd.conf; then - update-inetd --pattern '/usr/sbin/in\.ftpd' --multi --enable ftp - fi -else - FTPENTRY="ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd" - if grep -q '^ftp\>' /etc/inetd.conf 2>/dev/null; then - update-inetd --group STANDARD --add "## $FTPENTRY" - else - update-inetd --group STANDARD --add "$FTPENTRY" - fi -fi +# assuming that ftpd-ssl migrates to reconf-inetd in jessie, this whole +# snippet can be removed completely in jessie+1. +# +# exact inetd.conf entry previously added using update-inetd +OLD_FTPENTRY="ftp stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.ftpd" +# last release that does not use reconf-inetd +REL="0.17.33+0.3-1" +case $1 in +configure) +# remove inetd.conf entry if not modified locally, and not managed +# already by reconf-inetd +if dpkg --compare-versions "$2" le-nl "$REL"; then +if fgrep -qx "$OLD_FTPENTRY" /etc/inetd.conf || \ + fgrep -qx "## $OLD_FTPENTRY" /etc/inetd.conf; then +# remove all inetd.conf entries for ftpd-ssl +update-inetd --pattern 'usr/sbin/in\.ftpd' --remove ftp || true +# re-add entries that are managed by reconf-inetd +reconf-inetd || true +fi +fi +;; +esac if [ ! -f /etc/inetd.conf -a -d /etc/xinetd.d -a -x /usr/sbin/xinetd ]; then cat <<-TEXT diff --git a/debian/postrm b/debian/postrm deleted file mode 100644 index 7f1a14d..000 --- a/debian/postrm +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -# $Id: postrm,v 1.1 1999/04/16 07:00:28 herbert Exp $ - -set -e - -if [ "$1" = purge ]; then - if command -v update-inetd >/dev/null 2>&1; then - update-inetd --pattern '/usr/sbin/in\.ftpd' --remove "## ftp" - fi -fi - -#DEBHELPER# diff --git a/debian/prerm b/debian/prerm deleted file mode 100644 index 48509b0..000 --- a/debian/prerm +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -# $Id: prerm,v 1.1 1999/04/16 07:00:29 herbert Exp $ - -set -e - -update-inetd --pattern '/usr/sbin/in\.ftpd' --multi --disable ftp - -#DEBHELPER# diff --git a/debian/reconf-inetd/ftpd-ssl.tcp b/debian/reconf-inetd/ftpd-ssl.tcp new file mode 100644 index 000..63ffa30 --- /dev/null +++ b/debian/reconf-inetd/ftpd-ssl.tcp @@ -0,0 +1,9 @@ +service ftp +{ + socket_type = stream + protocol = tcp + wait = no + user = root + server = /usr/sbin/in.ftpd + server_args = -l +} diff --git a/debian/reconf-inetd/ftpd-ssl.tcp6 b/debian/reconf-inetd/ftpd-ssl.tcp6 new file mode 100644 index 000..fe49d6a --- /dev/null +++ b/debian/reconf-inetd/ftpd-ssl.tcp6 @@ -0,0 +1,10 @@ +service ftp +{ + flags = IPv6 + protocol = tcp6 + socket_type = stream + wait = no + user = root + server = /usr/sbin/in.ftpd + server_args = -l +} diff --git a/debian/rules b/debian/rules index 3ff01e5..47153c0 100755 --- a/debian/rules +++ b/debian/rules @@ -48,6 +48,7 @@ install: build cp debian/ftpchroot debian/ftpusers debian/ftpd-ssl/etc cp debian/pam.d/ftp debian/ftpd-ssl/etc/pam.d cp debian/openssl.cnf debian/ftpd-ssl/etc/ftpd-ssl/ + cp debian/reconf-inetd/* debian/ftpd-ssl/usr/share/reconf-inetd # Build architecture-independent files here. binary-indep: build install
Bug#628996: apt-listbugs: please use debconf
Hi guys, Attached a proof-of-concept for the advanced use case (in which the user actually wants to review which buggy packages to pin or upgrade). Consider this as a basis for further discussion, rather than something anywhere near a working patch. To give it a try, save the attached files in the same directory (doesn't matter where), make apt-listbugs executable and run it as root (debconf needs to write /var/cache/debconf/{config,templates}.dat). The template file declares the contents of the debconf screen, whereby the multi-choice options are populated by the shell script via the $packages variable. The script overrides the "seen" debconf flag so that the question is asked every single time (to override the default debconf behaviour; feels like a hack). Going forward from here, one possibility would be for the apt-listbugs ruby script to invoke the debconf script (passing on the package/bug num/bug title info and getting back the user reply, via a tempfile or something along those lines). One issue with the debconf approach is that you can't fire up a browser to lookup a bug report before making the pin/upgrade decision (something that's possible with the current non-debconf based interaction). You also can't ^Z the debconf screen to do so manually. Any ideas about working around this? Another issue that should be straightforward: use debconf in postinst to ask the user to choose between newbie and advance use (ie. whether one should go through the above dialog on every invocation, or let apt-listbugs upgrade only non-rc-buggy packages without asking) -- defaulting to newbie mode? cheers, sez -- Every great idea is worthless without someone to do the work. --Neil Williams #!/bin/sh set -e export DEBCONF_DEBUG=developer # debconf fails when DEBCONF_PACKAGE is set, but without it the # template entry in /var/cache/dpkg/config.dat has an unkown Owner, # which means that we can't remove it when apt-listbugs is purged. #export DEBCONF_PACKAGE="apt-listbugs" # other values: text, dialog, kde, web (the two latter hang for me) #export DEBIAN_FRONTEND=gnome # source debconf libary. . /usr/share/debconf/confmodule # to be constructed on the fly, based on apt & bts input PACKAGES="package0 #abcdef (short description), package1 #abcdef (short description)" # ask debconf to *always* show this question. without this, the # question will be shown only the first time, even for different # value sof $PACKAGES db_fset apt-listbugs/select-packages seen false # populate the template question with the list of RC-buggy packages # and associated bug numbers db_subst apt-listbugs/select-packages packages "$PACKAGES" # priority has to be high-enough, otherwise priority overrides the "seen: false" false db_input critical apt-listbugs/select-packages || true db_go || true db_get apt-listbugs/select-packages || true PACKAGES_TO_UPGRADE="$RET" # Close all fd's db_stop exit 0 Template: apt-listbugs/select-packages Type: multiselect Choices: ${packages} Description: Select packages to upgrade, at your own risk: The packages below will be pinned to the currently installed version, because their latest version is known to have a serious bug. . If you know what you are doing, you can nevertheless upgrade certain packages by selecting them in the list below.
Bug#702233: Patches so far
Hi Uli, Any progress on the upload that you were preparing for this past week? cheers, sez -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#693577: libfso-glib: not properly built from source (actual source is in fso-specs)
Control: tag -1 -pending Removing months-old pending tag. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#703731: unblock: keepassx/0.4.3+dfsg-0.1
Package: release.debian.org Severity: normal User: release.debian@packages.debian.org Usertags: unblock Please unblock package keepassx Sourceful NMU keepassx/0.4.3+dfsg-0.1 fixes RC bug #698832 (missing origin and license of image icons). Note, the bug has not been closed upon acceptance to sid because of a typo in the changelog entry; I've sent a notfound command to control@bugs.d.o but it's not applied as of this momment. Here's the diffstat: LICENSE.LGPL-2.1 | 502 +++ LICENSE.LGPL-3 | 165 +++ debian/README.source | 18 + debian/changelog | 18 + debian/copyright | 205 ++ debian/watch |3 share/keepassx/icons/clientic.png|binary share/keepassx/icons/text_block.png |binary share/keepassx/icons/text_bold.png |binary share/keepassx/icons/text_center.png |binary share/keepassx/icons/text_italic.png |binary share/keepassx/icons/text_left.png |binary share/keepassx/icons/text_right.png |binary share/keepassx/icons/text_under.png |binary 14 files changed, 909 insertions(+), 2 deletions(-) ... the source diff (OK'ed by keepassx uploader fgeyer@d.o at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698832#74): diff -Nurp keepassx-0.4.3/debian/changelog felix/keepassx-0.4.3+dfsg/debian/changelog --- keepassx-0.4.3/debian/changelog 2012-04-07 18:17:45.0 +0200 +++ felix/keepassx-0.4.3+dfsg/debian/changelog 2013-03-20 18:03:52.0 +0100 @@ -1,3 +1,21 @@ +keepassx (0.4.3+dfsg-0.1) unstable; urgency=high + + * Non-maintainer upload. + * Use repackaged upstream tarball by Felix Geyer, which replaces icons of +unknown origin (clientic.png text_block.png text_bold.png text_center.png +text_italic.png text_left.png text_right.png text_under.png) and adds full +text of associated licenses (LICENSE.LGPL-2.1 LICENSE.LGPL-3). + * Use patch by Felix Geyer to update debian/copyright with the origin and +license of png files, and update README.source accordingly. + * Additionally, update debian/copyright to document the origin and copyright +of go-*.png and help_about.png icons (project Oxygen, and license CC-BY-SA +3.0 or LGPL respectively). + * The above three items close #698832 + * Update debian/watch for version mangling. + * Setting high urgency due to RC bug. + + -- Serafeim Zanikolas Wed, 20 Mar 2013 14:04:39 +0100 + keepassx (0.4.3-2) unstable; urgency=low * Fix FTBFS with gcc 4.7. (Closes: #667224) diff -Nurp keepassx-0.4.3/debian/copyright felix/keepassx-0.4.3+dfsg/debian/copyright --- keepassx-0.4.3/debian/copyright 2012-04-07 18:14:51.0 +0200 +++ felix/keepassx-0.4.3+dfsg/debian/copyright 2013-03-20 17:45:32.0 +0100 @@ -158,4 +158,207 @@ src/crypto/twofish.cpp: * might very well be flawed; you have been warned. * This software is provided as-is, without any kind of warrenty or * guarantee. And that is really all you can expect when you download - * code for free from the Internet. + * code for free from the Internet. + + +share/keepassx/icons/alarmclock.png +share/keepassx/icons/appsettings.png +share/keepassx/icons/autotype.png +share/keepassx/icons/clock.png +share/keepassx/icons/cloneentry.png +share/keepassx/icons/copypwd.png +share/keepassx/icons/copyusername.png +share/keepassx/icons/dbsettings.png +share/keepassx/icons/delete.png +share/keepassx/icons/deleteentry.png +share/keepassx/icons/deletegroup.png +share/keepassx/icons/dice.png +share/keepassx/icons/document.png +share/keepassx/icons/down.png +share/keepassx/icons/editentry.png +share/keepassx/icons/expired.png +share/keepassx/icons/fileclose.png +share/keepassx/icons/filedelete.png +share/keepassx/icons/filenew.png +share/keepassx/icons/fileopen.png +share/keepassx/icons/filesave.png +share/keepassx/icons/filesaveas.png +share/keepassx/icons/generator.png +share/keepassx/icons/help.png +share/keepassx/icons/key.png +share/keepassx/icons/manual.png +share/keepassx/icons/newentry.png +share/keepassx/icons/openurl.png +share/keepassx/icons/swap.png +share/keepassx/icons/templates.png +share/keepassx/icons/trashcan.png +share/keepassx/icons/up.png +share/keepassx/icons/dbsearch.png +share/keepassx/icons/editgroup.png +share/keepassx/icons/filesavedisabled.png +share/keepassx/icons/groupsearch.png +share/keepassx/icons/newgroup.png +share/keepassx/icons/restore.png: + +These files are from the Nuvola icon theme and are partly modified. + +Copyright 2003-2004 David Vignoni +Copyright 2006 Tarek Saidi + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT A
Bug#703725: unblock: apt-spacewalk/1.0.6-2.1
Package: release.debian.org Severity: normal User: release.debian@packages.debian.org Usertags: unblock Please unblock package apt-spacewalk It fixes RC bugs #703207, #700821 (both reports are about the same issue; please consult #700821 for details). FWIW the NMU has been welcomed privately to me by package uploader bernd. Here's the diff against 1.0.6-2: diff -Nurp orig/apt-spacewalk-1.0.6/50spacewalk apt-spacewalk-1.0.6/50spacewalk --- orig/apt-spacewalk-1.0.6/50spacewalk2012-06-17 12:24:16.0 +0200 +++ apt-spacewalk-1.0.6/50spacewalk 2013-03-20 15:23:00.0 +0100 @@ -11,5 +11,5 @@ APT { } }; DPkg::Post-Invoke { -"/usr/lib/apt-spacewalk/post_invoke.py"; +"if [ -x /usr/lib/apt-spacewalk/post_invoke.py ]; then /usr/lib/apt-spacewalk/post_invoke.py; fi"; }; diff -Nurp orig/apt-spacewalk-1.0.6/debian/changelog apt-spacewalk-1.0.6/debian/changelog --- orig/apt-spacewalk-1.0.6/debian/changelog 2013-03-20 14:02:02.0 +0100 +++ apt-spacewalk-1.0.6/debian/changelog2013-03-20 15:45:04.0 +0100 @@ -1,3 +1,13 @@ +apt-spacewalk (1.0.6-2.1) unstable; urgency=high + + * Non-maintainer upload. + * Add postrm/preinst scripts for removing/disabling/enabling the apt hook +file, and change the latter to test the existence of post_invoke.py before +invoking it (Closes: #703207, 700821). + * Setting high urgency due to RC bugs + + -- Serafeim Zanikolas Wed, 20 Mar 2013 13:45:30 +0100 + apt-spacewalk (1.0.6-2) unstable; urgency=low * [22c43b83] Rename binary package to apt-transport-spacewalk diff -Nurp orig/apt-spacewalk-1.0.6/debian/postrm apt-spacewalk-1.0.6/debian/postrm --- orig/apt-spacewalk-1.0.6/debian/postrm 1970-01-01 01:00:00.0 +0100 +++ apt-spacewalk-1.0.6/debian/postrm 2013-03-20 14:01:28.0 +0100 @@ -0,0 +1,34 @@ +#! /bin/sh + +set -e + +hook=/etc/apt/apt.conf.d/50spacewalk + +case "$1" in +purge) +rm -f $hook.disabled +;; + +remove) +mv $hook $hook.disabled +;; + +abort-install) +if test "x$2" != "x" && test -f $hook +then +mv $hook $hook.disabled +fi +;; + +upgrade|failed-upgrade|abort-upgrade|disappear) +;; + +*) +echo "postrm called with unknown argument \`$1'" >&2 +exit 1 + +esac + +#DEBHELPER# + +exit 0 diff -Nurp orig/apt-spacewalk-1.0.6/debian/preinst apt-spacewalk-1.0.6/debian/preinst --- orig/apt-spacewalk-1.0.6/debian/preinst 1970-01-01 01:00:00.0 +0100 +++ apt-spacewalk-1.0.6/debian/preinst 2013-03-20 14:01:28.0 +0100 @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +hook=/etc/apt/apt.conf.d/50spacewalk +if test -f $hook.disabled +then +mv $hook.disabled $hook +fi + +#DEBHELPER# + +exit 0 $ debdiff /var/cache/apt/archives/apt-transport-spacewalk_1.0.6-2_all.deb \ apt-transport-spacewalk_1.0.6-2.1_all.deb [The following lists of changes regard files as different if they have different names, permissions or owners.] Files in second .deb but not in first - -rwxr-xr-x root/root DEBIAN/postrm -rwxr-xr-x root/root DEBIAN/preinst Control files: lines which differ (wdiff format) Installed-Size: [-89-] {+90+} Version: [-1.0.6-2-] {+1.0.6-2.1+} thanks, sez unblock apt-spacewalk/1.0.6-2.1 -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#703553: patch for delayed NMU
Control: tag -1 +pending Dear maintainer, I've uploaded an NMU to delayed/5, using a repackaged source based on Prach Pongpanich's patch. Please feel free to override it. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698832: NMU upload
Control: notfound -1 0.4.3+dfsg-0.1 On Thu, Mar 21, 2013 at 01:30:58PM +0100, Felix Geyer wrote: > The upload looks good except that it doesn't close this bug ("close" > vs. "closes" in the changelog). Oops, that's right. Thanks for the review. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#692948: patch
Control: tag -1 +patch Hi, Attached an NMU patch against 2.5.2~svn+54698.ds4-2 (which is now both in testing and sid). I wasn't able to reproduce the upgrade issue so I won't NMU unless someone that can do so verifies the fix. Damyan, you're of course welcome to take over if you find the time. -- Every great idea is worthless without someone to do the work. --Neil Williams diff -Nurp sid/firebird2.5-2.5.2~svn+54698.ds4/debian/changelog sid-patched/firebird2.5-2.5.2~svn+54698.ds4/debian/changelog --- sid/firebird2.5-2.5.2~svn+54698.ds4/debian/changelog 2013-03-18 16:23:51.0 +0100 +++ sid-patched/firebird2.5-2.5.2~svn+54698.ds4/debian/changelog 2013-03-21 18:46:06.0 +0100 @@ -1,3 +1,19 @@ +firebird2.5 (2.5.2~svn+54698.ds4-2.1) unstable; urgency=high + + * Non-maintainer upload. + * Apply fixes from Debian git repo: ++ [4b23b851] Damyan Ivanov : + *.postinst: prevent leaving empty directories from pre-common-doc times ++ [1723e16d]: Damyan Ivanov : + import functions.sh before using migrateDocSymlink + also include the usual boilerplate ++ [78abe27e] Slávek Banko : + add dependency -common on packages that use common functions.sh + * In migrateDocSymlink(), remove multi-arch string from pkg name, if any + * All the above close #692948 (high urgency due to RC severity) + + -- Serafeim Zanikolas Thu, 21 Mar 2013 17:32:04 +0100 + firebird2.5 (2.5.2~svn+54698.ds4-2) unstable; urgency=high * High urgency for upload fixing security issues diff -Nurp sid/firebird2.5-2.5.2~svn+54698.ds4/debian/control sid-patched/firebird2.5-2.5.2~svn+54698.ds4/debian/control --- sid/firebird2.5-2.5.2~svn+54698.ds4/debian/control 2013-03-18 15:24:11.0 +0100 +++ sid-patched/firebird2.5-2.5.2~svn+54698.ds4/debian/control 2013-03-21 18:05:59.0 +0100 @@ -175,6 +175,7 @@ Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}) Description: Firebird UDF support library Firebird is a relational database offering many ANSI SQL-99 features that @@ -210,6 +211,7 @@ Description: common files for firebird 2 Package: firebird2.5-server-common Architecture: any Depends: adduser, ${misc:Depends}, ${shlibs:Depends}, + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}) Conflicts: firebird2.1-server-common, firebird2.0-server-common @@ -231,6 +233,7 @@ Conflicts: firebird-udf, firebird-utils, firebird2.1-classic, firebird2.1-super, firebird2.0-super, firebird2.0-classic Depends: ${misc:Depends}, ${shlibs:Depends}, + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}) Description: common files for firebird 2.5 "classic" and "superclassic" This package contains the command line utilities and UDFs (user-defined @@ -249,6 +252,7 @@ Replaces: firebird2.0-dev, firebird2.1-d Provides: firebird2.1-dev, firebird2.5-dev Depends: libfbclient2 (= ${binary:Version}), libib-util, ${misc:Depends}, + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}) Suggests: libfbembed2.5, firebird2.5-examples Description: Development files for Firebird - an RDBMS based on InterBase 6.0 code @@ -261,6 +265,7 @@ Package: firebird2.5-examples Section: doc Architecture: all Depends: ${misc:Depends}, + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}) Recommends: firebird-dev Description: Examples for Firebird - an RDBMS based on InterBase 6.0 code @@ -275,6 +280,7 @@ Package: firebird2.5-doc Section: doc Architecture: all Depends: ${misc:Depends}, + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}) Description: Documentation files for firebird database version 2.5 Various documents for firebird 2.5. These include the list of enhancements @@ -307,6 +313,7 @@ Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}), firebird2.5-super (= ${binary:Version}), libfbclient2-dbg @@ -325,6 +332,7 @@ Architecture: any Depends: ${misc:Depends}, firebird2.5-classic (= ${binary:Version}) | firebird2.5-superclassic (= ${binary:Version}), firebird2.5-classic-common (= ${binary:Version}), + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}), libfbembed2.5 (= ${binary:Version}) Provides: firebird-dbg @@ -340,6 +348,7 @@ Section: debug Priority: extra Architecture: any Depends: ${misc:Depends}, + firebird2.5-common (= ${source:Version}), firebird2.5-common-doc (= ${source:Version}), libfbclient2 (= ${binary:Version}) Breaks: firebird2.5-super-dbg (<< 2.5.1.26349-0~rc1.ds4-2~) diff -Nurp sid/firebird2.5-2.5.2~svn+54698.ds4/debian/firebi
Bug#692948: remove pending tag (it's been there for several months)
Control: tag -1 -pending -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698832: NMU upload
Dear maintainer, I've done an NMU upload to delayed/2; please see the attached patch. It's mostly based on Felix's work, and additionally documents the origin and license of go-*.png and help_about.png files in debian/copyright. -- Every great idea is worthless without someone to do the work. --Neil Williams diff -Nurp keepassx-0.4.3/debian/changelog felix/keepassx-0.4.3+dfsg/debian/changelog --- keepassx-0.4.3/debian/changelog 2012-04-07 18:17:45.0 +0200 +++ felix/keepassx-0.4.3+dfsg/debian/changelog 2013-03-20 18:03:52.0 +0100 @@ -1,3 +1,21 @@ +keepassx (0.4.3+dfsg-0.1) unstable; urgency=high + + * Non-maintainer upload. + * Use repackaged upstream tarball by Felix Geyer, which replaces icons of +unknown origin (clientic.png text_block.png text_bold.png text_center.png +text_italic.png text_left.png text_right.png text_under.png) and adds full +text of associated licenses (LICENSE.LGPL-2.1 LICENSE.LGPL-3). + * Use patch by Felix Geyer to update debian/copyright with the origin and +license of png files, and update README.source accordingly. + * Additionally, update debian/copyright to document the origin and copyright +of go-*.png and help_about.png icons (project Oxygen, and license CC-BY-SA +3.0 or LGPL respectively). + * The above three items close #698832 + * Update debian/watch for version mangling. + * Setting high urgency due to RC bug. + + -- Serafeim Zanikolas Wed, 20 Mar 2013 14:04:39 +0100 + keepassx (0.4.3-2) unstable; urgency=low * Fix FTBFS with gcc 4.7. (Closes: #667224) diff -Nurp keepassx-0.4.3/debian/copyright felix/keepassx-0.4.3+dfsg/debian/copyright --- keepassx-0.4.3/debian/copyright 2012-04-07 18:14:51.0 +0200 +++ felix/keepassx-0.4.3+dfsg/debian/copyright 2013-03-20 17:45:32.0 +0100 @@ -158,4 +158,207 @@ src/crypto/twofish.cpp: * might very well be flawed; you have been warned. * This software is provided as-is, without any kind of warrenty or * guarantee. And that is really all you can expect when you download - * code for free from the Internet. + * code for free from the Internet. + + +share/keepassx/icons/alarmclock.png +share/keepassx/icons/appsettings.png +share/keepassx/icons/autotype.png +share/keepassx/icons/clock.png +share/keepassx/icons/cloneentry.png +share/keepassx/icons/copypwd.png +share/keepassx/icons/copyusername.png +share/keepassx/icons/dbsettings.png +share/keepassx/icons/delete.png +share/keepassx/icons/deleteentry.png +share/keepassx/icons/deletegroup.png +share/keepassx/icons/dice.png +share/keepassx/icons/document.png +share/keepassx/icons/down.png +share/keepassx/icons/editentry.png +share/keepassx/icons/expired.png +share/keepassx/icons/fileclose.png +share/keepassx/icons/filedelete.png +share/keepassx/icons/filenew.png +share/keepassx/icons/fileopen.png +share/keepassx/icons/filesave.png +share/keepassx/icons/filesaveas.png +share/keepassx/icons/generator.png +share/keepassx/icons/help.png +share/keepassx/icons/key.png +share/keepassx/icons/manual.png +share/keepassx/icons/newentry.png +share/keepassx/icons/openurl.png +share/keepassx/icons/swap.png +share/keepassx/icons/templates.png +share/keepassx/icons/trashcan.png +share/keepassx/icons/up.png +share/keepassx/icons/dbsearch.png +share/keepassx/icons/editgroup.png +share/keepassx/icons/filesavedisabled.png +share/keepassx/icons/groupsearch.png +share/keepassx/icons/newgroup.png +share/keepassx/icons/restore.png: + +These files are from the Nuvola icon theme and are partly modified. + +Copyright 2003-2004 David Vignoni +Copyright 2006 Tarek Saidi + +This library is free software; you can redistribute it and/or +modify it under the terms of the GNU Lesser General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +This library is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public +License along with this library; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + + +share/keepassx/icons/exit.png +share/keepassx/icons/i18n.png +share/keepassx/icons/lock.png +share/keepassx/icons/ok.png +share/keepassx/icons/search.png +share/keepassx/icons/bookmark*.png: + +These files are from the Crystal Clear icon theme and are partly modified. + +Copyright 2002 Everaldo Coelho +Copyright 2006 Tarek Saidi + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2
Bug#700821: NMU patch
tag 700821 +pending tag 703207 +pending thanks Dear maintainer, I've uploaded an NMU to delayed/2 (since #700821 has been open for a month). Please find attached the patch for the NMU upload. -- Every great idea is worthless without someone to do the work. --Neil Williams diff -Nurp orig/apt-spacewalk-1.0.6/50spacewalk apt-spacewalk-1.0.6/50spacewalk --- orig/apt-spacewalk-1.0.6/50spacewalk 2012-06-17 12:24:16.0 +0200 +++ apt-spacewalk-1.0.6/50spacewalk 2013-03-20 15:23:00.0 +0100 @@ -11,5 +11,5 @@ APT { } }; DPkg::Post-Invoke { -"/usr/lib/apt-spacewalk/post_invoke.py"; +"if [ -x /usr/lib/apt-spacewalk/post_invoke.py ]; then /usr/lib/apt-spacewalk/post_invoke.py; fi"; }; diff -Nurp orig/apt-spacewalk-1.0.6/debian/changelog apt-spacewalk-1.0.6/debian/changelog --- orig/apt-spacewalk-1.0.6/debian/changelog 2013-03-20 14:02:02.0 +0100 +++ apt-spacewalk-1.0.6/debian/changelog 2013-03-20 15:45:04.0 +0100 @@ -1,3 +1,13 @@ +apt-spacewalk (1.0.6-2.1) unstable; urgency=high + + * Non-maintainer upload. + * Add postrm/preinst scripts for removing/disabling/enabling the apt hook +file, and change the latter to test the existence of post_invoke.py before +invoking it (Closes: #703207, 700821). + * Setting high urgency due to RC bugs + + -- Serafeim Zanikolas Wed, 20 Mar 2013 13:45:30 +0100 + apt-spacewalk (1.0.6-2) unstable; urgency=low * [22c43b83] Rename binary package to apt-transport-spacewalk diff -Nurp orig/apt-spacewalk-1.0.6/debian/postrm apt-spacewalk-1.0.6/debian/postrm --- orig/apt-spacewalk-1.0.6/debian/postrm 1970-01-01 01:00:00.0 +0100 +++ apt-spacewalk-1.0.6/debian/postrm 2013-03-20 14:01:28.0 +0100 @@ -0,0 +1,34 @@ +#! /bin/sh + +set -e + +hook=/etc/apt/apt.conf.d/50spacewalk + +case "$1" in +purge) +rm -f $hook.disabled +;; + +remove) +mv $hook $hook.disabled +;; + +abort-install) +if test "x$2" != "x" && test -f $hook +then +mv $hook $hook.disabled +fi +;; + +upgrade|failed-upgrade|abort-upgrade|disappear) +;; + +*) +echo "postrm called with unknown argument \`$1'" >&2 +exit 1 + +esac + +#DEBHELPER# + +exit 0 diff -Nurp orig/apt-spacewalk-1.0.6/debian/preinst apt-spacewalk-1.0.6/debian/preinst --- orig/apt-spacewalk-1.0.6/debian/preinst 1970-01-01 01:00:00.0 +0100 +++ apt-spacewalk-1.0.6/debian/preinst 2013-03-20 14:01:28.0 +0100 @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +hook=/etc/apt/apt.conf.d/50spacewalk +if test -f $hook.disabled +then +mv $hook.disabled $hook +fi + +#DEBHELPER# + +exit 0
Bug#703207: patch needs more work: works for dpkg, but not for apt
tag 700821 -pending tag 703207 -pending tag 700821 -patch tag 703207 -patch thanks $ sudo dpkg -i apt-transport-spacewalk_1.0.6-2.1_all.deb Selecting previously unselected package apt-transport-spacewalk. (Reading database ... 369115 files and directories currently installed.) Unpacking apt-transport-spacewalk (from apt-transport-spacewalk_1.0.6-2.1_all.deb) ... Setting up apt-transport-spacewalk (1.0.6-2.1) ... $ sudo dpkg -r apt-transport-spacewalk (Reading database ... 369119 files and directories currently installed.) Removing apt-transport-spacewalk ... $ sudo dpkg -i apt-transport-spacewalk_1.0.6-2.1_all.deb Selecting previously unselected package apt-transport-spacewalk. (Reading database ... 369115 files and directories currently installed.) Unpacking apt-transport-spacewalk (from apt-transport-spacewalk_1.0.6-2.1_all.deb) ... Setting up apt-transport-spacewalk (1.0.6-2.1) ... $ sudo apt-get remove apt-transport-spacewalk Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: python-dmidecode python-ethtool python-newt python-rhn rhn-client-tools Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: apt-transport-spacewalk 0 upgraded, 0 newly installed, 1 to remove and 53 not upgraded. After this operation, 92.2 kB disk space will be freed. Do you want to continue [Y/n]? [master 298c89d] saving uncommitted changes in /etc prior to apt run Author: sez 2 files changed, 1 insertion(+), 1 deletion(-) rename apt/apt.conf.d/{50spacewalk.disabled => 50spacewalk} (100%) (Reading database ... 369119 files and directories currently installed.) Removing apt-transport-spacewalk ... [master 6338b79] committing changes in /etc after apt run Author: sez 2 files changed, 1 insertion(+), 1 deletion(-) rename apt/apt.conf.d/{50spacewalk => 50spacewalk.disabled} (100%) sh: 1: /usr/lib/apt-spacewalk/post_invoke.py: not found E: Problem executing scripts DPkg::Post-Invoke '/usr/lib/apt-spacewalk/post_invoke.py' E: Sub-process returned an error code Looking at other package's DPkg::Post-Invoke hook netries (eg. etckeeper/debsums, the way around this is to simply check for the script's existence before invoking it. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698832: Copyright patch
Felix, Of course, you should disregard my comments about NMU in the changelog -- I've only now noticed that you're in the uploaders list. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#628996: apt-listbugs: please use debconf [was: Bug#628996: Bug#671726: Bug#671728: Bug#671726: apt: should be able to provide hook information through a named pipe]
Hi guys, On Tue, Mar 19, 2013 at 12:07:20AM +0100, Francesco Poli wrote: > On Sun, 17 Mar 2013 17:34:03 +0800 Daniel Hartwig wrote: > > [...] > > On 17 March 2013 16:17, Francesco Poli wrote: [..] >· -n, --force-no Assumes that you select no for all questions. >This option is assumed if stdout is not a terminal or if >/dev/tty cannot be opened. > > Hence, I would say that, when there is no controlling terminal, > apt-listbugs falls back to a non-interactive behavior (assuming a > negative answer for each question that would otherwise be asked to the > user). > This implies that, if the upgrade or installation risks introducing RC > bugs into the system, then the (non-interactive) apt session is forced > to stop. Otherwise, everything goes on, as if apt-listbugs were never > invoked. [..] > > - abort always when RC bugs. > > > > The second is, IMO, the more reasonable default. > > I believe it's the currently implemented default. > > > Ideally, the minimum > > severity of bugs to cause abort should be configurable but that is yet > > another wishlist :-) > > Assuming I am not misinterpreting what you wrote, this is already > possible: by modifying /etc/apt/apt.conf.d/10apt-listbugs the user may > add options to the apt-listbugs invocation, among which the -s option > may be used to define which bug severities he/she is interested in. It might be useful to forget about mechanics for a moment and think about the use cases that we'd like to support for "Debian testing" users of high level package managers (packagekit and the like). I think technical minded users would appreciate the same level of options currently provided by apt-get ran as root, ie. to be able to upgrade selected RC-buggy packages while pinning others. Less savvy users (eg. someone who can't tell the different between a DFSG-violation and system-wide breakage) would be served best by upgrading all upgrade-able packages except for those that are RC-buggy. In practise, this means pinning any RC-buggy packages (what the patch for #441689 does) and proceeding with the upgrade (after an apt-get re-invocation, or whatever action is required for the pinning to become effective). Do you agree about these use cases or do you have others to suggest as more important? Back to mechanics: The current non-interactive default (with --force-no) of aborting the whole upgrade in the face of any RC bug means that users are denied of (potentially security-critical) updates to packages that are safely upgrade-able. I consider this unacceptable if we're serious about supporting Debian testing. Severity based filtering (-s) seems meaningless to me. I'd never do blind upgrades based on a "ignore bugs up to X severity" policy, because that doesn't say anything about the packages and package features that I rely on as a user. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#702791: confirmed in a not extremely slow box
Control: tag -1 -pending Untagging as it's been pending for over a week. FWIW I've reproduced the issue in a reasonably modern laptop (lenovo x201): Ran 2173 tests in 600.905s FAILED (skips=21, failures=1, errors=2, successes=2149) -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#703207: proposed patch
Control: tag -1 +patch Works for me. commit 2674f3279495191233db770302d7e71d8647ce41 Author: Serafeim Zanikolas Date: Mon Mar 18 23:09:23 2013 +0100 add postrm/preinst scripts to handle apt hook file fixes #703207 diff --git a/debian/apt-transport-spacewalk.postrm b/debian/apt-transport-spacewalk.postrm new file mode 100755 index 000..c797dec --- /dev/null +++ b/debian/apt-transport-spacewalk.postrm @@ -0,0 +1,34 @@ +#! /bin/sh + +set -e + +hook=/etc/apt/apt.conf.d/50spacewalk + +case "$1" in +purge) +rm -f $hook.disabled +;; + +remove) +mv $hook $hook.disabled +;; + +abort-install) +if test "x$2" != "x" && test -f $hook +then +mv $hook $hook.disabled +fi +;; + +upgrade|failed-upgrade|abort-upgrade|disappear) +;; + +*) +echo "postrm called with unknown argument \`$1'" >&2 +exit 1 + +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/apt-transport-spacewalk.preinst b/debian/apt-transport-spacewalk.preinst new file mode 100755 index 000..0bcb043 --- /dev/null +++ b/debian/apt-transport-spacewalk.preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +hook=/etc/apt/apt.conf.d/50spacewalk +if test -f $hook.disabled +then +mv $hook.disabled $hook +fi + +#DEBHELPER# + +exit 0 -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698832: Copyright patch
Control: tag -1 +patch Hi Felix, Thanks for preparing the patch. Some minor points: - the release version should be 0.4.3+dfsg-0.1 (as per http://wiki.debian.org/NonMaintainerUpload) - the changelog entry should start with: * Non-maintainer upload. - the urgency should be bumped to medium or high, and the changelog should be explicit about the closed bug being RC. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#628996: apt-listbugs: please use debconf
On Mon, Mar 18, 2013 at 08:00:51PM +0800, Daniel Hartwig wrote: > On 18 March 2013 18:56, Serafeim Zanikolas wrote: [..] > > If I understand correctly, debconf can only be used with predefined > > templates, > > thus predefined generic policy questions (as opposed to questions that can > > be > > different on every invocation). > > Yes, the templates are predefined, but the questions are not. A > question is a template with potentially some substitutions made. The > substitutions can be arbitrary, including multi-line strings, and > there should be little if any flexability lost. Effectively it is no > different to printf type string templates, coupled with pre-determined > responses (such as, what action to take for pkg X with bugs Y). Daniel, thanks for taking the time to clarify. It makes sense now. Francesco, implementation details aside, are you OK with the direction? -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#628996: Bug#671726: Bug#671728: Bug#671726: apt: should be able to provide hook information through a named pipe
Hi Daniel, On Sun, Mar 17, 2013 at 05:34:03PM +0800, Daniel Hartwig wrote: > Control: reopen 628996 > Control: retitle 628996 apt-listbugs: please use debconf > #Control: tags 628996 - moreinfo > > On 17 March 2013 16:17, Francesco Poli wrote: > > On Sun, 17 Mar 2013 10:41:52 +0800 Daniel Hartwig wrote: > > > > [...] > >> Debconf may provide a suitable interface there > > > > Please see the bug log of #628996 for more details about a possible > > Debconf frontend and the related difficulties... [..] > Debconf is the standard way to handle this type of user interaction > during Apt activity, and provides more control to the user (i.e. using > DEBIAN_FRONTEND and preconfiguring). At the moment, current > non-interactive behaviour is one of: > - avoid running apt-listbugs, due to work-around for #662983; > - abort always when RC bugs. > > The second is, IMO, the more reasonable default. Ideally, the minimum > severity of bugs to cause abort should be configurable but that is yet > another wishlist :-) [..] No doubt the current behaviour of noop is not doing apt-listbugs justice. I agree that debconf is generally the best way to handle a situation where terminal interaction may or may not be possible. But as far as I understand, debconf could only be used to set/retrieve a generic policy decision: whether and at what level of severity should packages be pin'ed, right? If that is so, then debconf can not support the current granularity of user interaction: ie. I want to pin this and that package and I'm OK upgrading this other one. If I understand correctly, debconf can only be used with predefined templates, thus predefined generic policy questions (as opposed to questions that can be different on every invocation). If that is so, then debconf would be an improvement over the current noop, but would still leave something be desired. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#671726: apt: should be able to provide hook information through a named pipe
On Sun, Mar 17, 2013 at 08:15:32PM +0800, Daniel Hartwig wrote: > On 17 March 2013 19:56, Serafeim Zanikolas wrote: > > On Sun, Mar 17, 2013 at 02:14:50PM +0800, Daniel Hartwig wrote: > >> The data can be passed through an open fd, similar to dpkg --status-fd > >> argument. Then there are no issues due to filesystems global > >> namespace and it removes the fs as an unrequired middle-man. > > > > Sure, that'd be an improvement. Would you make apt pass the fd number to > > apt-listbugs in the command line? > > or just using a well known env. variable that will also work with > substituation in the command line. Attached the updated patches for apt and apt-listbugs, which implement Daniel's proposal of using an fd rather than a fifo. The HookFifoFilename option is replaced by: DPkgs::Tools::Options::/usr/sbin/apt-listbugs::HookAvoidStdin "yes"; The default value of Pipes[0] (the fd to be inherited and read by apt-listbugs) was normally 3, which seems to be FD_CLOEXEC'd somewhere before the exec to apt-listbugs (apt-listbugs was failing with EBADF), so I'm using instead 20 as a minimum. -- Every great idea is worthless without someone to do the work. --Neil Williams diff --git a/apt-listbugs b/apt-listbugs index 58d67cb..b387947 100755 --- a/apt-listbugs +++ b/apt-listbugs @@ -289,7 +289,19 @@ when "apt" puts if $DEBUG puts "Pre-Install-Pkgs hook info:" if $DEBUG state=1 - STDIN.each { |pkg| + apt_hook_fd = ENV["AptHookFd"] + if apt_hook_fd.nil? + $stderr.puts sprintf(_("E: AptHookFd is undefined")) + exit(1) + end + begin + apt_hook_stream = IO.open(apt_hook_fd, 'r') + rescue Errno::ENOENT +$stderr.puts sprintf(_("W: Cannot open file descriptor %s"), apt_hook_fd) +exit(1) + end + + apt_hook_stream.each { |pkg| pkg=pkg.rstrip case state when 1 @@ -353,6 +365,7 @@ when "apt" end end } + apt_hook_stream.close puts if $DEBUG when "list", "rss" ARGV.each { |pkg| diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 6cb8bc6..dabf48c 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -328,8 +328,9 @@ bool pkgDPkgPM::SendV2Pkgs(FILE *F) // DPkgPM::RunScriptsWithPkgs - Run scripts with package names on stdin /*{{{*/ // - /* This looks for a list of scripts to run from the configuration file - each one is run and is fed on standard input a list of all .deb files - that are due to be installed. */ + each one is run and is fed on standard input (or another fd, if + HookAvoidStdin is set) a list of all .deb files that are due to be + installed. */ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf) { Configuration::Item const *Opts = _config->Tree(Cnf); @@ -352,10 +353,14 @@ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf) unsigned int Version = _config->FindI(OptSec+"::Version",1); + // Feed subprocess via stdin, unless HookAvoidStdin is true + bool const UseStdin = !_config->FindB(OptSec+"::HookAvoidStdin",false); + // Create the pipes int Pipes[2]; if (pipe(Pipes) != 0) return _error->Errno("pipe","Failed to create IPC pipe to subprocess"); + if (UseStdin == true) SetCloseExec(Pipes[0],true); SetCloseExec(Pipes[1],true); @@ -364,7 +369,21 @@ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf) if (Process == 0) { // Setup the FDs + if (UseStdin == true) dup2(Pipes[0],STDIN_FILENO); + else + { + // small fd numbers (<5) are closed down the process tree, so use + // a higher number instead + int ChildReadFd = fcntl(Pipes[0], F_DUPFD, 20); + if (ChildReadFd < 0) + return _error->Errno("fcntl","Failed to duplicate file descriptor"); + char AptHookEnv[80]; + if (sprintf(AptHookEnv, "AptHookFd=%d", ChildReadFd) < 0) + return _error->Errno("sprintf","Failed to contruct environment variable value"); + if (putenv(AptHookEnv) != 0) + return _error->Errno("putenv","Failed to set environment variable AptHookFd"); + } SetCloseExec(STDOUT_FILENO,false); SetCloseExec(STDIN_FILENO,false); SetCloseExec(STDERR_FILENO,false);
Bug#671726: apt: should be able to provide hook information through a named pipe
On Sun, Mar 17, 2013 at 02:14:50PM +0800, Daniel Hartwig wrote: > On 17 March 2013 06:56, Serafeim Zanikolas wrote: > > Hi Francesco, > > > > On Sat, Mar 16, 2013 at 11:25:36PM +0100, Francesco Poli wrote [edited]: > >> On Sat, 16 Mar 2013 12:05:09 +0100 David Kalnischkies wrote: > > [..] > >> > Using a hook-defined fifoname rather than a random fifoname should be > >> > okay as the later isn't more secure than the former (if an attacker has > >> > root rights to write to it we are doomed anyway …) > >> > >> Please excuse my ignorance: isn't a pre-defined fifoname prone to a > >> symlink attack? > > > > It's prone only in a publicly-writable directory, which is not the case for > > /var/run. > > > >> > and in fact creating > >> > a randomly named fifo could be hard in practice … > >> > >> Isn't there anything like mkstemp(3) for named pipes? > > > > I'm not aware of any -- but we can get away without one anyway. > > The data can be passed through an open fd, similar to dpkg --status-fd > argument. Then there are no issues due to filesystems global > namespace and it removes the fs as an unrequired middle-man. Sure, that'd be an improvement. Would you make apt pass the fd number to apt-listbugs in the command line? > >> > I guess the apt-listbugs patch is just for testing, but I say it > >> > non-the-less: > >> > It would be good if at least apt-listbugs/wheezy would support both so we > >> > don't create backport problems that early in the (not even started) > >> > wheezy > >> > release cycle. ;) > >> > >> At this point of the wheezy freeze, I cannot introduce any change into > >> apt-listbugs/wheezy, except for those that fix important or RC bugs. > > Due to this issue and current work-around for #662983, the > functionality of the package is severly downgraded. Introducing a new > interface (named pipe or open fd) is desirable for the reasons David > says, and has potential for wheezy especially if backed by the apt > developers. While I appreciate the backing, I seriously doubt that anyone could make a convincing case for a deep freeze exception, for a feature that's not even fully developed yet (and that's not even that relevant for stable). -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#671726: Bug#671728: Bug#671726: apt: should be able to provide hook information through a named pipe
On Sun, Mar 17, 2013 at 12:36:22AM +0100, Francesco Poli wrote: > On Sun, 17 Mar 2013 00:07:21 +0100 Serafeim Zanikolas wrote: > > Do you agree then that adding the fifo feature to apt and adapting > > apt-listbugs accordingly is not needed nor does it suffice for fixing > > #662983? > > No, I don't agree. > If I recall bug #662983 correctly, the trick is that, if apt-listbugs > can read hook info through a named pipe, then it may interact with the > user through stdin and stdout *without* having to explicitly > reopen /dev/tty (this is the operation which is forbidden within an su > -c command). Francesco, thank you for the clarification. This does make sense now. > I think this is due to the fact that your patch for apt-listbugs does > not modify what apt-listbugs does *after* parsing the hook info sent by > apt. ie. not re-open /dev/tty -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#671726: Bug#671728: Bug#671726: apt: should be able to provide hook information through a named pipe
On Sat, Mar 16, 2013 at 11:25:18PM +0100, Francesco Poli wrote: > On Sat, 16 Mar 2013 16:04:38 +0100 Serafeim Zanikolas wrote: > > [...] > > I'm not sure any more that using a fifo instead of stdin is > > needed for a "programmatic" frontend. After all, the tracebacks in #662983 > > suggest that the failure occurs only when apt-listbugs tries to access > > /dev/tty, at which point it has already parsed the apt hook data from stdin. > > It seems to me that you are right: if I recall correctly, the failure > indeed happens after the hook info parsing step. Do you agree then that adding the fifo feature to apt and adapting apt-listbugs accordingly is not needed nor does it suffice for fixing #662983? > Anyway, implementing a new alternative frontend is an even more radical > modification for apt-listbugs. Let's not forget that here we were only > talking about fixing #671726 and #671728 (in order to fix #662983 in a > better way)... #662983, ie. relying on tty input, is not fixed by switching to a fifo: I've reproduced the issue with fifo-based apt & apt-listbugs. I see no other way than a non-interactive frontend (but this is a discussion we shouldn't have on an apt bug report). -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#671726: apt: should be able to provide hook information through a named pipe
Hi Francesco, On Sat, Mar 16, 2013 at 11:25:36PM +0100, Francesco Poli wrote [edited]: > On Sat, 16 Mar 2013 12:05:09 +0100 David Kalnischkies wrote: [..] > > Using a hook-defined fifoname rather than a random fifoname should be > > okay as the later isn't more secure than the former (if an attacker has > > root rights to write to it we are doomed anyway …) > > Please excuse my ignorance: isn't a pre-defined fifoname prone to a > symlink attack? It's prone only in a publicly-writable directory, which is not the case for /var/run. > > and in fact creating > > a randomly named fifo could be hard in practice … > > Isn't there anything like mkstemp(3) for named pipes? I'm not aware of any -- but we can get away without one anyway. -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#671726: apt: should be able to provide hook information through a named pipe
On Sat, Mar 16, 2013 at 10:32:40PM +0800, Daniel Hartwig wrote: > Right. Apt-listbugs is effectively called in the same context as > maintainer scripts, and those are not guaranteed to have an > interactive shell. The program must be smart enough to detect this > and do the right thing (I'm not sure if it already does :-). By default, apt-listbugs relies on /dev/tty, but that can be overriden via the APT_LISTBUGS_FRONTEND env variable. The only valid frontend alternative at the moment is "none", which makes apt-listbugs a noop (to avoid hanging when invoked non-interactively). The idea would be to add a "programmatic" or so frontend, which would rely on some form of IPC instead of the terminal. > This is all regardless of the aptitude–su–login issue that prompted > this bug report IIRC. Indeed. In fact, I'm not sure any more that using a fifo instead of stdin is needed for a "programmatic" frontend. After all, the tracebacks in #662983 suggest that the failure occurs only when apt-listbugs tries to access /dev/tty, at which point it has already parsed the apt hook data from stdin. Francesco, am I missing something? -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#671726: apt: should be able to provide hook information through a named pipe
Hi David & Francesco, Thanks for the quick feedback. On Sat, Mar 16, 2013 at 12:05:09PM +0100, David Kalnischkies wrote [edited]: > Using a hook-defined fifoname rather than a random fifoname should be > okay as the later isn't more secure than the former (if an attacker has > root rights to write to it we are doomed anyway …) and in fact creating > a randomly named fifo could be hard in practice … Exactly my thinking. > I guess the apt-listbugs patch is just for testing, but I say it non-the-less: > It would be good if at least apt-listbugs/wheezy would support both so we > don't create backport problems that early in the (not even started) wheezy > release cycle. ;) Indeed apt-listbugs is mostly for testing and unstable. The apt-listbugs releases that ship with a fifo option will version-depend on the earliest apt release that supports the feature. In the unlikely event of a backport of apt-listbugs, we could always revert apt-listbugs to use stdin. Francesco, To test the patch you have to temporarily point /usr/lib/i386-linux-gnu/libapt-pkg.so.4.12 to build/bin/libapt-pkg.so in an apt checkout (and of course apply the patch to /usr/sbin/apt-listbugs). This new apt feature opens the way for #671728, but really fixing the latter would also require a non-interactive apt-listbugs frontend (to be used for programmatic invocation). cheers, sez -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#671726: apt: should be able to provide hook information through a named pipe
tag 671726 +patch thanks Hi, The attached patch enables apt to pass Pre-Install-Pkgs hook data via a fifo, instead of via stdin (which remains the default, of course). Unlike the proposal in the initial bug report, the fifo filename is not randomised, but instead declared via the following configuration option in /etc/apt/apt.conf.d/10apt-listbugs: DPkg::Tools::Options::/usr/sbin/apt-listbugs::HookFifoFilename "/var/run/apt-listbugs-hook" I've tested the patch successfully with a locally modified version of apt-listbugs, so as to make it read from the fifo instead of stdin (see second patch, if you're interested). This bug is one of the issues that's blocking integration of apt-listbugs with higher level package managers (which would be nice for Debian testing users, who are more likely to use a GUI package manager than directly apt-get). thanks, sez -- Every great idea is worthless without someone to do the work. --Neil Williams diff --git a/apt-pkg/deb/dpkgpm.cc b/apt-pkg/deb/dpkgpm.cc index 6cb8bc6..e84a6db 100644 --- a/apt-pkg/deb/dpkgpm.cc +++ b/apt-pkg/deb/dpkgpm.cc @@ -328,8 +328,9 @@ bool pkgDPkgPM::SendV2Pkgs(FILE *F) // DPkgPM::RunScriptsWithPkgs - Run scripts with package names on stdin /*{{{*/ // - /* This looks for a list of scripts to run from the configuration file - each one is run and is fed on standard input a list of all .deb files - that are due to be installed. */ + each one is run and is fed on standard input (or on a FIFO, if + HookFifoFilename is set) a list of all .deb files that are due to be + installed. */ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf) { Configuration::Item const *Opts = _config->Tree(Cnf); @@ -351,20 +352,35 @@ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf) OptSec = "DPkg::Tools::Options::" + string(Opts->Value.c_str(),Pos); unsigned int Version = _config->FindI(OptSec+"::Version",1); - - // Create the pipes + + // Feed subprocess via stdin, unless HookFifoFilename is set + string const FifoFilename = _config->Find(OptSec+"::HookFifoFilename"); + bool const UseFifo = (FifoFilename.empty() != true); + int Pipes[2]; - if (pipe(Pipes) != 0) - return _error->Errno("pipe","Failed to create IPC pipe to subprocess"); - SetCloseExec(Pipes[0],true); - SetCloseExec(Pipes[1],true); + + // Create pipes or fifo + if (UseFifo == true) + { + // try to remove stale hook fifo if it exists + if ((unlink(FifoFilename.c_str()) == -1) && (errno != ENOENT)) +return _error->Errno("unlink","Failed to remove stale hook fifo"); + if (mkfifo(FifoFilename.c_str(), 600) == -1) +return _error->Errno("mkfifo","Failed to create hook fifo"); + } else { + if (pipe(Pipes) != 0) +return _error->Errno("pipe","Failed to create IPC pipe to subprocess"); + SetCloseExec(Pipes[0],true); + SetCloseExec(Pipes[1],true); + } // Purified Fork for running the script pid_t Process = ExecFork(); if (Process == 0) { // Setup the FDs - dup2(Pipes[0],STDIN_FILENO); + if (UseFifo == false) + dup2(Pipes[0],STDIN_FILENO); SetCloseExec(STDOUT_FILENO,false); SetCloseExec(STDIN_FILENO,false); SetCloseExec(STDERR_FILENO,false); @@ -378,8 +394,15 @@ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf) execv(Args[0],(char **)Args); _exit(100); } - close(Pipes[0]); - FILE *F = fdopen(Pipes[1],"w"); + +FILE *F; +if (UseFifo == true) +{ +F = fopen(FifoFilename.c_str(), "w"); +} else { +close(Pipes[0]); +F = fdopen(Pipes[1],"w"); +} if (F == 0) return _error->Errno("fdopen","Faild to open new FD"); @@ -409,7 +432,10 @@ bool pkgDPkgPM::RunScriptsWithPkgs(const char *Cnf) fclose(F); // Clean up the sub process - if (ExecWait(Process,Opts->Value.c_str()) == false) + int RetStatus = ExecWait(Process,Opts->Value.c_str()); + if ((UseFifo == true) && (unlink(FifoFilename.c_str()) == -1)) + return _error->Errno("unlink","Failed to remove hook fifo"); + if (RetStatus == false) return _error->Error("Failure running script %s",Opts->Value.c_str()); } diff --git a/apt-listbugs b/apt-listbugs index 58d67cb..bed944f 100755 --- a/apt-listbugs +++ b/apt-listbugs @@ -289,7 +289,15 @@ when "apt" puts if $DEBUG puts "Pre-Install-Pkgs hook info:" if $DEBUG state=1 - STDIN.each { |pkg| + apt_fifo_filename = "/var/run/apt-listbugs-hook" + begin + apt_fifo_fd = open(apt_fifo_filename, 'r') + rescue Errno::ENOENT +$stderr.puts sprintf(_("W: Cannot open %s"), apt_fifo_filename) +exit(1) + end + + apt_fifo_fd.each { |pkg| pkg=pkg.rstrip case state when 1 @@ -353,6 +361,7 @@ when "apt" end en
Bug#703050: www.debian.org: Please document the criteria for debian.net services to be integrated into debian.org
Hi Sebastian, On Fri, Mar 15, 2013 at 03:41:40AM +0100, Sebastian Harl wrote [edited]: > On Thu, Mar 14, 2013 at 05:08:29PM +0100, Serafeim Zanikolas wrote: > > Some debian.net services would serve their purpose better if they were > > integrated into the www.d.o namespace, but the criteria for deciding which > > services would qualify is not documented. > > I don't think that it makes sense to write down any such list of > criteria. Imho, this needs to be a case-by-case decision and the exact > criteria greatly depend on what kind of service is offered. E.g., in the [..] I agree that there can't be an exhaustive and general-enough list of such criteria. Having said that, it would be useful to set some broad expectations on what it takes for a d.n service to graduate to an official one. Even some generic guidelines would have the benefit of informing developers at the beginning of a developing a service (eg. likelihood of support of certain technical choices), and could later on be the starting point of a discussion of promoting that service to an official one. cheers, sez -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#703050: www.debian.org: Please document the criteria for debian.net services to be integrated into debian.org
Package: www.debian.org Severity: normal Hi, Some debian.net services would serve their purpose better if they were integrated into the www.d.o namespace, but the criteria for deciding which services would qualify is not documented. Here's some suggestions that could be a useful start: - there is consensus and/or evidence that the service is useful enough to warrant attention from d.o visitors - the developer of the service is willing to stay around to maintain the service, and/or produce sufficient documentation for its maintenance - the service's web site uses d.o's stylesheets and navigation, and meets the web team's accessibility requirements - the web team feels comfortable to support the service from a security perspective (eg. because the site is a bunch of static HTML files, or if it's dynamic, it uses a stack that's considered acceptable) - the original developer is willing to address any other concerns the web team might have cheers, sez ps. my personal motivation for this bug report is wnpp-by-tags.d.n which I think would serve its purpose better by relocating to eg. www.d.o/devel/wnpp/by_tags and linked to from www.d.o/devel/wnpp -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#701617: maint-guide: new URL for wnpp-by-tags
Package: maint-guide Version: 1.2.31 Severity: normal Tags: patch Hi, Please apply the attached patch to update the URL for the wnpp-by-tags service. Thanks, sez -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash maint-guide depends on no packages. maint-guide recommends no packages. Versions of packages maint-guide suggests: ii debian-policy 3.9.4.0 ii developers-reference 3.4.9 ii devscripts2.12.6 ii dh-make 0.61 ii doc-base 0.10.4 ii dput 0.9.6.3+nmu1 ii fakeroot 1.18.4-2 ii lintian 2.5.10.4 ii pbuilder 0.213 ii quilt 0.60-7 -- no debconf information diff --git a/common.ent b/common.ent index a6bc5af..f4d588b 100644 --- a/common.ent +++ b/common.ent @@ -169,7 +169,7 @@ Remember, the *first* definition of an entity wins. http://en.wikipedia.org/wiki/UTF-8";> http://www.debian.org/doc/packaging-manuals/virtual-package-names-list.txt";> http://bugs.debian.org/wnpp";> -http://members.hellug.gr/serzan/wnpp/";> +http://wnpp-by-tags.debian.net/";> http://wnpp.debian.net/";> http://www.debian.org/devel/wnpp/";>
Bug#698160: tpu: beanstalkd/1.4.6-5 (pre-approval)
Package: release.debian.org User: release.debian@packages.debian.org Usertags: tpu Hi, I'd like to get your approval about the upload of beanstalkd 1.4.6-5 to testing-proposed-updates to add a two-line RC bug fix that's already applied upstream. Please find below the source diff and debdiff against the current release in testing. thanks, sez diff --git a/debian/changelog b/debian/changelog index 1e5ee8c..e6d62ba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +beanstalkd (1.4.6-5) testing-proposed-updates; urgency=low + + * Add fix-empty-binlog-oom.diff (from upstream commit 70b63d5) to fix +OUT_OF_MEMORY error after crash (Closes: #698140, aka upstream issue 44) + + -- Serafeim Zanikolas Mon, 14 Jan 2013 17:17:27 +0100 + beanstalkd (1.4.6-4) testing-proposed-updates; urgency=low * Add fiu-fix.diff (upstream commit 3176e28) to fix FTBFS due to diff --git a/debian/patches/fix-empty-binlog-oom.diff b/debian/patches/fix-empty-binlog-oom.diff new file mode 100644 index 000..43ef743 --- /dev/null +++ b/debian/patches/fix-empty-binlog-oom.diff @@ -0,0 +1,16 @@ +# Description: eliminate OOM error after server crash +# Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=698140 +# Origin: https://github.com/kr/beanstalkd/commit/70b63d5f52010d5b286f146058573849d8b95a81 +--- a/binlog.c b/binlog.c +@@ -111,6 +111,10 @@ + + oldest_binlog = b->next; + ++if (newest_binlog == b) { ++newest_binlog = b->next; /* == 0 */ ++} ++ + unlink(b->path); + free(b); + } diff --git a/debian/patches/series b/debian/patches/series index f30298a..97715b5 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,3 +1,4 @@ +fix-empty-binlog-oom.diff fiu-fix.diff rename-dprintf.diff randomise-port.diff $ debdiff /var/cache/pbuilder/result/beanstalkd_1.4.6-4_i386.deb /var/cache/pbuilder/result/beanstalkd_1.4.6-5_i386.deb File lists identical (after any substitutions) Control files: lines which differ (wdiff format) Version: [-1.4.6-4-] {+1.4.6-5+} -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698140: Beanstalkd: OUT_OF_MEMORY after crash
Hi again, On Mon, Jan 14, 2013 at 04:24:45PM +0200, Potamianos Gregory wrote: [..] > If the server crashes with an empty binlog, on the next startup it > answers every submitted job with "out of memory" error and discards > it. So the service is rendered useless and requires manual > intervention. > > Furthermore the patch is very trivial. Maybe it should be reconsidered? Sure. Preparing the release is trivial -- it's bugging the release team for a package with a small number of users I was concerned about. bye, sez -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#698140: Beanstalkd: OUT_OF_MEMORY after crash
Hi Gregory, Thanks for the bug report. On Mon, Jan 14, 2013 at 01:04:37PM +0200, Gregory Potamianos wrote: [..] > Beanstalkd reports OUT_OF_MEMORY error after unclean termination (crash) [1] > Fix [2] seems to apply cleanly in 1.4.6-4 Unfortunately, it'll have to wait for an update after wheezy's release, as the issue does not meet the release team's criteria for a freeze exception. http://release.debian.org/wheezy/freeze_policy.html cheers, sez -- Every great idea is worthless without someone to do the work. --Neil Williams -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org